x = 2, n = 5
2⁵ − 1 = (2 − 1)(16 + 8 + 4 + 2 + 1)
31.
For every positive integer , .
This page is easier if you are comfortable with:
Multiply out the right-hand side: each term of the bracket is multiplied by and by , and every term except and cancels in pairs. The bracket is a geometric series, which is why the identity is used to find the sum of a geometric series: .
Special cases are the difference of cubes () and the difference of two squares (). Replacing by gives the fact that a − b divides aⁿ − bⁿ. For odd , a similar identity for generalises the sum of cubes.
The identity helps with divisibility (for example, ), with factorising polynomials by the factor theorem, and with roots of unity, since the roots of are the numbers in nth roots of unity. Complex roots of unity also let you pick out every third binomial coefficient, as in the roots-of-unity filter.
Geometric factorisation expresses xⁿ − 1 as a product, and gives the sum of a geometric series.
The two curves coincide, since the sum equals the quotient (apart from the single point x = 1).
These examples are worked by hand, step by step, so you can compare your own working.
Factorise with the identity.
Factorise and evaluate it at .
Find the factors of .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
2⁵ − 1 = (2 − 1)(16 + 8 + 4 + 2 + 1)
31.
16 + 8 + 4 + 2 + 1
31.
3⁴ − 1 = (3 − 1)(27 + 9 + 3 + 1)
80.
2 × 40
80.
xⁿ − 1 = (x − 1)(xⁿ⁻¹ + xⁿ⁻² + … + x + 1): the second factor is a geometric series with sum (xⁿ − 1)/(x − 1).
2⁵ − 1.
16 + 8 + 4 + 2 + 1.
3⁴ − 1.
(3 − 1)(27 + 9 + 3 + 1).
x^{n−1} + … + x ✗
ends with + 1 ✓
Include 1.
wrong ✗
(x − 1) ✓
Always.
n + 1 terms ✗
n terms ✓
n terms.
same ✗
different ✓
Only odd n factors.
Try each one on paper, then open the answer. Use the solver above to see the full working.
63
63
242
242
124
9999
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
(x − 1)(xⁿ⁻¹ + … + x + 1).
n.
Multiply out; the sum telescopes.
It is divisible by 2^d − 1 for d | n.
difference of cubes.
More in Competition and admissions maths and the formula sheets.