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.
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 [latex]ab[/latex].
Write the factored form as [latex]{\left(a+b\right)}^{2}[/latex].
Example: Factoring a Perfect Square Trinomial
Factor [latex]25{x}^{2}+20x+4[/latex].
Show Solution
Notice that [latex]25{x}^{2}[/latex] and [latex]4[/latex] are perfect squares because [latex]25{x}^{2}={\left(5x\right)}^{2}[/latex] and [latex]4={2}^{2}[/latex]. Then check to see if the middle term is twice the product of [latex]5x[/latex] and [latex]2[/latex]. The middle term is, indeed, twice the product: [latex]2\left(5x\right)\left(2\right)=20x[/latex]. Therefore, the trinomial is a perfect square trinomial and can be written as [latex]{\left(5x+2\right)}^{2}[/latex].
Try It
Factor [latex]49{x}^{2}-14x+1[/latex].
Show Solution
[latex]{\left(7x - 1\right)}^{2}[/latex]
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.
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 [latex]\left(a+b\right)\left(a-b\right)[/latex].
Example: Factoring a Difference of Squares
Factor [latex]9{x}^{2}-25[/latex].
Show Solution
Notice that [latex]9{x}^{2}[/latex] and [latex]25[/latex] are perfect squares because [latex]9{x}^{2}={\left(3x\right)}^{2}[/latex] and [latex]25={5}^{2}[/latex]. The polynomial represents a difference of squares and can be rewritten as [latex]\left(3x+5\right)\left(3x - 5\right)[/latex].
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.
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.
The sign of the first 2 is the same as the sign between [latex]{x}^{3}-{2}^{3}[/latex]. The sign of the [latex]2x[/latex] term is opposite the sign between [latex]{x}^{3}-{2}^{3}[/latex]. And the sign of the last term, 4, is always positive.
How To: Given a sum of cubes or difference of cubes, factor it
Confirm that the first and last term are cubes, [latex]{a}^{3}+{b}^{3}[/latex] or [latex]{a}^{3}-{b}^{3}[/latex].
For a sum of cubes, write the factored form as [latex]\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right)[/latex]. For a difference of cubes, write the factored form as [latex]\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right)[/latex].
Example: Factoring a Sum of Cubes
Factor [latex]{x}^{3}+512[/latex].
Show Solution
Notice that [latex]{x}^{3}[/latex] and [latex]512[/latex] are cubes because [latex]{8}^{3}=512[/latex]. Rewrite the sum of cubes as [latex]\left(x+8\right)\left({x}^{2}-8x+64\right)[/latex].
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 [latex]216{a}^{3}+{b}^{3}[/latex].
Notice that [latex]8{x}^{3}[/latex] and [latex]125[/latex] are cubes because [latex]8{x}^{3}={\left(2x\right)}^{3}[/latex] and [latex]125={5}^{3}[/latex]. Write the difference of cubes as [latex]\left(2x - 5\right)\left(4{x}^{2}+10x+25\right)[/latex].
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: [latex]1,000{x}^{3}-1[/latex].
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 [latex]x^4+3x^2+2[/latex].
Show Solution
This looks a lot like a trinomial that we know how to factor: [latex]x^2+3x+2=(x+2)(x+1)[/latex]. The only thing different is the exponents.
If we substitute [latex]u=x^2[/latex] and recognize that [latex]u^2=(x^2)^2=x^4[/latex], we may be able to factor this beast!
Everywhere there is a [latex]x^2[/latex] we will replace it with a [latex]u[/latex] then factor.
[latex]u^2+3u+2=(u+1)(u+2)[/latex]
We are not quite done yet. We want to factor the original polynomial which had [latex]x[/latex] as its variable, so we need to replace [latex]x^2=u[/latex] now that we are done factoring.
[latex](u+1)(u+2)=(x^2+1)(x^2+2)[/latex]
We conclude that [latex]x^4+3x^2+2=(x^2+1)(x^2+2)[/latex].
Try It
Example
Factor [latex]x^4-81[/latex].
Show Solution
This looks a lot like a difference of squares that we know how to factor: [latex]x^2-81=(x+9)(x-9)[/latex]. The only thing different is the exponents.
If we substitute [latex]u=x^2[/latex] and recognize that [latex]u^2=(x^2)^2=x^4[/latex], we will be able to factor.
Everywhere there is a [latex]x^2[/latex] we will replace it with a [latex]u[/latex] then factor.
[latex]u^2-81=(u+9)(u-9)[/latex]
We are not quite done yet. We want to factor the original polynomial which had [latex]x[/latex] as its variable, so we need to replace [latex]x^2=u[/latex].
[latex](u+9)(u-9)=(x^2+9)(x^2-9)[/latex]
However, this is not fully factored. We notice that [latex]x^2-9[/latex] can be factored into [latex](x+3)(x-3)[/latex]. You always want to factor as much as possible.
Therefore, we conclude that [latex]x^4-81=(x^2+9)(x+3)(x-3)[/latex].
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 [latex]6m^2k-3mk-3k[/latex] 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 [latex]3k[/latex].
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 [latex]2\cdot{-1}=-2[/latex] that sum to [latex]-1[/latex]
Factors of [latex]2\cdot-1=-2[/latex]
Sum of Factors
[latex]2,-1[/latex]
[latex]1[/latex]
[latex]-2,1[/latex]
[latex]-1[/latex]
Our factors are [latex]-2,1[/latex] which will allow us to factor by grouping:
Rewrite the middle term with the factors we found:
[latex](2m^2-m-1)=2m^2-2m+m-1[/latex]
Regroup and find the GCF of each group:
[latex](2m^2-2m)+(m-1)=2m(m-1)+1(m-1)[/latex]
Now factor [latex](m-1)[/latex] from each term:
[latex]2m^2-m-1=(m-1)(2m+1)[/latex]
Do not forget the original GCF that we factored out! Our final factored form is:
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 [latex]2[/latex].
Factor [latex]2[/latex] from the binomial:
[latex]2(x^4-72x^2+1296)[/latex]
We are left with a trinomial that can be factored using perfect squares. Notice that [latex]x^4=(x^2)^2[/latex] and [latex](36)^2=1296[/latex]. Also notice that the middle term, [latex]-72x^2[/latex], of the trinomial is equal to [latex]-2[/latex] times the product of [latex]x^2[/latex] and [latex]36[/latex]. Therefore, [latex]-2 \cdot x^2 \cdot 36=-72x^2[/latex]. We can conclude that the trinomial [latex]x^4-72x^2+1296[/latex] is a perfect square trinomial.
Since the middle term is negative, use the formula [latex]A^2-2AB+B^2=(A-B)^2[/latex] to factor the perfect square trinomial.
[latex]x^4-72x^2+1296=(x^2)^2-2 \cdot x^2 \cdot 36+(36)^2=(x^2-36)^2[/latex].
Notice that [latex]x^2-36[/latex] is a difference of two squares. We can factor this into [latex](x+6)(x-6)[/latex]. Since this is squared, then [latex](x^2-36)^2=[(x+6)(x-6)]^2=(x+6)^2(x-6)^2[/latex].
Putting this all together, [latex]2x^4-144x^2+2592=2(x+6)^2(x-6)^2[/latex].
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 [latex]2x^{14}[/latex].
Factor [latex]2x^{14}[/latex] from the binomial:
[latex]2x^{14}(27x^3+1)[/latex]
We are left with a binomial that can be factored using the sum of cubes. Notice that [latex]27x^3[/latex] and 1 are cubes because [latex]27x^3=(3x)^3[/latex] and [latex]1=1^3[/latex]. Therefore, [latex]27x^3+1=(3x+1)(9x^2-3x+1)[/latex]
Our final answer must include the original GCF we already factored out: [latex]2x^{14}(3x+1)(9x^2-3x+1)[/latex]
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.