MathorynMathematical Formula Database

Algebra

Remainder Theorem

The remainder theorem states that when a polynomial P(x)P(x) is divided by x−rx-r, the remainder is P(r)P(r). In particular, x−rx-r is a factor exactly when P(r)=0P(r)=0 (the factor theorem). Use it to evaluate a remainder quickly or to test candidate roots when factoring polynomials.

P(x)=(x−r) Q(x)+P(r)P(x)=(x-r)\,Q(x)+P(r)
LaTeXP(x)=(x-r)\,Q(x)+P(r)

Variables

P(x)P(x)
polynomial being divided
rr
number in the divisor x − r
Q(x)Q(x)
quotient polynomial
P(r)P(r)
the remainder

Example

Find the remainder of x3−2x+5x^3-2x+5 divided by x−2x-2.

  1. P(2)=8−4+5P(2)=8-4+5.

Answer: The remainder is 99.

Related formulas