AP Calculus AB and BC
Integral of x^2/(x^3+1): Answer and Steps
The integral of x^2/(x^3 + 1) is (1/3)ln|x^3 + 1| + C. The numerator is one third of the derivative of the denominator, so u = x^3 + 1 turns the problem into (1/3) times the integral of du/u. The absolute value keeps the answer valid where x^3 + 1 is negative.
Spotting the derivative in the numerator
The denominator has derivative , and the numerator is , exactly one third of it. Any fraction with that shape integrates to a logarithm.
Make it explicit with , so and . The mismatch between and is the only reason a constant appears out front.
Back-substituting, with the bars
The bars are load bearing. For the quantity is negative: at the integrand is , a perfectly ordinary number, while would be undefined there. Absolute value lets one expression cover both sides.
Differentiating confirms it. The chain rule on gives on either branch, and the trims it back to the integrand.
Where the antiderivative is valid
The integrand blows up at , so an antiderivative only describes the area on an interval that avoids that point. A definite integral whose limits straddle diverges no matter how the bars are written.
The mistake students make
The first error is losing the and writing . Differentiating that returns , three times the integrand. The constant is there because demanded and the problem only supplied .
The second is splitting the fraction, as in . Only a sum in the numerator can be split across a common denominator, never a sum in the denominator, and the split version is a different function.
Test for the log pattern first
Before reaching for anything harder, differentiate the denominator and compare with the numerator. If they match up to a constant multiple, the answer is that constant times of the absolute value of the denominator.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
Why does the answer have 1/3 in front?
Because while the integral offers only , which is . That rides along to the end.
Can I drop the absolute value if x is positive?
On an interval where you may write and nothing is lost. A general antiderivative comes with no stated domain, so keep the bars unless the problem pins down.
Does the same trick work for x/(x^3+1)?
No. is not a constant multiple of , so the pattern fails. That integral needs partial fractions after factoring , which goes past what AP asks for.