The factor x gets A/x. The repeated factor (x+1)2 gets two terms, B/(x+1)+C/(x+1)2, because one term over (x+1)2 could hold only a constant. Clearing denominators gives 2x2+3=A(x+1)2+Bx(x+1)+Cx.
2
Find A
x=0 removes the B and C terms, leaving 3=A. By cover-up, hide the x and put x=0 into the rest.
(0+1)22(0)2+3=3
3
Find C
x=−1 removes the A and B terms, leaving 5=−C, so C=−5. Cover-up works for the highest power of a repeated factor only.
−12(−1)2+3=−5
4
Match a coefficient for B
No zero isolates B, so compare the x2 terms of both sides. The right side has A+B of them and the left side has 2, so B=2−3=−1.
2−3=−1
5
Check the split
Recombining the three pieces over x(x+1)2 returns 2x2+3.
x3−x+11−(x+1)25
6
Integrate
The first two pieces give logarithms. The last is a power, −5(x+1)−2, which integrates to 5(x+1)−1, so it is 5/(x+1) and not a logarithm.
∫x(x+1)22x2+3dx=3ln∣x∣−ln∣x+1∣+x+15+C
∫x(x+1)22x2+3dx=3ln∣x∣−ln∣x+1∣+x+15+C
Result
∫(2x2+3)/(x(x+1)2) dx=3ln∣x∣−ln∣x+1∣+5/(x+1)+C, on any interval that avoids x=0 and x=−1.
Your turn
1. One like the example
Find ∫(x+3)/(x−1)2dx.
Show the answer and explanation
ln∣x−1∣−4/(x−1)+C.
The terms are A/(x−1)+B/(x−1)2, so x+3=A(x−1)+B. Setting x=1 gives B=4, and the x terms give A=1. Then 1/(x−1) gives a logarithm and 4/(x−1)2gives −4/(x−1).
∫(x−1)2x+3dxln∣x−1∣−x−14+C
2. A variation
Find ∫(x2+1)/(x(x−1)2) dx. One of the three constants turns out to be zero.
Show the answer and explanation
ln∣x∣−2/(x−1)+C.
Write x2+1=A(x−1)2+Bx(x−1)+Cx. At x=0,A=1. At x=1,C=2. The x2 terms give 1=A+B, so B=0, and the split is 1/x+2/(x−1)2. A zero constant is a legitimate result, not a mistake.