Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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

  1. If the degree of the numerator is greater than that of the denominator, do polynomial long division
  2. Factor the denominator fully
  3. Rewrite the rational function using the partial fractions decomposition
  4. Multiply both side of the equation by the factored denominator and simplify
  5. Solve for the constants: A,B,C,....
  6. Compute the new integral



Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Example: Partial Fraction Decomposition (with long division)

Compute the integral ∫2x3−3x+2x3−x2−2x  ⁣dx\displaystyle\int\frac{2x^3-3x+2}{x^3-x^2-2x}\de{x}


1. If degree of numerator ≥\ge degree of denominator, use long division

Image illustrating Example:

So, we can rewrite:

2x3−3x+2=2(x3−x2−2x)+(2x2+x+2)2x^3-3x+2=2\left(x^3-x^2-2x\right)+\left(2x^2+x+2\right)


Rewriting the rational function:

2x3−3x+2x3−x2−2x=2(x3−x2−2x)+(2x2+x+2)x3−x2−2x=2+2x2+x+2x3−x2−2x\displaystyle \frac{2x^3-3x+2}{x^3-x^2-2x}=\frac{2\left(x^3-x^2-2x\right)+\left(2x^2+x+2\right)}{x^3-x^2-2x}=2+\frac{2x^2+x+2}{x^3-x^2-2x}.

2. Factor the denominator fully


2+2x2+x+2x3−x2−2x=2+2x2+x+2x(x−2)(x+1)\displaystyle 2+\frac{2x^2+x+2}{x^3-x^2-2x}=2+\frac{2x^2+x+2}{x\left(x-2\right)\left(x+1\right)}

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:

2x2+x+2x(x−2)(x+1)=Ax+Bx−2+Cx+1\displaystyle \frac{2x^2+x+2}{x\left(x-2\right)\left(x+1\right)}=\frac{A}{x}+\frac{B}{x-2}+\frac{C}{x+1}

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)2x^2+x+2=A\left(x-2\right)\left(x+1\right)+B\left(x\right)\left(x+1\right)+C\left(x\right)\left(x-2\right)

5. Solve for constants A, B, C,...


Let x=0x=0: 2=A(−2)(1)→A=−12=A\left(-2\right)\left(1\right)\to A=-1

Let x=2x=2: 12=B(2)(3)→B=212=B\left(2\right)\left(3\right)\to B=2

Let x=−1x=-1: 3=C(−1)(−3)→C=13=C\left(-1\right)\left(-3\right)\to C=1

Hence, 2x3−3x+2x3−x2−2x=2−1x+2x−2+1x+1\displaystyle \frac{2x^3-3x+2}{x^3-x^2-2x}=2-\frac{1}{x}+\frac{2}{x-2}+\frac{1}{x+1}

6. Solve the new integral


=∫(2−1x+2x−2+1x+1)dx=\displaystyle \int\left(2-\frac{1}{x}+\frac{2}{x-2}+\frac{1}{x+1}\right)dx


=2x−ln⁡∣x∣+2ln⁡∣x−2∣+ln⁡∣x+1∣+C=2x-\ln\left|x\right|+2\ln\left|x-2\right|+\ln\left|x+1\right|+C

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Example: Partial Fraction Decomposition (with rationalizing the denominator)

Evaluate the following indefinite integral


∫3x−x+2dx\displaystyle \int\frac{3}{x-\sqrt{x+2}}dx



Let u=x+2u=\sqrt{x+2}, then u2=x+2u^2=x+2 and x=u2−2x=u^2-2.

The differential is dx=2u dudx=2u\ du.

Substituting this all in, the new integral is:

∫3(u2−2)−u(2u du)\displaystyle \int\frac{3}{\left(u^2-2\right)-u}\left(2u\ du\right)


=6∫uu2−u−2du=6\displaystyle \int\frac{u}{u^2-u-2}du


=6∫u(u−2)(u+1)du=6\displaystyle \int\frac{u}{\left(u-2\right)\left(u+1\right)}du


Using partial fraction decomposition:

u(u−2)(u+1)=Au−2+Bu+1\displaystyle \frac{u}{\left(u-2\right)\left(u+1\right)}=\frac{A}{u-2}+\frac{B}{u+1}

u=A(u+1)+B(u−2)u=A\left(u+1\right)+B\left(u-2\right)

Let u=−1:   −1=−3B   →   B=13u=-1:\ \ \ -1=-3B\ \ \ \to\ \ \ B=\frac{1}{3}

Let u=2:   2=3A   →   A=23u=2:\ \ \ 2=3A\ \ \ \to\ \ \ A=\frac{2}{3}


So, the integral becomes:

=6∫[23(u−2)+13(u+1)]du=6\displaystyle \int\left[\frac{2}{3\left(u-2\right)}+\frac{1}{3\left(u+1\right)}\right]du


=6[23ln⁡∣u−2∣+13ln⁡∣u+1∣]+C=6\left[\frac{2}{3}\ln\left|u-2\right|+\frac{1}{3}\ln\left|u+1\right|\right]+C


=4ln⁡∣u−2∣+2ln⁡∣u+1∣+C=4\ln\left|u-2\right|+2\ln\left|u+1\right|+C


=4ln⁡∣x+2−2∣+2ln⁡∣x+2+1∣+C=4\ln\left|\sqrt{x+2}-2\right|+2\ln\left|\sqrt{x+2}+1\right|+C

Example: Partial Fraction Decomposition (with repeated factors)

Evaluate the following indefinite integral


∫x4+x3+6x2+2x+4x(x2+2)2dx\displaystyle\int\frac{x^4+x^3+6x^2+2x+4}{x(x^2+2)^2}dx


1. No need for long division


2. The denominator is already fully factored


3. Rewrite the rational function into partial fraction form


x4+x3+6x2+2x+4x(x2+2)2 = Ax + Bx+Cx2+2 + Dx+E(x2+2)2\displaystyle \frac{x^4+x^3+6x^2+2x+4}{x(x^2+2)^2} \space = \space \frac{A}{x} \space + \space\frac{Bx+C}{x^2+2} \space+\space\frac{Dx+E}{(x^2+2)^2}


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)x^4+x^3+6x^2+2x+4=\ A(x^2+2)^2\ +\ (Bx+C)\left(x\right)(x^2+2)\ +\ (Dx+E)\left(x\right)

5. Solve for A, B, C,...


Let x=0x=0 : 4=A(4) →A=14=A\left(4\right)\ \to A=1

Let x=1x=1: 14=A(9)+(B+C)(1)(3)+(D+E)(1)14=A\left(9\right)+\left(B+C\right)\left(1\right)\left(3\right)+\left(D+E\right)\left(1\right)

Simplifying and subbing in A value: 14=9+3B+3C+D+E 1◯14=9+3B+3C+D+E\ \text{\textcircled1}

Let x=−1x=-1: 8=A(9)+(C−B)(−1)(3)+(E−D)(−1)8=A\left(9\right)+\left(C-B\right)\left(-1\right)\left(3\right)+\left(E-D\right)\left(-1\right)

Simplifying and subbing in A value: 8=9+3B−3C+D−E 2◯8=9+3B-3C+D-E\ \text{\textcircled2}

Let x=2x=2: 56=A(36)+(2B+C)(2)(6)+(2D+E)(2)56=A\left(36\right)+\left(2B+C\right)\left(2\right)\left(6\right)+\left(2D+E\right)\left(2\right)

Simplifying and subbing in A value: 28=18+12B+6C+2D+E 3◯28=18+12B+6C+2D+E\ \text{\textcircled3}

Let x=−2x=-2: 32=A(36)+(C−2B)(−2)(6)+(E−2D)(−2)32=A\left(36\right)+\left(C-2B\right)\left(-2\right)\left(6\right)+\left(E-2D\right)\left(-2\right)

Simplifying and subbing in A value: 16=18+12B−6C+2D−E 4◯16=18+12B-6C+2D-E\ \text{\textcircled4}


Now we need to combine the equations:

2◯−1◯: −6=−6C−2E\text{\textcircled2}-\text{\textcircled1}:\ -6=-6C-2E

4◯−3◯:−12=−12C−2E\text{\textcircled4}-\text{\textcircled3}:-12=-12C-2E

Then, we subtract these two equations to get 6=6C→C=16=6C\to C=1, and so E=0E=0.

2◯+1◯:22=18+6B+2D\text{\textcircled2}+\text{\textcircled1}:22=18+6B+2D

4◯+3◯:44=36+24B+4D→22=18+12B+2D\text{\textcircled4}+\text{\textcircled3}:44=36+24B+4D\to22=18+12B+2D

Then, we subtract these two equations to get 0=−6B→B=00=-6B\to B=0, and so D=2D=2

Substituting the constants and simplifying, we get x4+x3+6x2+2x+4x(x2+2)2=1x+1x2+2+2x(x2+2)2\frac{x^4+x^3+6x^2+2x+4}{x\left(x^2+2\right)^2}=\frac{1}{x}+\frac{1}{x^2+2}+\frac{2x}{\left(x^2+2\right)^2}.

6. Solve the new integral


∫x4+x3+6x2+2x+4x(x2+2)2  ⁣dx =∫1x  ⁣dx + ∫1x2+2  ⁣dx + ∫2x(x2+2)2  ⁣dx\displaystyle\int\frac{x^4+x^3+6x^2+2x+4}{x(x^2+2)^2}\de{x} \space = {\displaystyle\int}\frac{1}{x}\de{x} \space +\space {\displaystyle\int}\frac{1}{x^2+2}\de{x}\space +\space {\displaystyle\int}\frac{2x}{(x^2+2)^2}\de{x}

=ln⁡∣x∣+12arctan⁡(x2)−1x2+2+C\displaystyle =\ln\left|x\right|+\frac{1}{\sqrt{2}}\arctan\left(\frac{x}{\sqrt{2}}\right)-\frac{1}{x^2+2}+C

*Note, we need to use a U-sub for the last integral.

Practice: Partial Fraction Decomposition

Evaluate the integral


∫x4+1x2+1dx\displaystyle\int \frac{x^4+1}{x^2+1}dx


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Practice: Partial Fraction Decomposition

Compute


∫3x2−1x4+x3dx\displaystyle\int\frac{3x^2-1}{x^4+x^3}dx

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice