Factoring

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

Before you get started, take this readiness quiz.

  1. Factor 56 into primes.

    If you missed this problem, review (Figure).

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

    If you missed this problem, review (Figure).

  3. Multiply: -3a\left(7a+8b\right).

    If you missed this problem, review (Figure).

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 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}.

5{m}^{2}

Find the greatest common factor: 14{x}^{3},70{x}^{2},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 3{x}^{2}+15x, and end with its factors, 3x\left(x+5\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, and c are real numbers, then

a\left(b+c\right)=ab+ac\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}ab+ac=a\left(b+c\right)

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: 8{m}^{3}-12{m}^{2}n+20m{n}^{2}.

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.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.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.Step 4 is to check by multiplying the factors. By multiplying the factors, we get the original polynomial.

Factor: 9x{y}^{2}+6{x}^{2}{y}^{2}+21{y}^{3}.

3{y}^{2}\left(3x+2{x}^{2}+7y\right)

Factor: 3{p}^{3}-6{p}^{2}q+9p{q}^{3}.

3p\left({p}^{2}-2pq+3{q}^{2}\right)

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:

\begin{array}{cccc}\text{Noun:}\hfill & & & \phantom{\rule{8em}{0ex}}\text{7 is a}\phantom{\rule{0.2em}{0ex}}{\text{factor}}\phantom{\rule{0.2em}{0ex}}\text{of 14}\hfill \\ \text{Verb:}\hfill & & & \phantom{\rule{8em}{0ex}}{\text{factor}}\phantom{\rule{0.2em}{0ex}}\text{3 from}\phantom{\rule{0.2em}{0ex}}3a+3\hfill \end{array}

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:

\phantom{\rule{4em}{0ex}}\begin{array}{c}\hfill 5{x}^{2}\left(x-5\right)\hfill \\ \hfill 5{x}^{2}·x-5{x}^{2}·5\hfill \\ \hfill 5{x}^{3}-25{x}^{2}✓\hfill \end{array}

Factor: 2{x}^{3}+12{x}^{2}.

2{x}^{2}\left(x+6\right)

Factor: 6{y}^{3}-15{y}^{2}.

3{y}^{2}\left(2y-5\right)

Factor: 8{x}^{3}y-10{x}^{2}{y}^{2}+12x{y}^{3}.

The GCF of 8{x}^{3}y,-10{x}^{2}{y}^{2},\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}12x{y}^{3}

is 2xy.

.
.
     .
Rewrite each term using the GCF, 2xy.       .
Factor the GCF.      .
Check:

\phantom{\rule{4em}{0ex}}\begin{array}{c}\hfill 2xy\left(4{x}^{2}-5xy+6{y}^{2}\right)\hfill \\ \hfill 2xy·4{x}^{2}-2xy·5xy+2xy·6{y}^{2}\hfill \\ \hfill 8{x}^{3}y-10{x}^{2}{y}^{2}+12x{y}^{3}✓\hfill \end{array}

Factor: 15{x}^{3}y-3{x}^{2}{y}^{2}+6x{y}^{3}.

3xy\left(5{x}^{2}-xy+2{y}^{2}\right)

Factor: 8{a}^{3}b+2{a}^{2}{b}^{2}-6a{b}^{3}.

2ab\left(4{a}^{2}+ab-3{b}^{2}\right)

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

Factor: -4{a}^{3}+36{a}^{2}-8a.

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

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

\phantom{\rule{4em}{0ex}}\begin{array}{c}\hfill -4a\left({a}^{2}-9a+2\right)\hfill \\ \hfill -4a·{a}^{2}-\left(-4a\right)·9a+\left(-4a\right)·2\hfill \\ \hfill -4{a}^{3}+36{a}^{2}-8a✓\hfill \end{array}

Factor: -4{b}^{3}+16{b}^{2}-8b.

-4b\left({b}^{2}-4b+2\right)

Factor: -7{a}^{3}+21{a}^{2}-14a.

-7a\left({a}^{2}-3a+2\right)

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

Factor: 3y\left(y+7\right)-4\left(y+7\right).

The GCF is the binomial y+7.

.
Factor the GCF, \left(y+7\right). .
Check on your own by multiplying.   

Factor: 4m\left(m+3\right)-7\left(m+3\right).

\left(m+3\right)\left(4m-7\right)

Factor: 8n\left(n-4\right)+5\left(n-4\right).

\left(n-4\right)\left(8n+5\right)

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.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.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 parenthesesStep 4 is to check by multiplying the expressions to get the result xy plus 3y plus 2x plus 6.

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

\left(x+8\right)\left(y+3\right)

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

\left(a+7\right)\left(b+8\right)

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: {x}^{2}+3x-2x-6 6{x}^{2}-3x-4x+2.

\begin{array}{cccccc}\text{There is no GCF in all four terms.}\hfill & & & & & {x}^{2}+3x-2x-6\hfill \\ \text{Separate into two parts.}\hfill & & & & & {x}^{2}+3x\phantom{\rule{1.5em}{0ex}}-2x-6\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 & & & & & x\left(x+3\right)-2\left(x+3\right)\hfill \\ \text{Factor out the common factor.}\hfill & & & & & \left(x+3\right)\left(x-2\right)\hfill \\ \text{Check on your own by multiplying.}\hfill & & & & & \end{array}

\begin{array}{cccccc}\text{There is no GCF in all four terms.}\hfill & & & & & \phantom{\rule{3em}{0ex}}6{x}^{2}-3x-4x+2\hfill \\ \text{Separate into two parts.}\hfill & & & & & \phantom{\rule{3em}{0ex}}6{x}^{2}-3x\phantom{\rule{1.5em}{0ex}}-4x+2\hfill \\ \text{Factor the GCF from both parts.}\hfill & & & & & \phantom{\rule{3em}{0ex}}3x\left(2x-1\right)-2\left(2x-1\right)\hfill \\ \text{Factor out the common factor.}\hfill & & & & & \phantom{\rule{3em}{0ex}}\left(2x-1\right)\left(3x-2\right)\hfill \\ \text{Check on your own by multiplying.}\hfill & & & & & \end{array}

Factor by grouping: {x}^{2}+2x-5x-10 20{x}^{2}-16x-15x+12.

\left(x-5\right)\left(x+2\right)

\left(5x-4\right)\left(4x-3\right)

Factor by grouping: {y}^{2}+4y-7y-28 42{m}^{2}-18m-35m+15.

\left(y+4\right)\left(y-7\right)

\left(7m-3\right)\left(6m-5\right)

Key Concepts

  • How to 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.
  • Distributive Property: If a, b, and c are real numbers, then
    a\left(b+c\right)=ab+ac\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}ab+ac=a\left(b+c\right)

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

  • How to 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.
    \begin{array}{cccc}\text{Noun:}\hfill & & & \text{7 is a}\phantom{\rule{0.2em}{0ex}}{\text{factor}}\phantom{\rule{0.2em}{0ex}}\text{of 14}\hfill \\ \text{Verb:}\hfill & & & {\text{factor}}\phantom{\rule{0.2em}{0ex}}\text{3 from}\phantom{\rule{0.2em}{0ex}}3a+3\hfill \end{array}
  • How to 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.

Practice Makes Perfect

Find the Greatest Common Factor of Two or More Expressions

In the following exercises, find the greatest common factor.

10{p}^{3}q,12p{q}^{2}

2pq

8{a}^{2}{b}^{3},10a{b}^{2}

12{m}^{2}{n}^{3},30{m}^{5}{n}^{3}

6{m}^{2}{n}^{3}

28{x}^{2}{y}^{4},42{x}^{4}{y}^{4}

10{a}^{3},12{a}^{2},14a

2a

20{y}^{3},28{y}^{2},40y

35{x}^{3}{y}^{2},10{x}^{4}y,5{x}^{5}{y}^{3}

5{x}^{3}y

27{p}^{2}{q}^{3},45{p}^{3}{q}^{4},9{p}^{4}{q}^{3}

Factor the Greatest Common Factor from a Polynomial

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

6m+9

3\left(2m+3\right)

14p+35

9n-63

9\left(n-7\right)

45b-18

3{x}^{2}+6x-9

3\left({x}^{2}+2x-3\right)

4{y}^{2}+8y-4

8{p}^{2}+4p+2

2\left(4{p}^{2}+2p+1\right)

10{q}^{2}+14q+20

8{y}^{3}+16{y}^{2}

8{y}^{2}\left(y+2\right)

12{x}^{3}-10x

5{x}^{3}-15{x}^{2}+20x

5x\left({x}^{2}-3x+4\right)

8{m}^{2}-40m+16

24{x}^{3}-12{x}^{2}+15x

3x\left(8{x}^{2}-4x+5\right)

24{y}^{3}-18{y}^{2}-30y

12x{y}^{2}+18{x}^{2}{y}^{2}-30{y}^{3}

6{y}^{2}\left(2x+3{x}^{2}-5y\right)

21p{q}^{2}+35{p}^{2}{q}^{2}-28{q}^{3}

20{x}^{3}y-4{x}^{2}{y}^{2}+12x{y}^{3}

4xy\left(5{x}^{2}-xy+3{y}^{2}\right)

24{a}^{3}b+6{a}^{2}{b}^{2}-18a{b}^{3}

-2x-4

-2\left(x+4\right)

-3b+12

-2{x}^{3}+18{x}^{2}-8x

-2x\left({x}^{2}-9x+4\right)

-5{y}^{3}+35{y}^{2}-15y

-4{p}^{3}q-12{p}^{2}{q}^{2}+16p{q}^{2}

-4pq\left({p}^{2}+3pq-4q\right)

-6{a}^{3}b-12{a}^{2}{b}^{2}+18a{b}^{2}

5x\left(x+1\right)+3\left(x+1\right)

\left(x+1\right)\left(5x+3\right)

2x\left(x-1\right)+\phantom{\rule{0.2em}{0ex}}9\left(x-1\right)

3b\left(b-2\right)-13\left(b-2\right)

\left(b-2\right)\left(3b-13\right)

6m\left(m-5\right)-7\left(m-5\right)

Factor by Grouping

In the following exercises, factor by grouping.

ab+5a+3b+15

\left(b+5\right)\left(a+3\right)

cd+6c+4d+24

8{y}^{2}+y+40y+5

\left(y+5\right)\left(8y+1\right)

6{y}^{2}+7y+24y+28

uv-9u+2v-18

\left(u+2\right)\left(v-9\right)

pq-10p+8q-80

{u}^{2}-u+6u-6

\left(u-1\right)\left(u+6\right)

{x}^{2}-x+4x-4

9{p}^{2}-3p-20

\left(3p-5\right)\left(3p+4\right)

16{q}^{2}-8q-35

mn-6m-4n+24

\left(n-6\right)\left(m-4\right)

{r}^{2}-3r-r+3

2{x}^{2}-14x-5x+35

\left(x-7\right)\left(2x-5\right)

4{x}^{2}-36x-3x+27

Mixed Practice

In the following exercises, factor.

-18x{y}^{2}-27{x}^{2}y

-9xy\left(3x+2y\right)

-4{x}^{3}{y}^{5}-{x}^{2}{y}^{3}+12x{y}^{4}

3{x}^{3}-7{x}^{2}+6x-14

\left({x}^{2}+2\right)\left(3x-7\right)

{x}^{3}+{x}^{2}-x-1

{x}^{2}+xy+5x+5y

\left(x+y\right)\left(x+5\right)

5{x}^{3}-3{x}^{2}+5x-3

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 {y}^{4},{y}^{5}, and {y}^{10}? Write a general rule that tells you how to find the GCF of {y}^{a},{y}^{b}, and {y}^{c}.

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.

License

Icon for the Creative Commons Attribution 4.0 International License

Intermediate Algebra by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book