15.1 Remainder Theorem

Theorem 15.5 (Remainder theorem). When a polynomial \(P(x)\) is divided by \(x-a\), the remainder is \(P(a)\).

Proof. Dividing gives a quotient \(Q(x)\) and a remainder \(R\) with \[P(x)=(x-a)Q(x)+R .\] The remainder is a constant, because dividing by a linear factor must leave something of lower degree. Substituting \(x=a\), \[P(a)=(a-a)Q(a)+R=0\cdot Q(a)+R=R .\] □

Note 15.6. The value of this is that it finds a remainder without doing the division. Long division of a degree-five polynomial takes several minutes; evaluating \(P(a)\) takes seconds.

The trick is the choice of substitution: \(x=a\) is precisely the value that kills the \((x-a)Q(x)\) term, whatever \(Q\) happens to be. That is why the quotient never has to be found.

For a divisor written \(x+3\), read it as \(x-(-3)\), so \(a=-3\) and the remainder is \(P(-3)\) — the sign is the one thing to be careful about here.

Example 15.7.

Find the remainder when \(f(x)=x^3-7x^2+6x-2\) is divided by \(x-2\).

Solution.

\(f(2)=2^3-7(2)^2+6(2)-2=8-28+12-2 =-10\)

Example 15.8.

Find the quotient and the remainder when \(P(x)=2x^3+2x+31\) is divided by \(x+3\). Hence express \(P(x)\) in the form \(P(x)=(x+3)Q(x)+R\) where \(Q(x)\) is the quotient and \(R(x)\) is the remainder. \[\begin {array}{r@{\;}l} & 2x^{2}-6x+20\\ x+3\,\big ) & \overline {2x^{3}+0x^{2}+2x+31}\\ & \underline {2x^{3}+6x^{2}}\phantom {{}+2x+31}\\ & \phantom {2x^{3}}-6x^{2}+2x\phantom {{}+31}\\ & \phantom {2x^{3}}\underline {-6x^{2}-18x}\phantom {{}+31}\\ & \phantom {2x^{3}-6x^{2}}20x+31\\ & \phantom {2x^{3}-6x^{2}}\underline {20x+60}\\ & \phantom {2x^{3}-6x^{2}}-29 \end {array}\] The quotient is \(2x^{2}-6x+20\) and the remainder is \(-29\).

Therefore \(Q(x)=2x^2-6x+20\) and \(R(x)=-29\)

Hence \(2x^3+2x+31=(x+3)(2x^2-6x+20)-29\)

Now, \(P(x)=2x^3+2x+31\). Find the remainder when \(P(x)\) is divided by \(x+3\).

Solution.

\begin {align*} x+3=0 & \implies x=-3\\\\ R & = P(-3) = 2(-3)^3+2(-3)+31=-54-6+31\\ & = -60 + 31\\ & = -29\\ \end {align*}

Example 15.9.

The remainder when \(2x^3+ax^2+bx+31\) is divided by \(x+2\) is 11 and the remainder when it is divided by \(x+3\) is \(-29\). Find the constants \(a\) and \(b\).

Solution.

Let \(P(x)=2x^3+ax^2+bx+31\)

1.
The remainder when \(P(x)\) is divided by \(x+2\) is given by \begin {align*} P(-2) & = 2(-2)^3+a(-2)^2+b(-2)+31\\ & = -16+4a-2b+31\\ & = 4a-2b+15 \end {align*}

but this remainder is 11 \begin {align*} 4a-2b+15 & = 11 \end {align*}

that is \begin {equation} \label {eq:polyone} 4a-2b=-4 . \end {equation}

2.
The remainder when \(P(x)\) is divided by \(x+3\) is \begin {align*} P(-3) & = 2(-3)^3+a(-3)^2+b(-3)+31\\ & = -54+9a-3b+31\\ & = 9a-3b-23 \end {align*}

But the remainder is \(-29\) \begin {align*} 9a-3b-23 & = -29 \end {align*}

that is \begin {equation} \label {eq:polytwo} 9a-3b=-6 . \end {equation}

Solving simultaneously: multiplying (2) by \(3\) and (3) by \(2\) makes the coefficients of \(b\) agree, \begin {align*} 12a-6b & = -12\\ 18a-6b & = -12 . \end {align*}

Subtracting the first from the second gives \(6a=0\), so \(a=0\). Substituting \(a=0\) into (2), \[-2b=-4 \qquad \implies \qquad b=2 .\] Hence \(a=0\) and \(b=2\).

Questions on this section

Stuck on something here? Ask below and it stays attached to this topic.