Partial fractions (Table 7.2, form 4): (x−a)2(x−b)px2+qx+r=x−aA+(x−a)2B+x−bD.
Given / To find: the indefinite integral above. The fraction is proper (degree 2 over degree 3).
Step 1 — set up.
(x−1)2(x+3)x2+1=x−1A+(x−1)2B+x+3D
so that x2+1=A(x−1)(x+3)+B(x+3)+D(x−1)2.
Step 2 — find the constants.
- Put x=1: 2=4B, so B=21.
- Put x=−3: 10=16D, so D=85.
- Compare the coefficients of x2: 1=A+D, so A=83.
Step 3 — integrate term by term. Since ∫(x−1)2dx=−x−11,
I=83log∣x−1∣−2(x−1)1+85log∣x+3∣+C
Answer: 83log∣x−1∣−2(x−1)1+85log∣x+3∣+C
Note: The repeated factor gives a power, not a logarithm: writing 21log∣x−1∣2 for the B term is the most common slip here.