Greatest Common Factor and Factor by Grouping

By the end of this section, you will be able to:

Before you get started, take this readiness quiz.

  1. Factor 56 into primes.

    If you missed this problem, review [link].

  2. Find the least common multiple (LCM) of 18 and 24.

    If you missed this problem, review [link].

  3. Multiply: −3a(7a+8b).

    If you missed this problem, review [link].

Find the Greatest Common Factor of Two or More Expressions

Earlier we multiplied factors together to get a product. Now, we will reverse this process; we will start with a product and then break it down into its factors. Splitting a product into factors is called factoring.

8 times 7 is 56. Here 8 and 7 are factors and 56 is the product. An arrow pointing from 8 times 7 to 56 is labeled multiply. An arrow pointing from 56 to 8 times 7 is labeled factor. 2x open parentheses x plus 3 close parentheses equals 2x squared plus 6x. Here the left side of the equation is labeled factors and the right side is labeled products. 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.

We summarize the steps we use to find the greatest common factor.

Find the greatest common factor (GCF) of two expressions.
  1. Factor each coefficient into primes. Write all variables with exponents in expanded form.
  2. List all factors—matching common factors in a column. In each column, circle the common factors.
  3. Bring down the common factors that all expressions share.
  4. Multiply the factors.

The next example will show us the steps to find the greatest common factor of three expressions.

Find the greatest common factor of 21x3,9x2,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 21x3, 9x2 and 15x is 3x.

Find the greatest common factor: 25m4,35m3,20m2.

5m2

Find the greatest common factor: 14x3,70x2,105x.

7x

Factor the Greatest Common Factor from a Polynomial

It is sometimes useful to represent a number as a product of factors, for example, 12 as 2·6

or 3·4.

In algebra, it can also be useful to represent a polynomial in factored form. We will start with a product, such as 3x2+15x,

and end with 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

If a, b, and c are real numbers, then

a(b+c)=ab+acandab+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 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!

How to Use the Distributive Property to factor a polynomial

Factor: 8m312m2n+20mn2.

![Step 1 is find the GCF of all the terms in the polynomial. GCF of 8 m cubed, 12 m squared n and 20 mn squared is 4m.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_003a.jpg) ![Step 1 is find the GCF of all the terms in the polynomial. GCF of 8 m cubed, 12 m squared n and 20 mn squared is 4m.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_003b.jpg) ![In step 3, use the reverse Distributive Property to factor the expression as 4m open parentheses 2 m squared minus 3 mn plus 5 n squared close parentheses.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_003c.jpg) ![Step 4 is to check by multiplying the factors. By multiplying the factors, we get the original polynomial.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_003d.jpg)

Factor: 9xy2+6x2y2+21y3.

3y2(3x+2x2+7y)

Factor: 3p36p2q+9pq3.

3p(p22pq+3q2)
Factor the greatest common factor from a polynomial.
  1. Find the GCF of all the terms of the polynomial.
  2. Rewrite each term as a product using the GCF.
  3. Use the “reverse” Distributive Property to factor the expression.
  4. Check by multiplying the factors.
Factor as a Noun and a Verb

We use “factor” as both a noun and a verb:

Noun:7 is afactorof 14Verb:factor3 from3a+3

Factor: 5x325x2.

Find the GCF of 5x3 and 25x2. .
.
.
Rewrite each term. .
Factor the GCF. .
Check:

5x2(x5)5x2·x5x2·55x325x2

Factor: 2x3+12x2.

2x2(x+6)

Factor: 6y315y2.

3y2(2y5)

Factor: 8x3y10x2y2+12xy3.

The GCF of 8x3y,−10x2y2,and12xy3
is 2xy.
.
.
     .
Rewrite each term using the GCF, 2xy.       .
Factor the GCF.      .
Check:

2xy(4x25xy+6y2)2xy·4x22xy·5xy+2xy·6y28x3y10x2y2+12xy3

Factor: 15x3y3x2y2+6xy3.

3xy(5x2xy+2y2)

Factor: 8a3b+2a2b26ab3.

2ab(4a2+ab3b2)

When the leading coefficient is negative, we factor the negative out as part of the GCF.

Factor: −4a3+36a28a.

The leading coefficient is negative, so the GCF will be negative.

.
Rewrite each term using the GCF, −4a. .
Factor the GCF. .
Check:

−4a(a29a+2)−4a·a2(−4a)·9a+(−4a)·2−4a3+36a28a

Factor: −4b3+16b28b.

−4b(b24b+2)

Factor: −7a3+21a214a.

−7a(a23a+2)

So far our greatest common factors have been monomials. In the next example, the greatest common factor is a binomial.

Factor: 3y(y+7)4(y+7).

The GCF is the binomial y+7.

  .
{: valign=”top”} Factor the GCF, (y+7).

| . | {: valign=”top”}| Check on your own by multiplying.    | | {: valign=”top”}{: .unnumbered .unstyled summary=”The polynomial is 3y open parentheses y plus 7 close parentheses minus 4 open parentheses y plus 7 close parentheses. Factor the GCF open parentheses y plus 7 close parentheses. We get open parentheses y plus 7 close parentheses open parentheses 3y minus 4 close parentheses. Check on your own by multiplying.” data-label=””}

Factor: 4m(m+3)7(m+3).

(m+3)(4m7)

Factor: 8n(n4)+5(n4).

(n4)(8n+5)

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.

How to Factor a Polynomial by Grouping

Factor by grouping: xy+3y+2x+6.

![Step 1 is to group the terms with common factors. There is no greatest common factor in all the four terms of xy plus 3y plus 2x plus 6. So, separate the first two terms from the second two.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_010a.jpg) ![Step 2 is to factor out the common factor in each group. By factoring the GCF from the first 2 terms, we get y open parentheses x plus 3 close parentheses plus 2x plus 6. Factoring the GCF from the second 2 terms, we get y open parentheses x plus 3 close parentheses plus 2 open parentheses x plus 3 close parentheses.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_010b.jpg) ![Step 3 is to factor the common factor from the expression. Notice that each term has a common factor of x plus 3. By factoring this out, we get open parentheses x plus 3 close parentheses open parentheses y plus 2 close parentheses](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_010c.jpg) ![Step 4 is to check by multiplying the expressions to get the result xy plus 3y plus 2x plus 6.](/algebra-intermediate-book/resources/CNX_IntAlg_Figure_06_01_010d.jpg)

Factor by grouping: xy+8y+3x+24.

(x+8)(y+3)

Factor by grouping: ab+7b+8a+56.

(a+7)(b+8)
Factor by grouping.
  1. Group terms with common factors.
  2. Factor out the common factor in each group.
  3. Factor the common factor from the expression.
  4. Check by multiplying the factors.

Factor by grouping: x2+3x2x6

6x23x4x+2.

* * *

There is no GCF in all four terms.x2+3x2x6Separate into two parts.x2+3x−2x6Factor the GCF from both parts. Be carefulwith the signs when factoring the GCF fromthe last two terms.x(x+3)2(x+3)Factor out the common factor.(x+3)(x2)Check on your own by multiplying.

* * *

There is no GCF in all four terms.6x23x4x+2Separate into two parts.6x23x−4x+2Factor the GCF from both parts.3x(2x1)2(2x1)Factor out the common factor.(2x1)(3x2)Check on your own by multiplying.

Factor by grouping: x2+2x5x10

20x216x15x+12.

(x5)(x+2)


(5x4)(4x3)

Factor by grouping: y2+4y7y28

42m218m35m+15.

(y+4)(y7)


(7m3)(6m5)

Key Concepts


The form on the left is used to multiply. The form on the right is used to factor.

Practice Makes Perfect

Find the Greatest Common Factor of Two or More Expressions

In the following exercises, find the greatest common factor.

10p3q,12pq2
2pq
8a2b3,10ab2
12m2n3,30m5n3
6m2n3
28x2y4,42x4y4
10a3,12a2,14a
2a
20y3,28y2,40y
35x3y2,10x4y,5x5y3
5x3y
27p2q3,45p3q4,9p4q3

Factor the Greatest Common Factor from a Polynomial

In the following exercises, factor the greatest common factor from each polynomial.

6m+9
3(2m+3)
14p+35
9n63
9(n7)
45b18
3x2+6x9
3(x2+2x3)
4y2+8y4
8p2+4p+2
2(4p2+2p+1)
10q2+14q+20
8y3+16y2
8y2(y+2)
12x310x
5x315x2+20x
5x(x23x+4)
8m240m+16
24x312x2+15x
3x(8x24x+5)
24y318y230y
12xy2+18x2y230y3
6y2(2x+3x25y)
21pq2+35p2q228q3
20x3y4x2y2+12xy3
4xy(5x2xy+3y2)
24a3b+6a2b218ab3
−2x4
−2(x+4)
−3b+12
−2x3+18x28x
−2x(x29x+4)
−5y3+35y215y
−4p3q12p2q2+16pq2
−4pq(p2+3pq4q)
−6a3b12a2b2+18ab2
5x(x+1)+3(x+1)
(x+1)(5x+3)
2x(x1)+9(x1)
3b(b2)13(b2)
(b2)(3b13)
6m(m5)7(m5)

Factor by Grouping

In the following exercises, factor by grouping.

ab+5a+3b+15
(b+5)(a+3)
cd+6c+4d+24
8y2+y+40y+5
(y+5)(8y+1)
6y2+7y+24y+28
uv9u+2v18
(u+2)(v9)
pq10p+8q80
u2u+6u6
(u1)(u+6)
x2x+4x4
9p23p20
(3p5)(3p+4)
16q28q35
mn6m4n+24
(n6)(m4)
r23rr+3
2x214x5x+35
(x7)(2x5)
4x236x3x+27

Mixed Practice

In the following exercises, factor.

−18xy227x2y
−9xy(3x+2y)
−4x3y5x2y3+12xy4
3x37x2+6x14
(x2+2)(3x7)
x3+x2x1
x2+xy+5x+5y
(x+y)(x+5)
5x33x2+5x3

Writing Exercises

What does it mean to say a polynomial is in factored form?

Answers will vary.

How do you check result after factoring a polynomial?

The greatest common factor of 36 and 60 is 12. Explain what this means.

Answers will vary.

What is the GCF of y4,y5,

and y10?

Write a general rule that tells you how to find the GCF of ya,yb,

and yc.

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has 4 columns, 3 rows and a header row. The header row labels each column I can, confidently, with some help and no I don’t get it. The first column has the following statements: find the greatest common factor of 2 or more expressions, factor the greatest common factor from a polynomial, factor by grouping. The remaining columns are blank. 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. Who 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.

Glossary

factoring
Splitting a product into factors is called factoring.
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.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/02776133-d49d-49cb-bfaa-67c7f61b25a1@4.13

Attribution: