Sum of Cubes Explained with Worked Examples

The sum of two cubes factorises as .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Sum of cubes means

To check it, expand the right-hand side: . The second factor does not factorise further over the real numbers. Notice the signs: in the first bracket, then in the middle of the second, and at the end.

It follows from the factor theorem: if then , so is a factor. Its partner is the difference of cubes. Both are cases of the pattern in geometric factorisation. The related identity a³ + b³ + c³ − 3abc covers three terms.

Uses include simplifying algebraic fractions (see cancelling a common factor), solving cubic equations such as , and number puzzles: is divisible by . For the sum of the first cubes see sum of cubes equals square of sum.

What is it used for?

The sum of two cubes factorises, which simplifies expressions and proves divisibility.

How to use sum of cubes

  1. Write each term as a cube, and .
  2. Write the first factor .
  3. Write the second factor .
  4. Expand to check if needed.

Graph

y = x³ + 8 has one root, at x = −2root x = −2-4-3-2-1012-30-20-100102030y = x³ + 8 has one root, at x = −2xyy = x³ + 8Graph with x from -4 to 2 and y from -30 to 30. Shows the curve y = x³ + 8; point root x = −2 at (-2, 0).

The cubic crosses the axis only at x = −2, the root of the linear factor; the quadratic factor has no real roots.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: numbers

Factorise using the identity.

Worked example
Answer
3535
  1. a = 2, b = 3
  2. Evaluate

Example 2: an expression

Factorise .

Worked example
Answer
(x+4)(x2−4x+16)(x+4)(x^{2}-4x+16)
  1. a = x, b = 4

Example 3: a number puzzle

Show that 1001 is divisible by 11.

Worked example
Answer
1001=11×911001=11\times91
  1. 1001 = 10³ + 1³
  2. Evaluate

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

2³ + 3³

(2 + 3)(4 − 6 + 9)

35.

3³ + 4³

(7)(9 − 12 + 16)

91.

x³ + 8 at x = 1

(1 + 2)(1 − 2 + 4)

9.

1³ + 5³

(6)(1 − 5 + 25)

126.

Word problems

a³ + b³ = (a + b)(a² − ab + b²). The second factor is never negative for real a, b.

2³ + 3³

(a + b)(a² − ab + b²).

  1. 5 × 7
  2. Check: 8 + 27 = 35 ✓35

3³ + 4³

Same method.

  1. 7 × 13
  2. Check: 27 + 64 = 91 ✓91

x³ + 8 Higher

At x = 1: (x + 2)(x² − 2x + 4).

  1. 3 × 3
  2. Check: ✓9

1³ + 5³ Higher

Factorise.

  1. 6 × 21
  2. Check: ✓126

Common mistakes

Middle sign +ab

a² + ab + b² ✗

a² − ab + b² ✓

Sign.

(a + b)³

confusion ✗

different expansion ✓

Not the same.

Factor (a − b)

for sum ✗

(a + b) ✓

Sum of cubes.

Factorising the quadratic

always ✗

irreducible over ℝ ✓

No more real factors.

Exam tips

  1. a³ + b³ = (a + b)(a² − ab + b²).
  2. Alternating signs.
  3. Check by expanding.
  4. Quadratic does not factor further.
  5. Use to factorise x³ + k³.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. 1³ + 2³ via (1 + 2)(1 − 2 + 4) Foundation

9

2. 4³ + 5³ via factors Foundation

189

3. 5³ + 6³ via factors Foundation

341

4. 2³ + 5³ via factors Higher

133

5. x³ + 27 at x = 1: (x + 3)(x² − 3x + 9) Higher

28

6. 3³ + 5³ Higher

152

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Sum of cubes
a³ + b³.
Factorisation
Product form.
Irreducible quadratic
No real factors.
Perfect cube
n³.
Identity
True for all values.
Difference of cubes
Companion.

Frequently asked questions

How do I factorise a³ + b³?

(a + b)(a² − ab + b²).

What is x³ + 8?

(x + 2)(x² − 2x + 4).

Does the quadratic factor?

Not over the reals.

How do I check?

Expand the brackets.

Which page covers the difference of cubes?

difference of cubes.

Which page covers a³ + b³ + c³ − 3abc?

a³ + b³ + c³ − 3abc.

More in Competition and admissions maths and the formula sheets.