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.

A=lw=10x6x=60x2 units2A=lw=10x6x=60x2 units2

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 ofA=s2=42=16A=s2=42=16units2. The other rectangular region has one side of length10x810x8and one side of length4,4,giving an area ofA=lw=4(10x8)=40x32A=lw=4(10x8)=40x32units2. So the region that must be subtracted has an area of2(16)+40x32=40x2(16)+40x32=40xunits2.

The area of the region that requires grass seed is found by subtracting60x240x60x240xunits2. This area can also be expressed in factored form as20x(3x2)20x(3x2)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,44is the GCF of1616and2020because it is the largest number that divides evenly into both1616and2020The GCF of polynomials works the same way:4x4xis the GCF of16x16xand20x220x2because it is the largest polynomial that divides evenly into both16x16xand20x2.20x2.

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

Factor6x3y3+45x2y2+21xy.6x3y3+45x2y2+21xy.

Analysis

After factoring, we can check our work by multiplying. Use the distributive property to confirm that(3xy)(2x2y2+15xy+7)=6x3y3+45x2y2+21xy.(3xy)(2x2y2+15xy+7)=6x3y3+45x2y2+21xy.

Try It

Factorx(b2a)+6(b2a)x(b2a)+6(b2a)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 polynomialx2+5x+6x2+5x+6has a GCF of 1, but it can be written as the product of the factors(x+2)(x+2)and(x+3).(x+3).

Trinomials of the formx2+bx+cx2+bx+ccan be factored by finding two numbers with a product ofccand a sum ofb.b.The trinomialx2+10x+16,x2+10x+16,for example, can be factored using the numbers22and88because the product of those numbers is1616and their sum is10.10.The trinomial can be rewritten as the product of(x+2)(x+2)and(x+8).(x+8).

Factoring a Trinomial with Leading Coefficient 1

A trinomial of the formx2+bx+cx2+bx+ccan be written in factored form as(x+p)(x+q)(x+p)(x+q)wherepq=cpq=candp+q=b.p+q=b.

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 formx2+bx+c,x2+bx+c,factor it.

  1. List factors ofc.c.
  2. Findppandq,q,a pair of factors ofccwith a sum ofb.b.
  3. Write the factored expression(x+p)(x+q).(x+p)(x+q).

Factoring a Trinomial with Leading Coefficient 1

Factorx2+2x15.x2+2x15.

Analysis

We can check our work by multiplying. Use FOIL to confirm that(x3)(x+5)=x2+2x15.(x3)(x+5)=x2+2x15.

Does the order of the factors matter?

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

Try It

Factorx27x+6.x27x+6.

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 trinomial2x2+5x+32x2+5x+3can be rewritten as(2x+3)(x+1)(2x+3)(x+1)using this process. We begin by rewriting the original expression as2x2+2x+3x+32x2+2x+3x+3and then factor each portion of the expression to obtain2x(x+1)+3(x+1).2x(x+1)+3(x+1).We then pull out the GCF of(x+1)(x+1)to find the factored expression.

Factor by Grouping

To factor a trinomial in the formax2+bx+cax2+bx+cby grouping, we find two numbers with a product ofacacand a sum ofb.b.We use these numbers to divide thexxterm 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 formax2+bx+c,ax2+bx+c,factor by grouping.

  1. List factors ofac.ac.
  2. Findppandq,q,a pair of factors ofacacwith a sum ofb.b.
  3. Rewrite the original expression asax2+px+qx+c.ax2+px+qx+c.
  4. Pull out the GCF ofax2+px.ax2+px.
  5. Pull out the GCF ofqx+c.qx+c.
  6. Factor out the GCF of the expression.

Factoring a Trinomial by Grouping

Factor5x2+7x65x2+7x6by grouping.

Analysis

We can check our work by multiplying. Use FOIL to confirm that(5x3)(x+2)=5x2+7x6.(5x3)(x+2)=5x2+7x6.

Factor a.2x2+9x+92x2+9x+9b.6x2+x16x2+x1

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.

a2+2ab+b2=(a+b)2anda22ab+b2=(ab)2a2+2ab+b2=(a+b)2anda22ab+b2=(ab)2

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:

a2+2ab+b2=(a+b)2a2+2ab+b2=(a+b)2

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 ofab.ab.
  3. Write the factored form as(a+b)2.(a+b)2.

Factoring a Perfect Square Trinomial

Factor25x2+20x+4.25x2+20x+4.

Try It

Factor49x214x+1.49x214x+1.

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.

a2b2=(a+b)(ab)a2b2=(a+b)(ab)

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.

a2b2=(a+b)(ab)a2b2=(a+b)(ab)

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(a+b)(ab).(a+b)(ab).

Factoring a Difference of Squares

Factor9x225.9x225.

Try It

Factor81y2100.

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.

a3+b3=(a+b)(a2ab+b2)

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

a3b3=(ab)(a2+ab+b2)

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.

x323=(x2)(x2+2x+4)

The sign of the first 2 is the same as the sign betweenx323.The sign of the2xterm is opposite the sign betweenx323.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

a3+b3=(a+b)(a2ab+b2)

We can factor the difference of two cubes as

a3b3=(ab)(a2+ab+b2)

How To

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

  1. Confirm that the first and last term are cubes,a3+b3ora3b3.
  2. For a sum of cubes, write the factored form as(a+b)(a2ab+b2).For a difference of cubes, write the factored form as(ab)(a2+ab+b2).

Factoring a Sum of Cubes

Factorx3+512.

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:216a3+b3.

Factoring a Difference of Cubes

Factor8x3125.

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:1,000x31.

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,2x14+5x34can be factored by pulling outx14and being rewritten asx14(2+5x12).

Factoring an Expression with Fractional or Negative Exponents

Factor3x(x+2)13+4(x+2)23.

Try It

Factor2(5a1)34+7a(5a1)14.

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

Key Equations

difference of squares a2b2=(a+b)(ab)
perfect square trinomial a2+2ab+b2=(a+b)2
sum of cubes a3+b3=(a+b)(a2ab+b2)
difference of cubes a3b3=(ab)(a2+ab+b2)
  • 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.

14x+4xy18xy2

49mb235m2ba+77ma2

30x3y45x2y2+135xy3

200p3m330p2m3+40m3

36j4k218j3k3+54j2k4

6y42y3+3y2y

For the following exercises, factor by grouping.

6x2+5x4

2a2+9a18

6c2+41c+63

6n219n11

20w247w+24

2p25p7

For the following exercises, factor the polynomial.

7x2+48x7

10h29h9

2b225b247

9d273d+8

90v2181v+90

12t2+t13

2n2n15

16x2100

25y2196

121p2169

4m29

361d281

324x2121

144b225c2

16a28a+1

49n2+168n+144

121x288x+16

225y2+120y+16

m220m+100

25p2120m+144

36q2+60q+25

For the following exercises, factor the polynomials.

x3+216

27y38

125a3+343

b38d3

64x3125

729q3+1331

125r3+1,728s3

4x(x1)23+3(x1)13

3c(2c+3)145(2c+3)34

3t(10t+3)13+7(10t+3)43

14x(x+2)25+5(x+2)35

9y(3y13)152(3y13)65

5z(2z9)32+11(2z9)12

6d(2d+3)16+5(2d+3)56

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 of98x2+105x27m2, 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 is4x2+12x+9m2.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 is9x225m2.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 areax26x+9yd2.

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.

16x4200x2+625

81y4256

16z42,401a4

5x(3x+2)24+(12x+8)32

(32x3+48x2162x243)1

Glossary

factor by grouping
a method for factoring a trinomial in the formax2+bx+cby 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