Intermediate Algebra 2e — Original English

Greatest Common Factor and Factor by Grouping

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.

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

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.

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.
A mathematical example demonstrating how to find the Greatest Common Factor (GCF) of 21x³, 9x², and 15x by breaking down each expression into its prime factors and identifying common terms.
Multiply the factors. The image displays the text 'GCF = 3x' in a bold, gray font against a plain white background, indicating a mathematical equation or a definition of the Greatest Common Factor.
The GCF of 21x3, 9x2 and 15x is 3x.

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

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.

Solution
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: 5x325x2.

Solution
Find the GCF of 5x3 and 25x2. This image demonstrates how to find the Greatest Common Factor (GCF) of 5x³ and 25x². It shows the prime factorization of each expression and then identifies the common factors, which are multiplied together to get the GCF.
The image displays 'GCF = 5x^2' in a gray font on a white background, representing a mathematical equation for the greatest common factor.
The image shows the mathematical expression 5x^3 - 25x^2, which represents a polynomial with two terms, indicating a subtraction operation between 5 times x cubed and 25 times x squared.
Rewrite each term. A mathematical expression 5x^2 * x - 5x^2 * 5, which can be factored as 5x^2(x - 5). The numbers and variables are colored in red and black against a white background.
Factor the GCF. A mathematical expression shows 5x squared multiplied by the quantity x minus 5, written as 5x²(x-5).
Check:

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

Factor: 8x3y10x2y2+12xy3.

Solution
The GCF of 8x3y,−10x2y2,and12xy3
is 2xy.
This image demonstrates finding the GCF of 8x³y, 10x²y², and 12xy³ by listing their prime factors. Common factors (2, x, y) are circled vertically, and their product gives the GCF: 2xy.
The image displays a mathematical expression 'GCF = 2xy' in a clear, dark gray font against a plain white background.
     A mathematical expression featuring three terms: 8x^3y - 10x^2y^2 + 12xy^3.
Rewrite each term using the GCF, 2xy.       The image displays the mathematical expression 2xy * 4x^2 - 2xy * 5xy + 2xy * 6y^2, with the term '2xy' highlighted in red in each part, suggesting it's a common factor to be extracted.
Factor the GCF.      A mathematical expression showing the term 2xy multiplied by the trinomial (4x^2 - 5xy + 6y^2).
Check:

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

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

Factor: −4a3+36a28a.

Solution

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

A mathematical expression displays -4a cubed + 36a squared - 8a.
Rewrite each term using the GCF, −4a. The algebraic expression -4a * a^2 - (-4a) * 9a + (-4a) * 2, illustrating a common factor of -4a in a polynomial.
Factor the GCF. The image shows the algebraic expression -4a(a^2 - 9a + 2), which is a monomial multiplied by a trinomial.
Check:

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

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

Solution

The GCF is the binomial y+7.

The mathematical expression is 3y(y + 7) - 4(y + 7). It shows a common factor (y+7) being multiplied by 3y and then subtracted from 4 times (y+7).
Factor the GCF, (y+7). An algebraic expression showing the product of two binomials: (y + 7)(3y - 4). The expression is displayed in black text against a white background.
Check on your own by multiplying.   

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.

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

Factor by grouping: x2+3x2x6 6x23x4x+2.

Solution
Steps illustrating the factorization of a quadratic expression by grouping.
There is no GCF in all four terms. x2+3x2x6
Separate into two parts. x2+3x−2x6
Factor the GCF from both parts. Be careful with the signs when factoring the GCF from the last two terms. x(x+3)2(x+3)
Factor out the common factor. (x+3)(x2)
Check on your own by multiplying.

Steps and corresponding mathematical expressions for factoring a quadratic equation by grouping, from initial expression to final factored form.
There is no GCF in all four terms. 6x23x4x+2
Separate into two parts. 6x23x−4x+2
Factor the GCF from both parts. 3x(2x1)2(2x1)
Factor out the common factor. (2x1)(3x2)
Check on your own by multiplying.

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(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.
  • 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.
    Noun:7 is afactorof 14Verb:factor3 from3a+3
  • 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.

10p3q,12pq2

Solution

2pq

8a2b3,10ab2

12m2n3,30m5n3

Solution

6m2n3

28x2y4,42x4y4

10a3,12a2,14a

Solution

2a

20y3,28y2,40y

35x3y2,10x4y,5x5y3

Solution

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

Solution

3(2m+3)

14p+35

9n63

Solution

9(n7)

45b18

3x2+6x9

Solution

3(x2+2x3)

4y2+8y4

8p2+4p+2

Solution

2(4p2+2p+1)

10q2+14q+20

8y3+16y2

Solution

8y2(y+2)

12x310x

5x315x2+20x

Solution

5x(x23x+4)

8m240m+16

24x312x2+15x

Solution

3x(8x24x+5)

24y318y230y

12xy2+18x2y230y3

Solution

6y2(2x+3x25y)

21pq2+35p2q228q3

20x3y4x2y2+12xy3

Solution

4xy(5x2xy+3y2)

24a3b+6a2b218ab3

−2x4

Solution

−2(x+2)

−3b+12

−2x3+18x28x

Solution

−2x(x29x+4)

−5y3+35y215y

−4p3q12p2q2+16pq2

Solution

−4pq(p2+3pq4q)

−6a3b12a2b2+18ab2

5x(x+1)+3(x+1)

Solution

(x+1)(5x+3)

2x(x1)+9(x1)

3b(b2)13(b2)

Solution

(b2)(3b13)

6m(m5)7(m5)

Factor by Grouping

In the following exercises, factor by grouping.

ab+5a+3b+15

Solution

(b+5)(a+3)

cd+6c+4d+24

8y2+y+40y+5

Solution

(y+5)(8y+1)

6y2+7y+24y+28

uv9u+2v18

Solution

(u+2)(v9)

pq10p+8q80

u2u+6u6

Solution

(u1)(u+6)

x2x+4x4

9p2+12p15p20

Solution

(3p5)(3p+4)

16q2+20q28q35

mn6m4n+24

Solution

(n6)(m4)

r23rr+3

2x214x5x+35

Solution

(x7)(2x5)

4x236x3x+27

Mixed Practice

In the following exercises, factor.

−18xy227x2y

Solution

−9xy(2y+3x)

−4x3y5x2y3+12xy4

3x37x2+6x14

Solution

(x2+2)(3x7)

x3+x2+x+1

x2+xy+5x+5y

Solution

(x+y)(x+5)

5x33x2+5x3

Writing Exercises

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

Solution

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.

Solution

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

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.