Skip to main content

Section 6.1 Greatest Common Factor

Objective: Find the greatest common factor of a polynomial and factor it out of the expression.

The opposite of multiplying polynomials together is factoring polynomials. There are many benifits of a polynomial being factored. We use factored polynomials to help us solve equations, learn behaviors of graphs, work with fractions and more. Because so many concepts in algebra depend on us being able to factor polynomials it is very important to have very strong factoring skills.

In this lesson we will focus on factoring using the greatest common factor or GCF of a polynomial. When we multiplied polynomials, we multiplied monomials by polynomials by distributing, solving problems such as \(4x^2(2x^2 - 3x + 8) = 8x^4 - 12x^3 + 32x\text{.}\) In this lesson we will work the same problem backwards. We will start with \(8x^2 - 12x^3 + 32x\) and try and work backwards to the \(4x^2(2x - 3x + 8)\text{.}\)

To do this we have to be able to first identify what is the GCF of a polynomial. We will first introduce this by looking at finding the GCF of several numbers. To find a GCF of sevearal numbers we are looking for the largest number that can be divided by each of the numbers. This can often be done with quick mental math and it is shown in the following example.

Example 6.1.1.

Find the GCF of \(15\text{,}\) \(24\text{,}\) and \(27\text{.}\)
\begin{align*} \frac{15}{3}=5,\ \frac{24}{3}=6,\ \frac{27}{3}=9 \amp \quad \text{ Each of the numbers can be divided by } 3 \\ \text{GCF} = 3\amp\quad \text{ Our Solution } \end{align*}

When there are variables in our problem we can first find the GCF of the numbers using mental math, then we take any variables that are in common with each term, using the lowest exponent. This is shown in the next example.

Example 6.1.2.

Find the GCF of \(24x^4y^2z\text{,}\) \(18x^2y^4\text{,}\) and \(12x^3yz^5\text{.}\)
\begin{align*} \frac{24}{6}=4,\ \frac{18}{6}=3,\ \frac{12}{6}=2 \amp \quad \text{ Each of the numbers can be divided by } 6 \\ x^2y \amp \quad \text{ $x$ and $y$ are in all $3$, using lowest exponets } \\ \text{GCF}=6x^2y \amp\quad \text{ Our Solution } \end{align*}

To factor out a GCF from a polynomial we first need to identify the GCF of all the terms, this is the part that goes in front of the parenthesis, then we divide each term by the GCF, the answer is what is left inside the parenthesis. This is shown in the following examples.

Example 6.1.3.

\begin{align*} 4x^2 -20x+16 \amp \quad \text{ GCF is $4$, divide each term by } 4 \\ \frac{4x^2}{4}=x^2,\ \frac{-20x}{4}=-5x,\ \frac{16}{4}=4 \amp \quad \text{ This is what is left inside the parenthesis } \\ 4(x^2 - 5x + 4) \amp\quad \text{ Our Solution } \end{align*}

With factoring we can always check our solutions by multiplying (distributing in this case) out the answer and the solution should be the original equation.

Example 6.1.4.

\begin{align*} 25x^4 - 15x^3 + 20x^2 \amp \quad \text{ GCF is $5x^2$, divide each term by this} \\ \frac{25x^4}{5x^2}=5x^2,\ \frac{-15x^3}{5x^2}=-3x,\ \frac{20x^2}{5x^2}=4 \amp \quad \text{ This is what is left inside the parenthesis } \\ 5x^2(5x^2 - 3x + 4) \amp\quad \text{ Our Solution } \end{align*}

Example 6.1.5.

\begin{align*} 3x^3y^2z + 5x^4y^3z^5 - 4xy^4 \amp \quad \text{ GCF is $xy^2$, divide each term by this} \\ \frac{3x^3y^2z}{xy^2}=5x^2,\ \frac{5x^4y^3z^5}{xy^2}=5x^3yz^5,\ \frac{-4xy^4}{xy^2}=-4y^2 \amp \quad \text{ This is what is left inside the parenthesis } \\ xy^2(3x^2z + 5x^3yz^5 - 4y^2) \amp\quad \text{ Our Solution } \end{align*}

World View Note: The first recorded algorithm for finding the greatest common factor comes from Greek mathematician Euclid around the year \(300\) BC!

Example 6.1.6.

\begin{align*} 21x^3 + 14x^2 + 7x \amp \quad \text{ GCF is $7x$, divide each term by this} \\ \frac{21x^3}{7x}=3x^2,\ \frac{14x^2}{7x}=2x,\ \frac{7x}{7x}=1 \amp \quad \text{ This is what is left inside the parenthesis } \\ 7x(3x^2 + 2x + 1) \amp\quad \text{ Our Solution } \end{align*}

It is important to note in the previous example, that when the GCF was \(7x\) and \(7x\) was one of the terms, dividing gave an answer of \(1\text{.}\) Students often try to factor out the \(7x\) and get zero which is incorrect, factoring will never make terms dissapear. Anything divided by itself is \(1\text{,}\) be sure to not forget to put the 1 into the solution.

Often the second line is not shown in the work of factoring the GCF. We can simply identify the GCF and put it in front of the parenthesis as shown in the following two examples.

Example 6.1.7.

\begin{align*} 12x^5y^2 - 6x^4y^4 + 8x^3y^5 \amp \quad \text{ GCF is $2x^3y^2$, put this in front of parenthesis and divide } \\ 2x^3y^2(6x^2 - 3xy^2 + 4y^3) \amp\quad \text{ Our Solution } \end{align*}

Example 6.1.8.

\begin{align*} 18a^4 b^3 - 27a^3b^3 + 9a^2b^3 \amp \quad \text{ GCF is $9a^2b^3$, put this in front of parenthesis and divide } \\ 9a^2b^3(2a^2 - 3a + 1) \amp\quad \text{ Our Solution } \end{align*}

Again, in the previous problem, when dividing \(9a^2b^3\) by itself, the answer is \(1\text{,}\) not zero. Be very careful that each term is accounted for in your final solution.

Exercises Exercises - Greatest Common Factor

Exercise Group.

Factor the common factor out of each expression.

1.

\(9+8b^2\)

2.

\(x-5\)

3.

\(45x^2 - 25 \)

4.

\(1+2n^2\)

5.

\(56-35p \)

6.

\(50x-80y \)

7.

\(7ab - 35a^2b \)

8.

\(27x^2y^5 - 72x^3y^2\)

9.

\(-3a^2b+6a^3b^2\)

10.

\(8x^3y^2+4x^3 \)

11.

\(-5x^2 -5x^3 -15x^4\)

12.

\(-32n^9+32n^6+40n^5 \)

13.

\(20x^4 - 30x + 30 \)

14.

\(21p^6+30p^2+27 \)

15.

\(28m^4 + 40m^3 + 8 \)

16.

\(-10x^4+20x^2+12x \)

17.

\(30b^9 + 5ab - 15a^2 \)

18.

\(27y^7 + 12y^2x + 9y^2 \)

19.

\(-48a^2b^2-56a^3b-56a^5b \)

20.

\(30m^6 + 15mn^2 - 25 \)

21.

\(20x^8y^2z^2 + 15x^5y^2z + 35x^3y^3z \)

22.

\(3p + 12q - 15q^2r^2\)

23.

\(50x^2y + 10y^2 + 70xz^2 \)

24.

\(30y^4z^3x^5 + 50y^4z^5 - 10y^4z^3x\)

25.

\(30qpr-5qp+5q \)

26.

\(28b + 14b^2 + 35b^3 + 7b^5\)

27.

\(-18n^5 +3n^3 -21n+3 \)

28.

\(30a^8+6a^5+27a^3+21a^2 \)

29.

\(-40x^{11}-20x^{12}+50x^{13}-50x^{14} \)

30.

\(-24x^6 -4x^4 +12x^3 +4x^2 \)

31.

\(-32mn^8+4m^6n+12mn^4+16mn \)

32.

\(-10y^7+6y^{10}-4y^{10}x-8y^8x \)