Factoring Polynomials
Factoring Polynomials
FACTORING POLYNOMIALS
Scientists use factoring to calculate growth rates of infectious diseases such as viruses. (credit: “FotoshopTofs” / Pixabay)
Chapter Outline
Greatest Common Factor and Factor by Grouping
Factor Trinomials
Factor Special Products
General Strategy for Factoring Polynomials
Polynomial Equations
Introduction
An epidemic of a disease has broken out. Where did it start? How is it spreading? What can be done to control it? Answers
to these and other questions can be found by scientists known as epidemiologists. They collect data and analyze it to study
disease and consider possible control measures. Because diseases can spread at alarming rates, these scientists must use
their knowledge of mathematics involving factoring. In this chapter, you will learn how to factor and apply factoring to
real-life situations.
6.1
Greatest Common Factor and Factor by Grouping
Learning Objectives
By the end of this section, you will be able to:
Find the greatest common factor of two or more expressions
Factor the greatest common factor from a polynomial
Factor by grouping
Be Prepared!
We have learned how to factor numbers to find the least common multiple (LCM) of two or more numbers. Now we will
factor expressions and find the greatest common factor of two or more expressions. The method we use is similar to
what we used to find the LCM.
The greatest common factor (GCF) of two or more expressions is the largest expression that is a factor of all the
expressions.
Step 1. Factor each coefficient into primes. Write all variables with exponents in expanded form.
Step 2. List all factors—matching common factors in a column. In each column, circle the common
factors.
Step 3. Bring down the common factors that all expressions share.
Step 4. Multiply the factors.
The next example will show us the steps to find the greatest common factor of three expressions.
EXAMPLE 6.1
TRY IT : : 6.1 Find the greatest common factor: 25m 4, 35m 3, 20m 2.
TRY IT : : 6.2 Find the greatest common factor: 14x 3, 70x 2, 105x.
its factors, 3x(x + 5). To do this we apply the Distributive Property “in reverse.”
We state the Distributive Property here just as you saw it in earlier chapters and “in reverse.”
Distributive Property
So how do you use the Distributive Property to factor a polynomial? You just find the GCF of all the terms and write the
polynomial as a product!
EXAMPLE 6.3
Factor: 5x 3 − 25x 2.
Solution
Check:
5x 2(x − 5)
5x 2 · x − 5x 2 · 5
5x 3 − 25x 2 ✓
EXAMPLE 6.4
Solution
Check:
When the leading coefficient is negative, we factor the negative out as part of the GCF.
EXAMPLE 6.5
Check:
−4a⎛⎝a 2 − 9a + 2⎞⎠
−4a · a 2 − (−4a) · 9a + (−4a) · 2
−4a 3 + 36a 2 − 8a ✓
So far our greatest common factors have been monomials. In the next example, the greatest common factor is a binomial.
EXAMPLE 6.6
Factor by Grouping
Sometimes there is no common factor of all the terms of a polynomial. When there are four terms we separate the
polynomial into two parts with two terms in each part. Then look for the GCF in each part. If the polynomial can be
factored, you will find a common factor emerges from both parts. Not all polynomials can be factored. Just like some
numbers are prime, some polynomials are prime.
Factor by grouping: xy + 3y + 2x + 6.
Solution
EXAMPLE 6.8
Factor by grouping: ⓐ x 2 + 3x − 2x − 6 ⓑ 6x 2 − 3x − 4x + 2.
Solution
ⓐ
There is no GCF in all four terms. x 2 + 3x − 2x − 6
Separate into two parts. x 2 + 3x −2x − 6
Factor the GCF from both parts. Be careful
with the signs when factoring the GCF from x(x + 3) − 2(x + 3)
the last two terms.
Factor out the common factor. (x + 3)(x − 2)
Check on your own by multiplying.
ⓑ
There is no GCF in all four terms. 6x 2 − 3x − 4x + 2
Separate into two parts. 6x 2 − 3x −4x + 2
Factor the GCF from both parts. 3x(2x − 1) − 2(2x − 1)
Factor out the common factor. (2x − 1)(3x − 2)
Check on your own by multiplying.
6.1 EXERCISES
Practice Makes Perfect
Find the Greatest Common Factor of Two or More Expressions
In the following exercises, find the greatest common factor.
Factor by Grouping
In the following exercises, factor by grouping.
37. ab + 5a + 3b + 15 39. 8y 2 + y + 40y + 5
43. u 2 − u + 6u − 6 45. 9p 2 − 3p − 20
49. 2x 2 − 14x − 5x + 35
6.2
Factor Trinomials
Learning Objectives
By the end of this section, you will be able to:
Be Prepared!
To figure out how we would factor a trinomial of the form x 2 + bx + c, such as x 2 + 5x + 6 and factor it to
(x + 2)(x + 3), let’s start with two general binomials of the form (x + m) and (x + n).
This tells us that to factor a trinomial of the form x 2 + bx + c, we need two factors (x + m) and (x + n) where the two
numbers m and n multiply to c and add to b.
Step 1.
Write the factors as two binomials with first terms x.
x 2 + bx + c
(x )(x )
Step 2. Find two numbers m and n that
◦ multiply to c, m · n = c
◦ add to b, m + n = b
Step 3. Use m and n as the last terms of the factors. (x + m)(x + n)
Step 4. Check by multiplying the factors.
In the first example, all terms in the trinomial were positive. What happens when there are negative terms? Well, it
depends which term is negative. Let’s look first at trinomials with only the middle term negative.
How do you get a positive product and a negative sum? We use two negative numbers.
EXAMPLE 6.10
Solution
Again, with the positive last term, 28, and the negative middle term, −11y, we need two negative factors. Find two
numbers that multiply 28 and add to −11.
y 2 − 11y + 28
Write the factors as two binomials with fir t terms y. (y )(y )
Find two numbers that: multiply to 28 and add to −11.
⎛
Use −4, −7 as the last terms of the binomials. y − 4⎞⎠⎛⎝y − 7⎞⎠
⎝
Check:
⎛ ⎞⎛ ⎞
⎝y − 4⎠⎝y − 7⎠
y 2 − 7y − 4y + 28
y 2 − 11y + 28 ✓
Now, what if the last term in the trinomial is negative? Think about FOIL. The last term is the product of the last terms
in the two binomials. A negative product results from multiplying two numbers with opposite signs. You have to be very
careful to choose factors to make sure you get the correct sign for the middle term, too.
How do you get a negative product and a positive sum? We use one positive and one negative number.
When we factor trinomials, we must have the terms written in descending order—in order from highest degree to lowest
degree.
EXAMPLE 6.11
Factor: 2x + x 2 − 48.
Solution
2x + x 2 − 48
First we put the terms in decreasing degree order. x 2 + 2x − 48
Factors will be two binomials with fir t terms x. (x )(x )
−1, 48 −1 + 48 = 47
−2, 24 −2 + 24 = 22
−3, 16 −3 + 16 = 13
−4, 12 −4 + 12 = 8
−6, 8 −6 + 8 = 2*
Sometimes you’ll need to factor trinomials of the form x 2 + bxy + cy 2 with two variables, such as x 2 + 12xy + 36y 2.
The first term, x 2, is the product of the first terms of the binomial factors, x · x. The y 2 in the last term means that
the second terms of the binomial factors must each contain y. To get the coefficients b and c, you use the same process
summarized in How To Factor trinomials.
EXAMPLE 6.12
Factor: r 2 − 8rs − 9s 2.
Solution
We need r in the first term of each binomial and s in the second term. The last term of the trinomial is negative, so the
factors must have opposite signs.
r 2 − 8rs − 9s 2
Note that the fir t terms are r, last terms contain s. (r s)(r s)
Find the numbers that multiply to −9 and add to −8.
578 Chapter 6 Factoring
1, −9 −1 + 9 = 8
3, −3 3 + (−3) = 0
Some trinomials are prime. The only way to be certain a trinomial is prime is to list all the possibilities and show that none
of them work.
EXAMPLE 6.13
Note there are no factor pairs that give us −9 as a sum. The trinomial is prime.
Let’s summarize the method we just developed to factor trinomials of the form x 2 + bx + c.
When we factor a trinomial, we look at the signs of its terms first to determine the signs of the binomial factors.
x 2 + bx + c
(x + m)(x + n)
When c is positive, m and n have the same sign.
b positive b negative
m, n positive m, n negative
x 2 + 5x + 6 x 2 − 6x + 8
(x + 2)(x + 3) (x − 4)(x − 2)
same signs same signs
When c is negative, m and n have opposite signs.
x 2 + x − 12 x 2 − 2x − 15
(x + 4)(x − 3) (x − 5)(x + 3)
opposite signs opposite signs
Notice that, in the case when m and n have opposite signs, the sign of the one with the larger absolute value matches
the sign of b.
2
Factor Trinomials of the form ax + bx + c using Trial and Error
Our next step is to factor trinomials whose leading coefficient is not 1, trinomials of the form ax 2 + bx + c.
Remember to always check for a GCF first! Sometimes, after you factor the GCF, the leading coefficient of the trinomial
becomes 1 and you can factor it by the methods we’ve used so far. Let’s do an example to see how this works.
EXAMPLE 6.14
Use a table like the one shown to find t o numbers that 4x(x − 1)(x + 5)
multiply to −5 and add to 4.
−1, 5 −1 + 5 = 4*
1, −5 1 + (−5) = −4
Check:
4x(x − 1)(x + 5)
4x(x 2 + 5x − x − 5)
4x(x 2 + 4x − 5)
4x 3 + 16x 2 − 20x ✓
580 Chapter 6 Factoring
What happens when the leading coefficient is not 1 and there is no GCF? There are several methods that can be used to
factor these trinomials. First we will use the Trial and Error method.
3x 2 + 5x + 2
( )( )
We know the first terms of the binomial factors will multiply to give us 3x 2. The only factors of 3x 2 are 1x, 3x. We can
place them in the binomials.
Check: Does 1x · 3x = 3x 2 ?
We know the last terms of the binomials will multiply to 2. Since this trinomial has all positive terms, we only need to
consider positive factors. The only factors of 2 are 1, 2. But we now have two cases to consider as it will make a difference
if we write 1, 2 or 2, 1.
Which factors are correct? To decide that, we multiply the inner and outer terms.
Since the middle term of the trinomial is 5x, the factors in the first case will work. Let’s use FOIL to check.
(x + 1)(3x + 2)
3x 2 + 2x + 3x + 2
3x 2 + 5x + 2 ✓
Our result of the factoring is:
3x 2 + 5x + 2
(x + 1)(3x + 2)
EXAMPLE 6.15 HOW TO FACTOR A TRINOMIAL USING TRIAL AND ERROR
Remember, when the middle term is negative and the last term is positive, the signs in the binomials must both be
negative.
EXAMPLE 6.16
Solution
6b 2 − 13b + 5
(b − 1)(6b − 5) 6b 2 − 11b + 5
(b − 5)(6b − 1) 6b 2 − 31b + 5
TRY IT : : 6.32 Factor completely using trial and error: 10y 2 − 37y + 7.
When we factor an expression, we always look for a greatest common factor first. If the expression does not have a
greatest common factor, there cannot be one in its factors either. This may help us eliminate some of the possible factor
combinations.
EXAMPLE 6.17
Solution
Check by multiplying:
⎛
2x − 3y)(9x − 5y⎞⎠
⎝
TRY IT : : 6.33 Factor completely using trial and error 18x 2 − 3xy − 10y 2.
TRY IT : : 6.34 Factor completely using trial and error: 30x 2 − 53xy − 21y 2.
Don’t forget to look for a GCF first and remember if the leading coefficient is negative, so is the GCF.
EXAMPLE 6.18
Solution
TRY IT : : 6.35 Factor completely using trial and error: 15n 3 − 85n 2 + 100n.
TRY IT : : 6.36 Factor completely using trial and error: 56q 3 + 320q 2 − 96q.
EXAMPLE 6.20
Solution
Factor it.
TRY IT : : 6.39 Factor using the ‘ac’ method: 16x 2 − 32x + 12.
TRY IT : : 6.40 Factor using the ‘ac’ method: 18w 2 − 39w + 18.
In the ax 2 + bx + c, the middle term has a variable, x, and its square, x 2, is the variable part of the first term. Look for
this relationship as you try to find a substitution.
EXAMPLE 6.21
Factor by substitution: x 4 − 4x 2 − 5.
Solution
The variable part of the middle term is x 2 and its square, x 4, is the variable part of the first term. (We know
⎛ 2⎞
2
⎝x ⎠ = x 4). If we let u = x 2, we can put our trinomial in the ax 2 + bx + c form we need to factor it.
Replace u with x 2.
Check:
⎛ 2
⎝x + 1⎞⎠⎛⎝x 2 − 5⎞⎠
x 4 − 5x 2 + x 2 − 5
x 4 − 4x 2 − 5 ✓
EXAMPLE 6.22
Replace u with x − 2.
This could also be factored by first multiplying out the (x − 2) 2 and the 7(x − 2) and then combining like terms and
then factoring. Most students prefer the substitution method.
6.2 EXERCISES
Practice Makes Perfect
73. 5p − 6 + p 2 75. 8 − 6x + x 2
114. 5s 2 − 9s + 4 116. 6p 2 + p − 22
127. x 4 − x 2 − 12 129. x 4 − 3x 2 − 28
Mixed Practice
In the following exercises, factor each expression using any method.
150. 4a 2 + 5a + 2 152. x 4 − 7x 2 − 8
153. (x + 3) 2 − 9(x + 3) − 36
6.3
Factor Special Products
Learning Objectives
By the end of this section, you will be able to:
Factor perfect square trinomials
Factor differences of squares
Factor sums and differences of cubes
Be Prepared!
⎛ ⎞
3
1. Simplify: ⎝3x2 .
2. Multiply: (m + 4)2.
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.
The trinomial 9x 2 + 24x + 16 is called a perfect square trinomial. It is the square of the binomial 3x + 4.
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 ax 2 + bx + c. 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.
a 2 + 2ab + b 2 = (a + b) 2
a 2 − 2ab + b 2 = (a − b) 2
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, a 2. Next check that the last term is a perfect square, b 2. Then check the middle term—is it the
product, 2ab ? If everything checks, you can easily write the factors.
Factor: 9x 2 + 12x + 4.
Solution
The sign of the middle term determines which pattern we will use. When the middle term is negative, we use the pattern
a 2 − 2ab + b 2, which factors to (a − b) 2.
The steps are summarized here.
EXAMPLE 6.24
Check by multiplying:
⎛
⎝9y − 4⎞⎠ 2
(9y) 2 − 2 · 9y · 4 + 4 2
81y 2 − 72y + 16 ✓
The next example will be a perfect square trinomial with two variables.
EXAMPLE 6.25
Factor.
Check by multiplying.
6x + 7y⎞⎠ 2
⎛
⎝
(6x) 2 + 2 · 6x · 7y + ⎛⎝7y⎞⎠ 2
36x 2 + 84xy + 49y 2 ✓
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. And, sometimes, once the GCF has been factored, you will recognize a
perfect square trinomial.
EXAMPLE 6.26
Factor.
4y(5x − 2) 2
4y⎡⎣(5x) 2 − 2 · 5x · 2 + 2 2⎤⎦
4y⎛⎝25x 2 − 20x + 4⎞⎠
100x 2 y − 80xy + 16y ✓
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.
Factor: 64y 2 − 1.
Solution
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 a 2 + b 2 is prime!
The next example shows variables in both terms.
EXAMPLE 6.28
Check by multiplying.
⎛
12x − 7y⎞⎠⎛⎝12x + 7y⎞⎠
⎝
144x 2 − 49y 2 ✓
As always, you should look for a common factor first whenever you have an expression to factor. 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 6.29
The next example has a polynomial with 4 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.
598 Chapter 6 Factoring
EXAMPLE 6.30
Factor: x 2 − 6x + 9 − y 2.
Solution
Notice that the first three terms form a perfect square trinomial.
⎛
You may want to rewrite the solution as ⎝x − y − 3⎞⎠⎛⎝x + y − 3⎞⎠.
a 3 + b 3 = (a + b)⎛⎝a 2 − ab + b 2⎞⎠
a 3 − b 3 = (a − b)⎛⎝a 2 + ab + b 2⎞⎠
We’ll check the first pattern and leave the second to you.
Distribute.
Multiply.
a 3 + b 3 = (a + b)⎛⎝a 2 − ab + b 2⎞⎠
a 3 − b 3 = (a − b)⎛⎝a 2 + ab + b 2⎞⎠
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 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. We have listed the cubes of the integers from 1 to 10 in Table 6.22.
n 1 2 3 4 5 6 7 8 9 10
Table 6.22
Factor: x 3 + 64.
Solution
Step 1. Does the binomial fit the sum or difference of cubes pattern?
Is it a sum or difference?
Are the first and last terms perfect cubes?
Step 2. Write them as cubes.
Step 3. Use either the sum or difference of cubes pattern.
Step 4. Simplify inside the parentheses.
Step 5. Check by multiplying the factors.
EXAMPLE 6.32
Simplify.
In the next example, we first factor out the GCF. Then we can recognize the sum of cubes.
EXAMPLE 6.33
Factor: 6x 3 y + 48y 4.
Solution
Simplify.
Check:
To check, you may find it easier to multiply the sum of cubes factors first, then multiply that product by 6y. We’ll leave
the multiplication for you.
EXAMPLE 6.34
Factor: (x + 5) 3 − 64x 3.
Solution
Simplify.
6.3 EXERCISES
Practice Makes Perfect
Factor Perfect Square Trinomials
In the following exercises, factor completely using the perfect square trinomials pattern.
Mixed Practice
In the following exercises, factor completely.