Mathematics/Lessons/Algebra & Functions/Polynomials & the Factor Theorem
Pure · Algebra & Functions · Year 1

Polynomials & the Factor Theorem

Cubics won't factorise by sight — but the factor theorem turns the hard problem of factorising into the easy one of substituting a number and checking for zero.

10 min read 3 worked examples

A polynomial is a sum of powers of $x$ with number coefficients — things like $x^3 - 2x^2 + 5x - 6$. Quadratics are just the degree-2 case; now we go higher. The central problem is factorising them: breaking a cubic into a product of simpler brackets, exactly as we broke quadratics into two. But cubics don't factorise by inspection, so we need a smarter tool.

That tool is the factor theorem, and it rests on one beautifully simple observation. If $(x-a)$ is a factor of a polynomial $f(x)$, then substituting $x=a$ must give zero — because that factor becomes $(a-a)=0$, and zero times anything is zero. Run that logic backwards and you get a factor-detector.

Why the factor theorem works — the whole idea in one line

If $f(x) = (x-a)\times(\text{something})$, then $f(a) = (a-a)\times(\text{something}) = 0\times(\text{something}) = 0$. So $(x-a)$ is a factor exactly when $f(a)=0$. That's it. To test whether $(x-2)$ divides a polynomial, you don't do any division — you just plug in $x=2$ and see if you get zero. This turns the hard problem of factorising into the easy problem of substituting numbers.

The method for factorising a cubic

1. Find one root by trial. Test small values — $x=1, -1, 2, -2, 3\ldots$ — in $f(x)$ until one gives zero. That value $a$ means $(x-a)$ is a factor. (Only test factors of the constant term; roots hide there.)
2. Divide it out. Divide $f(x)$ by $(x-a)$ using algebraic (long) division, leaving a quadratic.
3. Factorise the quadratic by the usual methods. Now you have all three factors.

Strategy — where to look for the first root

The integer roots of a polynomial are always factors of the constant term. For $x^3-2x^2-5x+6$, the constant is $6$, so only test $x=\pm1,\pm2,\pm3,\pm6$ — there's no point trying $x=4$. This narrows an infinite search to a short list, and $x=1$ is so often a root that it's always worth trying first.

Worked example 1

Test for a factor
Show that $(x-2)$ is a factor of $f(x) = x^3 + 2x^2 - 5x - 6$.
ProofApply the factor theorem — substitute and check for zero
1
$(x-2)$ is a factor if and only if $f(2)=0$, by the factor theorem.
The whole test in one statement.
2
Substitute $x=2$: $f(2) = 2^3 + 2(2^2) - 5(2) - 6$.
Just evaluate the polynomial at 2.
3
$= 8 + 8 - 10 - 6 = 0$.
Careful arithmetic, term by term.
4
Since $f(2)=0$, $(x-2)$ is a factor of $f(x)$.
Exactly what we set out to show.
▪ shown
Examiner's eye

State the theorem you're using ("since $f(2)=0$, by the factor theorem $(x-2)$ is a factor") — the conclusion earns a mark, not just the arithmetic. And watch the signs on the substitution: $-5(2)=-10$, not $-5$. Sign slips in the substitution are the number-one error here.

Worked example 2

Fully factorise a cubic · find a root, divide, then factorise
Fully factorise $f(x) = x^3 + 2x^2 - 5x - 6$.
Bus-stop long division of x cubed plus 2x squared minus 5x minus 6 by x minus 2, ending with remainder 0.
The division from step 2, laid out bus-stop style: $(x-2)$ outside the bracket, $x^3+2x^2-5x-6$ inside, quotient $x^2+4x+3$ building up on top, remainder $0$ confirming $(x-2)$ really is a factor.
MethodRoot by trial, divide out, factorise the quotient
1
From example 1 we know $f(2)=0$, so $(x-2)$ is a factor.
One factor already in hand.
2
Divide $x^3+2x^2-5x-6$ by $(x-2)$ using algebraic division, giving the quotient $x^2+4x+3$.
Long division leaves a quadratic.
3
Factorise the quadratic: $x^2+4x+3 = (x+1)(x+3)$.
Two numbers multiplying to 3, adding to 4.
4
So $f(x) = (x-2)(x+1)(x+3)$.
Three linear factors — fully factorised.
5
The roots are therefore $x=2,\,-1,\,-3$.
Each factor gives a root; a cubic has up to three.
▪ factorised
The key insight

The factor theorem cracks the problem open — it finds the one factor you couldn't spot — and then ordinary quadratic factorising finishes it. This "find one, divide, factorise the rest" pattern is how every cubic in this course is factorised. A cubic has at most three linear factors, so once you have three brackets, you're done.

Graph of the cubic f(x) = (x-2)(x+1)(x+3), crossing the x-axis at x=-3, x=-1 and x=2, with a local maximum between -3 and -1 and a local minimum between -1 and 2, and passing through the y-intercept at -6.
The graph of $f(x)=(x-2)(x+1)(x+3)$, crossing the x-axis exactly at its three roots, $x=-3,-1,2$.

Worked example 3

Find an unknown coefficient · using a known factor
Given that $(x+1)$ is a factor of $f(x) = 2x^3 + ax^2 - x - 3$, find the value of the constant $a$.

A known factor is a zero waiting to be used: if $(x+1)$ is a factor, then $f(-1)=0$, and that single equation pins down $a$.

MethodTurn the known factor into an equation for a
1
$(x+1)$ is a factor means $f(-1)=0$.
Factor theorem, read as an equation.
2
Substitute $x=-1$: $2(-1)^3 + a(-1)^2 - (-1) - 3 = 0$.
Note $(x+1)=(x-(-1))$, so the root is $-1$.
3
Simplify: $2(-1) + a(1) + 1 - 3 = 0 \Rightarrow -2 + a + 1 - 3 = 0$.
Evaluate each power carefully.
4
So $a - 4 = 0$, giving $a = 4$.
One equation, one unknown.
5
Therefore $a=4$.
The value that makes $(x+1)$ a genuine factor.
▪ solved
Look deeper — why one substitution is enough

A single unknown needs a single equation, and the factor theorem hands you exactly one: "$f$ at the root equals zero." That's the elegance — a geometric fact (the curve passes through the $x$-axis at $x=-1$) becomes one clean algebraic equation in $a$. This "known factor $\Rightarrow$ known zero $\Rightarrow$ equation" chain solves a whole family of exam questions.

Common mistake

The factor $(x+1)$ corresponds to the root $x=-1$, not $x=+1$ — flip the sign. Setting $f(1)=0$ here would give the wrong equation and the wrong $a$. Always read $(x-a)$ carefully: $(x+1)$ is $(x-(-1))$, so substitute $x=-1$.

Check yourself

Fully factorise $f(x) = x^3 - 3x^2 - x + 3$.
(Hint: try $x=1$ first — the constant term is 3, so test factors of 3.)

Bus-stop long division of x cubed minus 3x squared minus x plus 3 by x minus 1, ending with remainder 0.
Dividing $f(x)=x^3-3x^2-x+3$ by $(x-1)$ bus-stop style, giving quotient $x^2-2x-3$ and remainder $0$.
Method
1
Test $x=1$: $f(1)=1-3-1+3=0$, so $(x-1)$ is a factor.
Root found by trial.
2
Divide $f(x)$ by $(x-1)$ to get the quotient $x^2-2x-3$.
3
Factorise: $x^2-2x-3=(x-3)(x+1)$.
Multiplies to $-3$, adds to $-2$.
4
So $f(x)=(x-1)(x-3)(x+1)$, with roots $1,\,3,\,-1$.
Fully factorised.
▪ factorised

The pattern holds every time: one trial root unlocks the first bracket, algebraic division reduces the cubic to a quadratic, and the quadratic finishes the job.