To find the whole-number zeroes of a polynomial, list the divisors of the constant term, with both signs, and test each one. Once a zero is found, divide it out and factorise what is left. If the leading coefficient is not 1, a zero can be a fraction: its top divides the constant term and its bottom divides the leading coefficient.
This is the first lesson of Polynomials: Olympiad Practice, free for everyone to read.
Do not guess. Test.
You are asked to factorise x3−6x2+11x−6. A guess may take a long time. There is a short list of numbers that can be zeroes, and you can test them all in a minute. In an olympiad, where time is short, this one skill saves many minutes.
The list of candidates
Suppose that a polynomial with whole-number coefficients and 1 as the coefficient of its highest power has a whole-number zero. Then that zero must divide the constant term. (Reason: when you put x=a in x3+bx2+cx+d=0, you get d=−a(a2+ba+c), so a is a factor of d.)
For x3−6x2+11x−6, the constant term is −6. Its divisors are ±1,±2,±3,±6. Only eight numbers can be whole-number zeroes.
Test with the factor theorem
The factor theorem: x−a is a factor of p(x) if and only if p(a)=0.
p(1)=1−6+11−6=0. So x−1 is a factor.
p(2)=8−24+22−6=0. So x−2 is a factor.
p(3)=27−54+33−6=0. So x−3 is a factor.
A cubic has at most three zeroes, so we have them all:
x3−6x2+11x−6=(x−1)(x−2)(x−3)
Check. The constant term: (−1)(−2)(−3)=−6. ✓ The coefficient of x2: −(1+2+3)=−6. ✓
Start with x3−7x+6. Of the divisors of 6, only 1, 2 and −3 give p(t)=0. Then set your own coefficients and hunt again.
When only one zero is found
Suppose that you find only p(1)=0. Then divide p(x) by x−1. The quotient is a quadratic, and you can factorise that in the usual way. You do not need to test any more numbers.
When the leading coefficient is not 1
Now take 2x3−3x2−3x+2. The zeroes can be fractions. A rational zero qp, in lowest terms, has p dividing the constant term (2) and q dividing the leading coefficient (2). The candidates are ±1,±2,±21.
p(2)=16−12−6+2=0.
p(−1)=−2−3+3+2=0.
p(21)=41−43−23+2=0.
The three zeroes are 2, −1 and 21, and 2x3−3x2−3x+2=(x−2)(x+1)(2x−1).
Finding an unknown from a factor
A problem may say: "x−2 is a factor of x3−kx2+6x−8. Find k." Put x=2 and make it zero:
23−k⋅22+6⋅2−8=8−4k+12−8=12−4k=0⇒k=3
If the problem gives a remainder, make the value equal to the remainder. "When x3+kx+5 is divided by x−1 the remainder is 8." Then 1+k+5=8, so k=2.
The remainder is the same trick
The remainder theorem: the remainder when p(x) is divided by x−a is p(a). When the divisor is x+2, use a=−2. This gives the remainder at once, with no long division.
A plan for a problem
Write down the constant term and its divisors.
Test the small ones first: 1, −1, 2, −2.
When you find a zero, divide it out.
Factorise what is left.
Check by multiplying out, or by the sum and the product of the zeroes.
Practise with new numbers
Try it in Python
This program tests the divisors of the constant term for you.
Common mistakes
Testing only the positive divisors. Test both signs.
Using the wrong sign for the factor. If p(−2)=0, the factor is x+2.
Stopping when one zero is found. Divide and continue.
Forgetting the fractions when the leading coefficient is not 1.
Remember these
A whole-number zero divides the constant term. List the divisors, and test them with the factor theorem.
x−a is a factor if and only if p(a)=0. The remainder on dividing by x−a is p(a).
To find an unknown, put in the zero and make the value 0 (or the given remainder).
With a leading coefficient other than 1, the zeroes can be fractions qp.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Which numbers can be whole-number zeroes of x2−5x+6?
Find all the zeroes of x3−7x+6.
Which fractions can be zeroes of 3x2+x−2?
Factorise x3−3x2−4x+12.
Liked this lesson? There is more
Polynomials: Olympiad Practice is a Standard course. It adds 2 more lessons, practice and tests on top of the free chapter.
6Problems2Python Labs1Question Set1Mock Test
Skill: identities that save a long calculation: Many long calculations are identities in disguise. Write a number near a round number as the round number plus or minus a small one, and the identities give the answer without a calculator. If a + b + c = 0, the sum of the cubes is 3abc. From x + 1/x you can find x² + 1/x² and x³ + 1/x³ without finding x.
Skill: finding zeroes by testing a few numbers (free preview) | StemPy Lab
Olympiad practice: the zeroes and the coefficients: The zeroes of a polynomial are tied to its coefficients. For a quadratic, the sum of the zeroes is minus b over a and their product is c over a. For a cubic there are three such rules. They check a factorisation, build a polynomial from its zeroes, and find expressions in the zeroes without finding the zeroes.