CR.12: Factoring Higher Power Polynomials and Special Polynomials
Learning Outcomes
Factor a perfect square trinomial.
Factor a difference of squares.
Factor a sum and difference of cubes.
Factor higher power polynomials using substitution
Factor polynomials completely using all methods
Factoring a Perfect Square Trinomial
A perfect square trinomial is a trinomial that can be written as the square of a binomial. Recall that when a binomial is squared, the result is the square of the first term added to twice the product of the two terms and the square of the last term.
a2+2ab+b2=(a+b)2anda2−2ab+b2=(a−b)2
We can use this equation to factor any perfect square trinomial.
A General Note: Perfect Square Trinomials
A perfect square trinomial can be written as the square of a binomial:
a2+2ab+b2=(a+b)2
How To: Given a perfect square trinomial, factor it into the square of a binomial
Confirm that the first and last term are perfect squares.
Confirm that the middle term is twice the product of ab.
Write the factored form as (a+b)2.
Example: Factoring a Perfect Square Trinomial
Factor 25x2+20x+4.
Show Solution
Notice that 25x2 and 4 are perfect squares because 25x2=(5x)2 and 4=22. Then check to see if the middle term is twice the product of 5x and 2. The middle term is, indeed, twice the product: 2(5x)(2)=20x. Therefore, the trinomial is a perfect square trinomial and can be written as (5x+2)2.
Try It
Factor 49x2−14x+1.
Show Solution
(7x−1)2
Factoring a Difference of Squares
A difference of squares is a perfect square subtracted from a perfect square. Recall that a difference of squares can be rewritten as factors containing the same terms but opposite signs because the middle terms cancel each other out when the two factors are multiplied.
a2−b2=(a+b)(a−b)
We can use this equation to factor any differences of squares.
A General Note: Differences of Squares
A difference of squares can be rewritten as two factors containing the same terms but opposite signs.
a2−b2=(a+b)(a−b)
How To: Given a difference of squares, factor it into binomials
Confirm that the first and last term are perfect squares.
Write the factored form as (a+b)(a−b).
Example: Factoring a Difference of Squares
Factor 9x2−25.
Show Solution
Notice that 9x2 and 25 are perfect squares because 9x2=(3x)2 and 25=52. The polynomial represents a difference of squares and can be rewritten as (3x+5)(3x−5).
Try It
Factor 81y2−100.
Show Solution
(9y+10)(9y−10)
Q & A
Is there a formula to factor the sum of squares?
No. A sum of squares cannot be factored.
Watch this video to see another example of how to factor a difference of squares.
Factoring the Sum and Difference of Cubes
Now we will look at two new special products: the sum and difference of cubes. Although the sum of squares cannot be factored, the sum of cubes can be factored into a binomial and a trinomial.
a3+b3=(a+b)(a2−ab+b2)
Similarly, the sum of cubes can be factored into a binomial and a trinomial but with different signs.
a3−b3=(a−b)(a2+ab+b2)
We can use the acronym SOAP to remember the signs when factoring the sum or difference of cubes. The first letter of each word relates to the signs: Same Opposite Always Positive. For example, consider the following example.
x3−23=(x−2)(x2+2x+4)
The sign of the first 2 is the same as the sign between x3−23. The sign of the 2x term is opposite the sign between x3−23. And the sign of the last term, 4, is always positive.
A General Note: Sum and Difference of Cubes
We can factor the sum of two cubes as
a3+b3=(a+b)(a2−ab+b2)
We can factor the difference of two cubes as
a3−b3=(a−b)(a2+ab+b2)
How To: Given a sum of cubes or difference of cubes, factor it
Confirm that the first and last term are cubes, a3+b3 or a3−b3.
For a sum of cubes, write the factored form as (a+b)(a2−ab+b2). For a difference of cubes, write the factored form as (a−b)(a2+ab+b2).
Example: Factoring a Sum of Cubes
Factor x3+512.
Show Solution
Notice that x3 and 512 are cubes because 83=512. Rewrite the sum of cubes as (x+8)(x2−8x+64).
Analysis of the Solution
After writing the sum of cubes this way, we might think we should check to see if the trinomial portion can be factored further. However, the trinomial portion cannot be factored, so we do not need to check.
Try It
Factor the sum of cubes 216a3+b3.
Show Solution
(6a+b)(36a2−6ab+b2)
Example: Factoring a Difference of Cubes
Factor 8x3−125.
Show Solution
Notice that 8x3 and 125 are cubes because 8x3=(2x)3 and 125=53. Write the difference of cubes as (2x−5)(4x2+10x+25).
Analysis of the Solution
Just as with the sum of cubes, we will not be able to further factor the trinomial portion.
Try It
Factor the difference of cubes: 1,000x3−1.
Show Solution
(10x−1)(100x2+10x+1)
In the following two video examples we show more binomials that can be factored as a sum or difference of cubes.
Factor Using Substitution
We are going to move back to factoring polynomials; our exponents will be positive integers. Sometimes we encounter a polynomial that looks similar to something we know how to factor but is not quite the same. Substitution is a useful tool that can be used to “mask” a term or expression to make algebraic operations easier.
Example
Factor x4+3x2+2.
Show Solution
This looks a lot like a trinomial that we know how to factor: x2+3x+2=(x+2)(x+1). The only thing different is the exponents.
If we substitute u=x2 and recognize that u2=(x2)2=x4, we may be able to factor this beast!
Everywhere there is a x2 we will replace it with a u then factor.
u2+3u+2=(u+1)(u+2)
We are not quite done yet. We want to factor the original polynomial which had x as its variable, so we need to replace x2=u now that we are done factoring.
(u+1)(u+2)=(x2+1)(x2+2)
We conclude that x4+3x2+2=(x2+1)(x2+2).
Try It
Example
Factor x4−81.
Show Solution
This looks a lot like a difference of squares that we know how to factor: x2−81=(x+9)(x−9). The only thing different is the exponents.
If we substitute u=x2 and recognize that u2=(x2)2=x4, we will be able to factor.
Everywhere there is a x2 we will replace it with a u then factor.
u2−81=(u+9)(u−9)
We are not quite done yet. We want to factor the original polynomial which had x as its variable, so we need to replace x2=u.
(u+9)(u−9)=(x2+9)(x2−9)
However, this is not fully factored. We notice that x2−9 can be factored into (x+3)(x−3). You always want to factor as much as possible.
Therefore, we conclude that x4−81=(x2+9)(x+3)(x−3).
Try It
Factor Completely
Sometimes you may encounter a polynomial that takes an extra step to factor. In our next example, we will first find the GCF of a trinomial, and after factoring it out, we will be able to factor again so that we end up with a product of a monomial and two binomials.
Example
Factor 6m2k−3mk−3k completely.
Show Solution
Whenever you factor, first try the easy route and ask yourself if there is a GCF. In this case, there is one, and it is 3k.
Factor 3k from the trinomial:
6m2k−3mk−3k=3k(2m2−m−1)
We are left with a trinomial that can be factored using your choice of factoring methods. We will create a table to find the factors of 2⋅−1=−2 that sum to −1
Factors of 2⋅−1=−2
Sum of Factors
2,−1
1
−2,1
−1
Our factors are −2,1 which will allow us to factor by grouping:
Rewrite the middle term with the factors we found:
(2m2−m−1)=2m2−2m+m−1
Regroup and find the GCF of each group:
(2m2−2m)+(m−1)=2m(m−1)+1(m−1)
Now factor (m−1) from each term:
2m2−m−1=(m−1)(2m+1)
Do not forget the original GCF that we factored out! Our final factored form is:
6m2k−3mk−3k=3k(m−1)(2m+1)
Example
Factor 2x4−144x2+2592 completely.
Show Solution
Whenever you factor, first try the easy route and ask yourself if there is a GCF. In this case, there is one, and it is 2.
Factor 2 from the binomial:
2(x4−72x2+1296)
We are left with a trinomial that can be factored using perfect squares. Notice that x4=(x2)2 and (36)2=1296. Also notice that the middle term, −72x2, of the trinomial is equal to −2 times the product of x2 and 36. Therefore, −2⋅x2⋅36=−72x2. We can conclude that the trinomial x4−72x2+1296 is a perfect square trinomial.
Since the middle term is negative, use the formula A2−2AB+B2=(A−B)2 to factor the perfect square trinomial. x4−72x2+1296=(x2)2−2⋅x2⋅36+(36)2=(x2−36)2.
Notice that x2−36 is a difference of two squares. We can factor this into (x+6)(x−6). Since this is squared, then (x2−36)2=[(x+6)(x−6)]2=(x+6)2(x−6)2.
Putting this all together, 2x4−144x2+2592=2(x+6)2(x−6)2.
Try It
Example
Factor 54x17+2x14 completely.
Show Solution
Whenever you factor, first try the easy route and ask yourself if there is a GCF. In this case, there is one, and it is 2x14.
Factor 2x14 from the binomial:
2x14(27x3+1)
We are left with a binomial that can be factored using the sum of cubes. Notice that 27x3 and 1 are cubes because 27x3=(3x)3 and 1=13. Therefore, 27x3+1=(3x+1)(9x2−3x+1)
Our final answer must include the original GCF we already factored out: 2x14(3x+1)(9x2−3x+1)
Try It
In our last example, we show why it is important to factor out a GCF, if there is one, before you begin using the techniques shown in this section.