Course contentsShow
← Mathematics
Lesson 339 of 3,1219. PolynomialsFree lesson

Sum and Difference of Cubes

Learn formulas a³ + b³ = (a + b)(a² - ab + b²) and a³ - b³ = (a - b)(a² + ab + b²) for factoring cubic binomials.

Sum and Difference of Cubes

What You'll Learn

You'll learn two special formulas that let you factor cubic binomials (expressions with two terms where each is a perfect cube).


The Core Idea

Just like you learned that a² - b² factors into (a - b)(a + b) (difference of squares), cubes have their own special patterns. When you have a sum or difference of two perfect cubes, you can factor them using these formulas:

Sum of Cubes:

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

Difference of Cubes:

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

How to Remember These

Notice the pattern in both formulas:

  1. The first factor is simple: (a + b) or (a - b) — it matches the sign between the cubes
  2. The second factor is a trinomial with three parts:
    • First term: a² (always positive)
    • Middle term: -ab or +ab (sign is opposite the original)
    • Last term: b² (always positive)

Example: Factor x³ + 8

First, recognize that 8 = 2³, so this is x³ + 2³.

Using the sum of cubes formula where a = x and b = 2:

x³ + 2³ = (x + 2)(x² - 2x + 4)

Example: Factor 27y³ - 64

Recognize 27y³ = (3y)³ and 64 = 4³, so this is (3y)³ - 4³.

Using the difference of cubes formula:

(3y)³ - 4³ = (3y - 4)(9y² + 12y + 16)

Key Takeaway: Cubic binomials like a³ + b³ and a³ - b³ factor into a binomial times a trinomial using their special formulas; the binomial's sign matches the original, while the trinomial's middle term has the opposite sign.