Skip to main content
Logo image

Section 10.1 Factoring Out the Common Factor

In Chapter 5, we learned how to multiply polynomials, such as when you start with \((x+2)(x+3)\) and obtain \(x^2+5x+6\text{.}\) This chapter, starting with this section, is about the opposite process—factoring. For example, starting with \(x^2+5x+6\) and obtaining \((x+2)(x+3)\text{.}\) We will start with the simplest kind of factoring: for example starting with \(x^2+2x\) and obtaining \(x(x+2)\text{.}\)
Figure 10.1.1. Alternative Video Lesson

Subsection 10.1.1 Motivation for Factoring

When you write \(x^2+2x\text{,}\) you have an algebraic expression built with two terms—two parts that are added together. When you write \(x(x+2)\text{,}\) you have an algebraic expression built with two factors—two parts that are multiplied together. Factoring is useful, because sometimes (but not always) having your expression written as parts that are multiplied together makes it easy to simplify the expression.
You’ve seen this with fractions. To simplify \(\frac{15}{35}\text{,}\) breaking down the numerator and denominator into factors is useful: \(\frac{3\cdot5}{7\cdot5}\text{.}\) Now you can see that the factors of \(5\) cancel.
There are other reasons to appreciate the value in factoring. One reason is that there is a relationship between a factored polynomial and the horizontal intercepts of its graph. For example in the graph of \(y=(x+2)(x-3)\text{,}\) the horizontal intercepts are \((-2,0)\) and \((3,0)\text{.}\) Note the \(x\)-values are \(-2\) and \(3\text{,}\) and think about what happens when you subsitutue those numbers in for \(x\) in \(y=(x+2)(x-3)\text{.}\) We will explore this more fully in Section 13.2.
Figure 10.1.2. A graph of \(y=(x+2)(x-3)\)

Subsection 10.1.2 Identifying the Greatest Common Factor

The most basic technique for factoring involves recognizing the greatest common factor between two expressions, which is the largest factor that goes in evenly to both expressions. For example, the greatest common factor between \(6\) and \(8\) is \(2\text{,}\) since \(2\) divides nicely into both \(6\) and \(8\) and no larger number would divide nicely into both \(6\) and \(8\text{.}\)
Similarly, the greatest common factor between \(4x\) and \(3x^2\) is \(x\text{.}\) If you write \(4x\) as a product of its factors, you have \(2\cdot 2 \cdot x\text{.}\) And if you fully factor \(3x^2\text{,}\) you have \(3\cdot x\cdot x\text{.}\) The only factor they have in common is \(x\text{,}\) so that is the greatest common factor. No larger expression goes in nicely to both expressions.

Example 10.1.3. Finding the Greatest Common Factor.

What is the common factor between \(6x^2\) and \(70x\text{?}\) Break down each of these into its factors:
\begin{align*} 6x^2 \amp =2\cdot3\cdot x\cdot x \amp 70x \amp =2\cdot5\cdot7\cdot x\\ \end{align*}
And identify the common factors:
\begin{align*} 6x^2 \amp =\attention{2}\cdot3\cdot \attention{x}\cdot x \amp 70x \amp =\attention{2}\cdot5\cdot7\cdot \attention{x} \end{align*}
With \(2\) and \(x\) in common, the greatest common factor is \(2x\text{.}\)

Checkpoint 10.1.4.

  1. The greatest common factor between \(6x\) and \(8x\) is .
  2. The greatest common factor between \(14x^2\) and \(10x\) is .
  3. The greatest common factor between \(6y^2\) and \(7y^2\) is .
  4. The greatest common factor between \(12xy^2\) and \(9xy\) is .
  5. The greatest common factor between \(6x^3\text{,}\) \(2x^2\text{,}\) and \(8x\) is .
Explanation.
  1. Since \(6x\) completely factors as \(\attention{2}\cdot3\cdot \attention{x}\) ... and \(8x\) completely factors as \(\attention{2}\cdot2\cdot2\cdot \attention{x}\text{,}\) ...
    ... the greatest common factor is \(2x\text{.}\)
  2. Since \(14x^2\) completely factors as \(\attention{2}\cdot7\cdot \attention{x}\cdot x\) ... and \(10x\) completely factors as \(\attention{2}\cdot5\cdot \attention{x}\text{,}\) ...
    ... the greatest common factor is \(2x\text{.}\)
  3. Since \(6y^2\) completely factors as \(2\cdot3\cdot \attention{y}\cdot \attention{y}\) ... and \(7y^2\) completely factors as \(7\cdot\attention{y}\cdot\attention{y}\text{,}\) ...
    ... the greatest common factor is \(y^2\text{.}\)
  4. Since \(12xy^2\) completely factors as \(2\cdot2\cdot\attention{3}\cdot \attention{x}\cdot \attention{y}\cdot y\) ... and \(9xy\) completely factors as \(\attention{3}\cdot3\cdot \attention{x}\cdot \attention{y}\text{,}\) ...
    ... the greatest common factor is \(3xy\text{.}\)
  5. Since \(6x^3\) completely factors as \(\attention{2}\cdot3\cdot \attention{x}\cdot x\cdot x\) ... \(2x^2\) completely factors as \(\attention{2}\cdot\attention{x}\cdot x\text{,}\) ...and \(8x\) completely factors as \(\attention{2}\cdot2\cdot2\cdot\attention{x}\text{,}\) ...
    ... the greatest common factor is \(2x\text{.}\)

Subsection 10.1.3 Factoring Out the Greatest Common Factor

We have learned the distributive property: \(a(b+c)=ab+ac\text{.}\) Perhaps you have thought of this as a way to “distribute” the number \(a\) to each of \(b\) and \(c\text{.}\) In this section, we will use the distributive property in the opposite way. If you have an expression \(ab+ac\text{,}\) it is equal to \(a(b+c)\text{.}\) In that example, we factored out \(a\text{,}\) which is the common factor between \(ab\) and \(ac\text{.}\)
The following steps use the distributive property to factor out the greatest common factor between two or more terms.

Example 10.1.6.

To factor \(12x^2+15x\text{:}\)
  1. The greatest common factor between \(12x^2\) and \(15x\) is \(3x\text{.}\)
  2. \(\displaystyle 3x(\phantom{4x}+\phantom{5})\)
  3. \(\displaystyle 3x(4x+5)\)

Example 10.1.7.

Factor the polynomial \(3x^3+3x^2-9\text{.}\)
  1. We identify the greatest common factor as \(3\text{,}\) because \(3\) is the only common factor between \(3x^3\text{,}\) \(3x^2\) and \(9\text{.}\)
  2. We write:
    \begin{equation*} 3x^3+3x^2-9=3(\phantom{x^2}+\phantom{x^2}-\phantom{3})\text{.} \end{equation*}
  3. We ask the question “\(3\) times what gives \(3x^3\text{?}\)” The answer is \(x^3\text{.}\) Now we have:
    \begin{equation*} 3x^3+3x^2-9=3(x^3+\phantom{x^2}-\phantom{3})\text{.} \end{equation*}
    We ask the question “\(3\) times what gives \(3x^2\text{?}\)” The answer is \(x^2\text{.}\) Now we have:
    \begin{equation*} 3x^3+3x^2-9=3(x^3+x^2-\phantom{3})\text{.} \end{equation*}
    We ask the question “\(3\) times what gives \(9\text{?}\)” The answer is \(3\text{.}\) Now we have:
    \begin{equation*} 3x^3+3x^2-9=3(x^3+x^2-3)\text{.} \end{equation*}
To check that this is correct, multiplying through \(3(x^3+x^2-3)\) should give the original expression \(3x^3+3x^2-9\text{.}\) We check this, and it does.

Checkpoint 10.1.8.

Factor the polynomial \(4x^3+12x^2-12x\text{.}\)
Explanation.
In this exercise, \(4x\) is the greatest common factor. We find
\begin{equation*} \begin{aligned} 4x^3+12x^2-12x\amp=4x(\phantom{x^2}+\phantom{3x}-\phantom{3})\\ \amp=4x(x^2+\phantom{3x}-\phantom{3})\\ \amp=4x(x^2+3x-\phantom{3})\\ \amp=4x(x^2+3x-3) \end{aligned} \end{equation*}
Note that you might fail to recognize that \(4x\) is the greatest common factor. At first you might only find that, say, \(4\) is a common factor. This is OK—you can factor out the \(4\) and continue from there:
\begin{equation*} \begin{aligned} 4x^3+12x^2-12x\amp=4(\phantom{x^3}+\phantom{3x^2}-\phantom{3})\\ \amp=4(x^3+\phantom{3x^2}-\phantom{3x})\\ \amp=4(x^3+3x^2-\phantom{3x})\\ \amp=4(x^3+3x^2-3x) \end{aligned} \end{equation*}
Now examine the second factor here and there is still a common factor, \(x\text{.}\) Factoring this out too.
\begin{equation*} \begin{aligned} \amp=4x(\phantom{x^2}+\phantom{3x}-\phantom{3})\\ \amp=4x(x^2+\phantom{3x}-\phantom{3})\\ \amp=4x(x^2+3x-\phantom{3})\\ \amp=4x(x^2+3x-3) \end{aligned} \end{equation*}
So there is more than one way to find the answer.

Subsection 10.1.4 Visualizing With Rectangles

In Section 5.4, we learned one way to multiply polynomials using rectangle diagrams. Similarly, we can factor a polynomial with a rectangle diagram.

Example 10.1.10.

We will factor \(12x^2+15x\text{,}\) the same polynomial from the example in Algorithm 5, so that you may compare the two styles.
\(12x^2\) \(15x\)
\(3x\) \(12x^2\) \(15x\)
\(4x\) \(5\)
\(3x\) \(12x^2\) \(15x\)
So \(12x^2+15x\) factors as \(3x(4x+5)\text{.}\)

Subsection 10.1.5 More Examples of Factoring out the Common Factor

Previous examples did not cover every nuance with factoring out the greatest common factor. Here are a few more factoring examples that attempt to do so.

Example 10.1.11.

Factor \(-35m^5+5m^4-10m^3\text{.}\)
First, we identify the common factor. The number \(5\) is the greatest common factor of the three coefficients (which were \(-35\text{,}\) \(5\text{,}\) and \(-10\)) and also \(m^3\) is the largest expression that divides \(m^5\text{,}\) \(m^4\text{,}\) and \(m^3\text{.}\) Therefore the greatest common factor is \(5m^3\text{.}\)
In this example, the leading term is a negative number. When this happens, we will make it common practice to take that negative as part of the greatest common factor. So we will proceed by factoring out \(-5m^3\text{.}\) Note the signs change inside the parentheses.
\begin{align*} -35m^5\highlight{{}+{}}5m^4\highlight{{}-{}}10m^3\amp=-5m^3(\phantom{7m^2}\highlight{{}-{}}\phantom{m}\highlight{{}+{}}\phantom{2})\\ \amp=-5m^3(7m^2-\phantom{m}+\phantom{2})\\ \amp=-5m^3(7m^2-m+\phantom{2})\\ \amp=-5m^3(7m^2-m+2) \end{align*}

Example 10.1.12.

Factor \(14-7n^2+28n^4-21n\text{.}\)
Notice that the terms are not in a standard order, with powers of \(n\) decreasing as you read left to right. It is usually a best practice to rearrange the terms into the standard order first.
\begin{equation*} 14-7n^2+28n^4-21n=28n^4-7n^2-21n+14\text{.} \end{equation*}
The number \(7\) divides all of the numerical coefficients. Separately, no power of \(n\) is part of the greatest common factor because the \(14\) term has no \(n\) factors. So the greatest common factor is just \(7\text{.}\) We proceed by factoring that out:
\begin{align*} 14-7n^2+28n^4-21n\amp=28n^4-7n^2-21n+14\\ \amp=7\mathopen{}\left(4n^4-n^2-3n+2\right)\mathclose{} \end{align*}

Example 10.1.13.

Factor \(24ab^2+16a^2b^3-12a^3b^2\text{.}\)
There are two variables in this polynomial, but that does not change the factoring strategy. The greatest numerical factor between the three terms is \(4\text{.}\) The variable \(a\) divides all three terms, and \(b^2\) divides all three terms. So we have:
\begin{align*} 24ab^2+16a^2b^3-12a^3b^2 \amp=4ab^2\mathopen{}\left(6+4ab-3a^2\right)\mathclose{} \end{align*}

Example 10.1.14.

Factor \(4m^2n-3xy\text{.}\)
There are no common factors in those two terms (unless you want to count \(1\) or \(-1\text{,}\) but we do not count these for the purposes of identifying a greatest common factor). In this situation we can say the polynomial is prime or irreducible, and leave it as it is.

Example 10.1.15.

Factor \(-x^3+2x+18\text{.}\)
There are no common factors in those three terms, and it would be correct to state that this polynomial is prime or irreducible. However, since its leading coefficient is negative, it may be wise to factor out a negative sign. So, it could be factored as \(-\mathopen{}\left(x^3-2x-18\right)\mathclose{}\text{.}\) Note that every term is negated as the leading negative sign is extracted.

Reading Questions 10.1.6 Reading Questions

1.

Given two terms, how would you describe their “greatest common factor?”

2.

If a simplified polynomial has four terms, and you factor out its greatest common factor, how many terms will remain inside a set of parentheses?

Exercises 10.1.7 Exercises

Review and Warmup.

1.
Multiply the polynomials.
\({7x}\left({x+8}\right)=\)
2.
Multiply the polynomials.
\({9x}\left({x-4}\right)=\)
3.
Multiply the polynomials.
\({2x}\left({-6x-2}\right)=\)
4.
Multiply the polynomials.
\({3x}\left({10x+2}\right)=\)
5.
Multiply the polynomials.
\({-5x^{2}}\left({x-4}\right)=\)
6.
Multiply the polynomials.
\({-3x^{2}}\left({x+10}\right)=\)
7.
Multiply the polynomials.
\({-7y^{2}}\left({-2y^{2}+5y}\right)=\)
8.
Multiply the polynomials.
\({4r^{2}}\left({-8r^{2}+9r}\right)=\)

Identifying Common Factors.

9.
Find the greatest common factor of the following terms.
\({9}\) and \({27r}\)
10.
Find the greatest common factor of the following terms.
\({6}\) and \({24t}\)
11.
Find the greatest common factor of the following terms.
\({3t}\) and \({30t^{2}}\)
12.
Find the greatest common factor of the following terms.
\({9x}\) and \({45x^{2}}\)
13.
Find the greatest common factor of the following terms.
\({6x^{3}}\) and \({-24x^{4}}\)
14.
Find the greatest common factor of the following terms.
\({3y^{3}}\) and \({-27y^{4}}\)
15.
Find the greatest common factor of the following terms.
\({9y^{15}}\) and \({-27y^{14}}\)
16.
Find the greatest common factor of the following terms.
\({6y^{20}}\) and \({-36y^{19}}\)
17.
Find the greatest common factor of the following terms.
\({2r^{14}}\text{,}\) \({-16r^{13}}\text{,}\) \({10r^{6}}\)
18.
Find the greatest common factor of the following terms.
\({8r^{18}}\text{,}\) \({-16r^{17}}\text{,}\) \({72r^{9}}\)
19.
Find the greatest common factor of the following terms.
\({8x^{19}y^{4}}\text{,}\) \({-56x^{15}y^{12}}\text{,}\) \({80x^{12}y^{18}}\)
20.
Find the greatest common factor of the following terms.
\({5x^{19}y^{6}}\text{,}\) \({-15x^{16}y^{9}}\text{,}\) \({10x^{2}y^{20}}\)

Factoring out the Common Factor.

21.
Factor the given polynomial.
\(8x+8=\)
22.
Factor the given polynomial.
\(5x+5=\)
23.
Factor the given polynomial.
\(2x-2=\)
24.
Factor the given polynomial.
\(8y-8=\)
25.
Factor the given polynomial.
\(-4y-4=\)
26.
Factor the given polynomial.
\(-10r-10=\)
27.
Factor the given polynomial.
\(7r - 42=\)
28.
Factor the given polynomial.
\(4t - 40=\)
29.
Factor the given polynomial.
\(80t^2+50=\)
30.
Factor the given polynomial.
\(60x^2+18=\)
31.
Factor the given polynomial.
\({54x^{2}+81x+63}=\)
32.
Factor the given polynomial.
\({45x^{2}+10x+35}=\)
33.
Factor the given polynomial.
\({48y^{4}-80y^{3}+56y^{2}}=\)
34.
Factor the given polynomial.
\({24y^{4}-8y^{3}+8y^{2}}=\)
35.
Factor the given polynomial.
\({60r^{5}+30r^{4}+70r^{3}}=\)
36.
Factor the given polynomial.
\({28r^{5}-12r^{4}+16r^{3}}=\)
37.
Factor the given polynomial.
\({28t+35t^{2}+21t^{3}}=\)
38.
Factor the given polynomial.
\({15t+15t^{2}+50t^{3}}=\)
39.
Factor the given polynomial.
\(15x^2 - 17=\)
40.
Factor the given polynomial.
\(5x^2+29=\)
41.
Factor the given polynomial.
\({4xy+4y}=\)
42.
Factor the given polynomial.
\({5xy+5y}=\)
43.
Factor the given polynomial.
\({6x^{5}y^{7}-12y^{7}}=\)
44.
Factor the given polynomial.
\({7x^{13}y^{7}+56y^{7}}=\)
45.
Factor the given polynomial.
\({50x^{5}y^{4}+5x^{4}y^{4}+20x^{3}y^{4}}=\)
46.
Factor the given polynomial.
\({6x^{5}y^{10}+2x^{4}y^{10}+12x^{3}y^{10}}=\)
47.
Factor the given polynomial.
\({30x^{5}y^{10}z^{4}+25x^{4}y^{10}z^{3}+15x^{3}y^{10}z^{2}}=\)
48.
Factor the given polynomial.
\({24x^{5}y^{6}z^{10}+6x^{4}y^{6}z^{9}+15x^{3}y^{6}z^{8}}=\)
You have attempted of activities on this page.