Partial Fractions

Partial Fractions Decomposition
Sometimes we have to split up a fraction into multiple parts in order to integrate. This method is call Partial Fraction Decomposition (PFD).
Strategy
Steps For PFD
- If the degree of the numerator is greater than that of the denominator, do polynomial long division
- Factor the denominator fully
- Rewrite the rational function using the partial fractions decomposition
- Multiply both side of the equation by the factored denominator and simplify
- Solve for the constants: A,B,C,....
- Compute the new integral

Example: Partial Fraction Decomposition (with long division)
Compute the integral ∫x3−x2−2x2x3−3x+2 dx
1. If degree of numerator ≥ degree of denominator, use long division
So, we can rewrite:
2x3−3x+2=2(x3−x2−2x)+(2x2+x+2)
Rewriting the rational function:
x3−x2−2x2x3−3x+2=x3−x2−2x2(x3−x2−2x)+(2x2+x+2)=2+x3−x2−2x2x2+x+2.
2. Factor the denominator fully
2+x3−x2−2x2x2+x+2=2+x(x−2)(x+1)2x2+x+2
3. Rewrite the rational function into partial fraction form
We can ignore the constant (2) for now because it is not part of the rational function.
Since we only have distinct linear factors in the denominator:
x(x−2)(x+1)2x2+x+2=xA+x−2B+x+1C
4. Multiply both sides by the factored denominator and simplify
2x2+x+2=A(x−2)(x+1)+B(x)(x+1)+C(x)(x−2)
5. Solve for constants A, B, C,...
Let x=0: 2=A(−2)(1)→A=−1
Let x=2: 12=B(2)(3)→B=2
Let x=−1: 3=C(−1)(−3)→C=1
Hence, x3−x2−2x2x3−3x+2=2−x1+x−22+x+11
6. Solve the new integral
=∫(2−x1+x−22+x+11)dx
=2x−ln∣x∣+2ln∣x−2∣+ln∣x+1∣+C

Example: Partial Fraction Decomposition (with rationalizing the denominator)
Evaluate the following indefinite integral
∫x−x+23dx
Let u=x+2, then u2=x+2 and x=u2−2.
The differential is dx=2u du.
Substituting this all in, the new integral is:
∫(u2−2)−u3(2u du)
=6∫u2−u−2udu
=6∫(u−2)(u+1)udu
Using partial fraction decomposition:
(u−2)(u+1)u=u−2A+u+1B
u=A(u+1)+B(u−2)
Let u=−1: −1=−3B → B=31
Let u=2: 2=3A → A=32
So, the integral becomes:
=6∫[3(u−2)2+3(u+1)1]du
=6[32ln∣u−2∣+31ln∣u+1∣]+C
=4ln∣u−2∣+2ln∣u+1∣+C
=4lnx+2−2+2lnx+2+1+C
Example: Partial Fraction Decomposition (with repeated factors)
Evaluate the following indefinite integral
∫x(x2+2)2x4+x3+6x2+2x+4dx
1. No need for long division
2. The denominator is already fully factored
3. Rewrite the rational function into partial fraction form
x(x2+2)2x4+x3+6x2+2x+4 = xA + x2+2Bx+C + (x2+2)2Dx+E
4. Multiply both sides by the factored denominator
x4+x3+6x2+2x+4= A(x2+2)2 + (Bx+C)(x)(x2+2) + (Dx+E)(x)
5. Solve for A, B, C,...
Let x=0: 4=A(4) →A=1
Let x=1: 14=A(9)+(B+C)(1)(3)+(D+E)(1)
Simplifying and subbing in A value: 14=9+3B+3C+D+E 1◯
Let x=−1: 8=A(9)+(C−B)(−1)(3)+(E−D)(−1)
Simplifying and subbing in A value: 8=9+3B−3C+D−E 2◯
Let x=2: 56=A(36)+(2B+C)(2)(6)+(2D+E)(2)
Simplifying and subbing in A value: 28=18+12B+6C+2D+E 3◯
Let x=−2: 32=A(36)+(C−2B)(−2)(6)+(E−2D)(−2)
Simplifying and subbing in A value: 16=18+12B−6C+2D−E 4◯
Now we need to combine the equations:
2◯−1◯: −6=−6C−2E
4◯−3◯:−12=−12C−2E
Then, we subtract these two equations to get 6=6C→C=1, and so E=0.
2◯+1◯:22=18+6B+2D
4◯+3◯:44=36+24B+4D→22=18+12B+2D
Then, we subtract these two equations to get 0=−6B→B=0, and so D=2
Substituting the constants and simplifying, we get x(x2+2)2x4+x3+6x2+2x+4=x1+x2+21+(x2+2)22x.
6. Solve the new integral
∫x(x2+2)2x4+x3+6x2+2x+4 dx =∫x1 dx + ∫x2+21 dx + ∫(x2+2)22x dx
=ln∣x∣+21arctan(2x)−x2+21+C
*Note, we need to use a U-sub for the last integral.
Practice: Partial Fraction Decomposition
Compute
∫x4+x33x2−1dx