section 6.5 Learning Objectives
6.5: Factoring Perfect Square Trinomials and the Difference of Squares
- Factor perfect square trinomials
- Factor the difference of two squares
- Factor difference of squares by first factoring out the GCF
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.
We can use these same equations to factor any perfect square trinomial.
Perfect Square Trinomials
A perfect square trinomial can be written as the square of a binomial:
In our first example, we solve the problem two different ways to show how to use the above formulas while also demonstrating that this strategy will produce the same result as the techniques we learned earlier for factoring trinomials of this form.
Example 1
Factor [latex]x^2-14x+49[/latex].
In the previous example, note that the results do match since [latex](x-7)(x-7)=(x-7)^2[/latex]. Which way did you prefer? You may have found it easier to simply use the Product and Sum Strategy. However, as the problems become more complicated, the benefits of identifying Perfect Square Trinomials become more apparent.
The next example would have required AC-Method, where instead, we will apply our new formula.
Example 2
Factor [latex]25{x}^{2}+20x+4[/latex].
In the next example, we will show that we can use [latex]1 = 1^2[/latex] to factor a polynomial with a term equal to [latex]1[/latex].
Example 3
Factor [latex]49{x}^{2}-14x+1[/latex].
In the following video, we provide another short description of what a perfect square trinomial is and show how to factor them using a formula.
It is worth noting that these problems could also be factored using the techniques detailed in Section 6.3 (if [latex]a=1[/latex]) and Section 6.4 (if [latex]a\neq 1[/latex]). However, if we recognize that a trinomial is in the form of a perfect square trinomial, this process can serve as a nice shortcut.
We can summarize our process in the following way:
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] or [latex]{\left(a-b\right)}^{2}[/latex].
Let us look at one more example. In this one, notice that there are now two variables.
Example 4
Factor [latex]x^{2}+4xy+4y^{2}[/latex].
Difference of Squares
We would be remiss if we failed to introduce one more type of polynomial that can be factored. This polynomial can be factored into two binomials but has only two terms. Let’s start from the product of two special binomials to see the pattern.
Consider the product of the following two binomials, which are identical except for the operation: [latex]\left(x-2\right)\left(x+2\right)[/latex]. If we multiply them together, we lose the middle term that we are used to seeing as a result.
Multiply:
[latex]\begin{array}{l}\left(x-2\right)\left(x+2\right)\\\text{}\\=x^2-2x+2x-2^2\\\text{}\\=x^2-2^2\\\text{}\\=x^2-4\end{array}[/latex]
The polynomial [latex]x^2-4[/latex] is called a difference of squares because teach term is a perfect square and the operation connecting them is subtraction. A difference of squares will always factor in the following way:
Factoring the Difference of Squares
Given [latex]a^2-b^2[/latex], its factored form will be [latex]\left(a+b\right)\left(a-b\right)[/latex].
Try using the following rhyme to help you remember: “The difference of squares, factors to conjugate pairs!”
To further verify this, it is interesting to note that we could also use the techniques of the previous sections. Let’s factor [latex]x^{2}–4[/latex] by writing it as a trinomial, [latex]x^{2}+0x–4[/latex]. This is similar in format to the trinomials we have been factoring so far, so let’s use the same method.
Find the factors of [latex]a\cdot{c}[/latex] whose sum is b, in this case, 0:
Factors of [latex]−4[/latex] | Sum of the factors |
---|---|
[latex]1\cdot-4=−4[/latex] | [latex]1-4=−3[/latex] |
[latex]2\cdot−2=−4[/latex] | [latex]2-2=0[/latex] |
[latex]-1\cdot4=−4[/latex] | [latex]-1+4=3[/latex] |
2 and -2 have a sum of 0. You can use these to factor [latex]x^{2}–4[/latex]. Using the Product and Sum Method in Section 6.3, results in [latex]x^2-4=(x+2)(x-2)[/latex].
However, applying the formula given above gives us an even quicker shortcut! Let us explore this same example one more time using our difference of squares equation.
Example 5
Factor [latex]x^{2}–4[/latex].
Since order doesn’t matter with multiplication, the answer can also be written as [latex]\left(x-2\right)\left(x+2\right)[/latex].
You can check the answer by multiplying [latex]\left(x+2\right)\left(x-2\right)=x^{2}+2x–2x–4=x^{2}–4[/latex].
The following video show two more examples of factoring a difference of squares.
We can summarize the process for factoring a difference of squares with the shortcut this way:
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 6
Factor [latex]9{x}^{2}-25[/latex].
The most helpful thing for recognizing a difference of squares that can be factored with the shortcut is knowing which numbers are perfect squares, as you will see in the next example.
Example 7
Factor [latex]49{y}^{2}-144z^{2}[/latex].
And as we have seen in the previous sections, we must always be on the lookout for first factoring out a GCF.
Example 8
Factor [latex]18x^3-2x[/latex].
As we have described, there are two key components to a difference of squares, perfect squares and the difference. We explore the importance of the operation further in the “Think About It” below.
Think About It
Is there a formula to factor the sum of squares, [latex]a^2+b^2[/latex], into a product of two binomials?
Write down some ideas for how you would answer this in the box below before you look at the answer.
Summary
In all factoring problems, we first look for a common factor that can be factored out of all terms. After achieving this (if possible), we have now learned two more factoring techniques in this section.
If a trinomial is of the form of a perfect square trinomial, it factors as [latex]a^2+2ab+b^2=(a+b)^2[/latex] or [latex]a^2-2ab+b^2=(a-b)^2[/latex].
If a binomial is of the form of a difference of squares, [latex]a^2-b^2[/latex], it will factor as [latex]a^2-b^2=\left(a+b\right)\left(a-b\right)[/latex].
Candela Citations
- Screenshot: Method to the Madness. Provided by: Lumen Learning. License: CC BY: Attribution
- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- Factor Perfect Square Trinomials Using a Formula. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. Located at: https://youtu.be/UMCVGDTxxTI. License: CC BY: Attribution
- Ex: Factor a Difference of Squares. Authored by: James Sousa (Mathispower4u.com). Located at: https://youtu.be/Li9IBp5HrFA. License: CC BY: Attribution
- Unit 12: Factoring, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education. Located at: http://nrocnetwork.org/dm-opentext. License: CC BY: Attribution