Lesson 13 of 14 · Algebra
Remainder & Factor Theorems
When you divide a polynomial by x − a, the remainder is just P(a). That one fact turns long division into a substitution, and it extends in a handful of ways that the AMC loves: quadratic divisors, divisors that are cyclotomic like x² + x + 1, and polynomials known only by a few values.
Mark your status for this lesson:
Learning objectives
- Use the remainder and factor theorems to find remainders and unknown coefficients.
- Find the remainder on division by a quadratic or higher divisor by matching values at its roots.
- Use P(1) and P(−1) to get sums of coefficients, and the integer-coefficient divisibility rule a − b | P(a) − P(b).
- Reduce high powers using relations like x³ ≡ 1 and use P(x) − (known part) to handle polynomials given by a few values.
The core idea
If P(x) is divided by x − a, the remainder is P(a). In particular x − a is a factor exactly when P(a) = 0. For a divisor of degree d, the remainder has degree less than d. Write P(x) = D(x)Q(x) + R(x): wherever D(x) = 0, P and R agree. So to find the remainder on division by (x − 1)(x − 2), write R(x) = ax + b and match R(1) = P(1) and R(2) = P(2).
Several tricks follow. The sum of the coefficients is P(1); the alternating sum is P(−1), and their average or half-difference picks out the even or odd-degree terms. For integer-coefficient P, a − b divides P(a) − P(b). For a divisor like x² + x + 1 or x⁴ + x³ + x² + x + 1, multiply by x − 1 to see that x³ ≡ 1 (respectively x⁵ ≡ 1), then reduce exponents. If P is known at a few points, subtract the interpolating part: P(x) − (that part) has those points as roots, so it is divisible by the product of the matching factors.
Remainder theorem
P(x) = (x − a)Q(x) + P(a)
The remainder on division by x − a is P(a); the factor theorem is the case P(a) = 0.
Why the remainder is P(a). Put x = a into P(x) = (x − a)Q(x) + R: the first term becomes (a − a)Q(a) = 0, leaving P(a) = R.
Synthetic division (dividing by x − a)
Writing it down
- Write the coefficients of P(x) in order of decreasing power, using 0 for any missing power, and write a to the left.
- Bring down the first coefficient.
- Multiply it by a, write the product under the next coefficient, and add the two.
- Repeat across the row. The last number is the remainder P(a); the numbers before it are the coefficients of Q(x), which has degree one less than P(x).
Pitfalls. To divide by x + 3 use a = −3 (since x + 3 = x − (−3)). Do not skip a power of x: a missing x² term needs a 0 in its place.
Remainder for a divisor of degree d
- Bound the remainder: its degree is less than d, so write R(x) = r_{d−1}x^(d−1) + ⋯ + r₁x + r₀ with unknown coefficients.
- Find the roots of the divisor D(x).
- Match values: at each root ρ, D(ρ) = 0, so P(ρ) = R(ρ).
- Solve the resulting equations for the coefficients (the d roots give d equations).
Coefficient sums
P(1) = sum of coefficients, P(−1) = alternating sum
Even-degree sum = (P(1) + P(−1))/2; odd-degree sum = (P(1) − P(−1))/2.
Integer-coefficient divisibility
a − b divides P(a) − P(b)
A quick test for impossible values of an integer-coefficient polynomial.
Why it is true. If P(x) = Σ cₖxᵏ, then P(a) − P(b) = Σ cₖ(aᵏ − bᵏ), and each aᵏ − bᵏ has the factor a − b (the same pattern as a² − b² and a³ − b³ from Factoring), so the whole sum does.
Condition. The coefficients must be integers, and a and b must be integers.
How to use it
- Pick two inputs whose values are given.
- Check that a − b divides P(a) − P(b).
- If it fails, no integer-coefficient polynomial has those values: that is the classic “which value is impossible” question.
Rational Root Theorem
p/q a root ⇒ p | a₀, q | aₙ
For an integer polynomial aₙxⁿ + ⋯ + a₀ and a rational root p/q in lowest terms: p divides the constant term a₀ and q divides the leading coefficient aₙ. It turns “find a root” into a short finite list, and the Factor Theorem turns each root into a factor.
Why
Substitute x=p/q and multiply by qⁿ: aₙpⁿ + aₙ₋₁pⁿ⁻¹q + ⋯ + a₀qⁿ = 0. Every term but the last has a factor p, so p divides a₀qⁿ, and since p and q share no factor, p | a₀. The same argument for q gives q | aₙ.
The steps
- List the divisors of a₀ (for p) and of aₙ (for q).
- Form every fraction ±p/q in lowest terms.
- Test each candidate with synthetic division (or the Remainder Theorem): a remainder of 0 means a root.
- Divide out the root, giving a factor (x − r) (for r = p/q, the factor (qx − p)), and repeat on the smaller quotient.
When to use it. To factor a polynomial of degree 3 or more with integer coefficients, or to find all its rational roots.
Pitfalls. The coefficients must be integers (clear denominators first). If a₀ = 0, factor out x first, since 0 is a root. Test both +p/q and −p/q. The theorem lists possible rational roots only; a polynomial may have none, or only irrational ones.
Worked example 1 — Using the remainder theorem
Problem
The polynomial x³ + kx² − 4x + 3 leaves remainder 5 when divided by x − 2. Find k.
Key insight
The remainder on division by x − 2 is P(2).
Solution
P(2) = 8 + 4k − 8 + 3 = 4k + 3 = 5, so k = 1/2.
Takeaway
Any condition about a remainder on division by x − a is an equation P(a) = value.
Worked example 2 — A quadratic divisor
Problem
A polynomial P leaves remainder 2 on division by x − 1 and remainder −4 on division by x + 2. Find the remainder when P is divided by (x − 1)(x + 2).
Key insight
The remainder is ax + b with R(1) = 2 and R(−2) = −4.
Solution
a + b = 2 and −2a + b = −4. Subtract: 3a = 6, so a = 2 and b = 0. The remainder is 2x.
Takeaway
A degree-d divisor with d distinct roots needs d matching values.
Worked example 3 — Reducing a high power
Problem
Find the remainder when x²⁰ + x¹⁰ + 1 is divided by x² + x + 1.
Key insight
x³ ≡ 1 modulo x² + x + 1, so reduce exponents mod 3.
Solution
x²⁰ = x^(3·6 + 2) ≡ x², and x¹⁰ = x^(3·3 + 1) ≡ x. So the expression ≡ x² + x + 1 ≡ 0. The remainder is 0.
Takeaway
Find a power of x that is ≡ 1 and reduce all exponents modulo that power.
Worked example 4 — Sum of even-degree coefficients
Problem
Find the sum of the coefficients of the even powers of x in (x + 2)⁴.
Key insight
Even sum = (P(1) + P(−1))/2.
Solution
P(1) = 3⁴ = 81 and P(−1) = 1⁴ = 1, so the even-power coefficients sum to (81 + 1)/2 = 41. (Check: x⁴ + 8x³ + 24x² + 32x + 16 has even terms 1 + 24 + 16 = 41.)
Takeaway
Evaluating at 1 and −1 separates even and odd coefficients.
Strategy notes
Evaluate instead of dividing
If you only need a remainder, substitute the root; do long division only if you also need the quotient.
Match values at the roots of the divisor
For a divisor with several roots, write the unknown remainder with degree one less and solve the resulting linear system.
Common mistakes
Using the wrong sign
Division by x + 2 means evaluating at x = −2, not x = 2.
Giving a remainder of too high degree
The remainder must have degree less than the divisor. After reducing x²⁰²⁷ modulo x² + x + 1 to x², further reduce x² ≡ −x − 1.
Forgetting the leading coefficient
If P is not monic, write P(x) − (interpolating part) = c(x − r₁)(x − r₂)… with the correct leading coefficient c.
Practice
18 questions across four difficulty tiers, each with a single answer. 2 questions use the five-choice (A)–(E) format, as on the real exam. Up to three tries per question before the solution is shown.