Sums or Differences of Cubes
We can factor the sum or the difference of two expressions that are cubes.
Consider the following products:
(A + B) (A2 – AB + B2) = A(A2 – AB + B2) + B(A2 – AB +B2)
= A3 – A2B + AB2 + A2B – AB2 + B3
= A3 + B3
and (A – B) (A2 + AB + B2) = A(A2 + AB +B2) – B(A2 + AB + B2)
= A3 + A2B +AB2 – A2B – AB2 – B3
= A3 – B3.
The above equations (reversed) show how we can factor a sum or a difference of two cubes.
IMPORTANT FACT SUM OR DIFFERENCE OF CUBES
A3 + B3 = (A + B)(A2 – AB + B2);
A3 – B3 = (A – B)(A2 + AB + B2)
Note that what we are considering here is a sum or difference of cubes. We are not cubing a binomial. For example, (A + B)3 is not the same as A3 + B3. The table of cubes in the margin is helpful.