On this page
Before you start
This page is easier if you are comfortable with:
What Expanding (a + b)³ means
( a + b ) 3 means ( a + b ) ( a + b ) ( a + b ) . The coefficients 1, 3, 3, 1 come from Pascal’s triangle.
You can expand by multiplying out in stages: first ( a + b ) 2 , then multiply by ( a + b ) again.
The powers of a go down and the powers of b go up, and the total power in each term is 3. A cube is a perfect square times a bracket, the coefficients 1, 3, 3, 1 are binomial coefficients , and the general case is the binomial theorem.
This page is part of Expressions, brackets and factorising in Algebra . Topics that work alongside it: Perfect square (sum) , Binomial theorem (positive integer n) , Binomial coefficient , Perfect square (difference) , Collecting like terms , Expanding double brackets and Even, odd and consecutive numbers (algebraic proof) .
What is it used for? Expanding (a + b)³ gives a³ + 3a²b + 3ab² + b³. The coefficients 1, 3, 3, 1 come from Pascal’s triangle .
Expanding a cubed bracket without multiplying out three times. Finding the volume of a cube whose side is an expression. Seeing the pattern behind the binomial theorem .
How to use expanding (a + b)³
Use the pattern 1, 3, 3, 1. Write the terms with falling powers of a and rising powers of b . Substitute the actual terms and simplify. Check with a number.
Diagram a + b a + b a + b A cube of side a + b can be cut into 8 pieces: one a³, three a²b, three ab² and one b³.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: a positive cube Expand ( x + 3 ) 3 .
Try this in the solver: expand (x+3)^3
Binomial expansion Answer checked
Answer
27 + 27 x + 9 x 2 + x 3 27 + 27 x + 9 x^{2} + x^{3} 27 + 27 x + 9 x 2 + x 3 Use the binomial theorem: ( a + b ) n = ∑ n C k a n − k b k
a = x , b = 3 , n = 3
Pascal's triangle row 3 gives the coefficients
1 3 3 1
Write out every term
1 ( x ) 3 ( 3 ) 0 + 3 ( x ) 2 ( 3 ) 1 + 3 ( x ) 1 ( 3 ) 2 + 1 ( x ) 0 ( 3 ) 3
Simplify each term and write in ascending powers of x
27 + 27 x + 9 x 2 + x 3
Check: put a number in for the letter and compare both sides
x = 2 : 125 = 125
Example 2: another cube Expand ( 2 + x ) 3 .
Try this in the solver: expand (2+x)^3
Binomial expansion Answer checked
Answer
8 + 12 x + 6 x 2 + x 3 8 + 12 x + 6 x^{2} + x^{3} 8 + 12 x + 6 x 2 + x 3 Use the binomial theorem: ( a + b ) n = ∑ n C k a n − k b k
a = 2 , b = x , n = 3
Pascal's triangle row 3 gives the coefficients
1 3 3 1
Write out every term
1 ( 2 ) 3 ( x ) 0 + 3 ( 2 ) 2 ( x ) 1 + 3 ( 2 ) 1 ( x ) 2 + 1 ( 2 ) 0 ( x ) 3
Simplify each term and write in ascending powers of x
8 + 12 x + 6 x 2 + x 3
Check: put a number in for the letter and compare both sides
x = 2 : 64 = 64
Example 3: a negative term Expand (x − 2)³.
Try this in the solver: expand (x-2)^3
Binomial expansion Answer checked
Answer
− 8 + 12 x − 6 x 2 + x 3 -8 + 12 x - 6 x^{2} + x^{3} − 8 + 12 x − 6 x 2 + x 3 Use the binomial theorem: ( a + b ) n = ∑ n C k a n − k b k
a = x , b = − 2 , n = 3
Pascal's triangle row 3 gives the coefficients
1 3 3 1
Write out every term
1 ( x ) 3 ( − 2 ) 0 + 3 ( x ) 2 ( − 2 ) 1 + 3 ( x ) 1 ( − 2 ) 2 + 1 ( x ) 0 ( − 2 ) 3
Simplify each term and write in ascending powers of x
− 8 + 12 x − 6 x 2 + x 3
Check: put a number in for the letter and compare both sides
x = 2 : 0 = 0
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
A positive cube (x + 3)³ = x³ + 9x² + 27x + 27
Coefficients 1, 3, 3, 1.
Constant first (2 + x)³ = x³ + 6x² + 12x + 8
Same pattern.
A minus sign (x − 2)³ = x³ − 6x² + 12x − 8
Signs alternate.
Not a sum of cubes (x + 3)³ is not x³ + 27
There are cross terms.
Word problems
(a + b)³ = a³ + 3a²b + 3ab² + b³. For a minus sign, alternate the signs.
A positive cube Expand (x + 3)³.
Terms x³ + 3x²(3) + 3x(9) + 27 Simplify x³ + 9x² + 27x + 27 Check: x = 1: 64 and 1 + 9 + 27 + 27 = 64 ✓ x³ + 9x² + 27x + 27.
Constant first Expand (2 + x)³.
Terms 8 + 12x + 6x² + x³ Order x³ + 6x² + 12x + 8 Check: x = 1: 27 and 27 ✓ x³ + 6x² + 12x + 8.
A minus sign Higher Expand (x − 2)³.
Alternate signs x³ − 6x² + 12x − 8 Check: x = 3: 1 and 27 − 54 + 36 − 8 = 1 ✓ x³ − 6x² + 12x − 8.
Finding a coefficient Higher Find the coefficient of x in (x + 4)³.
Term 3 × x × 4² = 48x Check: 3 × 16 = 48 ✓ 48.
Common mistakes
Cubing each term only (x + 3)³ = x³ + 27 ✗
x³ + 9x² + 27x + 27 ✓
There are cross terms.
Wrong coefficients 1, 2, 1 ✗
1, 3, 3, 1 ✓
Use Pascal’s triangle row 3.
Forgetting to cube the constant … + 3 ✗
… + 27 ✓
3³ = 27.
Sign errors with a minus (x − 2)³ = x³ − 6x² − 12x − 8 ✗
alternate signs ✓
Check by substituting.
Exam tips
1, 3, 3, 1.
Powers of a fall, of b rise.
Alternate signs for a minus.
Cube the constant.
Test with x = 1.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Expand (x + 1)³. What is the coefficient of x²? Foundation 3
2. Expand (x + 2)³. What is the coefficient of x? Foundation 12
3. Expand (x + 2)³. What is the constant term? Foundation 8
4. Expand (x − 3)³. What is the coefficient of x²? Higher −9
5. Expand (x + 5)³. What is the coefficient of x? Higher 75
6. Expand (2x + 1)³. What is the coefficient of x³? Higher 8
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Cube A bracket to the power 3. Pascal’s triangle A triangle of binomial coefficients. Binomial An expression with two terms. Expand Multiply out. Coefficient The number in front of a term. Cross term A product of different letters.
Frequently asked questions
What is (a + b)³? a³ + 3a²b + 3ab² + b³.
Where do 1, 3, 3, 1 come from? Pascal’s triangle.
What about (a − b)³? a³ − 3a²b + 3ab² − b³.
How do I check? Substitute x = 1.
Which page covers the general case? binomial theorem.
Which page covers squares? perfect squares.