ΣCalcSolver
Algebra

Remainder Theorem Calculator

Give the coefficients of P(x) and the value a, and see the remainder of P(x) ÷ (x − a) found two ways: by substituting a into P(x), and by synthetic division. If the remainder is 0, the factor theorem tells you x − a is a factor.

P(x) = 2x³ − 3x² + 5, divisor = (x − 2)
Direct substitution
P(2) = 2·(2)³ + −3·(2)² + 0·(2) + 5 = 9
Synthetic division by 2
2x³x²x¹x⁰
coeffs2−305
bring down2129
Remainder = P(2) = 9
Quotient = 2x² + x + 2
(x − 2) is not a factor, because the remainder is not 0.

Quick start

  1. Type the coefficients of P(x) from the highest power down. For 2x³ − 3x² + 5, type 2, -3, 0, 5 (the 0 stands for the missing x term).
  2. Enter a. For division by x − 2, a = 2. For x + 2, a = −2.
  3. Read P(a), the synthetic division row and the quotient.

The theorem in one line

When a polynomial P(x) is divided by x − a, the remainder is P(a). So instead of doing long division, you can just substitute a.

Example 1: 2x³ − 3x² + 5 divided by x − 2

P(2) = 2·8 − 3·4 + 0 + 5 = 16 − 12 + 5 = 9, so the remainder is 9. Synthetic division confirms it: bring down 2; 2·2 = 4, −3 + 4 = 1; 1·2 = 2, 0 + 2 = 2; 2·2 = 4, 5 + 4 = 9. The quotient is 2x² + x + 2.

Example 2: a negative value of a

Divide 3x⁴ − 2x² + x − 5 by x + 1, so a = −1. P(−1) = 3 − 2 − 1 − 5 = −5. Synthetic division with coefficients 3, 0, −2, 1, −5 gives the row 3, −3, 1, 0 and remainder −5. The quotient is 3x³ − 3x² + x.

The factor theorem

If P(a) = 0, then x − a is a factor of P(x). This is the fastest way to test possible factors.

P(x) = x³ − 6x² + 11x − 6P(a)Factor?
a = 11 − 6 + 11 − 6 = 0Yes: x − 1
a = 28 − 24 + 22 − 6 = 0Yes: x − 2
a = 327 − 54 + 33 − 6 = 0Yes: x − 3
a = 464 − 96 + 44 − 6 = 6No, remainder 6

So x³ − 6x² + 11x − 6 = (x − 1)(x − 2)(x − 3).

Common mistakes

  • Using the wrong sign: dividing by x + 3 means a = −3, not 3.
  • Skipping missing powers: every power from the highest down needs a coefficient, even if it is 0.
  • Dividing by 2x − 1: use a = 1/2. The remainder is the same, but the quotient must be divided by 2.

Related calculators

Common questions

What is the remainder theorem?

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

How do I enter x + 3?

x + 3 is x − (−3), so enter a = −3.

What does a remainder of 0 mean?

x − a is a factor of P(x). This is the factor theorem.

What if I am dividing by 2x − 1?

Use a = 1/2 (0.5). The remainder is the same, but the quotient must be divided by 2.

Why put 0 for missing terms?

Each coefficient holds the place of one power of x. Skipping one shifts every term to the wrong power.