Calculus

Integration of Functions

Integration of Functions Logo

Partial Fraction Decomposition

The Idea behind Partial Fraction Decomposition

A rational function is a function of the form

\[f\left( x \right) = \frac{{P\left( x \right)}}{{Q\left( x \right)}},\]

where P (x) and Q (x) are polynomials in x with Q (x) ≢ 0.

Rational fractions can be integrated by splitting into partial fractions.

Consider the addition of two rational fractions:

\[\frac{2}{{x + 1}} + \frac{3}{{x + 4}} = \frac{{2\left( {x + 4} \right) + 3\left( {x + 1} \right)}}{{\left( {x + 1} \right)\left( {x + 4} \right)}} = \frac{{\color{red}{2x} + \color{blue}8 + \color{red}{3x} + \color{blue}3}}{{\color{darkgreen}{x^2} + \color{red}x + \color{red}{4x} + \color{blue}4}} = \frac{{\color{red}{5x} + \color{blue}{11}}}{{\color{darkgreen}{x^2} + \color{red}{5x} + \color{blue}4}}.\]

Partial Fraction Decomposition (PFD) is the reverse of the procedure. It allows to decompose a single rational function into a sum of simpler rational functions.

Considering the previous example, the partial fraction decomposition has the form

\[\frac{{5x + 11}}{{{x^2} + 5x + 4}} = \frac{2}{{x + 1}} + \frac{3}{{x + 4}}.\]

Partial fraction decomposition is used to integrate rational functions.

The given method involves the following basic steps:

  1. Check to make sure the fraction is a proper rational function.
  2. Factor the polynomial \({Q\left( x \right)}\) in the denominator into linear and/or quadratic factors.
  3. Decompose the fraction into a sum of partial fractions.

Let's look at each step in detail.

Step 1. Reducing an Improper Fraction

In a proper rational expression \(\frac{{P\left( x \right)}}{{Q\left( x \right)}},\) the degree of the numerator \({P\left( x \right)}\) is less than the degree of the denominator \({Q\left( x \right)}.\)

If \(\frac{{P\left( x \right)}}{{Q\left( x \right)}}\) is improper, we divide the numerator \({P\left( x \right)}\) by the denominator \({Q\left( x \right)}\) to obtain

\[\frac{{P\left( x \right)}}{{Q\left( x \right)}} = F\left( x \right) + \frac{{R\left( x \right)}}{{Q\left( x \right)}},\]

where \(F\left( x \right)\) is a polynomial and \(\frac{{R\left( x \right)}}{{Q\left( x \right)}}\) is a proper fraction.

Step 2. Factoring the Denominator \(Q\left( x \right)\) into Linear/Quadratic Factors

Any polynomial with real coefficients can be factored into a product of linear and/or irreducible quadratic factors.

Step 3. Splitting the Rational Function into a Sum of Partial Fractions

The partial fraction decomposition of the rational function \(\frac{{R\left( x \right)}}{{Q\left( x \right)}}\) depends on the factors of the denominator \({Q\left( x \right)}.\)

1. The denominator is a product of distinct linear factors.

For each distinct factor \(ax + b,\) the sum of partial fractions includes a term of the form \(\frac{A}{{ax + b}}.\)

2. The denominator is a product of linear factors, some of which are repeated.

For each repeated linear factor \({\left( {ax + b} \right)^\alpha },\) the sum of partial fractions includes \(\alpha\) terms of the form

\[\frac{{{A_1}}}{{ax + b}} + \frac{{{A_2}}}{{{{\left( {ax + b} \right)}^2}}} + \ldots + \frac{{{A_\alpha }}}{{{{\left( {ax + b} \right)}^\alpha }}}.\]

3. The denominator has distinct irreducible quadratic factors.

For each distinct factor \(a{x^2} + bx + c,\) the sum of partial fractions includes a term \(\frac{{Ax + B}}{{a{x^2} + bx + c}}.\)

4. The denominator has a repeated irreducible quadratic factor.

For each repeated quadratic factor \({\left( {a{x^2} + bx + c} \right)^\mu },\) the sum of partial fractions includes \(\mu\) terms of the form

\[\frac{{{A_1}x + {B_1}}}{{a{x^2} + bx + c}} + {\frac{{{A_2}x + {B_2}}}{{{{\left( {a{x^2} + bx + c} \right)}^2}}}} + \ldots + \frac{{{A_\mu }x + {B_\mu }}}{{{{\left( {a{x^2} + bx + c} \right)}^\mu }}}.\]

Once the partial fraction decomposition is determined, the unknown coefficients can be found by clearing fractions and equating the coefficients of similar powers on the two sides. The resulting system must always have a unique solution.

Solved Problems

Example 1.

Decompose the fraction \[\frac{6}{{\left( {x + 2} \right)\left( {x - 4} \right)}}.\]

Solution.

The factors of the denominator are linear. Therefore, the numerators of the partial fractions will be constants. The partial fraction decomposition has the form

\[\frac{6}{{\left( {x + 2} \right)\left( {x - 4} \right)}} = \frac{A}{{x + 2}} + \frac{B}{{x - 4}}.\]

We add the partial fractions on the right side:

\[\frac{A}{{x + 2}} + \frac{B}{{x - 4}} = \frac{{A\left( {x - 4} \right) + B\left( {x + 2} \right)}}{{\left( {x + 2} \right)\left( {x - 4} \right)}} = \frac{{Ax - 4A + Bx + 2B}}{{\left( {x + 2} \right)\left( {x - 4} \right)}} = \frac{{\left( {A + B} \right)x + \left( {2B - 4A} \right)}}{{\left( {x + 2} \right)\left( {x - 4} \right)}}.\]

This expression is equal to the original fraction, that is

\[\frac{6}{{\left( {x + 2} \right)\left( {x - 4} \right)}} = \frac{{\left( {A + B} \right)x + \left( {2B - 4A} \right)}}{{\left( {x + 2} \right)\left( {x - 4} \right)}}.\]

Since these fractions have the same denominators, we can equate their numerators:

\[6 = \left( {A + B} \right)x + \left( {2B - 4A} \right).\]

Hence

\[\left\{ \begin{array}{l} A + B = 0\\ 2B - 4A = 6 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = - B\\ 2B + 4B = 6 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = - B\\ 6B = 6 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = - 1\\ B = 1 \end{array} \right..\]

The final answer is given by

\[\frac{6}{{\left( {x + 2} \right)\left( {x - 4} \right)}} = \frac{1}{{x - 4}} - \frac{1}{{x + 2}}.\]

Example 2.

Decompose the fraction \[\frac{3x}{{\left( {x + 1} \right)\left( {x - 2} \right)}}.\]

Solution.

Since the factors of the denominator are linear, the partial fraction decomposition is written in the form

\[\frac{{3x}}{{\left( {x + 1} \right)\left( {x - 2} \right)}} = \frac{A}{{x + 1}} + \frac{B}{{x - 2}}.\]

Simplifying the right side, we have

\[\frac{A}{{x + 1}} + \frac{B}{{x - 2}} = \frac{{A\left( {x - 2} \right) + B\left( {x + 1} \right)}}{{\left( {x + 1} \right)\left( {x - 2} \right)}} = \frac{{Ax - 2A + Bx + B}}{{\left( {x + 1} \right)\left( {x - 2} \right)}} = \frac{{\left( {A + B} \right)x + \left( {B - 2A} \right)}}{{\left( {x + 1} \right)\left( {x - 2} \right)}}.\]

This expression is equal to the original fraction:

\[\frac{{3x}}{{\left( {x + 1} \right)\left( {x - 2} \right)}} = \frac{{\left( {A + B} \right)x + \left( {B - 2A} \right)}}{{\left( {x + 1} \right)\left( {x - 2} \right)}}.\]

The fractions on both sides have the same denominators, so we equate their numerators:

\[3x = \left( {A + B} \right)x + \left( {B - 2A} \right).\]

Then

\[\left\{ \begin{array}{l} A + B = 3\\ B - 2A = 0 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A + 2A = 3\\ B = 2A \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} 3A = 3\\ B = 2A \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 1\\ B = 2 \end{array} \right..\]

Thus, the partial fraction decomposition has the form

\[\frac{{3x}}{{\left( {x + 1} \right)\left( {x - 2} \right)}} = \frac{1}{{x + 1}} + \frac{2}{{x - 2}}.\]

Example 3.

Find a partial fraction decomposition for \[\frac{{x + 4}}{{{x^2} - 7x + 10}}.\]

Solution.

Calculate the discriminant of the quadratic function in the denominator:

\[D = {\left( { - 7} \right)^2} - 4 \cdot 10 = 9 \gt 0.\]

Since the discriminant is positive, we can determine the roots of the quadratic function and factor it:

\[{x_{1,2}} = \frac{{7 \pm \sqrt 9 }}{2} = \frac{{7 \pm 3}}{2} = 2,\,5.\]

Hence

\[{x^2} - 7x + 10 = \left( {x - 2} \right)\left( {x - 5} \right),\]

and the original fraction is written as

\[\frac{{x + 4}}{{{x^2} - 7x + 10}} = \frac{{x + 4}}{{\left( {x - 2} \right)\left( {x - 5} \right)}}.\]

The denominator contains linear factors, so the partial fraction decomposition has the form

\[\frac{{x + 4}}{{{x^2} - 7x + 10}} = \frac{A}{{x - 2}} + \frac{B}{{x - 5}}.\]

Determine the unknown coefficients \(A\) and \(B:\)

\[\frac{A}{{x - 2}} + \frac{B}{{x - 5}} = \frac{{A\left( {x - 5} \right) + B\left( {x - 2} \right)}}{{\left( {x - 2} \right)\left( {x - 5} \right)}} = \frac{{Ax - 5A + Bx - 2B}}{{\left( {x - 2} \right)\left( {x - 5} \right)}} = \frac{{\left( {A + B} \right)x - 5A - 2B}}{{\left( {x - 2} \right)\left( {x - 5} \right)}}.\]

Then we can write

\[\frac{{x + 4}}{{\left( {x - 2} \right)\left( {x - 5} \right)}} = \frac{{\left( {A + B} \right)x - 5A - 2B}}{{\left( {x - 2} \right)\left( {x - 5} \right)}}.\]

Equate the numerators:

\[x + 4 = \left( {A + B} \right)x - 5A - 2B.\]

Hence

\[\left\{ \begin{array}{l} A + B = 1\\ - 5A - 2B = 4 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 1 - B\\ - 5\left( {1 - B} \right) - 2B = 4 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 1 - B\\ - 5 + 5B - 2B = 4 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 1 - B\\ 3B = 9 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = - 2\\ B = 3 \end{array} \right..\]

The final answer is given by

\[\frac{{x + 4}}{{{x^2} - 7x + 10}} = \frac{3}{{x - 5}} - \frac{2}{{x - 2}}.\]

Example 4.

Find a partial fraction decomposition for \[\frac{{2x - 3}}{{{x^2} + 7x + 6}}.\]

Solution.

The discriminant of the quadratic function in the denominator is positive:

\[D = {7^2} - 4 \cdot 6 = 25 \gt 0,\]

so we can factor it:

\[{x_{1,2}} = \frac{{ - 7 \pm \sqrt {25} }}{2} = \frac{{ - 7 \pm 5}}{2} = - 1,\, - 6;\]
\[ \Rightarrow {x^2} + 7x + 6 = \left( {x + 1} \right)\left( {x + 6} \right).\]

Then the fraction can be written as

\[\frac{{2x - 3}}{{{x^2} + 7x + 6}} = \frac{{2x - 3}}{{\left( {x + 1} \right)\left( {x + 6} \right)}}.\]

The denominator contains linear factors. Therefore, the partial fraction decomposition is given by

\[\frac{{2x - 3}}{{\left( {x + 1} \right)\left( {x + 6} \right)}} = \frac{A}{{x + 1}} + \frac{B}{{x + 6}}.\]

Simplify the right-hand side:

\[\frac{A}{{x + 1}} + \frac{B}{{x + 6}} = \frac{{A\left( {x + 6} \right) + B\left( {x + 1} \right)}}{{\left( {x + 6} \right)\left( {x + 1} \right)}} = \frac{{Ax + 6A + Bx + B}}{{\left( {x + 6} \right)\left( {x + 1} \right)}} = \frac{{\left( {A + B} \right)x + \left( {6A + B} \right)}}{{\left( {x + 6} \right)\left( {x + 1} \right)}}.\]

As

\[\frac{{2x - 3}}{{\left( {x + 1} \right)\left( {x + 6} \right)}} = \frac{{\left( {A + B} \right)x + \left( {6A + B} \right)}}{{\left( {x + 6} \right)\left( {x + 1} \right)}},\]

we can write

\[2x - 3 = \left( {A + B} \right)x + \left( {6A + B} \right).\]

This yields:

\[\left\{ \begin{array}{l} A + B = 2\\ 6A + B = - 3 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 2 - B\\ 6\left( {2 - B} \right) + B = - 3 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 2 - B\\ 12 - 6B + B = - 3 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = 2 - B\\ 5B = 15 \end{array} \right.,\;\; \Rightarrow \left\{ \begin{array}{l} A = - 1\\ B = 3 \end{array} \right..\]

So the decomposition of the fraction has the form

\[\frac{{2x - 3}}{{{x^2} + 7x + 6}} = \frac{3}{{x + 6}} - \frac{1}{{x + 1}}.\]

Example 5.

Find a partial fraction decomposition for \[\frac{{x - 2}}{{{x^2}\left( {x + 1} \right)}}.\]

Solution.

The first factor \(x\) in the denominator is repeated twice, so it produces two partial fractions. The resulting decomposition has the form

\[\frac{{x - 2}}{{{x^2}\left( {x + 1} \right)}} = \frac{A}{x} + \frac{B}{{{x^2}}} + \frac{C}{{x + 1}}.\]

First we simplify the right-hand side of this expression:

\[\frac{A}{x} + \frac{B}{{{x^2}}} + \frac{C}{{x + 1}} = \frac{{Ax\left( {x + 1} \right) + B\left( {x + 1} \right) + C{x^2}}}{{{x^2}\left( {x + 1} \right)}} = \frac{{A{x^2} + Ax + Bx + B + C{x^2}}}{{{x^2}\left( {x + 1} \right)}} = \frac{{\left( {A + C} \right){x^2} + \left( {A + B} \right)x + B}}{{{x^2}\left( {x + 1} \right)}}.\]

The last fraction is equal to the original one:

\[\frac{{x - 2}}{{{x^2}\left( {x + 1} \right)}} = \frac{{\left( {A + C} \right){x^2} + \left( {A + B} \right)x + B}}{{{x^2}\left( {x + 1} \right)}}.\]

Then we equate the numerators of both sides:

\[x - 2 = \left( {A + C} \right){x^2} + \left( {A + B} \right)x + B.\]

Hence we obtain the following system of equations:

\[\left\{ \begin{array}{l} A + C = 0\\ A + B = 1\\ B = - 2 \end{array} \right..\]

Solving it, we find the unknown coefficients:

\[\left\{ \begin{array}{l} C = - 3\\ A = 3\\ B = - 2 \end{array} \right..\]

So, the partial fraction decomposition is written as

\[\frac{{x - 2}}{{{x^2}\left( {x + 1} \right)}} = \frac{3}{x} - \frac{2}{{{x^2}}} - \frac{3}{{x + 1}}.\]

Example 6.

Find a partial fraction decomposition for \[\frac{1}{{x{{\left( {2x + 1} \right)}^2}}}.\]

Solution.

The second factor \(2x + 1\) in the denominator is repeated twice. Hence it produces two partial fractions and the decomposition has the form

\[\frac{1}{{x{{\left( {2x + 1} \right)}^2}}} = \frac{A}{{2x + 1}} + \frac{B}{{{{\left( {2x + 1} \right)}^2}}} + \frac{C}{x}.\]

We combine the partial fractions on the right side into a single fraction and then equate the numerators on both sides. This gives the following equation:

\[1 = \left( {2A + 4C} \right){x^2} + \left( {A + B + 4C} \right)x + C,\]

so we can write

\[\left\{ \begin{array}{l} 2A + 4C = 0\\ A + B + 4C = 0\\ C = 1 \end{array} \right..\]

The system has the solution

\[\left\{ \begin{array}{l} A = - 2\\ B = - 2\\ C = 1 \end{array} \right..\]

Hence, the partial fraction decomposition of the initial rational function is given by

\[\frac{1}{{x{{\left( {2x + 1} \right)}^2}}} = \frac{1}{x} - \frac{2}{{2x + 1}} - \frac{2}{{{{\left( {2x + 1} \right)}^2}}}.\]

See more problems on Page 2.

Page 1 Page 2