Long divi­sion works for any divi­sor, but it is slow. When the divi­sor is lin­ear, such as x−3x - 3 or 2x+12x + 1, there is a short­cut that finds the remain­der in one line, with­out divid­ing at all. It is called the remain­der the­o­rem, and it turns many divi­sion ques­tions into sim­ple sub­sti­tu­tion. In this les­son we see why it works and use it to find unknown coef­fi­cients.

The the­o­rem

Remain­der the­o­rem. When a poly­no­mial f(x)f(x) is divided by x−ax - a, the remain­der is f(a)f(a).

Why it is true. By the divi­sion algo­rithm, f(x)=(x−a) q(x)+rf(x) = (x - a)\,q(x) + r. The divi­sor x−ax - a has degree 11, so the remain­der has degree 00: it is just a num­ber rr. This equa­tion is true for every value of xx, so put x=ax = a:

f(a)=(a−a) q(a)+r=0×q(a)+r=rf(a) = (a - a)\,q(a) + r = 0 \times q(a) + r = r

So the remain­der rr equals f(a)f(a).

A sim­ple way to remem­ber which num­ber to sub­sti­tute: set the divi­sor equal to zero and solve. For x−a=0x - a = 0 we get x=ax = a.

Divi­sors of the form ax − b and ax + b

The same idea works when xx has a coef­fi­cient.

  • When f(x)f(x) is divided by ax−bax - b, the remain­der is f(ba)\displaystyle f\left(\frac{b}{a}\right), because ax−b=0ax - b = 0 gives x=ba\displaystyle x = \frac{b}{a}.
  • When f(x)f(x) is divided by ax+bax + b, the remain­der is f(−ba)\displaystyle f\left(-\frac{b}{a}\right), because ax+b=0ax + b = 0 gives x=−ba\displaystyle x = -\frac{b}{a}.

Exam­ple 1

Find the remain­der when f(x)=x3−1f(x) = x^3 - 1 is divided by x+1x + 1.

x+1=0x + 1 = 0 gives x=−1x = -1.

Remainder=f(−1)=(−1)3−1=−1−1=−2\text{Remainder} = f(-1) = (-1)^3 - 1 = -1 - 1 = -2

Exam­ple 2

Find the remain­der when f(x)=2x4−6x3+2x2−x+2f(x) = 2x^4 - 6x^3 + 2x^2 - x + 2 is divided by x+2x + 2.

f(−2)=2(16)−6(−8)+2(4)−(−2)+2=32+48+8+2+2=92\begin{aligned} f(-2) &= 2(16) - 6(-8) + 2(4) - (-2) + 2 \\ &= 32 + 48 + 8 + 2 + 2 \\ &= 92 \end{aligned}

In the last les­son we found this same remain­der, 9292, after four rounds of long divi­sion. The the­o­rem gets it in one line. (It does not give the quo­tient, though; for that we still need to divide.)

Exam­ple 3

Find the remain­der when 9x3−3x2+x−59x^3 - 3x^2 + x - 5 is divided by x−23\displaystyle x - \frac{2}{3}.

f(23)=9(827)−3(49)+23−5=83−43+23−5=8−4+23−5=2−5=−3\displaystyle \begin{aligned} f\left(\tfrac{2}{3}\right) &= 9\left(\tfrac{8}{27}\right) - 3\left(\tfrac{4}{9}\right) + \tfrac{2}{3} - 5 \\ &= \tfrac{8}{3} - \tfrac{4}{3} + \tfrac{2}{3} - 5 \\ &= \tfrac{8 - 4 + 2}{3} - 5 \\ &= 2 - 5 = -3 \end{aligned}

The remain­der is −3-3.

Find­ing unknown coef­fi­cients

When a ques­tion gives the remain­der and hides a coef­fi­cient, the the­o­rem gives an equa­tion for the unknown.

Exam­ple 4

The poly­no­mi­als ax3+4x2+3x−4ax^3 + 4x^2 + 3x - 4 and x3−4x+ax^3 - 4x + a leave the same remain­der when divided by x−3x - 3. Find aa.

Let f(x)=ax3+4x2+3x−4f(x) = ax^3 + 4x^2 + 3x - 4 and g(x)=x3−4x+ag(x) = x^3 - 4x + a. Both remain­ders come from x=3x = 3, and they are equal, so f(3)=g(3)f(3) = g(3).

27a+36+9−4=27−12+a27a+41=15+a26a=15−4126a=−26a=−1\begin{aligned} 27a + 36 + 9 - 4 &= 27 - 12 + a \\ 27a + 41 &= 15 + a \\ 26a &= 15 - 41 \\ 26a &= -26 \\ a &= -1 \end{aligned}

Exam­ple 5

Find the qua­dratic poly­no­mial which, when divided by x−1x - 1, x−2x - 2 and x−3x - 3, leaves remain­ders 11, 22 and 44 respec­tively.

Let f(x)=ax2+bx+cf(x) = ax^2 + bx + c. By the remain­der the­o­rem the three remain­ders are f(1)f(1), f(2)f(2) and f(3)f(3).

f(1)=1  ⟹  a+b+c=1(1)f(1) = 1 \implies a + b + c = 1 \quad (1)

f(2)=2  ⟹  4a+2b+c=2(2)f(2) = 2 \implies 4a + 2b + c = 2 \quad (2)

f(3)=4  ⟹  9a+3b+c=4(3)f(3) = 4 \implies 9a + 3b + c = 4 \quad (3)

Sub­tract to remove cc:

(2)−(1):3a+b=1(2) - (1): \quad 3a + b = 1

(3)−(2):5a+b=2(3) - (2): \quad 5a + b = 2

Sub­tract­ing these two gives 2a=12a = 1, so a=12\displaystyle a = \frac{1}{2}. Then b=1−3a=1−32=−12\displaystyle b = 1 - 3a = 1 - \frac{3}{2} = -\frac{1}{2}, and from (1), c=1−a−b=1c = 1 - a - b = 1.

f(x)=12x2−12x+1\displaystyle f(x) = \frac{1}{2}x^2 - \frac{1}{2}x + 1

Check: f(3)=92−32+1=3+1=4\displaystyle f(3) = \frac{9}{2} - \frac{3}{2} + 1 = 3 + 1 = 4. Cor­rect.

Prac­tice

  1. Find the remain­der when x4−3x2+2x+1x^4 - 3x^2 + 2x + 1 is divided by x−1x - 1.
  2. Find the remain­der when x3+4x2−3x+10x^3 + 4x^2 - 3x + 10 is divided by x+4x + 4.
  3. Find the remain­der when 4x3−12x2+14x−34x^3 - 12x^2 + 14x - 3 is divided by 2x−12x - 1.
  4. Find the remain­der when x3−6x2+2x−4x^3 - 6x^2 + 2x - 4 is divided by 3x−13x - 1.
  5. Find the remain­der when x3+3x2+3x+1x^3 + 3x^2 + 3x + 1 is divided by (a) x+1x + 1 (b) x−12\displaystyle x - \frac{1}{2} (c) xx (d) 5+2x5 + 2x.
  6. When kx3+9x2+4x−8kx^3 + 9x^2 + 4x - 8 is divided by x+3x + 3, the remain­der is −20-20. Find kk.
  7. The poly­no­mi­als 2x3+ax2+3x−52x^3 + ax^2 + 3x - 5 and x3+x2−4x+ax^3 + x^2 - 4x + a leave the same remain­der when divided by x−2x - 2. Find aa.
  8. When x2+bx+cx^2 + bx + c is divided by x−1x - 1 the remain­der is 00, and when it is divided by x+2x + 2 the remain­der is 1212. Find bb and cc.
  9. When 2x3+3x2+ax+b2x^3 + 3x^2 + ax + b is divided by x−2x - 2 the remain­der is 22, and when it is divided by x+2x + 2 the remain­der is −2-2. Find aa and bb.
  10. When f(x)=x4−2x3+3x2−ax+bf(x) = x^4 - 2x^3 + 3x^2 - ax + b is divided by x−1x - 1 and x+1x + 1, the remain­ders are 55 and 1919. Find the remain­der when f(x)f(x) is divided by x−2x - 2.

Answers

Show answers
  1. f(1)=1−3+2+1=1f(1) = 1 - 3 + 2 + 1 = 1
  2. f(−4)=−64+64+12+10=22f(-4) = -64 + 64 + 12 + 10 = 22
  3. f(12)=12−3+7−3=32\displaystyle f\left(\frac{1}{2}\right) = \frac{1}{2} - 3 + 7 - 3 = \frac{3}{2}
  4. f(13)=127−23+23−4=127−4=−10727\displaystyle f\left(\frac{1}{3}\right) = \frac{1}{27} - \frac{2}{3} + \frac{2}{3} - 4 = \frac{1}{27} - 4 = -\frac{107}{27}
  5. (a) f(−1)=0f(-1) = 0 (b) f(12)=278\displaystyle f\left(\frac{1}{2}\right) = \frac{27}{8} (c) f(0)=1f(0) = 1 (d) f(−52)=−278\displaystyle f\left(-\frac{5}{2}\right) = -\frac{27}{8}. (The poly­no­mial is (x+1)3(x + 1)^3, which makes the arith­metic quick.)
  6. f(−3)=−27k+81−12−8=−27k+61=−20f(-3) = -27k + 81 - 12 - 8 = -27k + 61 = -20, so −27k=−81-27k = -81 and k=3k = 3.
  7. 16+4a+6−5=8+4−8+a16 + 4a + 6 - 5 = 8 + 4 - 8 + a, so 17+4a=4+a17 + 4a = 4 + a, 3a=−133a = -13 and a=−133\displaystyle a = -\frac{13}{3}.
  8. 1+b+c=01 + b + c = 0 and 4−2b+c=124 - 2b + c = 12. Sub­tract­ing gives 3b−3=−123b - 3 = -12, so b=−3b = -3 and c=2c = 2.
  9. 28+2a+b=228 + 2a + b = 2 gives 2a+b=−262a + b = -26; −4−2a+b=−2-4 - 2a + b = -2 gives −2a+b=2-2a + b = 2. Adding: 2b=−242b = -24, so b=−12b = -12 and a=−7a = -7.
  10. f(1)=2−a+b=5f(1) = 2 - a + b = 5 gives −a+b=3-a + b = 3; f(−1)=6+a+b=19f(-1) = 6 + a + b = 19 gives a+b=13a + b = 13. So b=8b = 8, a=5a = 5, and f(2)=16−16+12−10+8=10f(2) = 16 - 16 + 12 - 10 + 8 = 10.