PYQ Vault

CDS Mathematics · Polynomials

The Remainder Theorem

The remainder when f(x) is divided by x − a is f(a); on division by a quadratic the remainder is linear and is fixed by its values at the two roots.

Why this matters

Fifteen PYQs, most EASY or MODERATE. Substituting one number replaces long division every time. The harder items divide by a quadratic — find the linear remainder from two values — or use the fact that xⁿ − aⁿ always has the factor x − a.

Concept 1 of 3: Remainder on division by a linear factor

Write f(x)=(x−a)q(x)+rf(x) = (x - a)q(x) + r. Putting x=ax = a kills the first term, so the remainder is just f(a)f(a). For ax−bax - b the root is ba\dfrac ba.

Definition

  • Dividing by x−ax - a: remainder f(a)f(a). Dividing by x+ax + a: remainder f(−a)f(-a). Dividing by ax−bax - b: remainder f(ba)f\left(\dfrac ba\right).
  • A given remainder is one equation for an unknown coefficient.
  • Equal remainders for x−1x - 1 and x+1x + 1: f(1)=f(−1)f(1) = f(-1), which kills every odd-power coefficient.
  • The quotient comes from synthetic division, writing 00 for any missing power.

Remainder theorem

f(x)÷(x−a)  ⇒  remainder=f(a)f(x) \div (x - a) \;\Rightarrow\; \text{remainder} = f(a)

Worked example

When 2x3−x2+kx+42x^3 - x^2 + kx + 4 is divided by x−2x - 2 the remainder is 1818. Find kk.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2018 · CDS (I) 2018 — Elementary Mathematics · Q16Easy

Example 1 · Polynomials · The Remainder Theorem

The remainder when 3x3+kx2+5x−63x^3 + kx^2 + 5x - 6 is divided by (x+1)(x + 1) is −7-7. What is the value of kk?

x + a means substitute −a

Dividing by x+3x + 3 leaves f(−3)f(-3), not f(3)f(3). The wrong sign gives a remainder of the right size and wrong value, and it is usually printed.

Concept 2 of 3: Remainder on division by a quadratic

Dividing by a quadratic leaves a remainder of degree at most one, r(x)=px+qr(x) = px + q. The remainder agrees with ff at the two roots of the divisor, which gives two equations for pp and qq.

Definition

  • f(x)=(x−α)(x−β)Q(x)+(px+q)f(x) = (x - \alpha)(x - \beta)Q(x) + (px + q), so pα+q=f(α)p\alpha + q = f(\alpha) and pβ+q=f(β)p\beta + q = f(\beta).
  • Dividing by x2+1x^2 + 1: replace every x2x^2 by −1-1.
  • A polynomial divisible by x2+1x^2 + 1 and x4+1x^4 + 1 has both as factors; look for the factorisation first.

Linear remainder

r(x)=(x−β)f(α)−(x−α)f(β)α−βr(x) = \dfrac{(x - \beta)f(\alpha) - (x - \alpha)f(\beta)}{\alpha - \beta}

Worked example

f(x)f(x) leaves remainder 55 on division by x−2x - 2 and −1-1 on division by x+1x + 1. Find the remainder on division by (x−2)(x+1)(x - 2)(x + 1).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2025 · CDS (II) 2025 — Elementary Mathematics · Q1Moderate

Example 2 · Polynomials · The Remainder Theorem

Let p(x)p(x) be a polynomial. When p(x)p(x) is divided by (x−1)(x-1), it leaves 2 as the remainder. When p(x)p(x) is divided by (x−2)(x-2), it leaves 1 as the remainder. What is the remainder when p(x)p(x) is divided by (x−1)(x−2)(x-1)(x-2)?

The remainder is not a number

On division by a quadratic the remainder is usually a linear expression like 3−x3 - x. An option that is a plain number fits only if the two values happen to be equal.

Concept 3 of 3: Divisibility of xⁿ ± aⁿ

Put x=ax = a into xn−anx^n - a^n and you get zero for every nn, so x−ax - a always divides it. Put x=−ax = -a into xn+anx^n + a^n: the result is zero only when nn is odd.

Definition

  • x−ax - a divides xn−anx^n - a^n for every natural nn.
  • x+ax + a divides xn−anx^n - a^n when nn is even.
  • x+ax + a divides xn+anx^n + a^n when nn is odd, never when nn is even.
  • x2n−y2n=(xn−yn)(xn+yn)x^{2n} - y^{2n} = (x^n - y^n)(x^n + y^n), so any expression 'difference of even powers plus a constant' leaves that constant as remainder.

Factor of xⁿ − aⁿ

xn−an=(x−a)(xn−1+xn−2a+⋯+an−1)x^n - a^n = (x - a)\left(x^{n - 1} + x^{n - 2}a + \cdots + a^{n - 1}\right)

Worked example

Which of x6−1x^6 - 1, x6+1x^6 + 1, x5+1x^5 + 1 are divisible by x+1x + 1?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2020 · CDS (II) 2020 — Elementary Mathematics · Q10Easy

Example 3 · Polynomials · The Remainder Theorem

(xn−an)(x^n - a^n) is divisible by (x−a)(x - a), where x≠ax \ne a, for every

Even n and a plus sign

xn+ynx^n + y^n with nn even is never divisible by x+yx + y: at x=−yx = -y it equals 2yn2y^n. Knowing nn is even therefore answers the question — with a 'no'.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Remainder on division by a linear factor

    Remainder theorem

    f(x)÷(x−a)  ⇒  remainder=f(a)f(x) \div (x - a) \;\Rightarrow\; \text{remainder} = f(a)
  • Remainder on division by a quadratic

    Linear remainder

    r(x)=(x−β)f(α)−(x−α)f(β)α−βr(x) = \dfrac{(x - \beta)f(\alpha) - (x - \alpha)f(\beta)}{\alpha - \beta}
  • Divisibility of xⁿ ± aⁿ

    Factor of xⁿ − aⁿ

    xn−an=(x−a)(xn−1+xn−2a+⋯+an−1)x^n - a^n = (x - a)\left(x^{n - 1} + x^{n - 2}a + \cdots + a^{n - 1}\right)

Watch out for (3)

Test yourself on Polynomials

20 past CDS questions from this chapter, timed at 24 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.