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 reverse this process: we start with a product and break it down into its factors. Splitting a product into factors is called factoring. For example, and show multiplication; reversing either process finds the factors of the product.
We have already factored numbers to find the least common multiple of two or more numbers. Now we factor expressions and find their greatest common factor. The method is similar to the method used to find the LCM.
Find the greatest common factor (GCF) of two or more expressions.
- Factor each coefficient into primes. Write all variables with exponents in expanded form.
- List all factors, matching common factors in a column. In each column, identify the common factors.
- Bring down the common factors that all expressions share.
- Multiply the factors.
Example. Find the greatest common factor of , , and .
Factor each coefficient into primes and expand each power. The factors common to all three expressions are and :
Bring down and multiply the common factors:
Therefore, the GCF of , , and is .
Find the greatest common factor of , , and .
Prime-factor the coefficients and expand the powers of . Keep only the factors shared by all three expressions.Find the greatest common factor of , , and .
The coefficient GCF is found from 14, 70, and 105. For the variable factor, use the smallest exponent shared by every term.Factor the greatest common factor from a polynomial
It is sometimes useful to represent a number as a product of factors. For example, . In algebra, it is also useful to represent a polynomial in factored form. We can start with the polynomial and end with its factors, , by applying the Distributive Property in reverse.
Distributive Property. If , , and are real numbers, then
The form on the left is used to multiply. The form on the right is used to factor.
To factor a polynomial, find the GCF of all its terms and write the polynomial as a product.
Example. Use the Distributive Property to factor .
First find the GCF. Factoring the coefficients and expanding the variables shows that every term contains :
Rewrite each term as a product using , and then use the Distributive Property in reverse:
Multiplying the factors returns the original polynomial, so the factorization checks.
Factor by taking out the greatest common factor.
Find the coefficient GCF and the smallest power of each variable shared by all three terms.Factor by taking out the greatest common factor.
All three coefficients share 3, and each term contains at least one factor of .Factor the greatest common factor from a polynomial.
- Find the GCF of all the terms of the polynomial.
- Rewrite each term as a product using the GCF.
- Use the reverse Distributive Property to factor the expression.
- Check by multiplying the factors.
Factor as a noun and a verb
We use factor as both a noun and a verb. In the statement “ is a factor of ,” factor is a noun. In the instruction “factor from ,” it is a verb.
Example. Factor .
The GCF of and is . Rewrite each term using the GCF, then factor:
Check: .
Factor by taking out the greatest common factor.
Find the largest coefficient and variable factors shared by both terms.Factor by taking out the greatest common factor.
The coefficient GCF is 3, and both terms contain .Example. Factor .
The GCF of the three terms is . Rewrite each term using the GCF and factor:
Check: multiplying through the trinomial gives the original polynomial.
Factor by taking out the greatest common factor.
Every term shares 3, one factor of , and one factor of .Factor by taking out the greatest common factor.
Every term shares 2, one factor of , and one factor of .When the leading coefficient is negative, factor the negative out as part of the GCF.
Example. Factor .
Because the leading coefficient is negative, use the negative GCF :
Check: .
Factor by taking out a negative greatest common factor.
Since the leading coefficient is negative, include the negative sign in the GCF.Factor by taking out a negative greatest common factor.
Take out , then determine the three terms that remain.So far the greatest common factors have been monomials. A GCF can also be a binomial.
Example. Factor .
The binomial is the common factor:
Check by multiplying the factors.
Factor by taking out the common binomial factor.
Treat the repeated binomial as one common factor.Factor by taking out the common binomial factor.
Treat the repeated binomial as one common factor.Factor by grouping
Sometimes there is no common factor of all the terms of a polynomial. When there are four terms, separate the polynomial into two groups of two terms. Then look for the GCF in each group. If the polynomial can be factored, a common factor emerges from the two groups. Not all polynomials can be factored; just as some numbers are prime, some polynomials are prime.
Example. Factor by grouping: .
There is no GCF of all four terms. Group the first two terms and the last two terms, then factor the GCF from each group:
Check: , which is the original polynomial with its middle terms reordered.
Factor by grouping: .
Group the first two terms and the last two terms, then factor each group.Factor by grouping: .
Group the first two terms and the last two terms. Both groups should reveal the same binomial factor.Factor by grouping.
- Group terms with common factors.
- Factor out the common factor in each group.
- Factor the common factor from the expression.
- Check by multiplying the factors.
Example. Factor each polynomial by grouping.
(a)
There is no GCF in all four terms. Separate the polynomial into two groups. Be careful with the signs when factoring the GCF from the last group:
(b)
Again, group the terms, factor each group, and then factor out the common binomial:
Check both results by multiplying their factors.
Factor by grouping: .
Group the first two terms and the last two terms. Factor a negative number from the second group.Factor by grouping: .
Group the first pair and the second pair; their common binomial factor is .Factor by grouping: .
Group the first two terms and the last two terms. Factor a negative number from the second group.Key terms
factoring — splitting a product into its factors. greatest common factor (GCF) — the largest expression that is a factor of every expression in a given collection. factored form — an expression written as a product of factors. factor by grouping — factor a four-term polynomial by grouping terms, factoring each group, and then factoring the common binomial.
This section is adapted from Intermediate Algebra 2e, Section 6.1: Greatest Common Factor and Factor by Grouping by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: reformatted the worked-example tables as accessible aligned math, omitted the Be Prepared quiz, media links, and end-of-section exercises, and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.