AP Calculus BC
Integral of 1/(x^2+x): Partial Fractions to One Log
The integral of 1 over x squared plus x is the natural log of the absolute value of x over x plus 1, plus C. The denominator factors into x times x plus 1, so partial fractions splits the fraction into 1 over x minus 1 over x plus 1, and the quotient law folds the two logs into one.
Factor, then split
The obvious substitutions go nowhere on : the numerator is not the derivative of the denominator, nor a constant multiple of it, so the direct log pattern does not apply. What it does have is a denominator that factors: , two distinct linear pieces, which is exactly the case partial fractions handles.
Write and clear denominators to get . Setting gives , and setting gives .
Why the key shows a single logarithm
Two separate logs is a finished answer, but almost every printed solution compresses them. The quotient law does the compressing.
If your work stops at the split form and the key shows the combined form, you have not made an error. Differentiating either one returns .
The absolute value bars are doing real work
The integrand blows up at x = 0 and at x = -1, so it lives on three separate intervals. The bars let one formula cover all three, and strictly the constant of integration can differ from interval to interval. Drop the bars and the middle interval, negative 1 to 0, disappears, because the quotient x over x plus 1 is negative there.
The mistakes students make
All three of these produce a specific wrong answer, so they are easy to catch by differentiating what you wrote.
- Splitting the fraction as , which is not what equals. That path gives , an antiderivative of a completely different function.
- Mis-signing the second coefficient and getting . The answer then comes out as , a product instead of a quotient, and its derivative is .
- Writing with no bars, which is undefined on even though the original integrand is perfectly well behaved there.
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
What is the integral of 1/(x^2+x)?
Partial fractions turns it into , and the quotient law folds the result into .
Do I have to combine the two logs into one?
No. is the same function and earns the same credit. The combined form is a convention, not a requirement.
How do I know to use partial fractions here?
The integrand is a rational function, the numerator has lower degree than the denominator, and the denominator factors into distinct linear factors. That is the only partial fractions case the BC exam tests.