Skip to content
Introduction to Factoring Polynomials

Introduction to Factoring Polynomials

By the end of this section, you will be able to: find the greatest common factor of two or more expressions, and factor the greatest common factor from a polynomial.

Find the greatest common factor of two or more expressions

Earlier we multiplied factors together to get a product. Now, we will be reversing this process; we will start with a product and then break it down into its factors. Splitting a product into factors is called factoring.

87=562x(x+3)=2x2+6x8 \cdot 7 = 56 \qquad\qquad 2x(x + 3) = 2x^2 + 6x

Reading the first equation from left to right, 88 and 77 are factors and 5656 is the product. Reading it from right to left instead — starting from the product and breaking it into factors — is factoring.

In an earlier chapter we factored 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.

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.

First we will find the greatest common factor of two numbers.

Example. Find the greatest common factor of 2424 and 3636.

Factor each number into primes, writing all variables with exponents in expanded form:

24=222336=223324 = 2 \cdot 2 \cdot 2 \cdot 3 \qquad\qquad 36 = 2 \cdot 2 \cdot 3 \cdot 3

List all the factors, matching common factors in a column, and circle the factors that are shared by both numbers — here, two 2s2\text{s} and one 33:

24=2232336=223324 = 2 \cdot 2 \cdot \phantom{3 \cdot {}} 2 \cdot 3 \qquad\qquad 36 = 2 \cdot 2 \cdot 3 \cdot 3

Bring down the common factors and multiply them:

GCF=223=12\text{GCF} = 2 \cdot 2 \cdot 3 = 12

The GCF of 2424 and 3636 is 1212. Notice that since the GCF is a factor of both numbers, 2424 and 3636 can be written as multiples of 1212:

24=12236=12324 = 12 \cdot 2 \qquad\qquad 36 = 12 \cdot 3

Find the greatest common factor of 5454 and 3636.

Find the greatest common factor of 4848 and 8080.

In the previous example, we found the greatest common factor of constants. The greatest common factor of an algebraic expression can contain variables raised to powers along with coefficients. We summarize the steps we use to find the greatest common factor.

Find 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 5x5x and 1515.

Factor each number into primes, and circle the common factors in each column:

5x=5x15=355x = 5 \cdot x \qquad\qquad 15 = 3 \cdot 5

Bring down the common factor: GCF=5\text{GCF} = 5. The GCF of 5x5x and 1515 is 55.

Find the greatest common factor of 7y7y and 1414.

Find the greatest common factor of 2222 and 11m11m.

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 12x212x^2 and 18x318x^3.

Factor each coefficient into primes and write the variables with exponents in expanded form, then circle the common factors in each column:

12x2=223xx18x3=233xxx12x^2 = 2 \cdot 2 \cdot 3 \cdot x \cdot x \qquad\qquad 18x^3 = 2 \cdot 3 \cdot 3 \cdot x \cdot x \cdot x

Bring down the common factors and multiply:

GCF=23xx=6x2\text{GCF} = 2 \cdot 3 \cdot x \cdot x = 6x^2

The GCF of 12x212x^2 and 18x318x^3 is 6x26x^2.

Find the greatest common factor of 16x216x^2 and 24x324x^3.

Find the greatest common factor of 27y327y^3 and 18y418y^4.

Example. Find the greatest common factor of 14x314x^3, 8x28x^2, and 10x10x.

Factor each coefficient into primes and write the variables with exponents in expanded form, then circle the common factors:

14x3=27xxx8x2=222xx10x=25x14x^3 = 2 \cdot 7 \cdot x \cdot x \cdot x \qquad 8x^2 = 2 \cdot 2 \cdot 2 \cdot x \cdot x \qquad 10x = 2 \cdot 5 \cdot x

All three share one factor of 22 and one factor of xx:

GCF=2x=2x\text{GCF} = 2 \cdot x = 2x

The GCF of 14x314x^3, 8x28x^2, and 10x10x is 2x2x.

Find the greatest common factor of 21x321x^3, 9x29x^2, and 15x15x.

Find the greatest common factor of 25m425m^4, 35m335m^3, and 20m220m^2.

Factor the greatest common factor from a polynomial

Just like in arithmetic, where it is sometimes useful to represent a number in factored form (for example, 1212 as 262 \cdot 6 or 343 \cdot 4), in algebra it can be useful to represent a polynomial in factored form. One way to do this is by finding the greatest common factor of all the terms. Remember that you can multiply a polynomial by a monomial as follows:

2(x+7)=2x+27=2x+142(x + 7) = 2 \cdot x + 2 \cdot 7 = 2x + 14

Here, we will start with a product, like 2x+142x + 14, and end with its factors, 2(x+7)2(x + 7). To do this we apply the Distributive Property “in reverse.”

Distributive Property. If aa, bb, cc are real numbers, then

a(b+c)=ab+acandab+ac=a(b+c)a(b + c) = ab + ac \qquad\text{and}\qquad ab + ac = a(b + c)

The form on the left is used to multiply. The form on the right is used to factor.

So how do we use the Distributive Property to factor a polynomial? We find the GCF of all the terms and write the polynomial as a product.

Example. Factor: 2x+142x + 14.

Find the GCF of 2x2x and 1414: it is 22. Rewrite each term as a product using the GCF:

2x+14=2x+272x + 14 = 2 \cdot x + 2 \cdot 7

Use the Distributive Property “in reverse” to factor the expression:

2(x+7)2(x + 7)

Check by multiplying the factors: 2(x+7)=2x+27=2x+142(x + 7) = 2 \cdot x + 2 \cdot 7 = 2x + 14. ✓

Factor: 4x+124x + 12.

Factor: 6a+246a + 24.

Notice that in the example above we used the word factor as both a noun and a verb: 77 is a factor of 1414 (noun), and we factor 22 from 2x+142x + 14 (verb).

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 Distributive Property “in reverse” to factor the expression.
  4. Check by multiplying the factors.

Example. Factor: 3a+33a + 3.

Find the GCF of 3a3a and 33: it is 33. Rewrite each term as a product using the GCF, then factor:

3a+3=3a+31=3(a+1)3a + 3 = 3 \cdot a + 3 \cdot 1 = 3(a + 1)

Check: 3(a+1)=3a+31=3a+33(a + 1) = 3 \cdot a + 3 \cdot 1 = 3a + 3. ✓

Factor: 9a+99a + 9.

Factor: 11x+1111x + 11.

The expressions in the next example have several factors in common. Remember to write the GCF as the product of all the common factors.

Example. Factor: 12x6012x - 60.

Find the GCF of 12x12x and 6060: since 12x=223x12x = 2 \cdot 2 \cdot 3 \cdot x and 60=223560 = 2 \cdot 2 \cdot 3 \cdot 5, the GCF is 223=122 \cdot 2 \cdot 3 = 12. Rewrite each term as a product using the GCF, then factor:

12x60=12x125=12(x5)12x - 60 = 12 \cdot x - 12 \cdot 5 = 12(x - 5)

Check: 12(x5)=12x125=12x6012(x - 5) = 12 \cdot x - 12 \cdot 5 = 12x - 60. ✓

Factor: 11x4411x - 44.

Factor: 13y5213y - 52.

Now we’ll factor the greatest common factor from a trinomial. We start by finding the GCF of all three terms.

Example. Factor: 3y2+6y+93y^2 + 6y + 9.

Find the GCF of 3y23y^2, 6y6y, and 99: it is 33. Rewrite each term as a product using the GCF, then factor:

3y2+6y+9=3y2+32y+33=3(y2+2y+3)3y^2 + 6y + 9 = 3 \cdot y^2 + 3 \cdot 2y + 3 \cdot 3 = 3(y^2 + 2y + 3)

Check: 3(y2+2y+3)=3y2+32y+33=3y2+6y+93(y^2 + 2y + 3) = 3 \cdot y^2 + 3 \cdot 2y + 3 \cdot 3 = 3y^2 + 6y + 9. ✓

Factor: 4y2+8y+124y^2 + 8y + 12.

Factor: 6x2+42x126x^2 + 42x - 12.

In the next example, we factor a variable from a binomial.

Example. Factor: 6x2+5x6x^2 + 5x.

Find the GCF of 6x26x^2 and 5x5x and the math that goes with it: it is xx. Rewrite each term as a product, then factor:

6x2+5x=x6x+x5=x(6x+5)6x^2 + 5x = x \cdot 6x + x \cdot 5 = x(6x + 5)

Check: x(6x+5)=x6x+x5=6x2+5xx(6x + 5) = x \cdot 6x + x \cdot 5 = 6x^2 + 5x. ✓

Factor: 9x2+7x9x^2 + 7x.

Factor: 5a212a5a^2 - 12a.

When there are several common factors, as we’ll see in the next two examples, good organization and neat work helps!

Example. Factor: 4x320x24x^3 - 20x^2.

Find the GCF of 4x34x^3 and 20x220x^2: since 4x3=22xxx4x^3 = 2 \cdot 2 \cdot x \cdot x \cdot x and 20x2=225xx20x^2 = 2 \cdot 2 \cdot 5 \cdot x \cdot x, the GCF is 4x24x^2. Rewrite each term and factor:

4x320x2=4x2x4x25=4x2(x5)4x^3 - 20x^2 = 4x^2 \cdot x - 4x^2 \cdot 5 = 4x^2(x - 5)

Check: 4x2(x5)=4x2x4x25=4x320x24x^2(x - 5) = 4x^2 \cdot x - 4x^2 \cdot 5 = 4x^3 - 20x^2. ✓

Factor: 2x3+12x22x^3 + 12x^2.

Factor: 6y315y26y^3 - 15y^2.

Example. Factor: 21y2+35y21y^2 + 35y.

Find the GCF of 21y221y^2 and 35y35y: since 21y2=37yy21y^2 = 3 \cdot 7 \cdot y \cdot y and 35y=57y35y = 5 \cdot 7 \cdot y, the GCF is 7y7y. Rewrite each term and factor:

21y2+35y=7y3y+7y5=7y(3y+5)21y^2 + 35y = 7y \cdot 3y + 7y \cdot 5 = 7y(3y + 5)

Factor: 18y2+63y18y^2 + 63y.

Factor: 32k2+56k32k^2 + 56k.

Example. Factor: 14x3+8x210x14x^3 + 8x^2 - 10x.

Previously, we found the GCF of 14x314x^3, 8x28x^2, and 10x10x to be 2x2x. Rewrite each term using the GCF, then factor:

14x3+8x210x=2x7x2+2x4x2x5=2x(7x2+4x5) 14x^3 + 8x^2 - 10x = 2x \cdot 7x^2 + 2x \cdot 4x - 2x \cdot 5 = 2x(7x^2 + 4x - 5)

Check: 2x(7x2+4x5)=2x7x2+2x4x2x5=14x3+8x210x2x(7x^2 + 4x - 5) = 2x \cdot 7x^2 + 2x \cdot 4x - 2x \cdot 5 = 14x^3 + 8x^2 - 10x. ✓

Factor: 18y36y224y18y^3 - 6y^2 - 24y.

Factor: 16x3+8x212x16x^3 + 8x^2 - 12x.

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

Example. Factor: 9y27-9y - 27.

When the leading coefficient is negative, the GCF will be negative. Ignoring the signs of the terms, we first find the GCF of 9y9y and 2727 is 99. Since the expression 9y27-9y - 27 has a negative leading coefficient, we use 9-9 as the GCF. Rewrite each term using the GCF, then factor:

9y27=9y+(9)3=9(y+3)-9y - 27 = -9 \cdot y + (-9) \cdot 3 = -9(y + 3)

Check: 9(y+3)=9y+(9)3=9y27-9(y + 3) = -9 \cdot y + (-9) \cdot 3 = -9y - 27. ✓

Factor: 5y35-5y - 35.

Factor: 16z56-16z - 56.

Pay close attention to the signs of the terms in the next example.

Example. Factor: 4a2+16a-4a^2 + 16a.

The leading coefficient is negative, so the GCF will be negative. Ignoring signs, the GCF of 4a24a^2 and 16a16a is 4a4a, so we use 4a-4a as the GCF. Rewrite each term using the GCF, then factor:

4a2+16a=4aa(4a)4=4a(a4)-4a^2 + 16a = -4a \cdot a - (-4a) \cdot 4 = -4a(a - 4)

Check on your own by multiplying the factors.

Factor: 7a2+21a-7a^2 + 21a.

Factor: 6x2+x-6x^2 + x.

Key terms

factoring — splitting a product into the factors whose product it is; the reverse of multiplying. greatest common factor (GCF) — of two or more expressions, the largest expression that is a factor of all of them.


This section is adapted from Prealgebra 2e, Section 10.6: Introduction to Factoring Polynomials by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the factoring/multiplying diagram as typeset math and the factor-column work as inline math; omitted the Be Prepared quiz, Media links, Self Check checklist, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.