Factoring Polynomials

Learning Objectives

In this section students will:

  • Factor the greatest common factor of a polynomial.
  • Factor a trinomial.
  • Factor by grouping.
  • Factor a perfect square trinomial.
  • Factor a difference of squares.
  • Factor the sum and difference of cubes.
  • Factor expressions using fractional or negative exponents.

Imagine that we are trying to find the area of a lawn so that we can determine how much grass seed to purchase. The lawn is the green portion in (Figure).

A large rectangle with smaller squares and a rectangle inside. The length of the outer rectangle is 6x and the width is 10x. The side length of the squares is 4 and the height of the width of the inner rectangle is 4.

Figure 1.

The area of the entire region can be found using the formula for the area of a rectangle.

[latex]\begin{array}{ccc}\hfill A& =& lw\hfill \\ & =& 10x\cdot 6x\hfill \\ & =& 60{x}^{2}{\text{ units}}^{2}\hfill \end{array}[/latex]

The areas of the portions that do not require grass seed need to be subtracted from the area of the entire region. The two square regions each have an area of[latex]\,A={s}^{2}={4}^{2}=16\,[/latex]units2. The other rectangular region has one side of length[latex]\,10x-8\,[/latex]and one side of length[latex]\,4,[/latex]giving an area of[latex]\,A=lw=4\left(10x-8\right)=40x-32\,[/latex]units2. So the region that must be subtracted has an area of[latex]\,2\left(16\right)+40x-32=40x\,[/latex]units2.

The area of the region that requires grass seed is found by subtracting[latex]\,60{x}^{2}-40x\,[/latex]units2. This area can also be expressed in factored form as[latex]\,20x\left(3x-2\right)\,[/latex]units2. We can confirm that this is an equivalent expression by multiplying.

Many polynomial expressions can be written in simpler forms by factoring. In this section, we will look at a variety of methods that can be used to factor polynomial expressions.

Factoring the Greatest Common Factor of a Polynomial

When we study fractions, we learn that the greatest common factor (GCF) of two numbers is the largest number that divides evenly into both numbers. For instance,[latex]\,4\,[/latex]is the GCF of[latex]\,16\,[/latex]and[latex]\,20\,[/latex]because it is the largest number that divides evenly into both[latex]\,16\,[/latex]and[latex]\,20\,[/latex]The GCF of polynomials works the same way:[latex]\,4x\,[/latex]is the GCF of[latex]\,16x\,[/latex]and[latex]\,20{x}^{2}\,[/latex]because it is the largest polynomial that divides evenly into both[latex]\,16x\,[/latex]and[latex]\,20{x}^{2}.[/latex]

When factoring a polynomial expression, our first step should be to check for a GCF. Look for the GCF of the coefficients, and then look for the GCF of the variables.

Greatest Common Factor

The greatest common factor (GCF) of polynomials is the largest polynomial that divides evenly into the polynomials.

How To

Given a polynomial expression, factor out the greatest common factor.

  1. Identify the GCF of the coefficients.
  2. Identify the GCF of the variables.
  3. Combine to find the GCF of the expression.
  4. Determine what the GCF needs to be multiplied by to obtain each term in the expression.
  5. Write the factored expression as the product of the GCF and the sum of the terms we need to multiply by.

Factoring the Greatest Common Factor

Factor[latex]\,6{x}^{3}{y}^{3}+45{x}^{2}{y}^{2}+21xy.[/latex]

Analysis

After factoring, we can check our work by multiplying. Use the distributive property to confirm that[latex]\,\left(3xy\right)\left(2{x}^{2}{y}^{2}+15xy+7\right)=6{x}^{3}{y}^{3}+45{x}^{2}{y}^{2}+21xy.[/latex]

Try It

Factor[latex]\,x\left({b}^{2}-a\right)+6\left({b}^{2}-a\right)\,[/latex]by pulling out the GCF.

Factoring a Trinomial with Leading Coefficient 1

Although we should always begin by looking for a GCF, pulling out the GCF is not the only way that polynomial expressions can be factored. The polynomial[latex]\,{x}^{2}+5x+6\,[/latex]has a GCF of 1, but it can be written as the product of the factors[latex]\,\left(x+2\right)\,[/latex]and[latex]\,\left(x+3\right).[/latex]

Trinomials of the form[latex]\,{x}^{2}+bx+c\,[/latex]can be factored by finding two numbers with a product of[latex]c\,[/latex]and a sum of[latex]\,b.\,[/latex]The trinomial[latex]\,{x}^{2}+10x+16,[/latex]for example, can be factored using the numbers[latex]\,2\,[/latex]and[latex]\,8\,[/latex]because the product of those numbers is[latex]\,16\,[/latex]and their sum is[latex]\,10.\,[/latex]The trinomial can be rewritten as the product of[latex]\,\left(x+2\right)\,[/latex]and[latex]\,\left(x+8\right).[/latex]

Factoring a Trinomial with Leading Coefficient 1

A trinomial of the form[latex]\,{x}^{2}+bx+c\,[/latex]can be written in factored form as[latex]\,\left(x+p\right)\left(x+q\right)\,[/latex]where[latex]\,pq=c\,[/latex]and[latex]\,p+q=b.[/latex]

Can every trinomial be factored as a product of binomials?

No. Some polynomials cannot be factored. These polynomials are said to be prime.

How To

Given a trinomial in the form[latex]\,{x}^{2}+bx+c,[/latex]factor it.

  1. List factors of[latex]\,c.[/latex]
  2. Find[latex]\,p\,[/latex]and[latex]\,q,[/latex]a pair of factors of[latex]\,c\,[/latex]with a sum of[latex]\,b.[/latex]
  3. Write the factored expression[latex]\,\left(x+p\right)\left(x+q\right).[/latex]

Factoring a Trinomial with Leading Coefficient 1

Factor[latex]\,{x}^{2}+2x-15.[/latex]

Analysis

We can check our work by multiplying. Use FOIL to confirm that[latex]\,\left(x-3\right)\left(x+5\right)={x}^{2}+2x-15.[/latex]

Does the order of the factors matter?

No. Multiplication is commutative, so the order of the factors does not matter.

Try It

Factor[latex]\,{x}^{2}-7x+6.[/latex]

Factoring by Grouping

Trinomials with leading coefficients other than 1 are slightly more complicated to factor. For these trinomials, we can factor by grouping by dividing the x term into the sum of two terms, factoring each portion of the expression separately, and then factoring out the GCF of the entire expression. The trinomial[latex]\,2{x}^{2}+5x+3\,[/latex]can be rewritten as[latex]\,\left(2x+3\right)\left(x+1\right)\,[/latex]using this process. We begin by rewriting the original expression as[latex]\,2{x}^{2}+2x+3x+3\,[/latex]and then factor each portion of the expression to obtain[latex]\,2x\left(x+1\right)+3\left(x+1\right).\,[/latex]We then pull out the GCF of[latex]\,\left(x+1\right)\,[/latex]to find the factored expression.

Factor by Grouping

To factor a trinomial in the form[latex]\,a{x}^{2}+bx+c\,[/latex]by grouping, we find two numbers with a product of[latex]\,ac\,[/latex]and a sum of[latex]\,b.\,[/latex]We use these numbers to divide the[latex]\,x\,[/latex]term into the sum of two terms and factor each portion of the expression separately, then factor out the GCF of the entire expression.

How To

Given a trinomial in the form[latex]\,a{x}^{2}+bx+c,[/latex]factor by grouping.

  1. List factors of[latex]\,ac.[/latex]
  2. Find[latex]\,p\,[/latex]and[latex]\,q,[/latex]a pair of factors of[latex]\,ac\,[/latex]with a sum of[latex]\,b.[/latex]
  3. Rewrite the original expression as[latex]\,a{x}^{2}+px+qx+c.[/latex]
  4. Pull out the GCF of[latex]\,a{x}^{2}+px.[/latex]
  5. Pull out the GCF of[latex]\,qx+c.[/latex]
  6. Factor out the GCF of the expression.

Factoring a Trinomial by Grouping

Factor[latex]\,5{x}^{2}+7x-6\,[/latex]by grouping.

Analysis

We can check our work by multiplying. Use FOIL to confirm that[latex]\,\left(5x-3\right)\left(x+2\right)=5{x}^{2}+7x-6.[/latex]

Factor a.[latex]\,2{x}^{2}+9x+9\,[/latex]b.[latex]\,6{x}^{2}+x-1[/latex]

Factoring a Perfect Square Trinomial

A perfect square trinomial is a trinomial that can be written as the square of a binomial. Recall that when a binomial is squared, the result is the square of the first term added to twice the product of the two terms and the square of the last term.

[latex]\begin{array}{ccc}\hfill {a}^{2}+2ab+{b}^{2}& =& {\left(a+b\right)}^{2}\hfill \\ & \text{and}& \\ \hfill {a}^{2}-2ab+{b}^{2}& =& {\left(a-b\right)}^{2}\hfill \end{array}[/latex]

We can use this equation to factor any perfect square trinomial.

Perfect Square Trinomials

A perfect square trinomial can be written as the square of a binomial:

[latex]{a}^{2}+2ab+{b}^{2}={\left(a+b\right)}^{2}[/latex]

How To

Given a perfect square trinomial, factor it into the square of a binomial.

  1. Confirm that the first and last term are perfect squares.
  2. Confirm that the middle term is twice the product of[latex]\,ab.[/latex]
  3. Write the factored form as[latex]\,{\left(a+b\right)}^{2}.[/latex]

Factoring a Perfect Square Trinomial

Factor[latex]\,25{x}^{2}+20x+4.[/latex]

Try It

Factor[latex]\,49{x}^{2}-14x+1.[/latex]

Factoring a Difference of Squares

A difference of squares is a perfect square subtracted from a perfect square. Recall that a difference of squares can be rewritten as factors containing the same terms but opposite signs because the middle terms cancel each other out when the two factors are multiplied.

[latex]{a}^{2}-{b}^{2}=\left(a+b\right)\left(a-b\right)[/latex]

We can use this equation to factor any differences of squares.

Differences of Squares

A difference of squares can be rewritten as two factors containing the same terms but opposite signs.

[latex]{a}^{2}-{b}^{2}=\left(a+b\right)\left(a-b\right)[/latex]

How To

Given a difference of squares, factor it into binomials.

  1. Confirm that the first and last term are perfect squares.
  2. Write the factored form as[latex]\,\left(a+b\right)\left(a-b\right).[/latex]

Factoring a Difference of Squares

Factor[latex]\,9{x}^{2}-25.[/latex]

Try It

Factor[latex]\,81{y}^{2}-100.[/latex]

Is there a formula to factor the sum of squares?

No. A sum of squares cannot be factored.

Factoring the Sum and Difference of Cubes

Now, we will look at two new special products: the sum and difference of cubes. Although the sum of squares cannot be factored, the sum of cubes can be factored into a binomial and a trinomial.

[latex]{a}^{3}+{b}^{3}=\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right)[/latex]

Similarly, the sum of cubes can be factored into a binomial and a trinomial, but with different signs.

[latex]{a}^{3}-{b}^{3}=\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right)[/latex]

We can use the acronym SOAP to remember the signs when factoring the sum or difference of cubes. The first letter of each word relates to the signs: Same Opposite Always Positive. For example, consider the following example.

[latex]{x}^{3}-{2}^{3}=\left(x-2\right)\left({x}^{2}+2x+4\right)[/latex]

The sign of the first 2 is the same as the sign between[latex]\,{x}^{3}-{2}^{3}.\,[/latex]The sign of the[latex]\,2x\,[/latex]term is opposite the sign between[latex]\,{x}^{3}-{2}^{3}.\,[/latex]And the sign of the last term, 4, is always positive.

Sum and Difference of Cubes

We can factor the sum of two cubes as

[latex]{a}^{3}+{b}^{3}=\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right)[/latex]

We can factor the difference of two cubes as

[latex]{a}^{3}-{b}^{3}=\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right)[/latex]

How To

Given a sum of cubes or difference of cubes, factor it.

  1. Confirm that the first and last term are cubes,[latex]\,{a}^{3}+{b}^{3}\,[/latex]or[latex]\,{a}^{3}-{b}^{3}.[/latex]
  2. For a sum of cubes, write the factored form as[latex]\,\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right).\,[/latex]For a difference of cubes, write the factored form as[latex]\,\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right).[/latex]

Factoring a Sum of Cubes

Factor[latex]\,{x}^{3}+512.[/latex]

Analysis

After writing the sum of cubes this way, we might think we should check to see if the trinomial portion can be factored further. However, the trinomial portion cannot be factored, so we do not need to check.

Try It

Factor the sum of cubes:[latex]\,216{a}^{3}+{b}^{3}.[/latex]

Factoring a Difference of Cubes

Factor[latex]\,8{x}^{3}-125.[/latex]

Analysis

Just as with the sum of cubes, we will not be able to further factor the trinomial portion.

Try It

Factor the difference of cubes:[latex]\,1,000{x}^{3}-1.[/latex]

Factoring Expressions with Fractional or Negative Exponents

Expressions with fractional or negative exponents can be factored by pulling out a GCF. Look for the variable or exponent that is common to each term of the expression and pull out that variable or exponent raised to the lowest power. These expressions follow the same factoring rules as those with integer exponents. For instance,[latex]\,2{x}^{\frac{1}{4}}+5{x}^{\frac{3}{4}}\,[/latex]can be factored by pulling out[latex]\,{x}^{\frac{1}{4}}\,[/latex]and being rewritten as[latex]\,{x}^{\frac{1}{4}}\left(2+5{x}^{\frac{1}{2}}\right).[/latex]

Factoring an Expression with Fractional or Negative Exponents

Factor[latex]\,3x{\left(x+2\right)}^{\frac{-1}{3}}+4{\left(x+2\right)}^{\frac{2}{3}}.[/latex]

Try It

Factor[latex]\,2{\left(5a-1\right)}^{\frac{3}{4}}+7a{\left(5a-1\right)}^{-\frac{1}{4}}.[/latex]

Access these online resources for additional instruction and practice with factoring polynomials.

Key Equations

difference of squares [latex]{a}^{2}-{b}^{2}=\left(a+b\right)\left(a-b\right)[/latex]
perfect square trinomial [latex]{a}^{2}+2ab+{b}^{2}={\left(a+b\right)}^{2}[/latex]
sum of cubes [latex]{a}^{3}+{b}^{3}=\left(a+b\right)\left({a}^{2}-ab+{b}^{2}\right)[/latex]
difference of cubes [latex]{a}^{3}-{b}^{3}=\left(a-b\right)\left({a}^{2}+ab+{b}^{2}\right)[/latex]
  • The greatest common factor, or GCF, can be factored out of a polynomial. Checking for a GCF should be the first step in any factoring problem. See (Figure).
  • Trinomials with leading coefficient 1 can be factored by finding numbers that have a product of the third term and a sum of the second term. See (Figure).
  • Trinomials can be factored using a process called factoring by grouping. See (Figure).
  • Perfect square trinomials and the difference of squares are special products and can be factored using equations. See (Figure) and (Figure).
  • The sum of cubes and the difference of cubes can be factored using equations. See (Figure) and (Figure).
  • Polynomials containing fractional and negative exponents can be factored by pulling out a GCF. See (Figure).

Verbal

If the terms of a polynomial do not have a GCF, does that mean it is not factorable? Explain.

A polynomial is factorable, but it is not a perfect square trinomial or a difference of two squares. Can you factor the polynomial without finding the GCF?

How do you factor by grouping?

Algebraic

For the following exercises, find the greatest common factor.

[latex]14x+4xy-18x{y}^{2}[/latex]

[latex]49m{b}^{2}-35{m}^{2}ba+77m{a}^{2}[/latex]

[latex]30{x}^{3}y-45{x}^{2}{y}^{2}+135x{y}^{3}[/latex]

[latex]200{p}^{3}{m}^{3}-30{p}^{2}{m}^{3}+40{m}^{3}[/latex]

[latex]36{j}^{4}{k}^{2}-18{j}^{3}{k}^{3}+54{j}^{2}{k}^{4}[/latex]

[latex]6{y}^{4}-2{y}^{3}+3{y}^{2}-y[/latex]

For the following exercises, factor by grouping.

[latex]6{x}^{2}+5x-4[/latex]

[latex]2{a}^{2}+9a-18[/latex]

[latex]6{c}^{2}+41c+63[/latex]

[latex]6{n}^{2}-19n-11[/latex]

[latex]20{w}^{2}-47w+24[/latex]

[latex]2{p}^{2}-5p-7[/latex]

For the following exercises, factor the polynomial.

[latex]7{x}^{2}+48x-7[/latex]

[latex]10{h}^{2}-9h-9[/latex]

[latex]2{b}^{2}-25b-247[/latex]

[latex]9{d}^{2}-73d+8[/latex]

[latex]90{v}^{2}-181v+90[/latex]

[latex]12{t}^{2}+t-13[/latex]

[latex]2{n}^{2}-n-15[/latex]

[latex]16{x}^{2}-100[/latex]

[latex]25{y}^{2}-196[/latex]

[latex]121{p}^{2}-169[/latex]

[latex]4{m}^{2}-9[/latex]

[latex]361{d}^{2}-81[/latex]

[latex]324{x}^{2}-121[/latex]

[latex]144{b}^{2}-25{c}^{2}[/latex]

[latex]16{a}^{2}-8a+1[/latex]

[latex]49{n}^{2}+168n+144[/latex]

[latex]121{x}^{2}-88x+16[/latex]

[latex]225{y}^{2}+120y+16[/latex]

[latex]{m}^{2}-20m+100[/latex]

[latex]25{p}^{2}-120m+144[/latex]

[latex]36{q}^{2}+60q+25[/latex]

For the following exercises, factor the polynomials.

[latex]{x}^{3}+216[/latex]

[latex]27{y}^{3}-8[/latex]

[latex]125{a}^{3}+343[/latex]

[latex]{b}^{3}-8{d}^{3}[/latex]

[latex]64{x}^{3}-125[/latex]

[latex]729{q}^{3}+1331[/latex]

[latex]125{r}^{3}+1,728{s}^{3}[/latex]

[latex]4x{\left(x-1\right)}^{-\frac{2}{3}}+3{\left(x-1\right)}^{\frac{1}{3}}[/latex]

[latex]3c{\left(2c+3\right)}^{-\frac{1}{4}}-5{\left(2c+3\right)}^{\frac{3}{4}}[/latex]

[latex]3t{\left(10t+3\right)}^{\frac{1}{3}}+7{\left(10t+3\right)}^{\frac{4}{3}}[/latex]

[latex]14x{\left(x+2\right)}^{-\frac{2}{5}}+5{\left(x+2\right)}^{\frac{3}{5}}[/latex]

[latex]9y{\left(3y-13\right)}^{\frac{1}{5}}-2{\left(3y-13\right)}^{\frac{6}{5}}[/latex]

[latex]5z{\left(2z-9\right)}^{-\frac{3}{2}}+11{\left(2z-9\right)}^{-\frac{1}{2}}[/latex]

[latex]6d{\left(2d+3\right)}^{-\frac{1}{6}}+5{\left(2d+3\right)}^{\frac{5}{6}}[/latex]

Real-World Applications

For the following exercises, consider this scenario:

Charlotte has appointed a chairperson to lead a city beautification project. The first act is to install statues and fountains in one of the city’s parks. The park is a rectangle with an area of[latex]\,98{x}^{2}+105x-27\,[/latex]m2, as shown in the figure below. The length and width of the park are perfect factors of the area.

A rectangle that’s textured to look like a field. The field is labeled: l times w = ninety-eight times x squared plus one hundred five times x minus twenty-seven.

Factor by grouping to find the length and width of the park.

A statue is to be placed in the center of the park. The area of the base of the statue is[latex]\,4{x}^{2}+12x+9{\text{m}}^{2}.\,[/latex]Factor the area to find the lengths of the sides of the statue.

At the northwest corner of the park, the city is going to install a fountain. The area of the base of the fountain is[latex]\,9{x}^{2}-25{\text{m}}^{2}.\,[/latex]Factor the area to find the lengths of the sides of the fountain.

For the following exercise, consider the following scenario:

A school is installing a flagpole in the central plaza. The plaza is a square with side length 100 yd. as shown in the figure below. The flagpole will take up a square plot with area[latex]\,{x}^{2}-6x+9[/latex]yd2.

A square that’s textured to look like a field with a missing piece in the shape of a square in the center. The sides of the larger square are labeled: 100 yards. The center square is labeled: Area: x squared minus six times x plus nine.

Find the length of the base of the flagpole by factoring.

Extensions

For the following exercises, factor the polynomials completely.

[latex]16{x}^{4}-200{x}^{2}+625[/latex]

[latex]81{y}^{4}-256[/latex]

[latex]16{z}^{4}-2,401{a}^{4}[/latex]

[latex]5x{\left(3x+2\right)}^{-\frac{2}{4}}+{\left(12x+8\right)}^{\frac{3}{2}}[/latex]

[latex]{\left(32{x}^{3}+48{x}^{2}-162x-243\right)}^{-1}[/latex]

Glossary

factor by grouping
a method for factoring a trinomial in the form[latex]\,a{x}^{2}+bx+c\,[/latex]by dividing the x term into the sum of two terms, factoring each portion of the expression separately, and then factoring out the GCF of the entire expression
greatest common factor
the largest polynomial that divides evenly into each polynomial