Learning Objectives
 Find the greatest common factor of two or more expressions
 Factor the greatest common factor from a polynomial
 Factor by grouping
Before you get started, take this readiness quiz.
Factor 56 into primes.
If you missed this problem, review Example 1.7.
Find the least common multiple of 18 and 24.
If you missed this problem, review Example 1.10.
Simplify $\mathrm{3}(6a+11)$.
If you missed this problem, review Example 1.135.
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.
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.
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’ll find the GCF of two numbers.
Example 7.1 How to Find the Greatest Common Factor of Two or More Expressions
Find the GCF of 54 and 36.
Notice that, because the GCF is a factor of both numbers, 54 and 36 can be written as multiples of 18.
Find the GCF of 48 and 80.
Find the GCF of 18 and 40.
We summarize the steps we use to find the GCF below.
How To
Find the Greatest Common Factor (GCF) of two 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.
In the first example, the GCF was a constant. In the next two examples, we will get variables in the greatest common factor.
Example 7.2
Find the greatest common factor of $27{x}^{3}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}18{x}^{4}$.
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 $27{x}^{3}$ and $18{x}^{4}$ is $9{x}^{3}.$ 
Find the GCF: $12{x}^{2},18{x}^{3}$.
Find the GCF: $16{y}^{2},24{y}^{3}$.
Example 7.3
Find the GCF of $4{x}^{2}y,6x{y}^{3}$.
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 $4{x}^{2}y$ and $6x{y}^{3}$ is $2\mathrm{xy}$. 
Find the GCF: $6a{b}^{4},8{a}^{2}b$.
Find the GCF: $9{m}^{5}{n}^{2},12{m}^{3}n$.
Example 7.4
Find the GCF of: $21{x}^{3},9{x}^{2},15x$.
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 $21{x}^{3}$, $9{x}^{2}$ and $15x$ is $3x.$ 
Find the greatest common factor: $25{m}^{4},35{m}^{3},20{m}^{2}$.
Find the greatest common factor: $14{x}^{3},70{x}^{2},105x$.
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\xb76\phantom{\rule{0.2em}{0ex}}\text{or}\phantom{\rule{0.2em}{0ex}}3\xb74),$ in algebra, it can be useful to represent a polynomial in factored form. One way to do this is by finding the GCF of all the terms. Remember, we multiply a polynomial by a monomial as follows:
Now we will start with a product, like $2x+14$, and end with its factors, $2\left(x+7\right)$. 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
If $a,b,c$ are real numbers, then
The form on the left is used to multiply. The form on the right is used to factor.
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 7.5 How to Factor the Greatest Common Factor from a Polynomial
Factor: $4x+12$.
Factor: $6a+24$.
Factor: $2b+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 “reverse” Distributive Property to factor the expression.
 Step 4. Check by multiplying the factors.
Factor as a Noun and a Verb
We use “factor” as both a noun and a verb.
Example 7.6
Factor: $5a+5$.
Find the GCF of 5a and 5.  
Rewrite each term as a product using the GCF.  
Use the Distributive Property "in reverse" to factor the GCF.  
Check by mulitplying the factors to get the orginal polynomial.  
$5(a+1)$  
$5\cdot a+5\cdot 1$  
$5a+5\u2713$ 
Factor: $14x+14$.
Factor: $12p+12$.
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 7.7
Factor: $12x60$.
Find the GCF of 12x and 60.  
Rewrite each term as a product using the GCF.  
Factor the GCF.  
Check by mulitplying the factors.  
$12(x5)$  
$12\cdot x12\cdot 5$  
$12x60\u2713$ 
Factor: $18u36$.
Factor: $30y60$.
Now we’ll factor the greatest common factor from a trinomial. We start by finding the GCF of all three terms.
Example 7.8
Factor: $4{y}^{2}+24y+28$.
We start by finding the GCF of all three terms.
Find the GCF of $4{y}^{2}$, $24y$ and 28.  
Rewrite each term as a product using the GCF.  
Factor the GCF.  
Check by mulitplying.  
$4({y}^{2}+6y+7)$  
$4\cdot {y}^{2}+4\cdot 6y+4\cdot 7$  
$4{y}^{2}+24y+28\u2713$ 
Factor: $5{x}^{2}25x+15$.
Factor: $3{y}^{2}12y+27$.
Example 7.9
Factor: $5{x}^{3}25{x}^{2}$.
Find the GCF of $5{x}^{3}$ and $25{x}^{2}.$  
Rewrite each term.  
Factor the GCF.  
Check.  
$5{x}^{2}(x5)$  
$5{x}^{2}\cdot x5{x}^{2}\cdot 5$  
$5{x}^{3}25{x}^{2}\u2713$ 
Factor: $2{x}^{3}+12{x}^{2}$.
Factor: $6{y}^{3}15{y}^{2}$.
Example 7.10
Factor: $21{x}^{3}9{x}^{2}+15x$.
In a previous example we found the GCF of $21{x}^{3},9{x}^{2},15x$ to be $3x$.
Rewrite each term using the GCF, 3x.  
Factor the GCF.  
Check.  
$3x(7{x}^{2}3x+5)$  
$3x\cdot 7{x}^{2}3x\cdot 3x+3x\cdot 5$  
$21{x}^{3}9{x}^{2}+15x\u2713$ 
Factor: $20{x}^{3}10{x}^{2}+14x$.
Factor: $24{y}^{3}12{y}^{2}20y$.
Example 7.11
Factor: $8{m}^{3}12{m}^{2}n+20m{n}^{2}$.
Find the GCF of $8{m}^{3}$, $12{m}^{2}n$, $20m{n}^{2}$.  
Rewrite each term.  
Factor the GCF.  
Check.  
$4m(2{m}^{2}3mn+5{n}^{2})$  
$4m\cdot 2{m}^{2}4m\cdot 3mn+4m\cdot 5{n}^{2}$  
$8{m}^{3}12{m}^{2}n+20m{n}^{2}\u2713$ 
Factor: $9x{y}^{2}+6{x}^{2}{y}^{2}+21{y}^{3}$.
Factor: $3{p}^{3}6{p}^{2}q+9p{q}^{3}$.
When the leading coefficient is negative, we factor the negative out as part of the GCF.
Example 7.12
Factor: $\mathrm{8}y24$.
When the leading coefficient is negative, the GCF will be negative.
Ignoring the signs of the terms, we first find the GCF of 8y and 24 is 8. Since the expression −8y − 24 has a negative leading coefficient, we use −8 as the GCF. 

Rewrite each term using the GCF.  
Factor the GCF.  
Check.  
$\mathrm{8}(y+3)$  
$\mathrm{8}\cdot y+\left(\mathrm{8}\right)\cdot 3$  
$\mathrm{8}y24\u2713$ 
Factor: $\mathrm{16}z64$.
Factor: $\mathrm{9}y27$.
Example 7.13
Factor: $\mathrm{6}{a}^{2}+36a$.
The leading coefficient is negative, so the GCF will be negative?
Since the leading coefficient is negative, the GCF is negative, −6a. 

Rewrite each term using the GCF.  
Factor the GCF.  
Check.  
$\mathrm{6}a(a6)$  
$\mathrm{6}a\cdot a+\left(\mathrm{6}a\right)\left(\mathrm{6}\right)$  
$\mathrm{6}{a}^{2}+36a\u2713$ 
Factor: $\mathrm{4}{b}^{2}+16b$.
Factor: $\mathrm{7}{a}^{2}+21a$.
Example 7.14
Factor: $5q\left(q+7\right)6\left(q+7\right)$.
The GCF is the binomial $q+7$.
Factor the GCF, (q + 7).  
Check on your own by multiplying. 
Factor: $4m\left(m+3\right)7\left(m+3\right)$.
Factor: $8n\left(n4\right)+5\left(n4\right)$.
Factor by Grouping
When there is no common factor of all the terms of a polynomial, look for a common factor in just some of the terms. When there are four terms, a good way to start is by separating 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.)
Example 7.15 How to Factor by Grouping
Factor: $xy+3y+2x+6$.
Factor: $xy+8y+3x+24$.
Factor: $ab+7b+8a+56$.
How To
Factor by grouping.
 Step 1. Group terms with common factors.
 Step 2. Factor out the common factor in each group.
 Step 3. Factor the common factor from the expression.
 Step 4. Check by multiplying the factors.
Example 7.16
Factor: ${x}^{2}+3x2x6$.
$\begin{array}{cccc}\text{There is no GCF in all four terms.}\hfill & & & \hfill \phantom{\rule{4em}{0ex}}{x}^{2}+3x\phantom{\rule{0.5em}{0ex}}\mathrm{2}x6\hfill \\ \text{Separate into two parts.}\hfill & & & \hfill \phantom{\rule{4em}{0ex}}\underset{\u23b5}{{x}^{2}+3x}\phantom{\rule{0.5em}{0ex}}\underset{\u23b5}{\mathrm{2}x6}\hfill \\ \\ \\ \begin{array}{c}\text{Factor the GCF from both parts. Be careful}\hfill \\ \text{with the signs when factoring the GCF from}\hfill \\ \text{the last two terms.}\hfill \end{array}\hfill & & & \hfill \phantom{\rule{4em}{0ex}}\begin{array}{c}\hfill x\left(x+3\right)2\left(x+3\right)\hfill \\ \hfill \left(x+3\right)\left(x2\right)\hfill \end{array}\hfill \\ \\ \\ \text{Check on your own by multiplying.}\hfill & & & \end{array}$
Factor: ${x}^{2}+2x5x10$.
Factor: ${y}^{2}+4y7y28$.
Media Access Additional Online Resources
Access these online resources for additional instruction and practice with greatest common factors (GFCs) and factoring by grouping.
Section 7.1 Exercises
Practice Makes Perfect
Find the Greatest Common Factor of Two or More Expressions
In the following exercises, find the greatest common factor.
24, 40
150, 275
5b, 30
$21{b}^{2},14b$
$30{x}^{2},18{x}^{3}$
$8{a}^{2}{b}^{3},10a{b}^{2}$
$28{x}^{2}{y}^{4},42{x}^{4}{y}^{4}$
$20{y}^{3},28{y}^{2},40y$
$27{p}^{2},45{p}^{3},9{p}^{4}$
Factor the Greatest Common Factor from a Polynomial
In the following exercises, factor the greatest common factor from each polynomial.
$8y+16$
$14p+35$
$7r+7$
$4n4$
$45b18$
$4{y}^{2}+8y4$
$10{q}^{2}+14q+20$
$12{x}^{3}10x$
$8{m}^{2}40m+16$
$21p{q}^{2}+35{p}^{2}{q}^{2}28{q}^{3}$
$\mathrm{3}b+12$
$2x\left(x1\right)+9\left(x1\right)$
$6m\left(m5\right)7\left(m5\right)$
Factor by Grouping
In the following exercises, factor by grouping.
$mn+4n+6m+24$
$pq10p+8q80$
${m}^{2}+6m12m72$
${x}^{2}+5x3x15$
Mixed Practice
In the following exercises, factor.
$5{x}^{3}{x}^{2}+x$
${x}^{3}+{x}^{2}x1$
$5{x}^{3}+3{x}^{2}5x3$
Everyday Math
Area of a rectangle The area of a rectangle with length 6 less than the width is given by the expression ${w}^{2}6w$, where $w=$ width. Factor the greatest common factor from the polynomial.
Height of a baseball The height of a baseball t seconds after it is hit is given by the expression $\mathrm{16}{t}^{2}+80t+4$. Factor the greatest common factor from the polynomial.
Writing Exercises
What is the GCF of ${y}^{4},{y}^{5},\text{and}\phantom{\rule{0.2em}{0ex}}{y}^{10}$? Write a general rule that tells you how to find the GCF of ${y}^{a},{y}^{b},\text{and}{y}^{c}$.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ If most of your checks were:
…confidently. Congratulations! You have achieved your goals in this section! Reflect on the study skills you used so that you can continue to use them. What did you do to become confident of your ability to do these things? Be specific!
…with some help. This must be addressed quickly as topics you do not master become potholes in your road to success. Math is sequential—every topic builds upon previous work. It is important to make sure you have a strong foundation before you move on. Whom can you ask for help? Your fellow classmates and instructor are good resources. Is there a place on campus where math tutors are available? Can your study skills be improved?
…no  I don’t get it! This is critical and you must not ignore it. You need to get help immediately or you will quickly be overwhelmed. See your instructor as soon as possible to discuss your situation. Together you can come up with a plan to get you the help you need.