Partial Fraction Decomposition Notes

Published on: November 29, 2026

These Partial Fraction Decomposition Notes explain how to split a fraction of polynomials into a sum of simpler fractions, with the working shown line by line. The denominator is factorised first, and each factor gets its own fraction with an unknown number on top. Multiplying through by the denominator turns the problem into an identity, and the unknown numbers are found by putting in useful values of x and matching coefficients. Simpler fractions are much easier to integrate and to invert in Laplace transforms.

Step-by-step method

  1. Set up the problem.
  2. Write the form of the answer.
  3. Divide if the top is not smaller.
  4. Factorise the denominator.
  5. Write the fractions with unknown numbers.
  6. Multiply through by the denominator.
  7. Find the unknown numbers.
  8. Write the answer.

Formula: Partial Fractions for Linear Factors

Each linear factor of the denominator gets its own fraction with a number on top. Repeated factors get one fraction for each power, and quadratic factors that cannot be factorised get Ax + B on top.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Useful Tips to Remember

Check the degrees first: if the top is not smaller than the bottom, divide before splitting. Factorise the denominator completely, because every factor needs its own fraction. Putting in the root of each linear factor finds its number straight away, and matching coefficients finds the rest. Check the answer by adding the fractions back together.

Required knowledge

Where Is Partial Fraction Decomposition Used?

Partial fractions turn one complicated fraction into several simple ones, which is the key step in many calculations. In calculus it is how rational functions are integrated, since each simple fraction integrates to a logarithm or an inverse tangent. Engineers use it to invert Laplace transforms when solving differential equations for circuits and control systems, and it also appears when summing series and in signal processing.

  • Integrating rational functions in calculus
  • Inverse Laplace transforms in engineering
  • Control systems and transfer functions
  • Telescoping sums of series
  • Signal processing with z-transforms

Partial Fraction Decomposition Practice Problems

Example 1 splits \(\frac{3x + 5}{x^{2} + 3x + 2}\), whose denominator has two different linear factors, and Example 2 splits \(\frac{2x + 3}{(x - 1)^{2}}\), which has a repeated factor. Examples 3 and 4 give you two more of the same kind to try, \(\frac{1}{x^{3} + x}\) and \(\frac{x^{3} + 2}{x^{2} + 3 x + 2}\). Factorise, write the form and find the numbers.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\frac{3 x + 5}{x^{2} + 3 x + 2}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the form of the answer.
  3. Divide if the top is not smaller.
  4. Factorise the denominator.
  5. Write the fractions with unknown numbers.
  6. Multiply through by the denominator.
  7. Find the unknown numbers.
  8. Write the answer.

Formula

Formula: Partial Fractions for Linear Factors

Each linear factor of the denominator gets its own fraction with a number on top. Repeated factors get one fraction for each power, and quadratic factors that cannot be factorised get Ax + B on top.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are writing \(\frac{3 x + 5}{x^{2} + 3 x + 2}\) as a sum of simpler fractions, one for each factor of the denominator.

\(\frac{3 x + 5}{x^{2} + 3 x + 2}\)

Step 2

Step 2 - Write the form of the answer.

In this problem: Each factor of the denominator gives its own fraction. A linear factor \(x - a\) gives \(\frac{A}{x - a}\), a repeated factor \((x - a)^{2}\) gives \(\frac{A}{x - a} + \frac{B}{(x - a)^{2}}\), and a quadratic that cannot be factorised gives \(\frac{Ax + B}{x^{2} + px + q}\). The top must have a lower degree than the bottom.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 3

Step 3 - Divide if the top is not smaller.

In this problem: The top has degree 1, which is lower than the degree 2 of the bottom, so no division is needed.

\(\deg(3 x + 5) < \deg(x^{2} + 3 x + 2)\)

Step 4

Step 4 - Factorise the denominator.

In this problem: Factorising the denominator, covered in the Factoring Higher Degree Polynomials Calculator, gives \(x^{2} + 3 x + 2 = \left(x + 2\right) \left(x + 1\right)\).

\(x^{2} + 3 x + 2 = \left(x + 2\right) \left(x + 1\right)\)

Step 5

Step 5 - Write the fractions with unknown numbers.

In this problem: Each factor gives its own fraction: \(\left(x + 2\right)\) is linear, so it gives one fraction and \(\left(x + 1\right)\) is linear, so it gives one fraction. This gives \(\frac{3 x + 5}{\left(x + 2\right) \left(x + 1\right)} = \frac{A}{x + 2} + \frac{B}{x + 1}\).

\(\frac{3 x + 5}{\left(x + 2\right) \left(x + 1\right)} = \frac{A}{x + 2} + \frac{B}{x + 1}\)

Step 6

Step 6 - Multiply through by the denominator.

In this problem: Multiplying both sides by \(\left(x + 2\right) \left(x + 1\right)\) clears every fraction and leaves \(3 x + 5 = A \left(x + 1\right) + B \left(x + 2\right)\). This must be true for every value of \(x\).

\(3 x + 5 = A \left(x + 1\right) + B \left(x + 2\right)\)

Step 7

Step 7 - Find the unknown numbers.

In this problem: The unknown numbers are found by choosing useful values of \(x\) and by matching coefficients, which gives \(A = 1,\; B = 2\).

\(A = 1,\; B = 2\)

Step 7a

Step 7a - Put x = -2.

In this problem: Putting \(x = -2\) makes \(x + 2\) zero, so every term with that factor disappears and leaves \(-1 = -1 A \;\Rightarrow\; A = 1\).

\(-1 = -1 A \;\Rightarrow\; A = 1\)

Step 7b

Step 7b - Put x = -1.

In this problem: Putting \(x = -1\) makes \(x + 1\) zero, so every term with that factor disappears and leaves \(2 = B \;\Rightarrow\; B = 2\).

\(2 = B \;\Rightarrow\; B = 2\)

Step 8

Step 8 - Write the answer.

In this problem: Putting the numbers into the fractions gives \(\frac{3 x + 5}{x^{2} + 3 x + 2} = \frac{1}{x + 2} + \frac{2}{x + 1}\).

\(\frac{3 x + 5}{x^{2} + 3 x + 2} = \frac{1}{x + 2} + \frac{2}{x + 1}\)

Final Answer

\(\frac{3 x + 5}{x^{2} + 3 x + 2} = \frac{1}{x + 2} + \frac{2}{x + 1}\)
See Example 2 Hide Example 2

Problem

\(\frac{2 x + 3}{x^{2} - 2 x + 1}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the form of the answer.
  3. Divide if the top is not smaller.
  4. Factorise the denominator.
  5. Write the fractions with unknown numbers.
  6. Multiply through by the denominator.
  7. Find the unknown numbers.
  8. Write the answer.

Formula

Formula: Partial Fractions for Linear Factors

Each linear factor of the denominator gets its own fraction with a number on top. Repeated factors get one fraction for each power, and quadratic factors that cannot be factorised get Ax + B on top.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are writing \(\frac{2 x + 3}{x^{2} - 2 x + 1}\) as a sum of simpler fractions, one for each factor of the denominator.

\(\frac{2 x + 3}{x^{2} - 2 x + 1}\)

Step 2

Step 2 - Write the form of the answer.

In this problem: Each factor of the denominator gives its own fraction. A linear factor \(x - a\) gives \(\frac{A}{x - a}\), a repeated factor \((x - a)^{2}\) gives \(\frac{A}{x - a} + \frac{B}{(x - a)^{2}}\), and a quadratic that cannot be factorised gives \(\frac{Ax + B}{x^{2} + px + q}\). The top must have a lower degree than the bottom.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 3

Step 3 - Divide if the top is not smaller.

In this problem: The top has degree 1, which is lower than the degree 2 of the bottom, so no division is needed.

\(\deg(2 x + 3) < \deg(x^{2} - 2 x + 1)\)

Step 4

Step 4 - Factorise the denominator.

In this problem: Factorising the denominator, covered in the Factoring Higher Degree Polynomials Calculator, gives \(x^{2} - 2 x + 1 = \left(x - 1\right)^{2}\).

\(x^{2} - 2 x + 1 = \left(x - 1\right)^{2}\)

Step 5

Step 5 - Write the fractions with unknown numbers.

In this problem: Each factor gives its own fraction: \(\left(x - 1\right)^{2}\) is repeated 2 times, so it gives a fraction for each power up to 2. This gives \(\frac{2 x + 3}{\left(x - 1\right)^{2}} = \frac{A}{x - 1} + \frac{B}{\left(x - 1\right)^{2}}\).

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

Step 6

Step 6 - Multiply through by the denominator.

In this problem: Multiplying both sides by \(\left(x - 1\right)^{2}\) clears every fraction and leaves \(2 x + 3 = A \left(x - 1\right) + B\). This must be true for every value of \(x\).

\(2 x + 3 = A \left(x - 1\right) + B\)

Step 7

Step 7 - Find the unknown numbers.

In this problem: The unknown numbers are found by choosing useful values of \(x\) and by matching coefficients, which gives \(A = 2,\; B = 5\).

\(A = 2,\; B = 5\)

Step 7a

Step 7a - Put x = 1.

In this problem: Putting \(x = 1\) makes \(x - 1\) zero, so every term with that factor disappears and leaves \(5 = B \;\Rightarrow\; B = 5\).

\(5 = B \;\Rightarrow\; B = 5\)

Step 7b

Step 7b - Compare coefficients.

In this problem: Expanding the right side with the values found so far and matching the coefficient of each power of \(x\) on both sides gives 2 equations.

\(\begin{gathered} x:\; A = 2 \\ \text{constant}:\; 5 - A = 3 \end{gathered}\)

Step 7c

Step 7c - Find A.

In this problem: The equation \(A = 2\) has only \(A\) left in it, so \(A = 2\).

\(A = 2\)

Step 8

Step 8 - Write the answer.

In this problem: Putting the numbers into the fractions gives \(\frac{2 x + 3}{x^{2} - 2 x + 1} = \frac{2}{x - 1} + \frac{5}{\left(x - 1\right)^{2}}\).

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

Final Answer

\(\frac{2 x + 3}{x^{2} - 2 x + 1} = \frac{2}{x - 1} + \frac{5}{\left(x - 1\right)^{2}}\)
See Example 3 Hide Example 3

Problem

\(\frac{1}{x^{3} + x}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the form of the answer.
  3. Divide if the top is not smaller.
  4. Factorise the denominator.
  5. Write the fractions with unknown numbers.
  6. Multiply through by the denominator.
  7. Find the unknown numbers.
  8. Write the answer.

Formula

Formula: Partial Fractions for Linear Factors

Each linear factor of the denominator gets its own fraction with a number on top. Repeated factors get one fraction for each power, and quadratic factors that cannot be factorised get Ax + B on top.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are writing \(\frac{1}{x^{3} + x}\) as a sum of simpler fractions, one for each factor of the denominator.

\(\frac{1}{x^{3} + x}\)

Step 2

Step 2 - Write the form of the answer.

In this problem: Each factor of the denominator gives its own fraction. A linear factor \(x - a\) gives \(\frac{A}{x - a}\), a repeated factor \((x - a)^{2}\) gives \(\frac{A}{x - a} + \frac{B}{(x - a)^{2}}\), and a quadratic that cannot be factorised gives \(\frac{Ax + B}{x^{2} + px + q}\). The top must have a lower degree than the bottom.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 3

Step 3 - Divide if the top is not smaller.

In this problem: The top has degree 0, which is lower than the degree 3 of the bottom, so no division is needed.

\(\deg(1) < \deg(x^{3} + x)\)

Step 4

Step 4 - Factorise the denominator.

In this problem: Factorising the denominator, covered in the Factoring Higher Degree Polynomials Calculator, gives \(x^{3} + x = x \left(x^{2} + 1\right)\).

\(x^{3} + x = x \left(x^{2} + 1\right)\)

Step 5

Step 5 - Write the fractions with unknown numbers.

In this problem: Each factor gives its own fraction: \(x\) is linear, so it gives one fraction and \(\left(x^{2} + 1\right)\) cannot be factorised, so its fraction has \(Ax + B\) on top. This gives \(\frac{1}{x \left(x^{2} + 1\right)} = \frac{A}{x} + \frac{B x + C}{x^{2} + 1}\).

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

Step 6

Step 6 - Multiply through by the denominator.

In this problem: Multiplying both sides by \(x \left(x^{2} + 1\right)\) clears every fraction and leaves \(1 = A \left(x^{2} + 1\right) + \left(B x + C\right) x\). This must be true for every value of \(x\).

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

Step 7

Step 7 - Find the unknown numbers.

In this problem: The unknown numbers are found by choosing useful values of \(x\) and by matching coefficients, which gives \(A = 1,\; B = -1,\; C = 0\).

\(A = 1,\; B = -1,\; C = 0\)

Step 7a

Step 7a - Put x = 0.

In this problem: Putting \(x = 0\) makes \(x\) zero, so every term with that factor disappears and leaves \(1 = A \;\Rightarrow\; A = 1\).

\(1 = A \;\Rightarrow\; A = 1\)

Step 7b

Step 7b - Compare coefficients.

In this problem: Expanding the right side with the values found so far and matching the coefficient of each power of \(x\) on both sides gives 2 equations.

\(\begin{gathered} x^{2}:\; B + 1 = 0 \\ x:\; C = 0 \end{gathered}\)

Step 7c

Step 7c - Find B.

In this problem: The equation \(B + 1 = 0\) has only \(B\) left in it, and solving it, covered in the Linear Equation Calculator, gives \(B = -1\).

\(B = -1\)

Step 7d

Step 7d - Find C.

In this problem: The equation \(C = 0\) has only \(C\) left in it, so \(C = 0\).

\(C = 0\)

Step 8

Step 8 - Write the answer.

In this problem: Putting the numbers into the fractions gives \(\frac{1}{x^{3} + x} = \frac{1}{x} - \frac{x}{x^{2} + 1}\).

\(\frac{1}{x^{3} + x} = \frac{1}{x} - \frac{x}{x^{2} + 1}\)

Final Answer

\(\frac{1}{x^{3} + x} = \frac{1}{x} - \frac{x}{x^{2} + 1}\)
See Example 4 Hide Example 4

Problem

\(\frac{x^{3} + 2}{x^{2} + 3 x + 2}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the form of the answer.
  3. Divide if the top is not smaller.
  4. Factorise the denominator.
  5. Write the fractions with unknown numbers.
  6. Multiply through by the denominator.
  7. Find the unknown numbers.
  8. Write the answer.

Formula

Formula: Partial Fractions for Linear Factors

Each linear factor of the denominator gets its own fraction with a number on top. Repeated factors get one fraction for each power, and quadratic factors that cannot be factorised get Ax + B on top.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are writing \(\frac{x^{3} + 2}{x^{2} + 3 x + 2}\) as a sum of simpler fractions, one for each factor of the denominator.

\(\frac{x^{3} + 2}{x^{2} + 3 x + 2}\)

Step 2

Step 2 - Write the form of the answer.

In this problem: Each factor of the denominator gives its own fraction. A linear factor \(x - a\) gives \(\frac{A}{x - a}\), a repeated factor \((x - a)^{2}\) gives \(\frac{A}{x - a} + \frac{B}{(x - a)^{2}}\), and a quadratic that cannot be factorised gives \(\frac{Ax + B}{x^{2} + px + q}\). The top must have a lower degree than the bottom.

\(\frac{P(x)}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}\)

Step 3

Step 3 - Divide if the top is not smaller.

In this problem: The top has degree 3 and the bottom has degree 2, so the top is not smaller. Dividing, covered in the Polynomial Long Division Calculator, gives \(\frac{x^{3} + 2}{x^{2} + 3 x + 2} = x - 3 + \frac{7 x + 8}{x^{2} + 3 x + 2}\). Only the remaining fraction is split.

\(\frac{x^{3} + 2}{x^{2} + 3 x + 2} = x - 3 + \frac{7 x + 8}{x^{2} + 3 x + 2}\)

Step 4

Step 4 - Factorise the denominator.

In this problem: Factorising the denominator, covered in the Factoring Higher Degree Polynomials Calculator, gives \(x^{2} + 3 x + 2 = \left(x + 2\right) \left(x + 1\right)\).

\(x^{2} + 3 x + 2 = \left(x + 2\right) \left(x + 1\right)\)

Step 5

Step 5 - Write the fractions with unknown numbers.

In this problem: Each factor gives its own fraction: \(\left(x + 2\right)\) is linear, so it gives one fraction and \(\left(x + 1\right)\) is linear, so it gives one fraction. This gives \(\frac{7 x + 8}{\left(x + 2\right) \left(x + 1\right)} = \frac{A}{x + 2} + \frac{B}{x + 1}\).

\(\frac{7 x + 8}{\left(x + 2\right) \left(x + 1\right)} = \frac{A}{x + 2} + \frac{B}{x + 1}\)

Step 6

Step 6 - Multiply through by the denominator.

In this problem: Multiplying both sides by \(\left(x + 2\right) \left(x + 1\right)\) clears every fraction and leaves \(7 x + 8 = A \left(x + 1\right) + B \left(x + 2\right)\). This must be true for every value of \(x\).

\(7 x + 8 = A \left(x + 1\right) + B \left(x + 2\right)\)

Step 7

Step 7 - Find the unknown numbers.

In this problem: The unknown numbers are found by choosing useful values of \(x\) and by matching coefficients, which gives \(A = 6,\; B = 1\).

\(A = 6,\; B = 1\)

Step 7a

Step 7a - Put x = -2.

In this problem: Putting \(x = -2\) makes \(x + 2\) zero, so every term with that factor disappears and leaves \(-6 = -1 A \;\Rightarrow\; A = 6\).

\(-6 = -1 A \;\Rightarrow\; A = 6\)

Step 7b

Step 7b - Put x = -1.

In this problem: Putting \(x = -1\) makes \(x + 1\) zero, so every term with that factor disappears and leaves \(1 = B \;\Rightarrow\; B = 1\).

\(1 = B \;\Rightarrow\; B = 1\)

Step 8

Step 8 - Write the answer.

In this problem: Putting the numbers into the fractions gives \(\frac{x^{3} + 2}{x^{2} + 3 x + 2} = x - 3 + \frac{6}{x + 2} + \frac{1}{x + 1}\).

\(\frac{x^{3} + 2}{x^{2} + 3 x + 2} = x - 3 + \frac{6}{x + 2} + \frac{1}{x + 1}\)

Final Answer

\(\frac{x^{3} + 2}{x^{2} + 3 x + 2} = x - 3 + \frac{6}{x + 2} + \frac{1}{x + 1}\)

Calculator and Practice Mode