Subsection Greatest Common Factors
Now we consider several techniques for factoring polynomials. The first of these is factoring out the greatest common factor (GCF).
Greatest Common Factor.
The greatest common factor (GCF) is the largest factor that divides evenly into each term of the polynomial: the largest numerical factor and the highest power of each variable.
Example 7.35.
Find the greatest common factor for \(~~4a^3b^2+6ab^3-18a^2b^4\)
Solution.
The largest integer that divides evenly into all three coefficients is \(2\text{.}\) The highest power of \(a\) is \(a^1\text{,}\) and the highest power of \(b\) is \(b^2\text{.}\) Thus, the GCF is \(2ab^2\text{.}\) Note that the exponent on each variable of \(2ab^2\) is the smallest exponent that appears on that variable among the terms of the polynomial.
QuickCheck 7.36.
The exponent on each variable of the GCF is the exponent that appears on that variable among the terms of the polynomial.
Once we have found the greatest common factor for the polynomial, we can write each term as a product of the GCF and another factor. For example, the GCF of \(~8x^2-6x~\) is \(2x\text{,}\) and we can write
\begin{equation*}
8x^2-6x = \blert{2x} \cdot 4x - \blert{2x} \cdot 3
\end{equation*}
We can then use the distributive law to write the expression on the right side as a product.
\begin{equation*}
\blert{2x} \cdot 4x - \blert{2x} \cdot 3 = \blert{2x} (4x-3)
\end{equation*}
We say that we have factored out the greatest common factor from the polynomial.
For more complicated polynomials, we can divide the GCF into each term to find the remaining factors.
Example 7.37.
Factor \(~~4a^3b^2+6ab^3-18a^2b^4\)
Solution.
The GCF for this polynomial is
\(2ab^2\text{,}\) as we saw in
Example 7.35. We factor out the GCF from each term and write the polynomial as a product,
\begin{equation*}
2ab^2(\hphantom{0000000000})
\end{equation*}
To find the factor inside parentheses, we divide each term of the polynomial by the GCF.
\begin{equation*}
\dfrac{4a^3b^2}{2ab^2}=\blert{2a^2},~~~~\dfrac{6ab^3}{2ab^2}=\blert{3b},~~~\dfrac{-18a^2b^4}{2ab^2}=\blert{-9ab^2}
\end{equation*}
We apply the distributive law to factor \(2ab^2\) from each term.
\begin{align*}
4a^3b^2+6ab^3-18a^2b^4 \amp =2ab^2\cdot \blert{2a^2}+2ab^2 \cdot \blert{3b-}2ab^2 \cdot \blert{9ab^2}\\
\amp = 2ab^2(2a^2+3b-9ab^2)
\end{align*}
Look Closer.
Sometimes the greatest common factor for a polynomial is not a monomial, but may instead have two or more terms.
Example 7.38.
Factor \(~~x^2(2x+1)-3(2x+1)\)
Solution.
The given expression has two terms, and \((2x+1)\) is a factor of each. We factor out the entire binomial \(~(2x+1)\text{.}\)
\begin{equation*}
x^2\blert{(2x+1)}-3\blert{(2x+1)} = \blert{(2x+1)} (x^2-3)
\end{equation*}
Subsection Factoring Quadratic Trinomials by Guess-and-Check
So far, we can factor quadratic trinomials of the form \(x^2+bx+c=0\text{,}\) where \(a=1\text{.}\) Recall that the factored form of \(~x^2+bx+c=0~\) looks like
\begin{equation*}
(x+p)(x+q)~~~~~~ \text{where}~~~pq=c ~~~ \text{and} ~~~p+q=b
\end{equation*}
You may want to review the FOIL method discussed in
Lesson 6.3.
What if the coefficient of \(a\) is not 1? Sometimes, if the coefficients are small, we can factor a quadratic expression by the guess-and-check method.
Example 7.39.
Factor \(~~2x^2-7x+3~\) into a product of two binomials.
Solution.
We begin by factoring the quadratic term, \(~2x^2\text{,}\) which can only be factored as \(x\) times \(2x\text{,}\) so we can fill in the First terms in each binomial.
\begin{equation*}
2x^2-7x+3 = (2x~\fillinmath{XXXX})(x~\fillinmath{XXXX})
\end{equation*}
Next, we factor the constant term, \(3\text{,}\) which can only be factored as \(3\) times \(1\text{.}\) Because the linear term is negative, we make both factors negative: \(3=-3(-1)\text{.}\) Finally, we have to decide which number appears as the Last term in each binomial. We check \(O+I\) for each possibility.
\begin{align*}
(2x-3)(x-1)~~~~O+I \amp = -2x-3x=-5x\\
(2x-1)(x-3)~~~~\blert{O+I} \amp \blert{= -6x-x=-7x}
\end{align*}
The second choice gives the correct middle term, so the factorization is
\begin{equation*}
2x^2-7x+3 = (2x-1)(x-3)
\end{equation*}
QuickCheck 7.40.
When we factor a quadratic trinomial by the guess-and-check method, how do we check for the correct middle term?
Answer.
We compute \(O+I\text{.}\)
Remember that you can always check your factorization by multiplying the factors together.
Subsection Quadratic Trinomials in Two Variables
So far, we have factored quadratic trinomials in one variable, that is, polynomials of the form
\begin{equation*}
ax^2+bx+c
\end{equation*}
The method we learned can also be used to factor trinomials in two variables of the form
\begin{equation*}
ax^2+bxy+cy^2
\end{equation*}
In this expression, the first and last terms are quadratic terms, while the middle term is a cross-term consisting of the product of the two variables.
Example 7.41.
Factor \(~x^2+5xy+6y^2~\)
Solution.
As usual, we begin by factoring the first term into \(x\) times \(x\text{.}\)
\begin{equation*}
x^2+5xy+6y^2 = (x + \fillinmath{XXX})(x + \fillinmath{XXX})
\end{equation*}
Next we look for factors of the last term, \(6y^2\text{.}\) In order to obtain the \(xy\)-term in the middle, we need a \(y\) in each factor. Thus the possibilities are
\begin{equation*}
y~~\text{and}~~6y~~~~~~~~\text{or}~~~~~~~~2y~~\text{and}~~3y
\end{equation*}
We’ll check the sum \(O+I\) for each possibility.
\begin{align*}
(x+y)(x+6y)~~~~O+I \amp = 6xy+xy=7xy\\
(x+2y)(x+3y)~~~~\blert{O+I} \amp \blert{= 3xy+2xy=5xy}
\end{align*}
The second possibility gives the correct middle term, so the factorization is
\begin{equation*}
x^2+5xy+6y^2 = (x+2y)(x+3y)
\end{equation*}
Subsection \(\blert{\text{Optional Extension: The Box Method}}\)
If the coefficients in a quadratic trinomial \(~ax^2+bx+c~\) are not prime numbers, the guess-and-check method may be time-consuming. In that case, we can use another technique that depends upon the following property of binomial products.
Example 7.44.
Compute the product \((3t+2)(t+3)\) using the area of a rectangle.
Verify that the products of the diagonal entries are equal.
Solution.
-
We construct a rectangle with sides \(3t+2\) and \(t+3\text{,}\) as shown below. We see that the product of the two binomials is
\(3t^2+9t+2t+6=3t^2+11t+6\)
|
\(~~~~~t~~~~~\) |
\(~~~~3~~~~~\) |
| \(3t\) |
\(3t^2\) |
\(9t\) |
| \(2\) |
\(2t\) |
\(6\) |
Now let’s compute the product of the expressions along each diagonal of the rectangle:
\begin{equation*}
3t^2 \cdot 6 = 18t^2~~~~~~\text{and}~~~~~~9t \cdot 2t = 18t^2
\end{equation*}
The two products are equal. This is not surprising when you think about it, because each diagonal product is the product of all four terms of the binomials, namely \(3t,~2,~t,\) and \(3\text{,}\) just multiplied in a different order. You can see where the diagonal entries came from in our example:
\begin{align*}
18t^2 \amp = 3t^2 \cdot 6 =3t \cdot t \cdot 2 \cdot 3\\
18t^2 \amp = 9t \cdot 2t =3t \cdot 3 \cdot 2 \cdot t
\end{align*}
Product of Binomials.
When we represent the product of two binomials by the area of a rectangle, the products of the entries on the two diagonals are equal.
QuickCheck 7.45.
In the previous Example, why are the products on the two diagonals equal?
Answer.
Each is the product of all four terms of the binomials.
Look Ahead.
We can use rectangles to help us factor quadratic trinomials. Recall that factoring is the opposite or reverse of multiplying, so we must first understand how multiplication works.
Look Closer.
Look carefully at the rectangle for the product
\begin{equation*}
(3x+4)(x+2)=3x^2+10x+8
\end{equation*}
Shown at right.
|
\(~~~~~x~~~~~\) |
\(~~~~2~~~~~\) |
| \(3x\) |
\(3x^2\) |
\(6x\) |
| \(4\) |
\(4x\) |
\(8\) |
The quadratic term of the product, \(3x^2\text{,}\) appears in the upper left sub-rectangle.
The constant term of the product, 8, appears in the lower right sub-rectangle.
The linear term, \(10x\text{,}\) is the sum of the other two sub-rectangles.
Subsection Factoring Quadratic Trinomials by the Box Method
Now we’ll factor the trinomial
\begin{equation*}
3x^2+10x+8
\end{equation*}
We’ll try to reverse the steps for multiplication. Instead of starting with the factors on the outside of the rectangle, we begin by filling in the areas of the sub-rectangles.
\(\blert{\text{Step 1}~~}\) The quadratic term, goes in the upper left, and the constant term, 8, goes in the lower right, as shown in the figure.
|
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
| \(\hphantom{0000}\) |
\(3x^2\) |
\(\hphantom{0000}\) |
| \(\hphantom{0000}\) |
\(\hphantom{0000}\) |
\(8\) |
What about the other two entries? We know that their sum must be \(10x\text{,}\) but we don’t know what expressions go in each! This is where we use our observation that the products on the two diagonals are equal.
\(\blert{\text{Step 2}~~}\) We compute the product of the entries on the first diagonal:
\begin{equation*}
D=3x^2 \cdot 8 = 24x^2
\end{equation*}
The product of the entries on the other diagonal must also be \(24x^2\text{.}\) We now know two things about those entries:
\begin{align*}
\amp \text {1. Their product is}~~24x^2~~\text{and}\\
\amp \text {2. Their sum is}~~10x
\end{align*}
\(\blert{\text{Step 3}~~}\) To find the two unknown entries, we list all the ways to factor \(D=24x^2\text{,}\) then choose the factors whose sum is \(10x\text{.}\)
| Factors of |
\(D=24x^2\) |
\(\hphantom{0000}\)Sum of Factors |
| \(x\) |
\(24x\) |
\(\hphantom{0000}x+24x=25x\) |
| \(2x\) |
\(12x\) |
\(\hphantom{0000}2x+12x=24x\) |
| \(3x\) |
\(8x\) |
\(\hphantom{0000}3x+8x=11x\) |
| \(\blert{4x}\) |
\(\blert{6x}\) |
\(\hphantom{0000}\blert{4x+6x=10x}\) |
\(\blert{\text{Step 4}~~}\) We see that the last pair of factors, \(4x\) and \(6x\text{,}\) has a sum of \(10x\text{.}\) We enter these factors in the remaining sub-rectangles. (It doesn’t matter which one goes in which spot.) We now have all the sub-rectangles filled in, as shown at right.
|
\(\) |
\(\) |
| \(\) |
\(~~~3x^2~~~\) |
\(~~~4x~~~\) |
| \(\) |
\(~~~6x~~~\) |
\(~~~8~~~\) |
Finally, we work backwards to discover what length and width produce the areas of the four subrectangles.
\(\blert{\text{Step 5}~~}\) We factor each row of the rectangle, and write the factors on the outside. Start with the top row, factoring out \(x\) and writing the result, \(~3x+4\text{,}\) at the top, as shown at right. We get the same result when we factor \(2\) from the bottom row.
The final rectangle is shown at right, and the factors of \(3x^2+10x+8\) appear as the length and width of the rectangle. Our factorization is thus
\begin{equation*}
3x^2+10x+8=(x+2)(3x+4)
\end{equation*}
|
\(3x\) |
\(4\) |
| \(x\) |
\(\hphantom{00}3x^2\hphantom{00}\) |
\(\hphantom{00}4x\hphantom{00}\) |
| \(2\) |
\(\hphantom{00}6x\hphantom{00}\) |
\(\hphantom{00}8\hphantom{00}\) |
QuickCheck 7.46.
Which terms of the quadratic trinomial go into the upper left and lower right sub-rectangles of the box?
Answer.
The quadratic and constant terms
QuickCheck 7.47.
Why do we list the possible factors of \(D\text{?}\)
Answer.
To see which sum of factors equals the linear term
Example 7.48.
Factor \(~~2x^2-11x+15\)
Solution.
\(\blert{\text{Step 1}~~}\) Enter \(2x^2\) and \(15\) on the diagonal of the rectangle, as shown in the figure.
|
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
| \(\hphantom{0000}\) |
\(2x^2\) |
\(\hphantom{0000}\) |
| \(\hphantom{0000}\) |
\(\hphantom{0000}\) |
\(15\) |
\(\blert{\text{Step 2}~~}\) Compute the diagonal product:
\begin{equation*}
D=2x^2 \cdot 15 = 30x^2
\end{equation*}
\(\blert{\text{Step 3}~~}\) List all possible factors of \(D\text{,}\) and compute the sum of each pair of factors. (Note that both factors must be negative.)
| Factors of |
\(D=30x^2\) |
\(\hphantom{0000}\)Sum of Factors |
| \(-x\) |
\(-30x\) |
\(\hphantom{0000}-x-30x=-31x\) |
| \(-2x\) |
\(-15x\) |
\(\hphantom{0000}-2x-15x=-17x\) |
| \(-3x\) |
\(-10x\) |
\(\hphantom{0000}-3x-10x=-13x\) |
| \(\blert{-5x}\) |
\(\blert{-6x}\) |
\(\hphantom{0000}\blert{-5x-6x=-11x}\) |
The correct factors are \(-5x\) and \(-6x\text{.}\)
\(\blert{\text{Step 4}~~}\) Enter the factors \(-5x\) and \(-6x\) into the rectangle.
|
\(\hphantom{0000}\) |
\(\hphantom{0000}\) |
| \(\hphantom{0000}\) |
\(~~~2x^2~~~\) |
\(~~~-6x~~~\) |
| \(\hphantom{0000}\) |
\(~~~-5x~~~\) |
\(~~~15~~~\) |
\(\blert{\text{Step 5}~~}\) Factor \(2x\) from the top row of the rectangle, and write the result, \(x-3\text{,}\) at the top, as shown below.
|
\(x\) |
\(-3\) |
| \(2x\) |
\(~~~2x^2~~~\) |
\(~~~-6x~~~\) |
| \(\hphantom{00}\) |
\(~~~-5x~~~\) |
\(~~~15~~~\) |
|
\(x\) |
\(-3\) |
| \(2x\) |
\(~~~2x^2~~~\) |
\(~~~-6x~~~\) |
| \(-5\) |
\(~~~-5x~~~\) |
\(~~~15~~~\) |
Finally, factor \(5\) from the bottom row, and write it on the left. The correct factorization is
\begin{equation*}
2x^2-11x+15=(2x-5)(x-3)
\end{equation*}
QuickCheck 7.49.
What do we do after we have filled in all the sub-rectangles of the box?
QuickCheck 7.50.
Where do the factors of the quadratic trinomial appear?
Answer.
As the length and width of the rectangle
Here is a summary of our factoring method.
To Factor \(~ax^2+bx+c~\) Using the Box Method.
Write the quadratic term \(ax^2\) in the upper left sub-rectangle, and the constant term \(c\) in the lower right.
Multiply these two terms to find the diagonal product, \(D\text{.}\)
List all possible factors \(px\) and \(qx\) of \(D\text{,}\) and choose the pair whose sum is the linear term, \(bx\text{,}\) of the quadratic trinomial.
Write the factors \(px\) and \(qx\) in the remaining sub-rectangles.
Factor each row of the rectangle, writing the factors on the outside. These are the factors of the quadratic trinomial.
Skills Warm-Up 7.51.
-
Mental exercise: Find the other factor of each quadratic trinomial without using pencil, paper, or calculator.
\(\displaystyle b^2+8b-240 = (b-12)(\fillinmath{XXXX})\)
\(\displaystyle n^2-97n-300 = (n-100)(\fillinmath{XXXX})\)
\(\displaystyle 3u^2-17u-6 = (u-6)(\fillinmath{XXXX})\)
\(\displaystyle 2t^2-21t+54 = (t-6)(\fillinmath{XXXX})\)
-
\(\blert{\text{(Optional)}~~}\) Use the given areas to find the length and width of each rectangle.
| \(~~6x^2~~\) |
\(~~9x~~\) |
| \(~~10x~~\) |
\(~~15~~\) |
| \(~~8t^2~~\) |
\(~~-14t~~\) |
| \(~~-12t~~\) |
\(~~21~~\) |
| \(~~12m^2~~\) |
\(~~-10m~~\) |
| \(~~30m~~\) |
\(~~-25~~\) |
| \(~~9a^2~~\) |
\(~~21a~~\) |
| \(~~-21a~~\) |
\(~~-49~~\) |
Answer.
\(\displaystyle b+20\)
\(\displaystyle n+3\)
\(\displaystyle 3u+1\)
\(\displaystyle 2t-9\)
\(\displaystyle 3x+5,~2x+3\)
\(\displaystyle 2t-3,~4t-7\)
\(\displaystyle 2m+5,~6m-5\)
\(\displaystyle 3a-7,~3a+7\)