Course contentsShow
← Mathematics
Lesson 387 of 3,12110. FactoringFree lesson

Difference of Cubes Pattern

Learn to factor a³ - b³ using the formula (a - b)(a² + ab + b²).

Difference of Cubes Pattern

What you'll learn: How to factor expressions of the form a³ - b³ using a special formula.

The Core Idea

When you have one cube minus another cube (like x³ - 8 or 27y³ - 64), there's a beautiful pattern that lets you factor it instantly. Just like the difference of squares pattern you learned earlier, the difference of cubes has its own formula:

a³ - b³ = (a - b)(a² + ab + b²)

Think of this as "the difference of two cubes factors into a binomial times a special trinomial."

Breaking Down the Formula

The first factor (a - b) is straightforward—it's just the difference of the cube roots.

The second factor (a² + ab + b²) follows a pattern:

  • a²: the first term squared
  • +ab: plus the product of both terms
  • +b²: plus the second term squared

Notice the signs: minus in the binomial, then plus, plus in the trinomial.

Example

Let's factor x³ - 27:

  1. Identify a and b: x³ = (x)³ and 27 = (3)³, so a = x and b = 3
  2. Apply the formula: (x - 3)(x² + x·3 + 3²)
  3. Simplify: (x - 3)(x² + 3x + 9)

That's it! You've factored the difference of cubes.

Why This Matters

This pattern appears frequently in algebra, and recognizing a³ - b³ saves you from tedious guesswork. The trinomial factor (a² + ab + b²) typically doesn't factor further over the real numbers, so you're done after applying the formula once.

Key Takeaway: The difference of cubes a³ - b³ always factors as (a - b)(a² + ab + b²)—memorize this pattern for instant factorization.