Difference of Two Cubes — Definition, Formula & Examples
Difference of two cubes is a factoring pattern that breaks an expression of the form into the product of a binomial and a trinomial: .
For any real numbers and , the algebraic identity holds. The trinomial factor is irreducible over the reals, meaning it cannot be factored further using real coefficients.
Key Formula
Where:
- = Cube root of the first term
- = Cube root of the second term
How It Works
To apply this formula, first confirm that each term in the expression is a perfect cube. Identify (the cube root of the first term) and (the cube root of the second term). Then substitute into the pattern: the binomial factor is , and the trinomial factor is . A useful sign mnemonic is "same, opposite, always positive" — the binomial uses the same sign as the original expression (minus), the middle term of the trinomial uses the opposite sign (plus), and the last term is always positive.
Worked Example
Problem: Factor 8x³ − 27 completely.
Identify the cubes: Rewrite each term as a perfect cube.
Apply the formula: Set a = 2x and b = 3, then substitute into (a − b)(a² + ab + b²).
Simplify the trinomial: Compute each term inside the trinomial.
Answer:
Why It Matters
This identity appears frequently in Algebra 2 and Precalculus when simplifying rational expressions, solving cubic equations, and performing polynomial long division. Engineers and scientists also use it to factor terms in formulas involving volume differences, since volume scales with the cube of a linear dimension.
Common Mistakes
Mistake: Writing the trinomial factor as a² − ab + b² (using a minus sign on the middle term).
Correction: For the difference of cubes, the middle term of the trinomial is positive: a² + ab + b². The minus middle term belongs to the sum of cubes formula, a³ + b³ = (a + b)(a² − ab + b²).
