Partial Fraction Decomposition Notes
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
- Set up the problem.
- Write the form of the answer.
- Divide if the top is not smaller.
- Factorise the denominator.
- Write the fractions with unknown numbers.
- Multiply through by the denominator.
- Find the unknown numbers.
- 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.
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
- How to factorise the denominator, covered in the Factoring Higher Degree Polynomials Calculator.
- How to divide polynomials, covered in the Polynomial Long Division Calculator.
- How to solve for each unknown number, covered in the Linear Equation Calculator.
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
Approach
Step-by-step method
- Set up the problem.
- Write the form of the answer.
- Divide if the top is not smaller.
- Factorise the denominator.
- Write the fractions with unknown numbers.
- Multiply through by the denominator.
- Find the unknown numbers.
- 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.
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.
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.
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.
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)\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Take out the common factor.
- Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
- Do the same again on what is left, until it cannot be broken down.
- Factor what is left.
- Write the polynomial as a product of its factors.
Depending on the polynomial, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The polynomial to factor is \(x^{2} + 3x + 2\). Factoring means writing it as a product of simpler polynomials.
Step 2
Step 2 - Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
In this problem: Look for a bracket that comes out of \(x^{2} + 3x + 2\).
Step 2a
Step 2a - List the numbers to try.
In this problem: Look at the last number, \(2\). The numbers that go into \(2\), both positive and negative, are \(\pm 1, \pm 2\). Try them in order until one gives \(0\).
Step 2b
Step 2b - Try \(x = 1\).
In this problem: Set \(x = 1\) in \(x^{2} + 3x + 2\). It gives \(6\), not \(0\), so \(x = 1\) is not a root.
Step 2c
Step 2c - Try \(x = -1\).
In this problem: Set \(x = -1\) in \(x^{2} + 3x + 2\). It gives \(0\), so \(x = -1\) is a root. One root is enough to carry on, so the rest of the list is not tested here.
Step 2d
Step 2d - Use the root to find a factor.
In this problem: Start from the root \(x = -1\) found in the test. Add \(1\) to both sides so that one side becomes \(0\). That leaves \(x + 1 = 0\), so the bracket \((x + 1)\) is \(0\) exactly at the root. A bracket like that always divides \(x^{2} + 3x + 2\) exactly (the Factor Theorem), so \((x + 1)\) is a factor.
Step 2e
Step 2e - Divide by the factor.
In this problem: Divide \(x^{2} + 3x + 2\) by \((x + 1)\). It gives \(x + 2\) with no remainder, so \(x^{2} + 3x + 2 = (x + 1)(x + 2)\), which splits it into two brackets.
Problem
Approach
Step-by-step method
- Set up the problem.
- Bring down the leading coefficient.
- Multiply by the divisor's number and add down each column.
- Read off the quotient and the remainder.
Step 1
Step 1 - Set up the problem.
In this problem: The table needs two things: a number for the corner, which comes from the divisor, and the coefficients of the dividend, which go along the top.
Step 1a
Step 1a - Find the number for the corner.
In this problem: The corner number is the value of \(x\) that makes the divisor zero: \(x + 1 = 0\) gives \(x = -1\). So \(-1\) goes in the corner.
Step 1b
Step 1b - Write down the coefficients of the dividend.
In this problem: The numbers in front of each power, in order, are \(1\), \(3\) and \(2\).
Step 1c
Step 1c - Draw the table.
In this problem: The corner number \(-1\) goes on the left, and the coefficients \(1\), \(3\) and \(2\) go along the top row. The row under them stays empty for now, it is where the multiplied numbers will go. The answers are written under the line, and the last column is fenced off because the number that ends up there is the remainder.
| \(-1\) | \(1\) | \(3\) | \(2\) |
Step 2
Step 2 - Bring down the leading coefficient.
In this problem: The leading coefficient \(1\) comes straight down to the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(1\) |
Step 3
Step 3 - Multiply by the divisor's number and add down each column.
In this problem: There are \(2\) columns left. For each one, the last number on the bottom row is multiplied by \(-1\), written in the next column, and added to the number above it.
Step 3a
Step 3a - Work through the second column.
In this problem: \(\left(-1\right) \times 1 = -1\) goes under \(3\), and \(3 + \left(-1\right) = 2\) goes on the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(-1\) | |||
| \(1\) | \(2\) |
Step 3b
Step 3b - Work through the third column.
In this problem: \(\left(-1\right) \times 2 = -2\) goes under \(2\), and \(2 + \left(-2\right) = 0\) goes on the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(-1\) | \(-2\) | ||
| \(1\) | \(2\) | \(0\) |
Step 4
Step 4 - Read off the quotient and the remainder.
In this problem: The last number on the bottom row, \(0\), is the remainder, and \(1\) and \(2\) are the coefficients of the quotient. Dividing by \(x + 1\) lowers every power by one, so the quotient starts at \(x\) instead of \(x^{2}\), giving \(x + 2\).
Final Answer
Step 3
Step 3 - Write the polynomial as a product of its factors.
In this problem: Putting all the factors together gives \((x + 1)(x + 2)\).
Final Answer
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}\).
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\).
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\).
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\).
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\).
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}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the form of the answer.
- Divide if the top is not smaller.
- Factorise the denominator.
- Write the fractions with unknown numbers.
- Multiply through by the denominator.
- Find the unknown numbers.
- 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.
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.
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.
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.
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}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Take out the common factor.
- Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
- Do the same again on what is left, until it cannot be broken down.
- Factor what is left.
- Write the polynomial as a product of its factors.
Depending on the polynomial, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The polynomial to factor is \(x^{2} - 2x + 1\). Factoring means writing it as a product of simpler polynomials.
Step 2
Step 2 - Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
In this problem: Look for a bracket that comes out of \(x^{2} - 2x + 1\).
Step 2a
Step 2a - List the numbers to try.
In this problem: Look at the last number, \(1\). The numbers that go into \(1\), both positive and negative, are \(\pm 1\). Try them in order until one gives \(0\).
Step 2b
Step 2b - Try \(x = 1\).
In this problem: Set \(x = 1\) in \(x^{2} - 2x + 1\). It gives \(0\), so \(x = 1\) is a root. One root is enough to carry on, so the rest of the list is not tested here.
Step 2c
Step 2c - Use the root to find a factor.
In this problem: Start from the root \(x = 1\) found in the test. Take \(1\) away from both sides so that one side becomes \(0\). That leaves \(x - 1 = 0\), so the bracket \((x - 1)\) is \(0\) exactly at the root. A bracket like that always divides \(x^{2} - 2x + 1\) exactly (the Factor Theorem), so \((x - 1)\) is a factor.
Step 2d
Step 2d - Divide by the factor.
In this problem: Divide \(x^{2} - 2x + 1\) by \((x - 1)\). It gives \(x - 1\) with no remainder, so \(x^{2} - 2x + 1 = (x - 1)(x - 1)\), which splits it into two brackets.
Problem
Approach
Step-by-step method
- Set up the problem.
- Bring down the leading coefficient.
- Multiply by the divisor's number and add down each column.
- Read off the quotient and the remainder.
Step 1
Step 1 - Set up the problem.
In this problem: The table needs two things: a number for the corner, which comes from the divisor, and the coefficients of the dividend, which go along the top.
Step 1a
Step 1a - Find the number for the corner.
In this problem: The corner number is the value of \(x\) that makes the divisor zero: \(x - 1 = 0\) gives \(x = 1\). So \(1\) goes in the corner.
Step 1b
Step 1b - Write down the coefficients of the dividend.
In this problem: The numbers in front of each power, in order, are \(1\), \(-2\) and \(1\).
Step 1c
Step 1c - Draw the table.
In this problem: The corner number \(1\) goes on the left, and the coefficients \(1\), \(-2\) and \(1\) go along the top row. The row under them stays empty for now, it is where the multiplied numbers will go. The answers are written under the line, and the last column is fenced off because the number that ends up there is the remainder.
| \(1\) | \(1\) | \(-2\) | \(1\) |
Step 2
Step 2 - Bring down the leading coefficient.
In this problem: The leading coefficient \(1\) comes straight down to the bottom row.
| \(1\) | \(1\) | \(-2\) | \(1\) |
| \(1\) |
Step 3
Step 3 - Multiply by the divisor's number and add down each column.
In this problem: There are \(2\) columns left. For each one, the last number on the bottom row is multiplied by \(1\), written in the next column, and added to the number above it.
Step 3a
Step 3a - Work through the second column.
In this problem: \(1 \times 1 = 1\) goes under \(-2\), and \(-2 + 1 = -1\) goes on the bottom row.
| \(1\) | \(1\) | \(-2\) | \(1\) |
| \(1\) | |||
| \(1\) | \(-1\) |
Step 3b
Step 3b - Work through the third column.
In this problem: \(1 \times \left(-1\right) = -1\) goes under \(1\), and \(1 + \left(-1\right) = 0\) goes on the bottom row.
| \(1\) | \(1\) | \(-2\) | \(1\) |
| \(1\) | \(-1\) | ||
| \(1\) | \(-1\) | \(0\) |
Step 4
Step 4 - Read off the quotient and the remainder.
In this problem: The last number on the bottom row, \(0\), is the remainder, and \(1\) and \(-1\) are the coefficients of the quotient. Dividing by \(x - 1\) lowers every power by one, so the quotient starts at \(x\) instead of \(x^{2}\), giving \(x - 1\).
Final Answer
Step 3
Step 3 - Write the polynomial as a product of its factors.
In this problem: Putting all the factors together gives \((x - 1)(x - 1)\), and a factor that appears more than once is written as a power.
Final Answer
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}}\).
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\).
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\).
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\).
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.
Step 7c
Step 7c - Find A.
In this problem: The equation \(A = 2\) has only \(A\) left in it, so \(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}}\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the form of the answer.
- Divide if the top is not smaller.
- Factorise the denominator.
- Write the fractions with unknown numbers.
- Multiply through by the denominator.
- Find the unknown numbers.
- 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.
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.
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.
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.
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)\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Take out the common factor.
- Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
- Do the same again on what is left, until it cannot be broken down.
- Factor what is left.
- Write the polynomial as a product of its factors.
Depending on the polynomial, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The polynomial to factor is \(x^{3} + x\). Factoring means writing it as a product of simpler polynomials.
Step 2
Step 2 - Take out the common factor.
In this problem: Every term shares \(x\), so it comes out in front of a bracket.
Step 2a
Step 2a - Find the lowest power of \(x\) in every term.
In this problem: Every term has at least \(x\), so it can be taken out.
Step 2b
Step 2b - Divide every term by \(x\).
In this problem: What each term leaves after dividing by \(x\) goes inside the bracket.
Step 3
Step 3 - Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
In this problem: Work with what is in the bracket, \(x^{2} + 1\), and look for a bracket that comes out of it.
Step 3a
Step 3a - List the numbers to try.
In this problem: Look at the last number, \(1\). The numbers that go into \(1\), both positive and negative, are \(\pm 1\). Try them in order until one gives \(0\).
Step 3b
Step 3b - Try \(x = 1\).
In this problem: Set \(x = 1\) in \(x^{2} + 1\). It gives \(2\), not \(0\), so \(x = 1\) is not a root.
Step 3c
Step 3c - Try \(x = -1\).
In this problem: Set \(x = -1\) in \(x^{2} + 1\). It gives \(2\), not \(0\), so \(x = -1\) is not a root. None of these numbers gives \(0\), so \(x^{2} + 1\) can't be broken down and stays as it is.
Step 4
Step 4 - Write the polynomial as a product of its factors.
In this problem: Putting all the factors together gives \(x(x^{2} + 1)\).
Final Answer
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}\).
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\).
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\).
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\).
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.
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\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Expand and simplify. Remove the brackets and combine the like terms on each side, covered in the Simplifying Algebraic Expressions Calculator.
- Collect the variable terms. Move every term that holds the variable onto one side by adding or subtracting that term on both sides, so the equation stays balanced.
- Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
- Isolate the variable. Undo the coefficient that is still attached to the variable, covered in the Solving One-Step Equations Calculator.
- Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
Depending on the equation, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The equation is \(B + 1 = 0\), with \(B + 1\) on the left of the equals sign and \(0\) on the right.
Step 2
Step 2 - Collect the constant terms. Move every constant onto the other side by adding or subtracting that constant on both sides, so the equation stays balanced.
In this problem: The left side is \(B + 1\), which still holds the constant \(1\).
Step 2a
Step 2a - Subtract \(1\) from both sides.
In this problem: \(1\) is subtracted from both sides to clear that constant off the left.
Step 2b
Step 2b - Work out each side.
In this problem: On the left, \(1 - 1 = 0\), so only the variable term is left there. On the right, \(0 - 1 = -1\).
Step 3
Step 3 - Verify the solution. Put the answer back into the original equation and check that both sides come out equal.
In this problem: The answer \(B = -1\) is checked in three parts: write the original equation, put \(-1\) in place of \(B\), then work out both sides.
Step 3a
Step 3a - Write the original equation.
In this problem: The original equation is \(B + 1 = 0\).
Step 3b
Step 3b - Put the answer in place of the variable.
In this problem: Putting \(-1\) in place of every \(B\) in \(B + 1 = 0\) gives \(-1 + 1 = 0\).
Step 3c
Step 3c - Work out both sides.
In this problem: On the left, \(-1 + 1 = 0\). On the right, \(0\). Both sides are equal, so \(B = -1\) is correct.
Final Answer
Step 7d
Step 7d - Find C.
In this problem: The equation \(C = 0\) has only \(C\) left in it, so \(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}\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the form of the answer.
- Divide if the top is not smaller.
- Factorise the denominator.
- Write the fractions with unknown numbers.
- Multiply through by the denominator.
- Find the unknown numbers.
- 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.
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.
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.
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.
Problem
Approach
Step-by-step method
- Set up the problem.
- Divide the leading terms, multiply back and subtract, repeating until what is left has a lower degree than the divisor.
- Write the quotient and the remainder.
Step 1
Step 1 - Set up the problem.
In this problem: The dividend \(x^{3} + 2\) goes inside the division bracket and the divisor \(x^{2} + 3x + 2\) goes outside it. Every missing power is written with a \(0\) so each power keeps its own column, giving \(x^{3} + 0x^{2} + 0x + 2\).
| \(x^{2} + 3x + 2\) | \(x^{3}\) | \(+\) | \(0x^{2}\) | \(+\) | \(0x\) | \(+\) | \(2\) |
Step 2
Step 2 - Divide the leading terms, multiply back and subtract, repeating until what is left has a lower degree than the divisor.
In this problem: Each round finds one term of the quotient. The quotient's highest power is \(x^{3 - 2} = x\), so the division takes at most \(2\) rounds, one for each power from there down to the number.
| \(x^{2} + 3x + 2\) | \(x^{3}\) | \(+\) | \(0x^{2}\) | \(+\) | \(0x\) | \(+\) | \(2\) |
Step 2a
Step 2a - Work through the first round.
In this problem: Divide the leading terms: \(\frac{x^{3}}{x^{2}} = x\), which goes on top. Multiply it back: \(x\left(x^{2} + 3x + 2\right) = x^{3} + 3x^{2} + 2x\), written under the matching powers. Subtract column by column: \(x^{3} - x^{3} = 0\), \(0x^{2} - 3x^{2} = -3x^{2}\) and \(0x - 2x = -2x\), and \(2\) is brought down.
| \(x\) | ||||||||
| \(x^{2} + 3x + 2\) | \(x^{3}\) | \(+\) | \(0x^{2}\) | \(+\) | \(0x\) | \(+\) | \(2\) | |
| \(-\) | \(x^{3}\) | \(+\) | \(3x^{2}\) | \(+\) | \(2x\) | |||
| \(-\) | \(3x^{2}\) | \(-\) | \(2x\) | \(+\) | \(2\) |
Step 2b
Step 2b - Work through the second round.
In this problem: Divide the leading terms: \(\frac{-3x^{2}}{x^{2}} = -3\), which goes on top. Multiply it back: \(-3\left(x^{2} + 3x + 2\right) = -3x^{2} - 9x - 6\), written under the matching powers. Subtract column by column: \(-3x^{2} - (-3x^{2}) = 0\), \(-2x - (-9x) = 7x\) and \(2 - (-6) = 8\).
| \(x\) | \(-\) | \(3\) | ||||||
| \(x^{2} + 3x + 2\) | \(x^{3}\) | \(+\) | \(0x^{2}\) | \(+\) | \(0x\) | \(+\) | \(2\) | |
| \(-\) | \(x^{3}\) | \(+\) | \(3x^{2}\) | \(+\) | \(2x\) | |||
| \(-\) | \(3x^{2}\) | \(-\) | \(2x\) | \(+\) | \(2\) | |||
| \(-\) | \(-\) | \(3x^{2}\) | \(-\) | \(9x\) | \(-\) | \(6\) | ||
| \(7x\) | \(+\) | \(8\) |
Step 3
Step 3 - Write the quotient and the remainder.
In this problem: The terms on top make the quotient, \(x - 3\), and the bottom line, \(7x + 8\), is the remainder. Its degree is lower than the divisor's, so the division stops and the remainder is written over the divisor.
Final Answer
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)\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Take out the common factor.
- Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
- Do the same again on what is left, until it cannot be broken down.
- Factor what is left.
- Write the polynomial as a product of its factors.
Depending on the polynomial, some of these steps are not needed, so they are skipped.
Step 1
Step 1 - Set up the problem.
In this problem: The polynomial to factor is \(x^{2} + 3x + 2\). Factoring means writing it as a product of simpler polynomials.
Step 2
Step 2 - Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
In this problem: Look for a bracket that comes out of \(x^{2} + 3x + 2\).
Step 2a
Step 2a - List the numbers to try.
In this problem: Look at the last number, \(2\). The numbers that go into \(2\), both positive and negative, are \(\pm 1, \pm 2\). Try them in order until one gives \(0\).
Step 2b
Step 2b - Try \(x = 1\).
In this problem: Set \(x = 1\) in \(x^{2} + 3x + 2\). It gives \(6\), not \(0\), so \(x = 1\) is not a root.
Step 2c
Step 2c - Try \(x = -1\).
In this problem: Set \(x = -1\) in \(x^{2} + 3x + 2\). It gives \(0\), so \(x = -1\) is a root. One root is enough to carry on, so the rest of the list is not tested here.
Step 2d
Step 2d - Use the root to find a factor.
In this problem: Start from the root \(x = -1\) found in the test. Add \(1\) to both sides so that one side becomes \(0\). That leaves \(x + 1 = 0\), so the bracket \((x + 1)\) is \(0\) exactly at the root. A bracket like that always divides \(x^{2} + 3x + 2\) exactly (the Factor Theorem), so \((x + 1)\) is a factor.
Step 2e
Step 2e - Divide by the factor.
In this problem: Divide \(x^{2} + 3x + 2\) by \((x + 1)\). It gives \(x + 2\) with no remainder, so \(x^{2} + 3x + 2 = (x + 1)(x + 2)\), which splits it into two brackets.
Problem
Approach
Step-by-step method
- Set up the problem.
- Bring down the leading coefficient.
- Multiply by the divisor's number and add down each column.
- Read off the quotient and the remainder.
Step 1
Step 1 - Set up the problem.
In this problem: The table needs two things: a number for the corner, which comes from the divisor, and the coefficients of the dividend, which go along the top.
Step 1a
Step 1a - Find the number for the corner.
In this problem: The corner number is the value of \(x\) that makes the divisor zero: \(x + 1 = 0\) gives \(x = -1\). So \(-1\) goes in the corner.
Step 1b
Step 1b - Write down the coefficients of the dividend.
In this problem: The numbers in front of each power, in order, are \(1\), \(3\) and \(2\).
Step 1c
Step 1c - Draw the table.
In this problem: The corner number \(-1\) goes on the left, and the coefficients \(1\), \(3\) and \(2\) go along the top row. The row under them stays empty for now, it is where the multiplied numbers will go. The answers are written under the line, and the last column is fenced off because the number that ends up there is the remainder.
| \(-1\) | \(1\) | \(3\) | \(2\) |
Step 2
Step 2 - Bring down the leading coefficient.
In this problem: The leading coefficient \(1\) comes straight down to the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(1\) |
Step 3
Step 3 - Multiply by the divisor's number and add down each column.
In this problem: There are \(2\) columns left. For each one, the last number on the bottom row is multiplied by \(-1\), written in the next column, and added to the number above it.
Step 3a
Step 3a - Work through the second column.
In this problem: \(\left(-1\right) \times 1 = -1\) goes under \(3\), and \(3 + \left(-1\right) = 2\) goes on the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(-1\) | |||
| \(1\) | \(2\) |
Step 3b
Step 3b - Work through the third column.
In this problem: \(\left(-1\right) \times 2 = -2\) goes under \(2\), and \(2 + \left(-2\right) = 0\) goes on the bottom row.
| \(-1\) | \(1\) | \(3\) | \(2\) |
| \(-1\) | \(-2\) | ||
| \(1\) | \(2\) | \(0\) |
Step 4
Step 4 - Read off the quotient and the remainder.
In this problem: The last number on the bottom row, \(0\), is the remainder, and \(1\) and \(2\) are the coefficients of the quotient. Dividing by \(x + 1\) lowers every power by one, so the quotient starts at \(x\) instead of \(x^{2}\), giving \(x + 2\).
Final Answer
Step 3
Step 3 - Write the polynomial as a product of its factors.
In this problem: Putting all the factors together gives \((x + 1)(x + 2)\).
Final Answer
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}\).
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\).
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\).
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\).
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\).
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}\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Partial Fraction Decomposition Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Partial Fraction Decomposition Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.