Algebra 2 · Grades 10, 11

The Remainder Theorem and the Factor Theorem

Quick answer

Divide a polynomial p(x) by x − a and the remainder is always p(a) — plugging a into the polynomial gives the remainder without dividing at all. So p(a) = 0 exactly when the division comes out even, which is exactly when x − a is a factor. One known root then splits a polynomial into a factor and a quotient of lower degree, which can be factored further.

What you'll learn

  • Use the remainder theorem to find a remainder without dividing
  • Use the factor theorem to test whether x − a is a factor
  • Factor a cubic completely from one known root

The remainder without the division

In dividing polynomials, 2x3−3x2+4x−52x^3 - 3x^2 + 4x - 5 divided by x−2x - 2 left a remainder of 77. Now evaluate the polynomial at 22:

p(2)=2(8)−3(4)+4(2)−5=16−12+8−5=7p(2) = 2(8) - 3(4) + 4(2) - 5 = 16 - 12 + 8 - 5 = 7

The same 77. That is not a coincidence, and it always happens:

Remainder theorem. When p(x)p(x) is divided by x−ax - a, the remainder is p(a)p(a).

Why the remainder is p(a)

Any division by x−ax - a can be written as

p(x)=(x−a) q(x)+rp(x) = (x - a)\,q(x) + r

where the remainder rr is a constant, because it has lower degree than x−ax - a.

This equation holds for every xx, so it holds at x=ax = a:

p(a)=(a−a) q(a)+r=0⋅q(a)+r=rp(a) = (a - a)\,q(a) + r = 0 \cdot q(a) + r = r

The factor x−ax - a becomes zero at x=ax = a and takes the whole quotient with it. What survives is exactly the remainder, and so p(a)=rp(a) = r.

The factor theorem

A factor divides evenly, which means a remainder of zero. Putting that together with the remainder theorem:

Factor theorem. x−ax - a is a factor of p(x)p(x) if and only if p(a)=0p(a) = 0.

p(a)=0  ⟺  (x−a) divides p(x)p(a) = 0 \iff (x - a) \text{ divides } p(x)

This connects three ideas that look different:

StatementMeans the same as
p(a)=0p(a) = 0aa is a root of pp
x−ax - a is a factor of p(x)p(x)the division by x−ax - a has remainder 00
the graph of pp crosses or touches the xx-axis at aaaa is an xx-intercept

A root, a factor and an xx-intercept are one fact in three languages.

Testing for a factor

Is x+2x + 2 a factor of x3+4x2+x−6x^3 + 4x^2 + x - 6?

x+2=x−(−2)x + 2 = x - (-2), so evaluate at −2-2:

p(−2)=−8+16−2−6=0p(-2) = -8 + 16 - 2 - 6 = 0

The remainder is zero, so yes, x+2x + 2 is a factor.

Is x−1x - 1 a factor of 3x3+2x2−x+43x^3 + 2x^2 - x + 4?

p(1)=3+2−1+4=8≠0p(1) = 3 + 2 - 1 + 4 = 8 \ne 0

No. Dividing would leave a remainder of 88.

Evaluating is usually faster than dividing, especially with a calculator — and it answers the yes-or-no question directly.

Factoring from one root

A cubic can be hard to factor by inspection. One root is enough to start.

Factor x3−2x2−5x+6x^3 - 2x^2 - 5x + 6 completely.

1. Find a root. Try small integers that divide the constant 66: ±1\pm 1, ±2\pm 2, ±3\pm 3.

p(1)=1−2−5+6=0p(1) = 1 - 2 - 5 + 6 = 0

So x−1x - 1 is a factor.

2. Divide it out. Synthetic division with a=1a = 1 on 1,−2,−5,61, -2, -5, 6 gives 1,−1,−61, -1, -6 and remainder 00:

x3−2x2−5x+6=(x−1)(x2−x−6)x^3 - 2x^2 - 5x + 6 = (x - 1)(x^2 - x - 6)

3. Factor the quadratic. x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x - 3)(x + 2).

x3−2x2−5x+6=(x−1)(x−3)(x+2)x^3 - 2x^2 - 5x + 6 = (x - 1)(x - 3)(x + 2)

The roots are 11, 33 and −2-2. Each root found lowers the degree by one, so a cubic needs only one root before the quadratic methods take over.

Why try divisors of the constant? If the polynomial factors as (x−r1)(x−r2)(x−r3)(x - r_1)(x - r_2)(x - r_3) with integer roots and leading coefficient 11, the constant is −r1r2r3-r_1 r_2 r_3, so every integer root divides it.

Worked examples

Common mistakes

Practice problems

  1. Find the remainder when x2+4x+1x^2 + 4x + 1 is divided by x−1x - 1.

    Answer

    66

    Full solution

    p(1)=1+4+1=6p(1) = 1 + 4 + 1 = 6.

  2. Find the remainder when x3−2x^3 - 2 is divided by x−2x - 2.

    Answer

    66

    Full solution

    p(2)=8−2=6p(2) = 8 - 2 = 6.

  3. Find the remainder when x2−5x+3x^2 - 5x + 3 is divided by x+2x + 2.

    Answer

    1717

    Full solution

    p(−2)=4+10+3=17p(-2) = 4 + 10 + 3 = 17.

  4. Is x−3x - 3 a factor of x3−2x2−5x+6x^3 - 2x^2 - 5x + 6?

    Answer

    Yes

    Full solution

    p(3)=27−18−15+6=0p(3) = 27 - 18 - 15 + 6 = 0.

  5. Is x+1x + 1 a factor of x3+1x^3 + 1?

    Answer

    Yes

    Full solution

    p(−1)=−1+1=0p(-1) = -1 + 1 = 0.

  6. A polynomial has p(5)=0p(5) = 0. Name one factor.

    Answer

    x−5x - 5

    Full solution

    By the factor theorem, a root of 55 gives the factor x−5x - 5.

  7. Write a cubic with leading coefficient 11 and roots 00, 33 and −2-2.

    Answer

    x(x−3)(x+2)x(x - 3)(x + 2)

    Full solution

    A root of 00 gives the factor x−0=xx - 0 = x.

  8. Factor x3−7x+6x^3 - 7x + 6 completely.

    Hint

    Try x=1x = 1.

    Answer

    (x−1)(x−2)(x+3)(x - 1)(x - 2)(x + 3)

    Full solution

    p(1)=1−7+6=0p(1) = 1 - 7 + 6 = 0, so x−1x - 1 is a factor.

    Synthetic division with a=1a = 1 on 1,0,−7,61, 0, -7, 6 gives 1,1,−61, 1, -6: the quotient is x2+x−6x^2 + x - 6.

    x2+x−6=(x−2)(x+3)x^2 + x - 6 = (x - 2)(x + 3).

    So x3−7x+6=(x−1)(x−2)(x+3)x^3 - 7x + 6 = (x - 1)(x - 2)(x + 3).

  9. For what kk is x+2x + 2 a factor of x3+2x2+kx+6x^3 + 2x^2 + kx + 6?

    Answer

    k=3k = 3

    Full solution

    The factor x+2x + 2 needs p(−2)=0p(-2) = 0.

    p(−2)=−8+8−2k+6=6−2kp(-2) = -8 + 8 - 2k + 6 = 6 - 2k.

    6−2k=06 - 2k = 0 gives k=3k = 3.

  10. To find the remainder when p(x)=x3−3x+5p(x) = x^3 - 3x + 5 is divided by x+2x + 2, Lina computes p(2)=8−6+5=7p(2) = 8 - 6 + 5 = 7. Find her error.

    Hint

    Write x+2x + 2 in the form x−ax - a.

    Answer

    She used a=2a = 2 instead of a=−2a = -2. The remainder is 33.

    Full solution

    The theorem is stated for divisors of the form x−ax - a. Here x+2=x−(−2)x + 2 = x - (-2), so a=−2a = -2.

    p(−2)=−8+6+5=3p(-2) = -8 + 6 + 5 = 3.

    Lina’s p(2)=7p(2) = 7 is correct arithmetic for a different question — it is the remainder on dividing by x−2x - 2.

Frequently asked questions

What is the remainder theorem?

When a polynomial p(x) is divided by x − a, the remainder is p(a).

What is the factor theorem?

x − a is a factor of p(x) exactly when p(a) = 0. It is the remainder theorem in the case where the remainder is zero.

How do I find a root to start with?

Try small integers that divide the constant term, such as ±1, ±2, ±3. Evaluate p at each until one gives 0.

Why does the remainder equal p(a)?

Write p(x) = (x − a)q(x) + r. Substituting x = a makes the first term zero, leaving p(a) = r.

What do I do after finding one factor?

Divide it out. The quotient has degree one less, and a quadratic quotient can be factored or solved with the quadratic formula.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSA.APR.B.2Arithmetic with Polynomials and Rational ExpressionsKnow and apply the Remainder Theorem: For a polynomial p(x) and a number a, the remainder on division by x - a is p(a), so p(a) = 0 if and only if (x - a) is a factor of p(x).