Partial fractions with repeated factor

Find the partial fraction decomposition:

3x−9x3+3x2−4

Solution

(1) Check that denominator degree is lower. ✓


(2) Factor denominator:

Rational Roots Theorem: check for roots at ±1 and ±2 and ±4.

Discover that x=+1 is a root. Therefore divide by x−1:

x3+3x2−4x−1≫≫x2+4x+4

Factor again:

x2+4x+4≫≫(x+2)2

Final factored form:

x3+3x2−4=(x−1)(x+2)2

(3) Write the generic PFD:

3x−9(x−1)(x+2)2=Ax−1+Bx+2+C(x+2)2

(4) Solve for A, B, and C:

Multiply across by the common denominator:

3x−9=A(x+2)2+B(x−1)(x+2)+C(x−1)

For A, set x=1, obtain:

3⋅1−9=A(1+2)2+B⋅0+C⋅0≫≫−6=9A≫≫A=−2/3

For C, set x=−2, obtain:

3⋅(−2)−9=A⋅0+B⋅0+C⋅(−3)≫≫−15=−3C≫≫C=5

For B, insert prior results and solve.

Plug in A and C:

3x−9=−23(x+2)2+B(x−1)(x+2)+5(x−1)

Now plug in another convenient x, say x=3:

0=−23⋅52+B⋅2⋅5+5⋅2503−10=10B≫≫B=23

(4) Plug in A, B, C for the final answer:

3x−9x3+3x2−4=−2/3x−1+2/3x+2+5(x+2)2

Partial fractions - repeated quadratic, linear tops

Compute the integral:

∫x3+1(x2+4)2dx

Solution

(1) Partial fraction decomposition:

  • Numerator degree is lower than denominator.
  • Factor denominator completely. (No real roots.)

Write generic PFD:

x3+1(x2+4)2=Ax+Bx2+4+Cx+D(x2+4)2
  • Notice: repeated factor: use incrementing powers up to 2.
  • Notice: linear over quadratic.

Common denominators and solve:

x3+1=(Ax+B)(x2+4)+Cx+D≫≫x3+1=Ax3+Bx2+(4A+C)x+4B+D≫≫A=1,B=0≫≫C=−4,D=1

Therefore:

x3+1(x2+4)2=xx2+4+−4x+1(x2+4)2

(2) Integrate:

Integrate the first term using substitution u=x2+4:

∫xx2+4dx≫≫u=x2+412∫duu≫≫12ln⁡|u|+C≫≫12ln⁡|x2+4|+C

Break up the second term:

−4x+1(x2+4)2≫≫−4x(x2+4)2+1(x2+4)2

Integrate the first term of RHS:

∫−4x(x2+4)2dx≫≫−2∫duu2≫≫2u+C≫≫2x2+4+C

Integrate the second term of RHS using x=2tan⁡θ:

∫dx(x2+4)2≫≫∫2sec2⁡θdθ16sec4⁡θ≫≫18∫cos2⁡θdθ≫≫18∫12(1+cos⁡(2θ))dθ≫≫116θ+132sin⁡(2θ)+C≫≫116tan−1⁡(x2)+1322sin⁡θcos⁡θ+C≫≫116tan−1⁡(x2)+1322xx2+222x2+22+C≫≫116tan−1⁡(x2)+18xx2+22+C