Factor Special Products
We have seen that some binomials and trinomials result from special products—squaring binomials and multiplying conjugates. If you learn to recognize these kinds of polynomials, you can use the special products patterns to factor them much more quickly.
Factor perfect square trinomials
Some trinomials are perfect squares. They result from multiplying a binomial times itself. We squared a binomial using the Binomial Squares pattern in a previous chapter. For example,
The trinomial is called a perfect square trinomial. It is the square of the binomial . In this chapter, you will start with a perfect square trinomial and factor it into its prime factors.
You could factor this trinomial using the methods described in the last section, since it is of the form . But if you recognize that the first and last terms are squares and the trinomial fits the perfect square trinomials pattern, you will save yourself a lot of work. Here is the pattern—the reverse of the binomial squares pattern.
Perfect Square Trinomials Pattern. If and are real numbers,
To make use of this pattern, you have to recognize that a given trinomial fits it. Check first to see if the leading coefficient is a perfect square, . Next check to see if the last term is a perfect square, . Then check the middle term—is it the product, ? If everything checks, you can easily write the factors.
How to factor perfect square trinomials
Example. Factor .
The first term is a perfect square, , and the last term is a perfect square, . The middle term is twice the product of and :
The trinomial fits the pattern , so
Check by multiplying:
Factor: .
Write the first and last terms as squares, then check the middle term.Factor: .
The square roots of the first and last terms are and .The sign of the middle term determines which pattern we will use. When the middle term is negative, we use the pattern , which factors to .
Factor perfect square trinomials.
- Does the trinomial fit the pattern or ? Write the first and last terms as squares and check whether the middle term is .
- Write the square of the binomial, or .
- Check by multiplying.
Example. Factor .
The first and last terms are squares. The middle term is negative, so the binomial square would be .
Check:
Factor: .
The square roots of the first and last terms are and .Factor: .
Check that .The next example is a perfect square trinomial with two variables.
Example. Factor .
Test each term to verify the pattern:
Check by multiplying:
Factor: .
Write the first and last terms as squares.Factor: .
Check whether .Remember, the first step in factoring is to look for a greatest common factor. Perfect square trinomials may have a GCF in all three terms and it should be factored out first. Sometimes, once the GCF has been factored, you will recognize a perfect square trinomial.
Example. Factor .
Remember: keep the factor in the final product. Multiplying verifies that .
Factor completely: .
First factor out the GCF .Factor completely: .
First factor out the GCF .Factor differences of squares
The other special product you saw in the previous chapter was the Product of Conjugates pattern. You used this to multiply two binomials that were conjugates. For example,
A difference of squares factors to a product of conjugates.
Difference of Squares Pattern. If and are real numbers,
Remember, “difference” refers to subtraction. So, to use this pattern you must make sure you have a binomial in which two squares are being subtracted.
How to factor a binomial using the difference of squares
Example. Factor .
The binomial is a difference and both terms are perfect squares. Write them as squares, then write the product of conjugates:
Multiplying the conjugates gives , which checks the result.
Factor: .
Write the terms as and .Factor: .
A difference of squares factors as a product of conjugates.Factor differences of squares.
- Does the binomial fit the pattern ? It must be a difference, and the first and last terms must be perfect squares.
- Write them as squares, .
- Write the product of conjugates, .
- Check by multiplying.
It is important to remember that sums of squares do not factor into a product of binomials. There are no binomial factors that multiply together to get a sum of squares. After removing any GCF, the expression is prime. The next example shows variables in both terms.
Example. Factor .
Check by multiplying the conjugates.
Factor: .
The square roots are and .Factor: .
Write each term as a square.As always, you should look for a common factor first. Sometimes a common factor may “disguise” the difference of squares and you won’t recognize the perfect squares until you factor the GCF. Also, to completely factor the binomial in the next example, we’ll factor a difference of squares twice!
Example. Factor .
The last factor, the sum of squares, cannot be factored. Multiplication checks that the result is .
Factor completely: .
Factor out , then factor a difference of squares twice.Factor completely: .
Factor out , then factor twice.The next example has a polynomial with four terms. So far, when this occurred we grouped the terms in twos and factored from there. Here we will notice that the first three terms form a perfect square trinomial.
Example. Factor .
Factor the first three terms using the perfect square trinomial pattern, then factor the resulting difference of squares:
You may want to rewrite the solution as .
Factor: .
The first three terms form .Factor: .
Rewrite as .Factor sums and differences of cubes
There is another special pattern for factoring, one that we did not use when we multiplied polynomials. This is the pattern for the sum and difference of cubes. We will write these formulas first and then check them by multiplication.
We’ll check the first pattern and leave the second to you. Distributing and combining like terms gives
Sum and Difference of Cubes Pattern.
The two patterns look very similar, don’t they? But notice the signs in the factors. The sign of the binomial factor matches the sign in the original binomial. And the sign of the middle term of the trinomial factor is the opposite of the sign in the original binomial. If you recognize the pattern of the signs, it may help you memorize the patterns. The trinomial factor in the sum and difference of cubes pattern cannot be factored.
It will be very helpful if you learn to recognize the cubes of the integers from 1 to 10, just like you have learned to recognize squares.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 8 | 27 | 64 | 125 | 216 | 343 | 512 | 729 | 1000 |
How to factor the sum or difference of cubes
Example. Factor .
This is a sum, and both terms are perfect cubes. Write and use the sum of cubes pattern:
The expression inside the parentheses is already simplified. Multiplying the factors checks the result.
Factor: .
Write as and use the sum of cubes pattern.Factor: .
Write as .Factor the sum or difference of cubes.
- Does the binomial fit the sum or difference of cubes pattern? It must be a sum or difference, and the first and last terms must be perfect cubes.
- Write the terms as cubes.
- Use either the sum or difference of cubes pattern.
- Simplify inside the parentheses.
- Check by multiplying the factors.
Example. Factor .
This binomial is a difference. The first and last terms are perfect cubes:
Factor: .
Write the terms as and .Factor: .
First factor out the GCF , leaving .In the next example, we first factor out the GCF. Then we can recognize the sum of cubes.
Example. Factor .
To check, you may find it easier to multiply the sum of cubes factors first, then multiply that product by . We’ll leave the multiplication for you.
Factor: .
First factor out ; then recognize .Factor: .
First factor out ; the remaining terms are and .The first term in the next example is a binomial cubed.
Example. Factor .
This binomial is a difference. The first and last terms are perfect cubes:
We’ll leave the check by multiplying to you.
Factor: .
Use and in the difference of cubes pattern.Factor: .
Use and in the difference of cubes pattern.Key terms
perfect square trinomial — a trinomial that is the square of a binomial. difference of squares — a binomial of the form , which factors as a product of conjugates. sum of cubes — a binomial of the form . difference of cubes — a binomial of the form .
This section is adapted from Intermediate Algebra 2e, Section 6.3: Factor Special Products by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: reformatted the worked-example tables as accessible aligned math, omitted the Be Prepared quiz, media links, and end-of-section exercises, and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.