The remainder theorem tells us the remainder on dividing by x−a. The most interesting case is when that remainder is zero, because then x−a divides the polynomial exactly: it is a factor. This special case is called the factor theorem. It lets us test a factor by substituting one number, find unknown coefficients, prove divisibility without dividing, and, in the next lessons, factorise cubics and quartics.
The theorem#
Factor theorem. x−a is a factor of f(x) if and only if f(a)=0.
Why it is true. By the remainder theorem, dividing f(x) by x−a leaves the remainder f(a). If f(a)=0, the remainder is 0, so f(x)=(x−a)q(x) and x−a is a factor. Going the other way, if x−a is a factor, the remainder is 0, so f(a)=0.
As with the remainder theorem, a linear divisor with a coefficient follows the same pattern:
ax−b is a factor of f(x)⟺f(ab)=0,ax+b is a factor of f(x)⟺f(−ab)=0
Example 1#
Check whether x−2 is a factor of x2−4.
f(2)=22−4=4−4=0
So x−2 is a factor. Indeed x2−4=(x−2)(x+2).
Example 2#
Show that x−3 is a factor of x3−3x2+4x−12.
f(3)=27−27+12−12=0
So x−3 is a factor.
Finding unknown coefficients#
Example 3#
Find a so that 2x4−ax3+4x2+2x+1 is divisible by 1−2x.
1−2x=0 gives x=21. Divisible means the remainder is 0, so f(21)=0.
2(161)−a(81)+4(41)+2(21)+181−8a+1+1+181−a1−aa=0=0=−3=−24=25
Example 4#
The polynomial ax3+bx2+x−6 has x+2 as a factor and leaves a remainder 4 when divided by x−2. Find a and b.
Let f(x)=ax3+bx2+x−6.
Since x+2 is a factor, f(−2)=0:
−8a+4b−2−6=0⟹−8a+4b=8⟹−2a+b=2(1)
Since the remainder on dividing by x−2 is 4, f(2)=4:
8a+4b+2−6=4⟹8a+4b=8⟹2a+b=2(2)
Subtract (1) from (2): 4a=0, so a=0. Then from (2), b=2.
So a=0 and b=2, and the polynomial is really 2x2+x−6. Check: f(−2)=8−2−6=0 and f(2)=8+2−6=4. Both conditions hold.
Example 5#
Find a and b so that x+1 and x−1 are both factors of f(x)=x4+ax3−3x2+2x+b.
f(−1)=0⟹1−a−3−2+b=0⟹−a+b=4(1)
f(1)=0⟹1+a−3+2+b=0⟹a+b=0(2)
Adding: 2b=4, so b=2, and then a=−2.
Example 6#
Find p and q so that f(x)=x4+px3+2x2−3x+q is divisible by x2−1.
Since x2−1=(x+1)(x−1), divisibility by x2−1 means both x+1 and x−1 are factors.
f(−1)=0⟹1−p+2+3+q=0⟹−p+q=−6(1)
f(1)=0⟹1+p+2−3+q=0⟹p+q=0(2)
Adding: 2q=−6, so q=−3, and then p=3.
Divisibility without actual division#
To show a polynomial is divisible by a quadratic, factorise the quadratic into two linear factors and test each one.
Example 7#
Without actual division, prove that 2x4−5x3+2x2−x+2 is exactly divisible by x2−3x+2.
First factorise the divisor: x2−3x+2=x2−x−2x+2=(x−1)(x−2).
Let f(x)=2x4−5x3+2x2−x+2.
f(1)=2−5+2−1+2=6−6=0
f(2)=2(16)−5(8)+2(4)−2+2=32−40+8=0
So x−1 and x−2 are both factors, and therefore their product x2−3x+2 is a factor of f(x).
Making a polynomial exactly divisible#
By the division algorithm, f(x)=g(x)q(x)+r(x). Rearranging,
f(x)−r(x)=g(x)q(x)
so f(x)−r(x) is exactly divisible by g(x). In words: subtract the remainder, or equivalently add the remainder with its sign changed.
Example 8#
What must be subtracted from 4x4−2x3−6x2+x−5 so that the result is exactly divisible by 2x2+x−1?
We divided exactly this pair in the lesson on long division: the quotient was 2x2−2x−1 and the remainder was −6. So we must subtract −6. (Subtracting −6 is the same as adding 6, giving 4x4−2x3−6x2+x+1.)
Example 9#
What must be added to x4+2x3−2x2+x−1 so that the result is exactly divisible by x2+2x−3?
The remainder is −x+2. To be added: −(−x+2)=x−2.
A factor for every odd power#
Show that x+a is a factor of xn+an whenever n is an odd positive integer.
Let f(x)=xn+an. Then
f(−a)=(−a)n+an=−an+an=0
since an odd power of a negative number is negative. So x+a is a factor. For example, x+2 is a factor of x3+8=x3+23, and indeed x3+8=(x+2)(x2−2x+4); likewise x+2 is a factor of x5+32=x5+25. The last lesson of this chapter develops this idea fully.
Practice#
- Is x−3 a factor of x3−6x2+11x−6?
- Is x+5 a factor of 3x4+17x3+9x2−7x−10?
- Is 3x−2 a factor of 3x3+x2−20x+12?
- For what value of a is x−5 a factor of x3−3x2+ax−10?
- Find a if x+2 is a factor of 4x4+2x3−3x2+8x+5a.
- Find a and b so that x3+10x2+ax+b is exactly divisible by both x−1 and x−2.
- Find α and β if x+1 and x+2 are factors of x3+3x2−2αx+β.
- Find a and b if x2−4 is a factor of ax4+2x3−3x2+bx−4.
- Without actual division, prove that 2x4−6x3+3x2+3x−2 is exactly divisible by x2−3x+2.
- What must be added to x3−3x2−12x+19 so that the result is exactly divisible by x2+x−6?
- What must be subtracted from x3−6x2−15x+80 so that the result is exactly divisible by x2+x−12?
Answers#
Show answers
- Yes: f(3)=27−54+33−6=0.
- Yes: f(−5)=1875−2125+225+35−10=0.
- Yes: f(32)=98+94−340+12=98+4−120+108=0.
- 125−75+5a−10=0, so 40+5a=0 and a=−8.
- f(−2)=64−16−12−16+5a=20+5a=0, so a=−4.
- f(1)=11+a+b=0 and f(2)=48+2a+b=0. Subtracting: a=−37, then b=26.
- f(−1)=2+2α+β=0 and f(−2)=4+4α+β=0. Subtracting: 2+2α=0, so α=−1 and β=0.
- f(2)=16a+2b=0 and f(−2)=16a−2b−32=0. Adding: 32a=32, so a=1 and b=−8.
- x2−3x+2=(x−1)(x−2); f(1)=2−6+3+3−2=0 and f(2)=32−48+12+6−2=0.
- Dividing gives quotient x−4 and remainder −2x−5, so add 2x+5.
- Dividing gives quotient x−7 and remainder 4x−4, so subtract 4x−4.