Algebra II

Sum and Difference of Cubes: Formulas, the SOAP Trick and Examples

Learn the sum and difference of cubes formulas, remember the signs with SOAP, and factor two worked examples step by step.

The two patterns

Spot them: two perfect cubes joined by a plus or a minus.

Remember it with soap

Example 1

Factor x³ + 27

  1. Rewrite: x³ + 3³
  2. So a = x and b = 3
(x + 3)(x² − 3x + 9)

Example 2

Factor 8x³ − 27

  1. Rewrite: (2x)³ − 3³
  2. So a = 2x and b = 3
(2x − 3)(4x² + 6x + 9)

Common mistake

a³ + b³ = (a + b)³

(a + b)³ expands to four terms, so it is not the same thing.

The trinomial factor does not factor any further. Stop there.

Want more Algebra II practice?

The free Algebra II study guide has quizzes, flashcards and practice exams. 100% free, no sign-up needed.

Open the Algebra II guide