8.6.1: Greatest Common Factor

Learning Outcomes

  • Determine the greatest common factor of multiple numbers
  • Determine the greatest common factor of monomials
  • Factor a polynomial using the GCF

Key words

  • Factor: a divisor
  • Common factor: a term that is a factor of two or more other terms
  • Greatest common factor: the common factor that has the highest degree
  • Factoring: writing a product or a sum as the multiplication of factors
  • Prime number: a whole number greater than or equal to 2 that has exactly 2 factors; 1 and itself
  • Prime factor: a factor that is also a prime number
  • Prime factorization: the process of factoring a number into prime factors

Greatest Common Factor

In chapter 1, we defined a factor as a number that divides exactly into another number. We multiplied factors together to get a product.  Factors are the building blocks of multiplication. They are the numbers that we can multiply together to produce another number: 2 and 10 are factors of 20, as are  4 and 5 and 1 and 20. To factor a number is to rewrite it as a product. For example, 20=45. In algebra, we use the word factor as both a noun – something being multiplied – and as a verb – rewriting a sum or difference as a product.

Finding a product is multiplying two or more terms together. Each term is a factor of the product. Splitting a product into factors is called factoring.

On the left, the equation 8 times 7 equals 56 is shown. 8 and 7 are labeled factors, 56 is labeled product. On the right, the equation 2x times parentheses x plus 3 equals 2 x squared plus 6x is shown. 2x and x plus 3 are labeled factors, 2 x squared plus 6x is labeled product. There is an arrow on top pointing to the right that says

Example

Determine the greatest common factor of 18 and 24.

Solution

The factors of 18 are 1, 2, 3, 6, 9, and 18

The factors of 24 are 1, 2, 3, 4, 6, 8, 12, and 24

The common factors are the numbers that appear in both lists: 1, 2, 3, and 6.

The greatest common factor is the largest of the common factors: 6.

Answer

GCF(18, 24) = 6

Try It

Determine the greatest common factor of:

  1. 28 and 42
  2. 10 and 55
  3. 64, 16, and 40
  4. 7, 12, 15

A prime factor is a prime number—it has only itself and 1 as factors—that is a factor. The process of breaking a number down into its prime factors is called prime factorization. Prime factorization is unique. Each number has only one set of prime factors. For example, 10=25 is the only way to write 10 as a product of primes. To find the GCF, we can factor each number into its prime factors, identify the prime factors the numbers have in common, and then multiply those prime factors together.

example

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.

24=12236=123

Example

Find the greatest common factor of 210 and 168.

Solution

210=2357168=22237GCF=237

Answer

GCF=42

Because the GCF is the product of the prime factors that these numbers have in common, we know that it is a factor of both numbers. (If you want to test this, go ahead and divide both 210 and 168 by 42—they are both exactly divisible by this number!)

The video that follows shows another example of finding the greatest common factor of two whole numbers.

try it

Greatest Common Factor of Monomials

Determining the GCF of monomials works the same way as numbers: 4x is the GCF of 16x and 20x2 because it is the largest term that divides exactly into both 16x and 20x2.

Greatest Common Factor of monomials

The greatest common factor (GCF) of two or more monomials is the largest term that is a factor of all the monomials.

Finding the greatest common factor in a set of monomials is the same as finding the GCF of two whole numbers. The only difference is that there will be variables involved. The method remains the same: factor each monomial independently, look for common factors, and then multiply them to get the GCF.

determining the greatest common factor

  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.

example

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.

try it

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

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

Example

Find the greatest common factor of 25b3 and 10b2.

Solution

25b3=55bbb10b2=52bbGCF=5bb

The monomials have the factors 5, b, and b in common, which means their greatest common factor is 5bb, or simply 5b2.

Answer

GCF=5b2

try it

 

example

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

try it

Watch the following video to see another example of how to find the GCF of two monomials that have one variable.

Factoring a Polynomial

A polynomial is made up of the sum (or difference) of monomial terms. If all of these monomial terms have a greatest common factor, we can factor the polynomial. Factoring a polynomial is very helpful in simplifying and solving polynomial equations.

Consider the polynomial 10x4+30x345x2. The monomials that make up this polynomial are 10x430x3 and 45x2. The GCF of these monomials is 5x2. This means that 5x2 divides exactly into each of the monomials.  If we were to divide the polynomial by the GCF we would get:

10x4+30x345x25x2=10x45x2+30x35x245x25x2=2x2+6x9

This means that 5x2 and 2x2+6x9 are factors of 10x4+30x345x2.

In other words, 10x4+30x345x2=5x2(2x2+6x9).  We have factored the polynomial 10x4+30x345x2 using the greatest common factor.

Note that we can always check our work by using the distributive property to multiply 5x2(2x2+6x9) to get back to the original polynomial 10x4+30x345x2.

Example

Factor the polynomial 16x7+24x556x3 using the GCF.

Solution

Find the GCF of the monomials that make up the polynomial:

16x7=2222xxxxxxx

24x5=2223xxxxx

56x3=2227xxx

GCF = 222xxx=8x3

 

Divide the polynomial by the GCF:

16x7+24x556x38x3=16x78x3+24x58x356x38x3=2x4+3x27

 

Write the polynomial as the product of factors:

16x7+24x556x3=8x3(2x4+3x27)

Example

Factor the polynomial 14x6+21x563x477x3 using the GCF.

Solution

Find the GCF of the monomials that make up the polynomial:

14x6=27xxxxxx

21x5=37xxxxx

63x4=337xxxx

77x3=711xxx

GCF=7x3

 

Divide the polynomial by the GCF:

14x6+21x563x477x37x3=14x67x3+21x57x363x47x377x37x3=2x3+3x29x11

 

Write the polynomial as the product of factors:

14x6+21x563x477x3=7x3(2x3+3x29x11)

Try It

Factor the polynomial 12x421x3+15x2 using the GCF.

Try It

Factor the polynomial 18x8+54x527x4+45x3 using the GCF.

Notice that every time, the exponent on the variable in the GCF is always the lowest exponent in the polynomial. This will always be the case.

When the leading coefficient of a polynomial is negative, we include the negative sign as part of the GCF.

Example

Factor the polynomial 5x6+15x535x4+45x3 using the GCF.

Solution

Find the GCF of the monomials that make up the polynomial:

5x6=5xxxxxx

15x5=35xxxxx

35x4=57xxxx

45x3=335xxx

GCF = 5x3

 

Divide the polynomial by the GCF and include the negative sign of the leading coefficient:

5x6+15x535x4+45x35x3=5x65x3+15x55x335x45x3+45x35x3=x33x2+7x9

 

Write the polynomial as the product of factors:

5x6+15x535x4+45x3=5x3(x33x2+7x9)

Try It

Factor the polynomial 6x6+18x524x4 using the GCF.

 

As you gain confidence with factoring you will find that you can skip the division step and simply use the distributive property to factor.

Example

Factor the polynomial 18x312x2 using the GCF.

Solution

The GCF of the monomials is 2.

So, 18x312x4=2(a binomial) and we need to find that trinomial.

We ask ourselves, 2 times what equals 18x32(9x3)=18x3 so the first term of the binomial is 9x3.

18x312x2=2(9x3+...)

Now we ask, what times2 equals 12x2?  Well, 2(6x2)=12x2, so the second term of the binomial is 6x2.

18x312x2=2(9x36x2)

Answer

18x312x2=2(9x36x2)TRY IT

try it

 

The following videos provide more examples of factoring a polynomial using the distributive property.

Try It

Factor the polynomial 14x421x37x2 using the GCF.

Try It

Factor the polynomial 6x4+21x318x2 using the GCF.

 

Sometimes the GCF of the monomials in a polynomial is 1. For example, the polynomial 6x27x+2 has a greatest common factor of 1 across the monomials making up the polynomial. Factoring the polynomial as 6x27x+2=1(6x27x+2) isn’t of much use. However, we will see in the next sections that there are other ways to factor a polynomial. Indeed, 6x27x+2 factors into binomial factors (3x2)(2x1).