# factoring a sum or difference of two cubes

The formula for factoring a sum of two cubes is:

 $x^{3}+y^{3}=(x+y)(x^{2}-xy+y^{2})$

The formula for factoring a difference of two cubes is:

 $x^{3}-y^{3}=(x-y)(x^{2}+xy+y^{2})$

When teaching these factorization methods, it may be a good idea to encourage students to know one method for these factorizations rather than have them memorize two separate formulas.

First of all, the factorization is the product of a binomial and a trinomial. There is a mnemonic device for remembering the signs that works when the binomial is put in front of the trinomial as above.

Ignoring signs for the time being, let us determine how to remember the terms in the factorization. The two terms of the binomial are just the two terms of the original with the cubes dropped. The first term of the trinomial is the square of the first term of the binomial, and the last term of the trinomial is the square of the last term of the binomial. Finally, the middle term of the trinomial is the product of the two terms of the binomial.

Filling these in yields:

 $x^{3}+y^{3}=(x\,\,\,\,\,\,\,y)(x^{2}\,\,\,\,\,\,\,xy\,\,\,\,\,\,\,y^{2})$
 $x^{3}-y^{3}=(x\,\,\,\,\,\,\,y)(x^{2}\,\,\,\,\,\,\,xy\,\,\,\,\,\,\,y^{2})$

Now for the signs. A mnemonic for the signs is SDP, which stands for “same, different, plus”. This means that the first sign, the one in the binomial, is the same as that of the original problem; the second sign, the first one in the trinomial, is different from that of the original problem; and the third sign, the last one in the trinomial, is always plus.

Filling the signs in as indicated yields the correct formulas:

 $x^{3}+y^{3}=(x+y)(x^{2}-xy+y^{2})$
 $x^{3}-y^{3}=(x-y)(x^{2}+xy+y^{2})$

For students who have problems remembering SDP, the team name San Diego Padres comes in handy. (Who would have thought that a baseball team would be useful for remembering mathematical formulas?)

 Title factoring a sum or difference of two cubes Canonical name FactoringASumOrDifferenceOfTwoCubes Date of creation 2013-03-22 15:59:17 Last modified on 2013-03-22 15:59:17 Owner Wkbj79 (1863) Last modified by Wkbj79 (1863) Numerical id 13 Author Wkbj79 (1863) Entry type Topic Classification msc 97D40 Related topic IrreducibilityOfBinomialsWithUnityCoefficients Related topic DifferenceOfSquares Defines SDP Defines S.D.P. Defines same different plus Defines San Diego Padres