Learning

open
close

Factoring Polynomials

June 21, 2024 | by Bloom Code Studio

Learning Objectives

In this section, you 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 1.

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===lw10xβ‹…6x60x2units2𝐴=𝑙𝑀=10π‘₯β‹…6π‘₯=60π‘₯2units2

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 A=s2=42=16𝐴=𝑠2=42=16 units2. The other rectangular region has one side of length 10xβˆ’810π‘₯βˆ’8 and one side of length 4,4, giving an area of A=lw=4(10xβˆ’8)=40xβˆ’32𝐴=𝑙𝑀=4(10π‘₯βˆ’8)=40π‘₯βˆ’32 units2. So the region that must be subtracted has an area of 2(16)+40xβˆ’32=40×2(16)+40π‘₯βˆ’32=40π‘₯ units2.

The area of the region that requires grass seed is found by subtracting 60×2βˆ’40×60π‘₯2βˆ’40π‘₯ units2. This area can also be expressed in factored form as 20x(3xβˆ’2)20π‘₯(3π‘₯βˆ’2) 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, 44 is the GCF of 1616 and 2020 because it is the largest number that divides evenly into both 1616 and 2020 The GCF of polynomials works the same way: 4×4π‘₯ is the GCF of 16×16π‘₯ and 20×220π‘₯2 because it is the largest polynomial that divides evenly into both 16×16π‘₯ and 20×2.20π‘₯2.

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.

EXAMPLE 1

Factoring the Greatest Common Factor

Factor 6x3y3+45x2y2+21xy.6π‘₯3𝑦3+45π‘₯2𝑦2+21π‘₯𝑦.

Solution

First, find the GCF of the expression. The GCF of 6, 45, and 21 is 3. The GCF of x3,x2π‘₯3,π‘₯2 , and xπ‘₯ is xπ‘₯ . (Note that the GCF of a set of expressions in the form xnπ‘₯𝑛 will always be the exponent of lowest degree.) And the GCF of y3,y2𝑦3,𝑦2 , and y𝑦 is y𝑦 . Combine these to find the GCF of the polynomial, 3xy3π‘₯𝑦 .

Next, determine what the GCF needs to be multiplied by to obtain each term of the polynomial. We find that 3xy(2x2y2)=6x3y3,3xy(15xy)=45x2y23π‘₯𝑦(2π‘₯2𝑦2)=6π‘₯3𝑦3,3π‘₯𝑦(15π‘₯𝑦)=45π‘₯2𝑦2 , and 3xy(7)=21xy.3π‘₯𝑦(7)=21π‘₯𝑦.

Finally, write the factored expression as the product of the GCF and the sum of the terms we needed to multiply by.

(3xy)(2x2y2+15xy+7)(3π‘₯𝑦)(2π‘₯2𝑦2+15π‘₯𝑦+7)

Analysis

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

TRY IT #1

Factor x(b2βˆ’a)+6(b2βˆ’a)π‘₯(𝑏2βˆ’π‘Ž)+6(𝑏2βˆ’π‘Ž) 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 x2+5x+6π‘₯2+5π‘₯+6 has a GCF of 1, but it can be written as the product of the factors (x+2)(π‘₯+2) and (x+3).(π‘₯+3).

Trinomials of the form x2+bx+cπ‘₯2+𝑏π‘₯+𝑐 can be factored by finding two numbers with a product of c𝑐 and a sum of b.𝑏. The trinomial x2+10x+16,π‘₯2+10π‘₯+16, for example, can be factored using the numbers 22 and 88 because the product of those numbers is 1616 and their sum is 10.10. The trinomial can be rewritten as the product of (x+2)(π‘₯+2) and (x+8).(π‘₯+8).

FACTORING A TRINOMIAL WITH LEADING COEFFICIENT 1

A trinomial of the form x2+bx+cπ‘₯2+𝑏π‘₯+𝑐 can be written in factored form as (x+p)(x+q)(π‘₯+𝑝)(π‘₯+π‘ž) where pq=cπ‘π‘ž=𝑐 and p+q=b.𝑝+π‘ž=𝑏.

Q&A

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 x2+bx+c,π‘₯2+𝑏π‘₯+𝑐, factor it.

  1. List factors ofΒ c.𝑐.
  2. FindΒ p𝑝 andΒ q,π‘ž,Β a pair of factors ofΒ c𝑐 with a sum ofΒ b.𝑏.
  3. Write the factored expressionΒ (x+p)(x+q).(π‘₯+𝑝)(π‘₯+π‘ž).

EXAMPLE 2

Factoring a Trinomial with Leading Coefficient 1

Factor x2+2xβˆ’15.π‘₯2+2π‘₯βˆ’15.

Solution

We have a trinomial with leading coefficient 1,b=2,1,𝑏=2, and c=βˆ’15.𝑐=βˆ’15. We need to find two numbers with a product of βˆ’15βˆ’15 and a sum of 2.2. In the table below, we list factors until we find a pair with the desired sum.

Factors of βˆ’15βˆ’15Sum of Factors
1,βˆ’151,βˆ’15βˆ’14βˆ’14
βˆ’1,15βˆ’1,1514
3,βˆ’53,βˆ’5βˆ’2βˆ’2
βˆ’3,5βˆ’3,52

Now that we have identifiedΒ p𝑝 andΒ qπ‘žΒ asΒ βˆ’3βˆ’3Β andΒ 5,5,Β write the factored form asΒ (xβˆ’3)(x+5).(π‘₯βˆ’3)(π‘₯+5).

Analysis

We can check our work by multiplying. Use FOIL to confirm that (xβˆ’3)(x+5)=x2+2xβˆ’15.(π‘₯βˆ’3)(π‘₯+5)=π‘₯2+2π‘₯βˆ’15.

Q&A

Does the order of the factors matter?

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

TRY IT #2

Factor x2βˆ’7x+6.π‘₯2βˆ’7π‘₯+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 trinomial 2×2+5x+32π‘₯2+5π‘₯+3 can be rewritten as (2x+3)(x+1)(2π‘₯+3)(π‘₯+1) using this process. We begin by rewriting the original expression as 2×2+2x+3x+32π‘₯2+2π‘₯+3π‘₯+3 and then factor each portion of the expression to obtain 2x(x+1)+3(x+1).2π‘₯(π‘₯+1)+3(π‘₯+1). We then pull out the GCF of (x+1)(π‘₯+1) to find the factored expression.

FACTOR BY GROUPING

To factor a trinomial in the form ax2+bx+cπ‘Žπ‘₯2+𝑏π‘₯+𝑐 by grouping, we find two numbers with a product of acπ‘Žπ‘ and a sum of b.𝑏. We use these numbers to divide the xπ‘₯ 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 ax2+bx+c,π‘Žπ‘₯2+𝑏π‘₯+𝑐, factor by grouping.

  1. List factors ofΒ ac.π‘Žπ‘.
  2. FindΒ p𝑝 andΒ q,π‘ž,Β a pair of factors ofΒ acπ‘Žπ‘Β with a sum ofΒ b.𝑏.
  3. Rewrite the original expression asΒ ax2+px+qx+c.π‘Žπ‘₯2+𝑝π‘₯+π‘žπ‘₯+𝑐.
  4. Pull out the GCF ofΒ ax2+px.π‘Žπ‘₯2+𝑝π‘₯.
  5. Pull out the GCF ofΒ qx+c.π‘žπ‘₯+𝑐.
  6. Factor out the GCF of the expression.

EXAMPLE 3

Factoring a Trinomial by Grouping

Factor 5×2+7xβˆ’65π‘₯2+7π‘₯βˆ’6 by grouping.

Solution

We have a trinomial with a=5,b=7,π‘Ž=5,𝑏=7, and c=βˆ’6.𝑐=βˆ’6. First, determine ac=βˆ’30.π‘Žπ‘=βˆ’30. We need to find two numbers with a product of βˆ’30βˆ’30 and a sum of 7.7. In the table below, we list factors until we find a pair with the desired sum.

Factors of βˆ’30βˆ’30Sum of Factors
1,βˆ’301,βˆ’30βˆ’29βˆ’29
βˆ’1,30βˆ’1,3029
2,βˆ’152,βˆ’15βˆ’13βˆ’13
βˆ’2,15βˆ’2,1513
3,βˆ’103,βˆ’10βˆ’7βˆ’7
βˆ’3,10βˆ’3,107

So p=βˆ’3𝑝=βˆ’3 and q=10.π‘ž=10.

5×2βˆ’3x+10xβˆ’6 x(5xβˆ’3)+2(5xβˆ’3)(5xβˆ’3)(x+2)Rewrite the original expression as ax2+px+qx+c.Factor out the GCF of each part.Factor out the GCF​of the expression.5π‘₯2βˆ’3π‘₯+10π‘₯βˆ’6 Rewrite the original expression as π‘Žπ‘₯2+𝑝π‘₯+π‘žπ‘₯+𝑐.π‘₯(5π‘₯βˆ’3)+2(5π‘₯βˆ’3)Factor out the GCF of each part.(5π‘₯βˆ’3)(π‘₯+2)Factor out the GCF​of the expression.

Analysis

We can check our work by multiplying. Use FOIL to confirm that (5xβˆ’3)(x+2)=5×2+7xβˆ’6.(5π‘₯βˆ’3)(π‘₯+2)=5π‘₯2+7π‘₯βˆ’6.

TRY IT #3

Factor

  1. ⓐ 2×2+9x+92π‘₯2+9π‘₯+9
  2. β“‘Β 6×2+xβˆ’16π‘₯2+π‘₯βˆ’1

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+b2a2βˆ’2ab+b2=and=(a+b)2(aβˆ’b)2π‘Ž2+2π‘Žπ‘+𝑏2=(π‘Ž+𝑏)2andπ‘Ž2βˆ’2π‘Žπ‘+𝑏2=(π‘Žβˆ’π‘)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)2π‘Ž2+2π‘Žπ‘+𝑏2=(π‘Ž+𝑏)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 ofΒ ab.π‘Žπ‘.
  3. Write the factored form asΒ (a+b)2.(π‘Ž+𝑏)2.

EXAMPLE 4

Factoring a Perfect Square Trinomial

Factor 25×2+20x+4.25π‘₯2+20π‘₯+4.

Solution

Notice that 25×225π‘₯2 and 44 are perfect squares because 25×2=(5x)225π‘₯2=(5π‘₯)2 and 4=22.4=22. Then check to see if the middle term is twice the product of 5×5π‘₯ and 2.2. The middle term is, indeed, twice the product: 2(5x)(2)=20x.2(5π‘₯)(2)=20π‘₯. Therefore, the trinomial is a perfect square trinomial and can be written as (5x+2)2.(5π‘₯+2)2.

TRY IT #4

Factor 49×2βˆ’14x+1.49π‘₯2βˆ’14π‘₯+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.

a2βˆ’b2=(a+b)(aβˆ’b)π‘Ž2βˆ’π‘2=(π‘Ž+𝑏)(π‘Žβˆ’π‘)

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.

a2βˆ’b2=(a+b)(aβˆ’b)π‘Ž2βˆ’π‘2=(π‘Ž+𝑏)(π‘Žβˆ’π‘)

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)(aβˆ’b).(π‘Ž+𝑏)(π‘Žβˆ’π‘).

EXAMPLE 5

Factoring a Difference of Squares

Factor 9×2βˆ’25.9π‘₯2βˆ’25.

Solution

Notice that 9×29π‘₯2 and 2525 are perfect squares because 9×2=(3x)29π‘₯2=(3π‘₯)2 and 25=52.25=52. The polynomial represents a difference of squares and can be rewritten as (3x+5)(3xβˆ’5).(3π‘₯+5)(3π‘₯βˆ’5).

TRY IT #5

Factor 81y2βˆ’100.81𝑦2βˆ’100.

Q&A

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)(a2βˆ’ab+b2)π‘Ž3+𝑏3=(π‘Ž+𝑏)(π‘Ž2βˆ’π‘Žπ‘+𝑏2)

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

a3βˆ’b3=(aβˆ’b)(a2+ab+b2)π‘Ž3βˆ’π‘3=(π‘Žβˆ’π‘)(π‘Ž2+π‘Žπ‘+𝑏2)

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.

x3βˆ’23=(xβˆ’2)(x2+2x+4)π‘₯3βˆ’23=(π‘₯βˆ’2)(π‘₯2+2π‘₯+4)

The sign of the first 2 is the same as the sign between x3βˆ’23.π‘₯3βˆ’23. The sign of the 2×2π‘₯ term is opposite the sign between x3βˆ’23.π‘₯3βˆ’23. 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)(a2βˆ’ab+b2)π‘Ž3+𝑏3=(π‘Ž+𝑏)(π‘Ž2βˆ’π‘Žπ‘+𝑏2)

We can factor the difference of two cubes as

a3βˆ’b3=(aβˆ’b)(a2+ab+b2)π‘Ž3βˆ’π‘3=(π‘Žβˆ’π‘)(π‘Ž2+π‘Žπ‘+𝑏2)

HOW TO

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

  1. Confirm that the first and last term are cubes,Β a3+b3π‘Ž3+𝑏3Β orΒ a3βˆ’b3.π‘Ž3βˆ’π‘3.
  2. For a sum of cubes, write the factored form asΒ (a+b)(a2βˆ’ab+b2).(π‘Ž+𝑏)(π‘Ž2βˆ’π‘Žπ‘+𝑏2).Β For a difference of cubes, write the factored form asΒ (aβˆ’b)(a2+ab+b2).(π‘Žβˆ’π‘)(π‘Ž2+π‘Žπ‘+𝑏2).

EXAMPLE 6

Factoring a Sum of Cubes

Factor x3+512.π‘₯3+512.

Solution

Notice that x3π‘₯3 and 512512 are cubes because 83=512.83=512. Rewrite the sum of cubes as (x+8)(x2βˆ’8x+64).(π‘₯+8)(π‘₯2βˆ’8π‘₯+64).

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 #6

Factor the sum of cubes: 216a3+b3.216π‘Ž3+𝑏3.

EXAMPLE 7

Factoring a Difference of Cubes

Factor 8×3βˆ’125.8π‘₯3βˆ’125.

Solution

Notice that 8×38π‘₯3 and 125125 are cubes because 8×3=(2x)38π‘₯3=(2π‘₯)3 and 125=53.125=53. Write the difference of cubes as (2xβˆ’5)(4×2+10x+25).(2π‘₯βˆ’5)(4π‘₯2+10π‘₯+25).

Analysis

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

TRY IT #7

Factor the difference of cubes: 1,000×3βˆ’1.1,000π‘₯3βˆ’1.

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, 2×14+5×342π‘₯14+5π‘₯34 can be factored by pulling out x14π‘₯14 and being rewritten as x14(2+5×12).π‘₯14(2+5π‘₯12).

EXAMPLE 8

Factoring an Expression with Fractional or Negative Exponents

Factor 3x(x+2)βˆ’13+4(x+2)23.3π‘₯(π‘₯+2)βˆ’13+4(π‘₯+2)23.

Solution

Factor out the term with the lowest value of the exponent. In this case, that would be (x+2)βˆ’13.(π‘₯+2)βˆ’13.

(x+2)βˆ’13(3x+4(x+2))(x+2)βˆ’13(3x+4x+8)(x+2)βˆ’13(7x+8)Factor out the GCF.Simplify.(π‘₯+2)βˆ’13(3π‘₯+4(π‘₯+2))Factor out the GCF.(π‘₯+2)βˆ’13(3π‘₯+4π‘₯+8)Simplify.(π‘₯+2)βˆ’13(7π‘₯+8)

TRY IT #8

Factor 2(5aβˆ’1)34+7a(5aβˆ’1)βˆ’14.

RELATED POSTS

View all

view all