Learning Objectives
- Factor the sum or difference of cubes.
- Apply factoring strategies to completely factor polynomial expressions.
Some interesting patterns arise when you are working with cubed quantities within polynomials. Specifically, there are two more special cases to consider: a3+b3a3+b3 and a3−b3a3−b3.
Let us take a look at how to factor sums of cubes a3+b3a3+b3 and differences of cubes a3−b3a3−b3.
Sum of Cubes
The term “cubed” is used to describe a number raised to the third power. In geometry, a cube is a six-sided shape with equal width, length, and height; since all these measures are equal, the volume of a cube with width xx can be represented by x3x3. (Notice the exponent!)
Cubed numbers get large very quickly: 13=113=1, 23=823=8, 33=2733=27, 43=6443=64, and 53=12553=125
Before we talk about factoring sum of cubes, let’s review polynomial multiplication. What do we get when we multiply (a+b)(a2–ab+b2)(a+b)(a2–ab+b2)?
Example
Multiply (a+b)(a2–ab+b2)(a+b)(a2–ab+b2).
Did you see that? Four of the terms cancelled out, leaving us with a binomial a3+b3a3+b3 which is a sum of cubes. To undo this process and get it back to the form we had originally, we need to factor a3+b3a3+b3.
Because of the above example, it may not be surprising that a3+b3a3+b3 factors to be (a+b)(a2–ab+b2)(a+b)(a2–ab+b2) but how do we factor it?
You can use this pattern to factor sum of cubes: a3+b3=(a+b)(a2–ab+b2)a3+b3=(a+b)(a2–ab+b2).
The Sum of Cubes
A binomial in the form a3+b3a3+b3 can be factored as (a+b)(a2–ab+b2)(a+b)(a2–ab+b2).
Examples
The factored form of x3+64x3+64 is (x+4)(x2–4x+16)(x+4)(x2–4x+16).
The factored form of 8x3+y38x3+y3 is (2x+y)(4x2–2xy+y2)(2x+y)(4x2–2xy+y2).
Let’s look at some detailed examples to figure out how we can get sum or differences of cubes into factored form.
Example
Factor x3+8y3x3+8y3.
You should always look for a greatest common factor (GCF) before doing any other factoring.
Example
Factor 16m3+54n316m3+54n3.
Difference of Cubes
Having seen how binomials in the form a3+b3a3+b3 can be factored, it should not come as a surprise that binomials in the form a3−b3a3−b3 can be factored in a similar way.
The Difference of Cubes
A binomial in the form a3–b3a3–b3 can be factored as (a−b)(a2+ab+b2)(a−b)(a2+ab+b2).
Examples
The factored form of x3–64x3–64 is (x–4)(x2+4x+16)(x–4)(x2+4x+16).
The factored form of 27x3–8y327x3–8y3 is (3x–2y)(9x2+6xy+4y2)(3x–2y)(9x2+6xy+4y2).
Notice that the basic construction of the factorization is the same as it is for the sum of cubes; the difference is in the ++ and –– signs. Take a moment to compare the factored form of a3+b3a3+b3 with the factored form of a3−b3a3−b3.
a3+b3a3+b3=(a+b)(a2−ab+b2)(a+b)(a2−ab+b2)
a3−b3a3−b3= (a−b)(a2+ab+b2)(a−b)(a2+ab+b2)
This can be tricky to remember because of the different signs. The factored form of a3+b3a3+b3 contains a negative, and the factored form of a3−b3a3−b3 contains a positive! Some people remember the different forms like this:
Remember to use SOAP
SOAP is a memory device used for factoring sum or differences of cubes, to help you remember which signs you should use on each term in factored form.
“S” stands for Same
“O” stands for Opposite
“AP” stands for Always Positive
a3+b3a3+b3=(a+b)(a2−ab+b2)(a+b)(a2−ab+b2)
a3−b3a3−b3= (a−b)(a2+ab+b2)(a−b)(a2+ab+b2)
Pay close attention to the signs when you are changing it to factored form.
SAME:
a3+b3=(a+b)(a2−ab+b2)a3+b3=(a+b)(a2−ab+b2)
a3−b3=(a−b)(a2−ab+b2)a3−b3=(a−b)(a2−ab+b2)
OPPOSITE:
a3+b3=(a+b)(a2−ab+b2)a3+b3=(a+b)(a2−ab+b2)
a3−b3=(a+b)(a2+ab+b2)a3−b3=(a+b)(a2+ab+b2)
ALWAYS POSITIVE: the third term of the trinomial will always be positive because you are squaring that term. A negative times a negative is always positive and a positive times a positive is always positive. a3+b3=(a+b)(a2−ab+b2)a3+b3=(a+b)(a2−ab+b2) and a3−b3=(a−b)(a2+ab+b2)a3−b3=(a−b)(a2+ab+b2)
Let us go ahead and look at a couple of examples. Remember to factor out all common factors first.
Example
Factor 8x3–1,0008x3–1,000 completely.
Here is one more example. Note that r9=(r3)3 and that 8s6=(2s2)3.
Example
Factor r9−8s6.
In the following two video examples, we show more binomials that can be factored as a sum or difference of cubes.
Review of Factoring
In a previous section, you have learned several factoring techniques. Now it is time to put it all together.
We focus on two important questions you should ask yourself when encountering any factoring problem:
- Which factoring technique should I use for this problem?
- Can I factor the polynomial more?
Choosing the Best Factoring Technique
Here, we present a strategy you can apply to any factoring problem. Refer back to Section 3.5 if you need more practice with factoring.
Factoring strategy
1. If there is a GCF other than 1, factor it out first. Don’t forget to factor out a −1 if the leading coefficient is negative.
2. Count the number of terms in the remaining polynomial and select an appropriate technique.
I. 4 Terms: Factor by Grouping
II. 3 Terms: ax2+bx+c
A. If a=1, apply the “Product and Sum Method.” Ask yourself: What multiplies to be c that adds to be b?
B. If a≠1, apply the “AC-Method”
C. If it is a perfect square trinomial, use the appropriate formula:
a2+2ab+b2=(a+b)2
a2−2ab+b2=(a−b)2
III. 2 Terms:
A. If the binomial is a difference of squares, use the following formula: a2−b2=(a+b)(a−b)
Remember that a sum of squares is not factorable: a2+b2 is a prime polynomial
B. If the binomial is a sum or difference of cubes use:
a3+b3=(a+b)(a2−ab+b2)
a3−b3= (a−b)(a2+ab+b2)
3. If none of the above applies, it is possible that the polynomial is not factorable, or “prime.”
Let us try some examples.
Example 1
Factor −3x2−3x+6.
Example 2
Factor −3x2−7x+6.
The next example includes a perfect square trinomial.
Example 3
Factor 12x5+60x4+75x3
In the next two examples, we review factoring binomials.
Example 4
Factor −2x2+8
Example 5
Factor 50x2y3−8y
Don’t forget that we cannot factor every polynomial.
Example 6
Factor 5x2+8x+4
Factoring More
Sometimes after we factor, one or more of the resulting polynomials can be factored even further. You will see this more in future classes, but present one example here for you to think about.
think about it
Factor completely: x4−16