5³ − 2³
(5 − 2)(25 + 10 + 4)
117.
The difference of two cubes factorises as .
This page is easier if you are comfortable with:
Expanding gives . Compare with the sum of cubes: the sign in the first bracket changes, and so does the middle term of the second bracket, which is here. A memory aid is "same, opposite, always positive".
It is the case of geometric factorisation and of the fact that a − b divides aⁿ − bⁿ. Setting gives , which relates to the cube roots of unity in nth roots of unity.
Typical uses are factorising expressions like , simplifying fractions with cubes (see cancelling a common factor) and solving cubics with the factor theorem. The general three-variable identity is a³ + b³ + c³ − 3abc.
The difference of two cubes factorises into a linear and a quadratic factor.
Only the factor (x − 2) gives a real root.
These examples are worked by hand, step by step, so you can compare your own working.
Factorise using the identity.
Factorise .
Factorise .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
(5 − 2)(25 + 10 + 4)
117.
(4 − 1)(16 + 4 + 1)
63.
7 × 139
973.
(1)(9 + 6 + 4)
19.
a³ − b³ = (a − b)(a² + ab + b²). Note the signs: minus in the first factor, plus in the second.
(a − b)(a² + ab + b²).
a = 4, b = 1.
a = 10, b = 3.
At x = 3: (x − 2)(x² + 2x + 4).
a² − ab + b² ✗
a² + ab + b² ✓
Sign.
confusion ✗
different ✓
Not the same.
sum ✗
(a − b) ✓
Difference.
further ✗
irreducible ✓
No real roots.
Try each one on paper, then open the answer. Use the solver above to see the full working.
26
208
279
37
387
7
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
(a − b)(a² + ab + b²).
(x − 2)(x² + 2x + 4).
Not over the reals.
SOAP: Same, Opposite, Always Positive.
sum of cubes.
geometric factorisation.
More in Competition and admissions maths and the formula sheets.