Recognise a difference of cubes and identify a and b. The idea in plain words, a worked example, and a check with the answers shown — part of the free Algebra I guides.
A difference of cubes is a binomial with one term positive and one negative, both perfect cubes. Its pattern is the sum-of-cubes pattern with the binomial's sign reversed:
a3−b3=(a−b)(a2+ab+b2).
For example8x3−27=(2x)3−33, so
8x3−27=(2x−3)(4x2+6x+9).
The binomial takes a minus; the trinomial's middle term takes a plus; the last term stays positive.
Why one sign is enough
Multiply out the difference:
(a−b)(a2+ab+b2)=a3+a2b+ab2−a2b−ab2−b3.
The middle terms cancel in pairs, leavinga3−b3.
The mechanism is identical to the sum pattern. What changes is which terms are positive at the start, so what changes in the factorisation is only the binomial's sign. The trinomial's middle term has to be plus for the cancellation to work, exactly as it had to be minus in the sum case.
Worked example, with a coefficient
Factor125−8y3.
Step 1. Put the positive cube first. The expression is53−(2y)3, soa=5 andb=2y.
Step 2. The binomial factor.(a−b)=(5−2y).
Step 3. The trinomial factor.a2=25, then+ab=10y, thenb2=4y2, giving(25+10y+4y2).
Step 4. Put them together.125−8y3=(5−2y)(25+10y+4y2).
Step 5. Check.125+50y+20y2−50y−20y2−8y3=125−8y3.
By the end you can
Recognise a difference of cubes and identify a and b
Apply the pattern a^3-b^3=(a-b)(a^2+ab+b^2)
Keep the trinomial's middle sign correct
Check yourself
(a) Factorx3−8.
(b) Factor1−27a3.
(c) A student writesx3−125=(x−5)(x2−5x+25). What is wrong?
Answers
(a)x3−23=(x−2)(x2+2x+4).
(b)13−(3a)3=(1−3a)(1+3a+9a2).
(c) The trinomial's middle sign is wrong: it should be+5x, giving(x−5)(x2+5x+25).