Factoring Higher-Degree Polynomials Calculator

Published on: December 15, 2024
Final Answer: Free | Full Steps: Plus

This Factoring Higher Degree Polynomials Calculator breaks a polynomial of degree three or more into a product of simpler factors, and shows the working line by line. Any common factor comes out first. A rational root has to be a factor of the constant term divided by a factor of the leading coefficient, which turns an endless search into a short list to test. Each root found peels off one linear factor by division and leaves a smaller polynomial behind, until a quadratic is left to factor. Following the same pattern every time keeps the degree dropping one factor at a time.

Step-by-step method

  1. Set up the problem.
  2. Take out the common factor.
  3. Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
  4. Do the same again on what is left, until it cannot be broken down.
  5. Factor what is left.
  6. Write the polynomial as a product of its factors.

Required knowledge

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(x^{4} - 1\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Take out the common factor.
  3. Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
  4. Do the same again on what is left, until it cannot be broken down.
  5. Factor what is left.
  6. 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^{4} - 1\). Factoring means writing it as a product of simpler polynomials.

\(x^{4} - 1\)

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^{4} - 1\).

\(x^{4} - 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\).

\(\pm 1\)

Step 2b

Step 2b - Try \(x = 1\).

In this problem: Set \(x = 1\) in \(x^{4} - 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.

\(\begin{aligned} f(x) &= x^{4} - 1 \\ f(1) &= (1)^{4} - 1 \\ &= 1 - 1 \\ &= 0 \end{aligned}\)

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^{4} - 1\) exactly (the Factor Theorem), so \((x - 1)\) is a factor.

\(\begin{aligned} x &= 1 \\ x - 1 &= 1 - 1 \\ x - 1 &= 0 \end{aligned}\)

Step 2d

Step 2d - Divide by the factor.

In this problem: Divide \(x^{4} - 1\) by \((x - 1)\). It gives \(x^{3} + x^{2} + x + 1\) with no remainder, so \(x^{4} - 1 = (x - 1)(x^{3} + x^{2} + x + 1)\), which splits it into two brackets.

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

Step 3

Step 3 - Do the same again on what is left, until it cannot be broken down.

In this problem: What is left is \(x^{3} + x^{2} + x + 1\), which still has \(x^{3}\), so do the same again on it.

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

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\).

\(\pm 1\)

Step 3b

Step 3b - Try \(x = 1\).

In this problem: Set \(x = 1\) in \(x^{3} + x^{2} + x + 1\). It gives \(4\), not \(0\), so \(x = 1\) is not a root.

\(\begin{aligned} q(x) &= x^{3} + x^{2} + x + 1 \\ q(1) &= (1)^{3} + (1)^{2} + (1) + 1 \\ &= 1 + 1 + 1 + 1 \\ &= 4 \end{aligned}\)

Step 3c

Step 3c - Try \(x = -1\).

In this problem: Set \(x = -1\) in \(x^{3} + x^{2} + x + 1\). It gives \(0\), so \(x = -1\) is a root.

\(\begin{aligned} q(x) &= x^{3} + x^{2} + x + 1 \\ q(-1) &= (-1)^{3} + (-1)^{2} + (-1) + 1 \\ &= (-1) + 1 + (-1) + 1 \\ &= -1 + 1 - 1 + 1 \\ &= 0 \end{aligned}\)

Step 3d

Step 3d - 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^{3} + x^{2} + x + 1\) exactly (the Factor Theorem), so \((x + 1)\) is a factor.

\(\begin{aligned} x &= -1 \\ x + 1 &= -1 + 1 \\ x + 1 &= 0 \end{aligned}\)

Step 3e

Step 3e - Divide by the factor.

In this problem: Divide \(x^{3} + x^{2} + x + 1\) by \((x + 1)\). It gives \(x^{2} + 1\) with no remainder, so \(x^{3} + x^{2} + x + 1 = (x + 1)(x^{2} + 1)\), which splits it into two brackets.

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

Step 4

Step 4 - Do the same again on what is left, until it cannot be broken down.

In this problem: What is left is \(x^{2} + 1\), which still has \(x^{2}\), so do the same again on it.

\(x^{2} + 1\)

Step 4a

Step 4a - 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\).

\(\pm 1\)

Step 4b

Step 4b - 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.

\(\begin{aligned} q(x) &= x^{2} + 1 \\ q(1) &= (1)^{2} + 1 \\ &= 1 + 1 \\ &= 2 \end{aligned}\)

Step 4c

Step 4c - 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.

\(\begin{aligned} q(x) &= x^{2} + 1 \\ q(-1) &= (-1)^{2} + 1 \\ &= 1 + 1 \\ &= 2 \end{aligned}\)

Step 5

Step 5 - Write the polynomial as a product of its factors.

In this problem: Putting all the factors together gives \((x - 1)(x + 1)(x^{2} + 1)\).

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

Final Answer

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

Problem

\(x^{3} - 8\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Take out the common factor.
  3. Break the polynomial down: list the numbers to try, test them, turn the root into a bracket and divide.
  4. Do the same again on what is left, until it cannot be broken down.
  5. Factor what is left.
  6. 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} - 8\). Factoring means writing it as a product of simpler polynomials.

\(x^{3} - 8\)

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^{3} - 8\).

\(x^{3} - 8\)

Step 2a

Step 2a - List the numbers to try.

In this problem: Look at the last number, \(-8\). The numbers that go into \(8\), both positive and negative, are \(\pm 1, \pm 2, \pm 4, \pm 8\). Try them in order until one gives \(0\).

\(\pm 1, \pm 2, \pm 4, \pm 8\)

Step 2b

Step 2b - Try \(x = 1\).

In this problem: Set \(x = 1\) in \(x^{3} - 8\). It gives \(-7\), not \(0\), so \(x = 1\) is not a root.

\(\begin{aligned} f(x) &= x^{3} - 8 \\ f(1) &= (1)^{3} - 8 \\ &= 1 - 8 \\ &= -7 \end{aligned}\)

Step 2c

Step 2c - Try \(x = -1\).

In this problem: Set \(x = -1\) in \(x^{3} - 8\). It gives \(-9\), not \(0\), so \(x = -1\) is not a root.

\(\begin{aligned} f(x) &= x^{3} - 8 \\ f(-1) &= (-1)^{3} - 8 \\ &= (-1) - 8 \\ &= -1 - 8 \\ &= -9 \end{aligned}\)

Step 2d

Step 2d - Try \(x = 2\).

In this problem: Set \(x = 2\) in \(x^{3} - 8\). It gives \(0\), so \(x = 2\) is a root. One root is enough to carry on, so the rest of the list is not tested here.

\(\begin{aligned} f(x) &= x^{3} - 8 \\ f(2) &= (2)^{3} - 8 \\ &= 8 - 8 \\ &= 0 \end{aligned}\)

Step 2e

Step 2e - Use the root to find a factor.

In this problem: Start from the root \(x = 2\) found in the test. Take \(2\) away from both sides so that one side becomes \(0\). That leaves \(x - 2 = 0\), so the bracket \((x - 2)\) is \(0\) exactly at the root. A bracket like that always divides \(x^{3} - 8\) exactly (the Factor Theorem), so \((x - 2)\) is a factor.

\(\begin{aligned} x &= 2 \\ x - 2 &= 2 - 2 \\ x - 2 &= 0 \end{aligned}\)

Step 2f

Step 2f - Divide by the factor.

In this problem: Divide \(x^{3} - 8\) by \((x - 2)\). It gives \(x^{2} + 2x + 4\) with no remainder, so \(x^{3} - 8 = (x - 2)(x^{2} + 2x + 4)\), which splits it into two brackets.

\((x^{3} - 8) \div (x - 2) = x^{2} + 2x + 4\)

Step 3

Step 3 - Do the same again on what is left, until it cannot be broken down.

In this problem: What is left is \(x^{2} + 2x + 4\), which still has \(x^{2}\), so do the same again on it.

\(x^{2} + 2x + 4\)

Step 3a

Step 3a - List the numbers to try.

In this problem: Look at the last number, \(4\). The numbers that go into \(4\), both positive and negative, are \(\pm 1, \pm 2, \pm 4\). Try them in order until one gives \(0\).

\(\pm 1, \pm 2, \pm 4\)

Step 3b

Step 3b - Try \(x = 1\).

In this problem: Set \(x = 1\) in \(x^{2} + 2x + 4\). It gives \(7\), not \(0\), so \(x = 1\) is not a root.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(1) &= (1)^{2} + 2 \times (1) + 4 \\ &= 1 + 2 \times 1 + 4 \\ &= 1 + 2 + 4 \\ &= 7 \end{aligned}\)

Step 3c

Step 3c - Try \(x = -1\).

In this problem: Set \(x = -1\) in \(x^{2} + 2x + 4\). It gives \(3\), not \(0\), so \(x = -1\) is not a root.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(-1) &= (-1)^{2} + 2 \times (-1) + 4 \\ &= 1 + 2 \times (-1) + 4 \\ &= 1 - 2 + 4 \\ &= 3 \end{aligned}\)

Step 3d

Step 3d - Try \(x = 2\).

In this problem: Set \(x = 2\) in \(x^{2} + 2x + 4\). It gives \(12\), not \(0\), so \(x = 2\) is not a root.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(2) &= (2)^{2} + 2 \times (2) + 4 \\ &= 4 + 2 \times 2 + 4 \\ &= 4 + 4 + 4 \\ &= 12 \end{aligned}\)

Step 3e

Step 3e - Try \(x = -2\).

In this problem: Set \(x = -2\) in \(x^{2} + 2x + 4\). It gives \(4\), not \(0\), so \(x = -2\) is not a root.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(-2) &= (-2)^{2} + 2 \times (-2) + 4 \\ &= 4 + 2 \times (-2) + 4 \\ &= 4 - 4 + 4 \\ &= 4 \end{aligned}\)

Step 3f

Step 3f - Try \(x = 4\).

In this problem: Set \(x = 4\) in \(x^{2} + 2x + 4\). It gives \(28\), not \(0\), so \(x = 4\) is not a root.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(4) &= (4)^{2} + 2 \times (4) + 4 \\ &= 16 + 2 \times 4 + 4 \\ &= 16 + 8 + 4 \\ &= 28 \end{aligned}\)

Step 3g

Step 3g - Try \(x = -4\).

In this problem: Set \(x = -4\) in \(x^{2} + 2x + 4\). It gives \(12\), not \(0\), so \(x = -4\) is not a root. None of these numbers gives \(0\), so \(x^{2} + 2x + 4\) can't be broken down and stays as it is.

\(\begin{aligned} q(x) &= x^{2} + 2x + 4 \\ q(-4) &= (-4)^{2} + 2 \times (-4) + 4 \\ &= 16 + 2 \times (-4) + 4 \\ &= 16 - 8 + 4 \\ &= 12 \end{aligned}\)

Step 4

Step 4 - Write the polynomial as a product of its factors.

In this problem: Putting all the factors together gives \((x - 2)(x^{2} + 2x + 4)\).

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

Final Answer

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

Example Problems

Click one to load it into the box and solve it.