Hotmath
Math Homework. Do It Faster, Learn It Better.

Sum and Difference of Cubes

The sum or difference of two cubes can be factored into a product of a binomial times a trinomial.

That is, x 3 + y 3 = ( x + y ) ( x 2 x y + y 2 ) and x 3 y 3 = ( x y ) ( x 2 + x y + y 2 ) .

A mnemonic for the signs of the factorization is the word "SOAP", the letters stand for "Same sign" as in the middle of the original expression, "Opposite sign", and "Always Positive".

That is, x 3 ± y 3 = ( x [ Same sign ] y ) ( x 2 [ Opposite sign ] x y [ Always Positive ] y 2 )

Example 1:

Factor 27 p 3 + q 3 .

Try to write each of the terms as a cube of an expression.

27 p 3 + q 3 = ( 3 p ) 3 + ( q ) 3

Use the factorization of sum of cubes to rewrite.

27 p 3 + q 3 = ( 3 p ) 3 + ( q ) 3 = ( 3 p + q ) ( ( 3 p ) 2 3 p q + q 2 ) = ( 3 p + q ) ( 9 p 2 3 p q + q 2 )

Example 2:

Factor 40 u 3 625 v 3 .

Factor out the GCF from the two terms.

40 u 3 625 v 3 = 5 ( 8 u 3 125 v 3 )

Try to write each of the terms in the binomial as a cube of an expression.

8 u 3 125 v 3 = ( 2 u ) 3 ( 5 v ) 3

Use the factorization of difference of cubes to rewrite.

5 ( 8 u 3 125 v 3 ) = 5 ( ( 2 u ) 3 ( 5 v ) 3 ) = 5 [ ( 2 u 5 v ) ( ( 2 u ) 2 + 10 u v + ( 5 v ) 2 ) ] = 5 ( 2 u 5 v ) ( 4 u 2 + 10 u v + 25 v 2 )