- Foundation
- About 18 min
- 5 practice questions
Cube identities and their uses
Expand (a + b)³ and (a − b)³ and see them as pieces of a cube, factorise sums and differences of cubes, and use x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx) to evaluate expressions.
If something looks wrong, please tell us.
By the end of this lesson you can
- Expand (a + b)³ and (a − b)³, picture (a + b)³ as two cubes and six cuboids, and use them to cube numbers.
- Factorise x³ − y³ and x³ + y³, and recognise an expression as a perfect cube.
- Use the identity for x³ + y³ + z³ − 3xyz, including the special case x + y + z = 0.
Squares came from areas; cubes come from volumes. Multiplying (a + b)² by one more (a + b) leads to a family of identities for cubes that let you cube numbers mentally, find the edge of a cube from its volume, and evaluate long expressions with a few multiplications.
The cube of a sum and of a difference
(a + b)³ = (a + b)(a² + 2ab + b²) = a³ + 2a²b + ab² + a²b + 2ab² + b³ = a³ + 3a²b + 3ab² + b³. Picture a cube of edge a + b cut by planes at the join on all three edges: it splits into a cube a³, a cube b³, three cuboids a × a × b (each a²b) and three cuboids a × b × b (each ab²). Replacing b by −b gives (a − b)³ = a³ − 3a²b + 3ab² − b³, where the signs alternate.
A cube of edge (a + b) cut into eight pieces
-
One cube a × a × a
- Volume a³
-
Three cuboids a × a × b
- Volume a²b each, 3a²b in all
-
Three cuboids a × b × b
- Volume ab² each, 3ab² in all
-
One cube b × b × b
- Volume b³
(a + b)³ = a³ + 3a²b + 3ab² + b³ and (a − b)³ = a³ − 3a²b + 3ab² − b³.
Worked example 1: cubing numbers and expressions
(a) 102³ = (100 + 2)³ = 1000000 + 3(10000)(2) + 3(100)(4) + 8 = 1000000 + 60000 + 1200 + 8 = 1061208. (b) 99³ = (100 − 1)³ = 1000000 − 30000 + 300 − 1 = 970299. (c) (2m − 1)³ = 8m³ − 3(4m²)(1) + 3(2m)(1) − 1 = 8m³ − 12m² + 6m − 1.
Worked example 2: the edge of a cube
A cube has volume p³ + 9p²q + 27pq² + 27q³ cubic units. Find its edge. Working: try a = p and b = 3q. Then a³ = p³, 3a²b = 3p²(3q) = 9p²q, 3ab² = 3p(9q²) = 27pq² and b³ = 27q³. All four terms match, so the volume is (p + 3q)³ and the edge is p + 3q units.
Sums and differences of cubes
Multiplying out (x − y)(x² + xy + y²) = x³ + x²y + xy² − x²y − xy² − y³ = x³ − y³. Similarly (x + y)(x² − xy + y²) = x³ + y³. So x³ − y³ = (x − y)(x² + xy + y²) and x³ + y³ = (x + y)(x² − xy + y²). For example, 8a³ − 27 = (2a)³ − 3³ = (2a − 3)(4a² + 6a + 9), and x³ + 64 = (x + 4)(x² − 4x + 16).
The three-cube identity
Multiplying (x + y + z) by (x² + y² + z² − xy − yz − zx) term by term, all the mixed terms cancel and we are left with x³ + y³ + z³ − 3xyz. So x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx). An important special case: if x + y + z = 0, the right side is 0, so x³ + y³ + z³ = 3xyz.
| Identity | Use |
|---|---|
| x³ − y³ = (x − y)(x² + xy + y²) | Factorise a difference of cubes |
| x³ + y³ = (x + y)(x² − xy + y²) | Factorise a sum of cubes |
| x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx) | Evaluate sums of cubes |
| If x + y + z = 0, x³ + y³ + z³ = 3xyz | Shortcut for sums of three cubes |
Worked example 3: a sum of cubes without cubing
Find (−12)³ + 7³ + 5³. Working: −12 + 7 + 5 = 0, so the sum equals 3 × (−12) × 7 × 5 = −1260. Check directly: −1728 + 343 + 125 = −1260. Correct.
Worked example 4: from sums and products
Three numbers have x + y + z = 9, xy + yz + zx = 23 and xyz = 15. Find x³ + y³ + z³. Working: first, from (x + y + z)² = x² + y² + z² + 2(xy + yz + zx), we get 81 = x² + y² + z² + 46, so x² + y² + z² = 35. Then x³ + y³ + z³ = 3xyz + (x + y + z)(x² + y² + z² − (xy + yz + zx)) = 45 + 9 × (35 − 23) = 45 + 108 = 153. (The numbers are in fact 1, 3 and 5, and 1 + 27 + 125 = 153.)
Key takeaways: (a + b)³ = a³ + 3a²b + 3ab² + b³ is a cube cut into two cubes and six cuboids; (a − b)³ has alternating signs. x³ − y³ and x³ + y³ factorise with a quadratic second factor whose middle sign is opposite to the first. x³ + y³ + z³ − 3xyz = (x + y + z)(x² + y² + z² − xy − yz − zx), so when x + y + z = 0, x³ + y³ + z³ = 3xyz.
Check your understanding
-
1. Using (a + b)³, what is 11³?
- 1121
- 1301
- 1361
- 1331
Show answer
Answer: D. 11³ = (10 + 1)³ = 1000 + 3(100)(1) + 3(10)(1) + 1 = 1000 + 300 + 30 + 1 = 1331.
-
2. What is the expansion of (x − 2)³?
- x³ − 8
- x³ − 6x² + 12x − 8
- x³ + 6x² + 12x + 8
- x³ − 6x² − 12x − 8
Show answer
Answer: B. (a − b)³ = a³ − 3a²b + 3ab² − b³ with a = x and b = 2: x³ − 3x²(2) + 3x(4) − 8 = x³ − 6x² + 12x − 8. The signs alternate.
-
3. What is the factorised form of 27y³ + 8?
- (3y + 2)(9y² + 6y + 4)
- (3y + 2)³
- (3y + 2)(9y² − 6y + 4)
- (3y − 2)(9y² + 6y + 4)
Show answer
Answer: C. 27y³ + 8 = (3y)³ + 2³. Using x³ + y³ = (x + y)(x² − xy + y²): (3y + 2)(9y² − 6y + 4). The middle sign in the second factor is minus for a sum of cubes.
-
4. What is (−9)³ + 4³ + 5³?
- −540
- 540
- −180
- −729
Show answer
Answer: A. −9 + 4 + 5 = 0, so the sum of the cubes is 3 × (−9) × 4 × 5 = −540. Check: −729 + 64 + 125 = −540.
-
5. A cube has volume 8x³ + 36x²y + 54xy² + 27y³. What is its edge?
- 2x + 3y
- 8x + 27y
- 2x + 9y
- 4x + 3y
Show answer
Answer: A. Try a = 2x, b = 3y: a³ = 8x³, 3a²b = 3(4x²)(3y) = 36x²y, 3ab² = 3(2x)(9y²) = 54xy², b³ = 27y³. All match, so the volume is (2x + 3y)³ and the edge is 2x + 3y.
Sign in to keep track of the lessons you finish.