Learn on PengiOpenStax Algebra and TrigonometryChapter 1: Prerequisites

Lesson 1.5: Factoring Polynomials

New Concept Factoring breaks down complex polynomials into simpler products, like reverse multiplication. You'll master several key methods, from finding the GCF to using special formulas, to factor various types of expressions and solve problems more easily.

Section 1

πŸ“˜ Factoring Polynomials

New Concept

Factoring breaks down complex polynomials into simpler products, like reverse multiplication. You'll master several key methods, from finding the GCF to using special formulas, to factor various types of expressions and solve problems more easily.

What’s next

You'll now dive into these techniques with worked examples and a series of practice cards to build your factoring skills.

Section 2

Factoring the Greatest Common Factor

Property

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

  1. Identify the GCF of the coefficients.
  2. Identify the GCF of the variables (using the lowest power for each variable).
  3. Combine to find the expression's GCF.
  4. Determine what the GCF must be multiplied by to get each term.
  5. Write the factored expression as the GCF multiplied by the remaining terms.

Examples

  • To factor 8a2b3+12ab2+20a3b8a^2b^3 + 12ab^2 + 20a^3b, the GCF is 4ab4ab. Factoring this out gives 4ab(2ab2+3b+5a2)4ab(2ab^2 + 3b + 5a^2).
  • To factor 15m4nβˆ’25m2n2+5mn15m^4n - 25m^2n^2 + 5mn, the GCF is 5mn5mn. The factored form is 5mn(3m3βˆ’5mn+1)5mn(3m^3 - 5mn + 1).
  • To factor 12x2(yβˆ’1)+8x(yβˆ’1)12x^2(y-1) + 8x(y-1), the GCF is 4x(yβˆ’1)4x(y-1). This results in 4x(yβˆ’1)(3x+2)4x(y-1)(3x + 2).

Explanation

Think of this as reverse distribution. You are finding the largest number and variable part that every single term shares and pulling it out to the front. This simplifies the expression inside the parentheses, making it easier to work with.

Section 3

Factoring a Trinomial with Leading Coefficient 1

Property

A trinomial of the form x2+bx+cx^2 + bx + c can be written in factored form as (x+p)(x+q)(x + p)(x + q) where pq=cpq = c and p+q=bp + q = b.
To factor, list the factors of cc and find the pair, pp and qq, that has a sum of bb.
Then write the factored expression as (x+p)(x+q)(x+p)(x+q). Some polynomials, called prime, cannot be factored.

Examples

  • To factor x2+7x+12x^2 + 7x + 12, we need two numbers that multiply to 1212 and add to 77. These are 33 and 44, so the factors are (x+3)(x+4)(x+3)(x+4).
  • To factor y2βˆ’8y+15y^2 - 8y + 15, we need numbers that multiply to 1515 and add to βˆ’8-8. These are βˆ’3-3 and βˆ’5-5, giving the factors (yβˆ’3)(yβˆ’5)(y-3)(y-5).
  • To factor z2+3zβˆ’10z^2 + 3z - 10, we need numbers that multiply to βˆ’10-10 and add to 33. These are 55 and βˆ’2-2, so the factors are (z+5)(zβˆ’2)(z+5)(z-2).

Explanation

You're looking for two magic numbers that multiply to the last term (cc) and add up to the coefficient of the middle term (bb). This process reverses the FOIL method you use to multiply two binomials together.

Section 4

Factoring by Grouping

Property

To factor a trinomial in the form ax2+bx+cax^2 + bx + c by grouping, find two numbers, pp and qq, that have a product of acac and a sum of bb.
Rewrite the expression as ax2+px+qx+cax^2 + px + qx + c.
Then, factor the GCF from the first pair of terms and the GCF from the second pair, and finally factor out the common binomial factor.

Examples

  • To factor 3x2+10x+83x^2 + 10x + 8, find two numbers that multiply to ac=24ac=24 and add to b=10b=10. The numbers are 66 and 44. Rewrite as 3x2+6x+4x+83x^2+6x+4x+8, which factors to 3x(x+2)+4(x+2)3x(x+2)+4(x+2), giving (3x+4)(x+2)(3x+4)(x+2).
  • To factor 2y2βˆ’5yβˆ’122y^2 - 5y - 12, find numbers that multiply to ac=βˆ’24ac=-24 and add to b=βˆ’5b=-5. The numbers are βˆ’8-8 and 33. Rewrite as 2y2βˆ’8y+3yβˆ’122y^2-8y+3y-12, which factors to 2y(yβˆ’4)+3(yβˆ’4)2y(y-4)+3(y-4), giving (2y+3)(yβˆ’4)(2y+3)(y-4).
  • To factor 4z2+13zβˆ’124z^2 + 13z - 12, find numbers that multiply to ac=βˆ’48ac=-48 and add to b=13b=13. The numbers are 1616 and βˆ’3-3. Rewrite as 4z2+16zβˆ’3zβˆ’124z^2+16z-3z-12, which factors to 4z(z+4)βˆ’3(z+4)4z(z+4)-3(z+4), giving (4zβˆ’3)(z+4)(4z-3)(z+4).

Explanation

When the leading coefficient isn't 1, we split the middle term into two new terms. This allows us to factor the polynomial in two halves, revealing a common binomial that can then be factored out for the final answer.

Section 5

Factoring a Perfect Square Trinomial

Property

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

a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2
a2βˆ’2ab+b2=(aβˆ’b)2a^2 - 2ab + b^2 = (a - b)^2

To use this, confirm the first and last terms are perfect squares (a2a^2 and b2b^2) and the middle term is twice their product (2ab2ab).

Examples

  • To factor 9x2+12x+49x^2 + 12x + 4, notice a=3xa=3x and b=2b=2. The middle term is 2(3x)(2)=12x2(3x)(2) = 12x. So, the factored form is (3x+2)2(3x+2)^2.
  • To factor 16y2βˆ’40y+2516y^2 - 40y + 25, notice a=4ya=4y and b=5b=5. The middle term is 2(4y)(5)=40y2(4y)(5)=40y. So, the factored form is (4yβˆ’5)2(4y-5)^2.
  • To factor x2+18x+81x^2 + 18x + 81, notice a=xa=x and b=9b=9. The middle term is 2(x)(9)=18x2(x)(9)=18x. So, the factored form is (x+9)2(x+9)^2.

Explanation

This is a special shortcut. If you spot that the first and last terms are perfect squares, check the middle term. If it's 22 times the product of the square roots of the outer terms, you can factor it instantly.

Section 6

Factoring a Difference of Squares

Property

A difference of squares is a perfect square subtracted from a perfect square. It can be rewritten as two factors containing the same terms but opposite signs.

a2βˆ’b2=(a+b)(aβˆ’b)a^2 - b^2 = (a + b)(a - b)

To factor, confirm both terms are perfect squares and write the factored form. A sum of squares cannot be factored.

Examples

  • To factor 49x2βˆ’1649x^2 - 16, recognize this as (7x)2βˆ’42(7x)^2 - 4^2. The factors are (7x+4)(7xβˆ’4)(7x+4)(7x-4).
  • To factor 100y4βˆ’81z2100y^4 - 81z^2, recognize this as (10y2)2βˆ’(9z)2(10y^2)^2 - (9z)^2. The factors are (10y2+9z)(10y2βˆ’9z)(10y^2+9z)(10y^2-9z).
  • To factor a2βˆ’1a^2 - 1, recognize this as a2βˆ’12a^2 - 1^2. The factors are (a+1)(aβˆ’1)(a+1)(a-1).

Explanation

When you see a perfect square minus another perfect square, it factors into two identical binomials, one with a plus and one with a minus. This causes the middle terms from FOIL to cancel out, leaving just the first and last terms.

Section 7

Factoring the Sum and Difference of Cubes

Property

We can factor the sum of two cubes as

a3+b3=(a+b)(a2βˆ’ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)

We can factor the difference of two cubes as

a3βˆ’b3=(aβˆ’b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Use the acronym SOAP (Same, Opposite, Always Positive) to remember the signs.

Examples

  • To factor y3+27y^3 + 27, recognize this as y3+33y^3 + 3^3. Using the sum of cubes formula, we get (y+3)(y2βˆ’3y+9)(y+3)(y^2 - 3y + 9).
  • To factor 8z3βˆ’18z^3 - 1, recognize this as (2z)3βˆ’13(2z)^3 - 1^3. Using the difference of cubes formula, we get (2zβˆ’1)(4z2+2z+1)(2z-1)(4z^2 + 2z + 1).
  • To factor 2x3+1282x^3 + 128, first factor out the GCF of 22 to get 2(x3+64)2(x^3+64). This is 2(x3+43)2(x^3+4^3), which factors to 2(x+4)(x2βˆ’4x+16)2(x+4)(x^2-4x+16).

Explanation

This is a special formula for factoring two perfect cubes. The SOAP acronym (Same, Opposite, Always Positive) helps you remember the signs for the binomial and trinomial factors. The resulting trinomial part cannot be factored further.

Section 8

Factoring with Fractional or Negative Exponents

Property

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.

Examples

  • To factor x32+x12x^{\frac{3}{2}} + x^{\frac{1}{2}}, the lowest power is x12x^{\frac{1}{2}}. Factoring this out gives x12(x+1)x^{\frac{1}{2}}(x+1).
  • To factor 5x(xβˆ’1)βˆ’12+2(xβˆ’1)125x(x - 1)^{-\frac{1}{2}} + 2(x - 1)^{\frac{1}{2}}, the lowest exponent is βˆ’12-\frac{1}{2}. Factoring out (xβˆ’1)βˆ’12(x-1)^{-\frac{1}{2}} leaves (xβˆ’1)βˆ’12(5x+2(xβˆ’1))(x-1)^{-\frac{1}{2}}(5x + 2(x-1)), which simplifies to (xβˆ’1)βˆ’12(7xβˆ’2)(x-1)^{-\frac{1}{2}}(7x-2).
  • To factor 4(y+5)βˆ’14+8y(y+5)344(y+5)^{-\frac{1}{4}} + 8y(y+5)^{\frac{3}{4}}, factor out 4(y+5)βˆ’144(y+5)^{-\frac{1}{4}} to get 4(y+5)βˆ’14(1+2y(y+5))4(y+5)^{-\frac{1}{4}}(1+2y(y+5)), which simplifies to 4(y+5)βˆ’14(2y2+10y+1)4(y+5)^{-\frac{1}{4}}(2y^2+10y+1).

Explanation

This method is just like finding a GCF. Identify the common base and factor out the one with the smallest exponent, even if it's negative or a fraction. Remember that when you divide powers, you subtract the exponents.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 1: Prerequisites

  1. Lesson 1

    Lesson 1.1: Real Numbers: Algebra Essentials

  2. Lesson 2

    Lesson 1.2: Exponents and Scientific Notation

  3. Lesson 3

    Lesson 1.3: Radicals and Rational Exponents

  4. Lesson 4

    Lesson 1.4: Polynomials

  5. Lesson 5Current

    Lesson 1.5: Factoring Polynomials

  6. Lesson 6

    Lesson 1.6: Rational Expressions

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Factoring Polynomials

New Concept

Factoring breaks down complex polynomials into simpler products, like reverse multiplication. You'll master several key methods, from finding the GCF to using special formulas, to factor various types of expressions and solve problems more easily.

What’s next

You'll now dive into these techniques with worked examples and a series of practice cards to build your factoring skills.

Section 2

Factoring the Greatest Common Factor

Property

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

  1. Identify the GCF of the coefficients.
  2. Identify the GCF of the variables (using the lowest power for each variable).
  3. Combine to find the expression's GCF.
  4. Determine what the GCF must be multiplied by to get each term.
  5. Write the factored expression as the GCF multiplied by the remaining terms.

Examples

  • To factor 8a2b3+12ab2+20a3b8a^2b^3 + 12ab^2 + 20a^3b, the GCF is 4ab4ab. Factoring this out gives 4ab(2ab2+3b+5a2)4ab(2ab^2 + 3b + 5a^2).
  • To factor 15m4nβˆ’25m2n2+5mn15m^4n - 25m^2n^2 + 5mn, the GCF is 5mn5mn. The factored form is 5mn(3m3βˆ’5mn+1)5mn(3m^3 - 5mn + 1).
  • To factor 12x2(yβˆ’1)+8x(yβˆ’1)12x^2(y-1) + 8x(y-1), the GCF is 4x(yβˆ’1)4x(y-1). This results in 4x(yβˆ’1)(3x+2)4x(y-1)(3x + 2).

Explanation

Think of this as reverse distribution. You are finding the largest number and variable part that every single term shares and pulling it out to the front. This simplifies the expression inside the parentheses, making it easier to work with.

Section 3

Factoring a Trinomial with Leading Coefficient 1

Property

A trinomial of the form x2+bx+cx^2 + bx + c can be written in factored form as (x+p)(x+q)(x + p)(x + q) where pq=cpq = c and p+q=bp + q = b.
To factor, list the factors of cc and find the pair, pp and qq, that has a sum of bb.
Then write the factored expression as (x+p)(x+q)(x+p)(x+q). Some polynomials, called prime, cannot be factored.

Examples

  • To factor x2+7x+12x^2 + 7x + 12, we need two numbers that multiply to 1212 and add to 77. These are 33 and 44, so the factors are (x+3)(x+4)(x+3)(x+4).
  • To factor y2βˆ’8y+15y^2 - 8y + 15, we need numbers that multiply to 1515 and add to βˆ’8-8. These are βˆ’3-3 and βˆ’5-5, giving the factors (yβˆ’3)(yβˆ’5)(y-3)(y-5).
  • To factor z2+3zβˆ’10z^2 + 3z - 10, we need numbers that multiply to βˆ’10-10 and add to 33. These are 55 and βˆ’2-2, so the factors are (z+5)(zβˆ’2)(z+5)(z-2).

Explanation

You're looking for two magic numbers that multiply to the last term (cc) and add up to the coefficient of the middle term (bb). This process reverses the FOIL method you use to multiply two binomials together.

Section 4

Factoring by Grouping

Property

To factor a trinomial in the form ax2+bx+cax^2 + bx + c by grouping, find two numbers, pp and qq, that have a product of acac and a sum of bb.
Rewrite the expression as ax2+px+qx+cax^2 + px + qx + c.
Then, factor the GCF from the first pair of terms and the GCF from the second pair, and finally factor out the common binomial factor.

Examples

  • To factor 3x2+10x+83x^2 + 10x + 8, find two numbers that multiply to ac=24ac=24 and add to b=10b=10. The numbers are 66 and 44. Rewrite as 3x2+6x+4x+83x^2+6x+4x+8, which factors to 3x(x+2)+4(x+2)3x(x+2)+4(x+2), giving (3x+4)(x+2)(3x+4)(x+2).
  • To factor 2y2βˆ’5yβˆ’122y^2 - 5y - 12, find numbers that multiply to ac=βˆ’24ac=-24 and add to b=βˆ’5b=-5. The numbers are βˆ’8-8 and 33. Rewrite as 2y2βˆ’8y+3yβˆ’122y^2-8y+3y-12, which factors to 2y(yβˆ’4)+3(yβˆ’4)2y(y-4)+3(y-4), giving (2y+3)(yβˆ’4)(2y+3)(y-4).
  • To factor 4z2+13zβˆ’124z^2 + 13z - 12, find numbers that multiply to ac=βˆ’48ac=-48 and add to b=13b=13. The numbers are 1616 and βˆ’3-3. Rewrite as 4z2+16zβˆ’3zβˆ’124z^2+16z-3z-12, which factors to 4z(z+4)βˆ’3(z+4)4z(z+4)-3(z+4), giving (4zβˆ’3)(z+4)(4z-3)(z+4).

Explanation

When the leading coefficient isn't 1, we split the middle term into two new terms. This allows us to factor the polynomial in two halves, revealing a common binomial that can then be factored out for the final answer.

Section 5

Factoring a Perfect Square Trinomial

Property

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

a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2
a2βˆ’2ab+b2=(aβˆ’b)2a^2 - 2ab + b^2 = (a - b)^2

To use this, confirm the first and last terms are perfect squares (a2a^2 and b2b^2) and the middle term is twice their product (2ab2ab).

Examples

  • To factor 9x2+12x+49x^2 + 12x + 4, notice a=3xa=3x and b=2b=2. The middle term is 2(3x)(2)=12x2(3x)(2) = 12x. So, the factored form is (3x+2)2(3x+2)^2.
  • To factor 16y2βˆ’40y+2516y^2 - 40y + 25, notice a=4ya=4y and b=5b=5. The middle term is 2(4y)(5)=40y2(4y)(5)=40y. So, the factored form is (4yβˆ’5)2(4y-5)^2.
  • To factor x2+18x+81x^2 + 18x + 81, notice a=xa=x and b=9b=9. The middle term is 2(x)(9)=18x2(x)(9)=18x. So, the factored form is (x+9)2(x+9)^2.

Explanation

This is a special shortcut. If you spot that the first and last terms are perfect squares, check the middle term. If it's 22 times the product of the square roots of the outer terms, you can factor it instantly.

Section 6

Factoring a Difference of Squares

Property

A difference of squares is a perfect square subtracted from a perfect square. It can be rewritten as two factors containing the same terms but opposite signs.

a2βˆ’b2=(a+b)(aβˆ’b)a^2 - b^2 = (a + b)(a - b)

To factor, confirm both terms are perfect squares and write the factored form. A sum of squares cannot be factored.

Examples

  • To factor 49x2βˆ’1649x^2 - 16, recognize this as (7x)2βˆ’42(7x)^2 - 4^2. The factors are (7x+4)(7xβˆ’4)(7x+4)(7x-4).
  • To factor 100y4βˆ’81z2100y^4 - 81z^2, recognize this as (10y2)2βˆ’(9z)2(10y^2)^2 - (9z)^2. The factors are (10y2+9z)(10y2βˆ’9z)(10y^2+9z)(10y^2-9z).
  • To factor a2βˆ’1a^2 - 1, recognize this as a2βˆ’12a^2 - 1^2. The factors are (a+1)(aβˆ’1)(a+1)(a-1).

Explanation

When you see a perfect square minus another perfect square, it factors into two identical binomials, one with a plus and one with a minus. This causes the middle terms from FOIL to cancel out, leaving just the first and last terms.

Section 7

Factoring the Sum and Difference of Cubes

Property

We can factor the sum of two cubes as

a3+b3=(a+b)(a2βˆ’ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)

We can factor the difference of two cubes as

a3βˆ’b3=(aβˆ’b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Use the acronym SOAP (Same, Opposite, Always Positive) to remember the signs.

Examples

  • To factor y3+27y^3 + 27, recognize this as y3+33y^3 + 3^3. Using the sum of cubes formula, we get (y+3)(y2βˆ’3y+9)(y+3)(y^2 - 3y + 9).
  • To factor 8z3βˆ’18z^3 - 1, recognize this as (2z)3βˆ’13(2z)^3 - 1^3. Using the difference of cubes formula, we get (2zβˆ’1)(4z2+2z+1)(2z-1)(4z^2 + 2z + 1).
  • To factor 2x3+1282x^3 + 128, first factor out the GCF of 22 to get 2(x3+64)2(x^3+64). This is 2(x3+43)2(x^3+4^3), which factors to 2(x+4)(x2βˆ’4x+16)2(x+4)(x^2-4x+16).

Explanation

This is a special formula for factoring two perfect cubes. The SOAP acronym (Same, Opposite, Always Positive) helps you remember the signs for the binomial and trinomial factors. The resulting trinomial part cannot be factored further.

Section 8

Factoring with Fractional or Negative Exponents

Property

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.

Examples

  • To factor x32+x12x^{\frac{3}{2}} + x^{\frac{1}{2}}, the lowest power is x12x^{\frac{1}{2}}. Factoring this out gives x12(x+1)x^{\frac{1}{2}}(x+1).
  • To factor 5x(xβˆ’1)βˆ’12+2(xβˆ’1)125x(x - 1)^{-\frac{1}{2}} + 2(x - 1)^{\frac{1}{2}}, the lowest exponent is βˆ’12-\frac{1}{2}. Factoring out (xβˆ’1)βˆ’12(x-1)^{-\frac{1}{2}} leaves (xβˆ’1)βˆ’12(5x+2(xβˆ’1))(x-1)^{-\frac{1}{2}}(5x + 2(x-1)), which simplifies to (xβˆ’1)βˆ’12(7xβˆ’2)(x-1)^{-\frac{1}{2}}(7x-2).
  • To factor 4(y+5)βˆ’14+8y(y+5)344(y+5)^{-\frac{1}{4}} + 8y(y+5)^{\frac{3}{4}}, factor out 4(y+5)βˆ’144(y+5)^{-\frac{1}{4}} to get 4(y+5)βˆ’14(1+2y(y+5))4(y+5)^{-\frac{1}{4}}(1+2y(y+5)), which simplifies to 4(y+5)βˆ’14(2y2+10y+1)4(y+5)^{-\frac{1}{4}}(2y^2+10y+1).

Explanation

This method is just like finding a GCF. Identify the common base and factor out the one with the smallest exponent, even if it's negative or a fraction. Remember that when you divide powers, you subtract the exponents.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 1: Prerequisites

  1. Lesson 1

    Lesson 1.1: Real Numbers: Algebra Essentials

  2. Lesson 2

    Lesson 1.2: Exponents and Scientific Notation

  3. Lesson 3

    Lesson 1.3: Radicals and Rational Exponents

  4. Lesson 4

    Lesson 1.4: Polynomials

  5. Lesson 5Current

    Lesson 1.5: Factoring Polynomials

  6. Lesson 6

    Lesson 1.6: Rational Expressions