Algebra 2 Advanced factoringcubespolynomials

Sum & Difference of Cubes

Two factoring patterns that unlock cubic expressions.

Video by The Organic Chemistry Tutor — “Factoring Sums and Differences of Perfect Cubes” Watch on YouTube

The explanation

Key idea a³ ± b³ = (a ± b)(a² ∓ ab + b²).

Unlike a sum of squares, a sum of cubes *does* factor.

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

The binomial keeps the original sign. In the trinomial, the middle sign is the opposite, and the last is always plus. A common mnemonic is SOAP: Same, Opposite, Always Positive.

For x³ + 8: a = x and b = 2, so it factors as (x + 2)(x² − 2x + 4).

The trinomial almost never factors further, so check whether it does but do not force it. Its discriminant is negative unless a = b.

Worked example

Factor 27x³ − 64 completely.

  1. Both are perfect cubes: (3x)³ and 4³.
  2. Difference of cubes: (3x − 4)((3x)² + (3x)(4) + 4²).
  3. Simplify: (3x − 4)(9x² + 12x + 16).

Answer: (3x − 4)(9x² + 12x + 16)

Common mistakes

  • Writing the middle term of the trinomial as 2ab, borrowing from the perfect-square pattern.
  • Getting the sign pattern backwards in the trinomial.