Find the Greatest Common Factor of Two or More Expressions
Earlier we multiplied factors together to get a product. Now, we will be reversing this process; we will start with a product and then break it down into its factors. Splitting a product into factors is called factoring.
In The Language of Algebra we factored 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.
Definition: Greatest Common Factor
The greatest common factor (GCF) of two or more expressions is the largest expression that is a factor of all the expressions.
First we will find the greatest common factor of two numbers
Example \(\PageIndex{1}\):
Find the greatest common factor of 24 and 36.
Solution
Step 1: Factor each coefficient into primes. Write all variables with exponents in expanded form. |
Factor 24 and 36. |
|
Step 2: List all factors—matching common factors in a column. |
|
|
In each column, circle the common factors. |
Circle the 2, 2, and 3 that are shared by both numbers. |
|
Step 3: Bring down the common factors that all expressions share. |
Bring down the 2, 2, 3 and then multiply. |
|
Step 4: Multiply the factors. |
|
The GCF of 24 and 36 is 12. |
Notice that since the GCF is a factor of both numbers, 24 and 36 can be written as multiples of 12.
\[\begin{split} 24 &= 12 \cdot 2 \\ 36 &= 12 \cdot 3 \end{split}\]
Exercise \(\PageIndex{1}\):
Find the greatest common factor: 54, 36.
- Answer
-
18
Exercise \(\PageIndex{2}\):
Find the greatest common factor: 48, 80.
- Answer
-
16
In the previous example, we found the greatest common factor of constants. The greatest common factor of an algebraic expression can contain variables raised to powers along with coefficients. We summarize the steps we use to find the greatest common factor.
HOW TO: FIND THE GREATEST COMMON FACTOR
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.
Example \(\PageIndex{2}\):
Find the greatest common factor of 5x and 15.
Solution
Factor each number into primes.
Circle the common factors in each column.
Bring down the common factors.
|
|
The GCF of 5x and 15 is 5.
Exercise \(\PageIndex{3}\):
Find the greatest common factor: 7y, 14.
- Answer
-
7
Exercise \(\PageIndex{4}\):
Find the greatest common factor: 22, 11m.
- Answer
-
11
In the examples so far, the greatest common factor was a constant. In the next two examples we will get variables in the greatest common factor.
Example \(\PageIndex{3}\):
Find the greatest common factor of 12x2 and 18x3.
Solution
Factor each coefficient into primes and write the variables with exponents in expanded form.
Circle the common factors in each column.
Bring down the common factors.
Multiply the factors.
|
|
The GCF of 12x2 and 18x3 is 6x2.
Exercise \(\PageIndex{5}\):
Find the greatest common factor: 16x2, 24x3.
- Answer
-
\(8x^2\)
Exercise \(\PageIndex{6}\):
Find the greatest common factor: 27y3, 18y4.
- Answer
-
\(9y^3\)
Example \(\PageIndex{4}\):
Find the greatest common factor of 14x3, 8x2, 10x.
Solution
Factor each coefficient into primes and write the variables with exponents in expanded form.
Circle the common factors in each column.
Bring down the common factors.
Multiply the factors.
|
|
The GCF of 14x3 and 8x2, and 10x is 2x.
Exercise \(\PageIndex{7}\):
Find the greatest common factor: 21x3, 9x2, 15x.
- Answer
-
3x
Exercise \(\PageIndex{8}\):
Find the greatest common factor: 25m4, 35m3, 20m2.
- Answer
-
\(5m^2\)
Factor the Greatest Common Factor from a Polynomial
Just like in arithmetic, where it is sometimes useful to represent a number in factored form (for example, 12 as 2 • 6 or 3 • 4), in algebra it can be useful to represent a polynomial in factored form. One way to do this is by finding the greatest common factor of all the terms. Remember that you can multiply a polynomial by a monomial as follows:
\[\begin{split} 2(x &+ 7) \quad factors \\ 2 \cdot x &+ 2 \cdot 7 \\ 2x &+ 14 \quad product \end{split}\]
Here, we will start with a product, like 2x + 14, and end with its factors, 2(x + 7). To do this we apply the Distributive Property “in reverse”.
Definition: Distributive Property
If a, b, c are real numbers, then a(b + c) = ab + ac and ab + ac = a(b + c).
The form on the left is used to multiply. The form on the right is used to factor.
So how do we use the Distributive Property to factor a polynomial? We find the GCF of all the terms and write the polynomial as a product!
Example \(\PageIndex{5}\):
Factor: 2x + 14.
Solution
Step 1: Find the GCF of all the terms of the polynomial. |
Find the GCF of 2x and 14. |
|
Step 2: Rewrite each term as a product using the GCF. |
Rewrite 2x and 14 as products of their GCF, 2.$$\begin{split} 2x &= 2 \cdot x \\ 14 &= 2 \cdot 7 \end{split}$$ |
$$\begin{split} 2x &+ 14 \\ \textcolor{red}{2} \cdot x &+ \textcolor{red}{2} \cdot 7 \end{split}$$ |
Step 3: Use the Distributive Property 'in reverse' to factor the expression. |
|
2(x + 7) |
Step 4: Check by multiplying the factors. |
Check. |
$$\begin{split} 2(x &+ 7) \\ 2 \cdot x &+ 2 \cdot 7 \\ 2x &+ 14\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{9}\):
Factor: 4x + 12.
- Answer
-
4(x + 3)
Exercise \(\PageIndex{10}\):
Factor: 6a + 24.
- Answer
-
6(a + 4)
Notice that in Example 10.84, we used the word factor as both a noun and a verb:
Noun |
7 is a factor of 14 |
Verb |
Factor 2 from 2x + 14 |
HOW TO: FACTOR THE GREATEST COMMON FACTOR FROM A POLYNOMIAL
Step 1. Find the GCF of all the terms of the polynomial.
Step 2. Rewrite each term as a product using the GCF.
Step 3. Use the Distributive Property ‘in reverse’ to factor the expression.
Step 4. Check by multiplying the factors.
Example \(\PageIndex{6}\):
Factor: 3a + 3.
Solution
|
Rewrite each term as a product using the GCF. |
$$\textcolor{red}{3} \cdot a + \textcolor{red}{3} \cdot 1$$ |
Use the Distributive Property 'in reverse' to factor the GCF. |
$$3(a+1)$$ |
Check by multiplying the factors to get the original polynomial. |
$$\begin{split} 3(a &+ 1) \\ 3 \cdot a &= 3 \cdot 1 \\ 3a &+ 3\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{11}\):
Factor: 9a + 9.
- Answer
-
9(a + 1)
Exercise \(\PageIndex{12}\):
Factor: 11x + 11.
- Answer
-
11(x + 1)
The expressions in the next example have several factors in common. Remember to write the GCF as the product of all the common factors.
Example \(\PageIndex{7}\):
Factor: 12x − 60.
|
Rewrite each term as a product using the GCF. |
$$\textcolor{red}{12} \cdot x - \textcolor{red}{12} \cdot 5$$ |
Factor the GCF. |
$$12(x-5)$$ |
Check by multiplying the factors. |
$$\begin{split} 12(x &- 5) \\ 12 \cdot x &- 12 \cdot 5 \\ 12x &- 60\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{13}\):
Factor: 11x − 44.
- Answer
-
11(x - 4)
Exercise \(\PageIndex{14}\):
Factor: 13y − 52.
- Answer
-
13(y - 4)
Now we’ll factor the greatest common factor from a trinomial. We start by finding the GCF of all three terms.
Example \(\PageIndex{8}\):
Factor: 3y2 + 6y + 9.
Solution
|
Rewrite each term as a product using the GCF. |
$$\textcolor{red}{3} \cdot y^{2} + \textcolor{red}{3} \cdot 2y + \textcolor{red}{3} \cdot 3$$ |
Factor the GCF. |
$$3(y^{2} + 2y + 3)$$ |
Check by multiplying. |
$$\begin{split} 3(y^{2} &+ 2y + 3) \\ 3 \cdot y^{2} &+ 3 \cdot 2y + 3 \cdot 3 \\ 3y^{2} &+ 6y + 9\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{15}\):
Factor: 4y2 + 8y + 12.
- Answer
-
\(4\left(y^{2}+2 y+3\right) \)
Exercise \(\PageIndex{16}\):
Factor: 6x2 + 42x − 12.
- Answer
-
\( 6\left(x^{2}+7 x-2\right) \)
In the next example, we factor a variable from a binomial.
Example \(\PageIndex{9}\):
Factor: 6x2 + 5x.
Solution
Find the GCF of 6x2 and 5x and the math that goes with it. |
|
Rewrite each term as a product. |
$$\textcolor{red}{x} \cdot 6x + \textcolor{red}{x} \cdot 5$$ |
Factor the GCF. |
$$x(6x + 5)$$ |
Check by multiplying. |
$$\begin{split} x(6x &+ 5) \\ x \cdot 6x &+ x \cdot 5 \\ 6x^{2} &+ 5x\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{17}\):
Factor: 9x2 + 7x.
- Answer
-
\( x(9x+7) \)
Exercise \(\PageIndex{18}\):
Factor: 5a2 − 12a.
- Answer
-
a(5a - 12)
When there are several common factors, as we’ll see in the next two examples, good organization and neat work helps!
Example \(\PageIndex{10}\):
Factor: 4x3 − 20x2.
Solution
|
Rewrite each term. |
$$\textcolor{red}{4x^{2}} \cdot x - \textcolor{red}{4x^{2}} \cdot 5$$ |
Factor the GCF. |
$$4x^{2} (x-5)$$ |
Check. |
$$\begin{split} 4x^{2} (x &- 5) \\ 4x^{2} \cdot x &- 4x^{2} \cdot 5 \\ 4x^{3} &- 20x^{2}\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{19}\):
Factor: 2x3 + 12x2.
- Answer
-
\( 2 x^{2}(x+6) \)
Exercise \(\PageIndex{20}\):
Factor: 6y3 − 15y2.
- Answer
-
\( 3 y^{2}(2 y-5) \)
Example \(\PageIndex{11}\):
Factor: 21y2 + 35y.
Solution
Find the GCF of 21y2 and 35y. |
|
Rewrite each term. |
$$\textcolor{red}{7y} \cdot 3y + \textcolor{red}{7y} \cdot 5$$ |
Factor the GCF. |
$$7y(3y + 5)$$ |
Exercise \(\PageIndex{21}\):
Factor: 18y2 + 63y.
- Answer
-
9y(2y + 7)
Exercise \(\PageIndex{22}\):
Factor: 32k2 + 56k.
- Answer
-
8k(4k + 7)
Example \(\PageIndex{12}\):
Factor: 14x3 + 8x2 − 10x.
Solution
Previously, we found the GCF of 14x3, 8x2, and 10x to be 2x.
Rewrite each term using the GCF, 2x. |
$$\textcolor{red}{2x} \cdot 7x^{2} + \textcolor{red}{2x} \cdot 4x - \textcolor{red}{2x} \cdot 5$$ |
Factor the GCF. |
$$2x(7x^{2} + 4x - 5)$$ |
Check. |
$$\begin{split} 2x(7x^{2} &+ 4x - 5) \\ 2x \cdot 7x^{2} &+ 2x \cdot 4x - 2x \cdot 5 \\ 14x^{3} &+ 8x^{2} - 10x\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{23}\):
Factor: 18y3 − 6y2 − 24y.
- Answer
-
\(6 y\left(3 y^{2}-y-4\right)\)
Exercise \(\PageIndex{24}\):
Factor: 16x3 + 8x2 − 12x.
- Answer
-
\(4 x\left(4 x^{2}+2 x-3\right)\)
When the leading coefficient, the coefficient of the first term, is negative, we factor the negative out as part of the GCF.
Example \(\PageIndex{13}\):
Factor: −9y − 27.
Solution
When the leading coefficient is negative, the GCF will be negative. Ignoring the signs of the terms, we first find the GCF of 9y and 27 is 9. |
|
Since the expression −9y − 27 has a negative leading coefficient, we use −9 as the GCF. |
|
Rewrite each term using the GCF. |
$$\textcolor{red}{-9} \cdot y + (\textcolor{red}{-9}) \cdot 3$$ |
Factor the GCF. |
$$-9(y+3)$$ |
Check. |
$$\begin{split} -9(y &+ 3) \\ -9 \cdot y &+ (-9) \cdot 3 \\ -9y &- 27\; \checkmark \end{split}$$ |
Exercise \(\PageIndex{25}\):
Factor: −5y − 35.
- Answer
-
-5(y + 7)
Exercise \(\PageIndex{26}\):
Factor: −16z − 56.
- Answer
-
-8(2z + 7)
Pay close attention to the signs of the terms in the next example.
Example \(\PageIndex{14}\):
Factor: −4a2 + 16a.
Solution
The leading coefficient is negative, so the GCF will be negative. |
|
Since the leading coefficient is negative, the GCF is negative, −4a. |
|
Rewrite each term. |
$$\textcolor{red}{-4a} \cdot a - (\textcolor{red}{-4a}) \cdot 4$$ |
Factor the GCF. |
$$-4a(a-4)$$ |
Check on your own by multiplying. |
|
Exercise \(\PageIndex{27}\):
Factor: −7a2 + 21a.
- Answer
-
-7a(a - 3)
Exercise \(\PageIndex{28}\):
Factor: −6x2 + x.
- Answer
-
-x(6x - 1)
ACCESS ADDITIONAL ONLINE RESOURCES
Factor GCF
Factor a Binomial
Identify GCF
Self Check
(a) After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
(b) Overall, after looking at the checklist, do you think you are well-prepared for the next Chapter? Why or why not?