Math › Grade 12: Advanced Functions: polynomial functions › Lesson 3 of 5

The factor theorem and factoring cubics

x − a is a factor of P(x) exactly when P(a) = 0. Find one factor by testing, divide it out, then factor what is left.

Learn

Factor theorem: x − a is a factor of P(x) if and only if P(a) = 0.

Factoring a cubic, step by step

  1. Test values. Try factors of the constant term: for x³ − 2x² − 5x + 6, try ±1, ±2, ±3, ±6. (If the leading coefficient is not 1, also try fractions: factors of the constant over factors of the leading coefficient.)
  2. P(1) = 1 − 2 − 5 + 6 = 0, so x − 1 is a factor.
  3. Divide by x − 1 (synthetic division): x² − x − 6.
  4. Factor the quadratic: (x − 3)(x + 2).

So x³ − 2x² − 5x + 6 = (x − 1)(x − 3)(x + 2), and the zeros are 1, 3 and −2.

-3-2-11234-10-5510P(x)−213

Sum and difference of cubes

a³ − b³ = (a − b)(a² + ab + b²) and a³ + b³ = (a + b)(a² − ab + b²).

See three worked examples

Factor x³ − 2x² − 5x + 6.
  1. P(1) = 0, so (x − 1) is a factor.
  2. Divide: x² − x − 6 = (x − 3)(x + 2).

Answer: (x − 1)(x − 3)(x + 2)

Factor 2x³ + 3x² − 3x − 2.
  1. Test ±1, ±2, ±1/2. P(1) = 2 + 3 − 3 − 2 = 0.
  2. Divide by x − 1: 2x² + 5x + 2 = (2x + 1)(x + 2).

Answer: (x − 1)(2x + 1)(x + 2)

Factor x³ − 27.
  1. Difference of cubes with a = x, b = 3.

Answer: (x − 3)(x² + 3x + 9)

Try 10 practice questions with the steps

Play match the pairs

Tap one on the left, then its partner on the right.

Test 10 questions, 8 to pass

No steps are shown until the end. Your best score is kept on this device only.

Challenge harder problems that take a few steps