Remainder Theorem Equation Solver with Worked Examples

The remainder when is divided by is . Type “remainder when x^3-2x+5 is divided by x-2” and the solver works it out.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

  • substituting a value into a polynomial
  • polynomial long division
  • factors of a polynomial

What Remainder theorem means

Dividing by gives a quotient and a remainder: . Substituting makes the bracket zero, leaving .

So you can find the remainder without doing the long division, just by substituting.

If the remainder is 0, is a factor. The special case of zero remainder is the factor theorem, and the division itself is in remainder when dividing by. Once a factor is found the rest is solved by the quadratic formula or the zero-product rule.

This page is part of Polynomials and the factor theorem in Algebra. Topics that work alongside it: Factor theorem, Remainder when dividing by (ax − b), Simultaneous equations: linear and quadratic, Binomial theorem (positive integer n), Inequalities: sign diagram for quadratics and Pascal's triangle identity.

What is it used for?

The remainder theorem says that dividing a polynomial f(x) by (x − a) leaves remainder f(a), so you can find the remainder without dividing.

How to use remainder theorem

  1. Write and the divisor .
  2. Find .
  3. Calculate .
  4. That is the remainder.

Graph

f(x) = x³ + x² − 4 and the remainder f(1)f(1) = −2-2-1.5-1-0.500.511.522.53-505101520f(x) = x³ + x² − 4 and the remainder f(1)xyf(x)Graph with x from -2 to 3 and y from -8 to 20. Shows the curve f(x); point f(1) = −2 at (1, -2).

Dividing by (x − 1) leaves remainder f(1) = −2: the height of the curve at x = 1.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: a cubic divided by a linear factor

Find the remainder when is divided by .

Remainder theorem Answer checked
Answer
remainder=9\text{remainder} = 9
  1. Remainder theorem
    When you divide by (x − a), the remainder is p(a). Here a = 2.
  2. Substitute x = 2
  3. Check: divide out and compare the remainder
    Long division gives the same remainder.

Example 2: a cubic with a quadratic term

Find the remainder when x³ + x² − 4 is divided by x − 1.

Remainder theorem Answer checked
Answer
remainder=−2\text{remainder} = -2
  1. Remainder theorem
    When you divide by (x − a), the remainder is p(a). Here a = 1.
  2. Substitute x = 1
  3. Check: divide out and compare the remainder
    Long division gives the same remainder.

Example 3: dividing by x + 2

Find the remainder when 2x³ − 3x + 1 is divided by x + 2.

Remainder theorem Answer checked
Answer
remainder=−9\text{remainder} = -9
  1. Remainder theorem
    When you divide by (x − a), the remainder is p(a). Here a = -2.
  2. Substitute x = -2
  3. Check: divide out and compare the remainder
    Long division gives the same remainder.

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A cubic

x³ − 2x + 5 divided by x − 2: remainder f(2) = 9

Substitute x = 2.

A quadratic

x² + 3x − 1 divided by x + 1: remainder f(−1) = −3

Substitute x = −1.

A factor

f(x) = x³ − x² − 4x + 4 has remainder 0 for x − 1

So (x − 1) is a factor.

A missing coefficient

x³ + kx − 6 has factor x − 2 when k = −1

Solve f(2) = 0.

Word problems

The remainder when f(x) is divided by (x − a) is f(a). If the remainder is 0, (x − a) is a factor.

A cubic

Find the remainder when x³ − 2x + 5 is divided by x − 2.

  1. Substitute x = 28 − 4 + 5
  2. Calculate9
  3. Check: long division also leaves 9 ✓Remainder 9.

A quadratic

Find the remainder when x² + 3x − 1 is divided by x + 1.

  1. Substitute x = −11 − 3 − 1
  2. Calculate−3
  3. Check: (x + 1)(x + 2) − 3 ✓Remainder −3.

A factor test Higher

Show that (x − 1) is a factor of x³ − x² − 4x + 4.

  1. Substitute x = 11 − 1 − 4 + 4
  2. Calculate0
  3. Check: remainder 0 ✓(x − 1) is a factor.

A missing coefficient Higher

x³ + kx − 6 has factor (x − 2). Find k.

  1. Substitute x = 28 + 2k − 6 = 0
  2. Solvek = −1
  3. Check: 8 − 2 − 6 = 0 ✓k = −1.

Common mistakes

Substituting −a for (x − a)

(x − 2): f(−2) = 1 ✗

f(2) = 9 ✓

The root of x − 2 is 2.

Arithmetic slips

8 − 4 + 5 = 7 ✗

9 ✓

Add carefully.

Dividing instead of substituting

long division is needed ✗

f(a) gives the remainder directly ✓

Use the theorem.

Forgetting that 0 means a factor

remainder 0 is a failure ✗

remainder 0 means a factor ✓

Zero remainder is the factor test.

Exam tips

  1. Remainder = f(a).
  2. Divide by (x − a): use x = a.
  3. Divide by (x + a): use x = −a.
  4. Zero remainder = factor.
  5. Check with long division.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Find the remainder when x² + 2x + 3 is divided by x − 1 Foundation

6

2. Find the remainder when x³ + 1 is divided by x − 2 Foundation

9

3. Find the remainder when x² − 5 is divided by x + 2 Foundation

−1

4. Is (x − 3) a factor of x² − 5x + 6? Higher

Yes, f(3) = 0

5. Find the remainder when 2x³ − x + 4 is divided by x + 1 Higher

3

6. x³ + kx − 10 has factor (x − 2). Find k Higher

1

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Remainder theorem
The remainder is f(a).
Factor theorem
If f(a) = 0, (x − a) is a factor.
Polynomial
An expression with powers of x.
Quotient
The result of division.
Divisor
The thing divided by.
Root
A value making f zero.

Frequently asked questions

What is the remainder theorem?

Dividing f(x) by (x − a) leaves remainder f(a).

What is the factor theorem?

If f(a) = 0 then (x − a) is a factor.

How do I divide by (x + 2)?

Substitute x = −2.

Why does it work?

f(x) = (x − a)q(x) + r, so f(a) = r.

Which page covers composite functions?

composite functions.

Which page covers factorising quadratics?

factorising x² + bx + c.

More in Algebra and the formula sheets.