Two theorems do nearly all the work here. Both replace a page of long division with a single substitution, so knowing when they apply is worth more than being quick at dividing.
Polynomials
A polynomial in x x x is a sum of terms a x n ax^n a x n where n n n is a non-negative integer:
f ( x ) = 3 x 4 − 2 x + 7 f(x) = 3x^4 - 2x + 7 f ( x ) = 3 x 4 − 2 x + 7
The degree is the highest power present — here 4 4 4 . The leading coefficient is the number attached to it, 3 3 3 .
x \sqrt{x} x , 1 x \dfrac1x x 1 and x − 2 x^{-2} x − 2 are not polynomial terms, so an expression containing them is not a polynomial.
Key result A polynomial of degree n n n has at most n n n real roots, so a cubic has at most three. That count is a check on any factorisation you produce.
Dividing polynomials
Dividing f ( x ) f(x) f ( x ) by d ( x ) d(x) d ( x ) gives a quotient q ( x ) q(x) q ( x ) and a remainder r ( x ) r(x) r ( x ) :
f ( x ) = d ( x ) q ( x ) + r ( x ) f(x) = d(x)\,q(x) + r(x) f ( x ) = d ( x ) q ( x ) + r ( x )
with the degree of r r r strictly less than the degree of d d d . Dividing by a linear factor therefore leaves a constant remainder.
Divide x 3 − 2 x 2 − 5 x + 6 x^3 - 2x^2 - 5x + 6 x 3 − 2 x 2 − 5 x + 6 by x − 1 x - 1 x − 1 .
Working term by term, as with numerical long division:
x 3 ÷ x = x 2 x^3 \div x = x^2 x 3 ÷ x = x 2 . Multiply back: x 3 − x 2 x^3 - x^2 x 3 − x 2 . Subtract: − x 2 − 5 x + 6 -x^2 - 5x + 6 − x 2 − 5 x + 6 .
− x 2 ÷ x = − x -x^2 \div x = -x − x 2 ÷ x = − x . Multiply back: − x 2 + x -x^2 + x − x 2 + x . Subtract: − 6 x + 6 -6x + 6 − 6 x + 6 .
− 6 x ÷ x = − 6 -6x \div x = -6 − 6 x ÷ x = − 6 . Multiply back: − 6 x + 6 -6x + 6 − 6 x + 6 . Subtract: 0 0 0 .
x 3 − 2 x 2 − 5 x + 6 = ( x − 1 ) ( x 2 − x − 6 ) x^3 - 2x^2 - 5x + 6 = (x-1)(x^2 - x - 6) x 3 − 2 x 2 − 5 x + 6 = ( x − 1 ) ( x 2 − x − 6 )
The remainder is zero, so x − 1 x - 1 x − 1 is a factor.
Common mistake Write the dividend with every power present, inserting 0 x 2 0x^2 0 x 2 or 0 x 0x 0 x where a term is missing. A skipped column is the commonest way long division goes wrong.
The remainder theorem
When f ( x ) is divided by ( x − a ) , the remainder is f ( a ) . \text{When } f(x) \text{ is divided by } (x - a), \text{ the remainder is } f(a). When f ( x ) is divided by ( x − a ) , the remainder is f ( a ) .
No division needed — substitute and evaluate.
Find the remainder when 2 x 3 + 3 x 2 − 5 x + 7 2x^3 + 3x^2 - 5x + 7 2 x 3 + 3 x 2 − 5 x + 7 is divided by x − 2 x - 2 x − 2 .
f ( 2 ) = 2 ( 8 ) + 3 ( 4 ) − 5 ( 2 ) + 7 = 16 + 12 − 10 + 7 = 25 f(2) = 2(8) + 3(4) - 5(2) + 7 = 16 + 12 - 10 + 7 = 25 f ( 2 ) = 2 ( 8 ) + 3 ( 4 ) − 5 ( 2 ) + 7 = 16 + 12 − 10 + 7 = 25
And when it is divided by x + 1 x + 1 x + 1 ?
Write x + 1 x + 1 x + 1 as x − ( − 1 ) x - (-1) x − ( − 1 ) , so a = − 1 a = -1 a = − 1 :
f ( − 1 ) = − 2 + 3 + 5 + 7 = 13 f(-1) = -2 + 3 + 5 + 7 = 13 f ( − 1 ) = − 2 + 3 + 5 + 7 = 13
Key result For ( x + 1 ) (x + 1) ( x + 1 ) substitute x = − 1 x = -1 x = − 1 . The sign always flips: the divisor ( x − a ) (x - a) ( x − a ) is tested at x = a x = a x = a .
Dividing by ( a x − b ) (ax - b) ( a x − b )
The remainder is f ( b a ) f\!\left(\dfrac{b}{a}\right) f ( a b ) — the value that makes the divisor zero.
Find the remainder when 2 x 3 − x 2 + 4 2x^3 - x^2 + 4 2 x 3 − x 2 + 4 is divided by 2 x − 1 2x - 1 2 x − 1 .
Set 2 x − 1 = 0 2x - 1 = 0 2 x − 1 = 0 , so x = 1 2 x = \frac12 x = 2 1 :
f ( 1 2 ) = 2 ( 1 8 ) − 1 4 + 4 = 1 4 − 1 4 + 4 = 4 f\!\left(\tfrac12\right) = 2\left(\tfrac18\right) - \tfrac14 + 4 = \tfrac14 - \tfrac14 + 4 = 4 f ( 2 1 ) = 2 ( 8 1 ) − 4 1 + 4 = 4 1 − 4 1 + 4 = 4
The factor theorem
The special case where the remainder is zero:
( x − a ) is a factor of f ( x ) ⟺ f ( a ) = 0 (x - a) \text{ is a factor of } f(x) \iff f(a) = 0 ( x − a ) is a factor of f ( x ) ⟺ f ( a ) = 0
Is x − 1 x - 1 x − 1 a factor of x 3 − 2 x 2 − 5 x + 6 x^3 - 2x^2 - 5x + 6 x 3 − 2 x 2 − 5 x + 6 ?
f ( 1 ) = 1 − 2 − 5 + 6 = 0 f(1) = 1 - 2 - 5 + 6 = 0 f ( 1 ) = 1 − 2 − 5 + 6 = 0
Yes — and this took one line, where the long division above took several.
Key result It works both ways. If ( x − a ) (x-a) ( x − a ) is a factor then f ( a ) = 0 f(a) = 0 f ( a ) = 0 ; if f ( a ) = 0 f(a) = 0 f ( a ) = 0 then ( x − a ) (x-a) ( x − a ) is a factor. That second direction is what lets you find factors.
Finding an unknown constant
Find k k k so that x − 2 x - 2 x − 2 is a factor of x 3 + k x 2 − 4 x + 4 x^3 + kx^2 - 4x + 4 x 3 + k x 2 − 4 x + 4 .
By the factor theorem, f ( 2 ) = 0 f(2) = 0 f ( 2 ) = 0 :
8 + 4 k − 8 + 4 = 0 8 + 4k - 8 + 4 = 0 8 + 4 k − 8 + 4 = 0
4 k + 4 = 0 4k + 4 = 0 4 k + 4 = 0
k = − 1 k = -1 k = − 1
Check: f ( x ) = x 3 − x 2 − 4 x + 4 f(x) = x^3 - x^2 - 4x + 4 f ( x ) = x 3 − x 2 − 4 x + 4 gives f ( 2 ) = 8 − 4 − 8 + 4 = 0 f(2) = 8 - 4 - 8 + 4 = 0 f ( 2 ) = 8 − 4 − 8 + 4 = 0 ✓
Factorising a cubic
The standard three-step method.
Factorise x 3 − 2 x 2 − 5 x + 6 x^3 - 2x^2 - 5x + 6 x 3 − 2 x 2 − 5 x + 6 completely.
Step 1 — find one root by trial. Try the factors of the constant term, ± 1 , ± 2 , ± 3 , ± 6 \pm1, \pm2, \pm3, \pm6 ± 1 , ± 2 , ± 3 , ± 6 :
f ( 1 ) = 1 − 2 − 5 + 6 = 0 ✓ f(1) = 1 - 2 - 5 + 6 = 0 \ \checkmark f ( 1 ) = 1 − 2 − 5 + 6 = 0 ✓
So ( x − 1 ) (x - 1) ( x − 1 ) is a factor.
Step 2 — divide by ( x − 1 ) (x-1) ( x − 1 ) , giving the quadratic x 2 − x − 6 x^2 - x - 6 x 2 − x − 6 .
Step 3 — factorise the quadratic :
x 2 − x − 6 = ( x − 3 ) ( x + 2 ) x^2 - x - 6 = (x-3)(x+2) x 2 − x − 6 = ( x − 3 ) ( x + 2 )
f ( x ) = ( x − 1 ) ( x − 3 ) ( x + 2 ) f(x) = (x-1)(x-3)(x+2) f ( x ) = ( x − 1 ) ( x − 3 ) ( x + 2 )
The roots are x = 1 x = 1 x = 1 , x = 3 x = 3 x = 3 and x = − 2 x = -2 x = − 2 — three roots for a cubic, as expected.
Exam tip Only test the factors of the constant term . For a constant of 6 the candidates are ± 1 , ± 2 , ± 3 , ± 6 \pm1, \pm2, \pm3, \pm6 ± 1 , ± 2 , ± 3 , ± 6 , and one of them almost always works in an exam question. Start with ± 1 \pm1 ± 1 ; they are quickest to evaluate.
Common mistake "Factorise completely" means going all the way to linear factors. Stopping at ( x − 1 ) ( x 2 − x − 6 ) (x-1)(x^2-x-6) ( x − 1 ) ( x 2 − x − 6 ) leaves marks on the table.
Equating coefficients
An identity — written with ≡ \equiv ≡ — holds for every value of x x x , so the coefficients of each power must match on both sides.
Find A A A and B B B if 5 x + 1 ≡ A ( x + 2 ) + B ( x − 1 ) 5x + 1 \equiv A(x+2) + B(x-1) 5 x + 1 ≡ A ( x + 2 ) + B ( x − 1 ) .
Substitution method (faster): choose values of x x x that kill one unknown.
Let x = 1 x = 1 x = 1 : 6 = A ( 3 ) + B ( 0 ) \;6 = A(3) + B(0) 6 = A ( 3 ) + B ( 0 ) , so A = 2 A = 2 A = 2 .
Let x = − 2 x = -2 x = − 2 : − 9 = A ( 0 ) + B ( − 3 ) \;-9 = A(0) + B(-3) − 9 = A ( 0 ) + B ( − 3 ) , so B = 3 B = 3 B = 3 .
Check: 2 ( x + 2 ) + 3 ( x − 1 ) = 2 x + 4 + 3 x − 3 = 5 x + 1 2(x+2) + 3(x-1) = 2x + 4 + 3x - 3 = 5x + 1 2 ( x + 2 ) + 3 ( x − 1 ) = 2 x + 4 + 3 x − 3 = 5 x + 1 ✓
Comparing coefficients (also valid): expand the right side to ( A + B ) x + ( 2 A − B ) (A+B)x + (2A - B) ( A + B ) x + ( 2 A − B ) , then
A + B = 5 2 A − B = 1 A + B = 5 \qquad 2A - B = 1 A + B = 5 2 A − B = 1
Adding gives 3 A = 6 3A = 6 3 A = 6 , so A = 2 A = 2 A = 2 and B = 3 B = 3 B = 3 — the same answer.
Key result Substituting clever values is quicker; comparing coefficients always works. Use substitution first and comparison as a check.
Common mistake An identity (≡ \equiv ≡ ) is true for all x x x ; an equation (= = = ) is true for particular values. You may substitute any value you like into an identity, which is exactly why the method works.