Question
How to integrate 1 over x^2(x+1) using partial fractions
Original question: Can someone help me in this question \[ \int \frac{dx}{x^2(x+1)} \] \[ \frac{1}{x^2(x+1)}=\frac{Ax+B}{x^2}+\frac{C}{1+x} \] \[ 1=(Ax+B)(1+x)+Cx^2 \] \[ 1=Ax+Ax^2+B+Bx+Cx^2 \] \[ 1=x(A+B+?)+x(A+C)+B \] \[ B=1\qquad A+C=0 \] \[ A=-C\qquad A=B \] \[ 1=-C\qquad C=-1 \] \[ \int\left(\frac{x+?}{x^2}-\frac{1}{1+x}\right)dx \]
Expert Verified Solution
Expert intro: This is a classic partial-fractions integral. The main thing is to split the denominator carefully, then integrate each simple term without rushing the algebra.
Detailed walkthrough
Let
Multiply both sides by :
Expand:
Collect like terms:
Now match coefficients with the constant polynomial :
So
Thus
Integrate term by term:
So
A neat final form is
💡 Pitfall guide
A common slip is to write the partial fraction as and then forget that . That still works, but the coefficient matching is easier if you expand into straight away. Also remember the integral of is , not .
🔄 Real-world variant
If the denominator were instead of , the same method would work with
The coefficients would change with , but the structure of the answer would still be a mix of logarithms from the simple linear factors and a reciprocal term from .
🔍 Related terms
partial fractions, rational functions, logarithmic integration
FAQ
How do you integrate 1/(x^2(x+1))?
Use partial fractions: 1/(x^2(x+1)) = -1/x + 1/x^2 + 1/(x+1), then integrate term by term to get ln| (x+1)/x | - 1/x + C.
Why is 1/x^2 integrated as -1/x?
Because x^-2 has antiderivative x^-1/(-1) = -x^-1. This is the power rule for integration.