Algebra

Difference of Cubes

A pupil lifts a small cube out of a matching cutout.

Difference of Cubes definition

The difference of cubes a³ − b³ factors as (a − b)(a² + ab + b²).

In Spanish
diferencia de cubos
Topic
Factoring polynomials

Difference of Cubes in a picture

Difference of Cubes diagramThe cube roots of 27x³ and 8 are 3x and 2.27x³ − 8 = (3x)³ − 2³Recognize both cubesa = 3x, b = 2Use the cube roots(3x − 2)(9x² + 6x + 4)The two factors
The cube roots of 27x³ and 8 are 3x and 2.

How it works

Take the cube root of each term, then use their difference as the first factor. The second factor has three positive signs in the displayed pattern. Expanding makes the two mixed products cancel, leaving the original cubes.

Worked examples

Factor x³ − 64.

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

Factor 8x³ − 27.

(2x − 3)(4x² + 6x + 9).

What is the quadratic factor of a³ − 1?

a² + a + 1.

Common mistake

Use the difference-of-cubes pattern. The difference-of-squares pattern has different factors.

Quick check

What is the first factor of a³ − b³?

Show answer

a − b.

What is the middle term of the second factor?

Show answer

+ab.

Does the second factor end with −b²?

Show answer

No. It ends with +b².

Sources

Flashcard

Difference of Cubes

Reveal the definition

The difference of cubes a³ − b³ factors as (a − b)(a² + ab + b²).

Effortless Math. “Difference of Cubes.” Math Dictionary.