Factoring Polynomials

Learning Outcomes

  • Identify and factor the greatest common factor of a polynomial.
  • Factor a trinomial with leading coefficient 1.
  • Factor by grouping.
  • Factor a perfect square trinomial.
  • Factor a difference of squares.
  • Factor a sum and difference of cubes.
  • Factor an expression with negative or fractional 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 the figure below.

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.

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

A=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 of A=s2=42=16 units2. The other rectangular region has one side of length 10x8 and one side of length 4, giving an area of A=lw=4(10x8)=40x32 units2. So the region that must be subtracted has an area of 2(16)+40x32=40x units2.

The area of the region that requires grass seed is found by subtracting 60x240x units2. This area can also be expressed in factored form as 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 Basics

When we studied fractions, we learned that the greatest common factor (GCF) of two numbers is the largest number that divides evenly into both numbers. For instance, 4 is the GCF of 16 and 20 because it is the largest number that divides evenly into both 16 and 20. The GCF of polynomials works the same way: 4x is the GCF of 16x and 20x2 because it is the largest polynomial that divides evenly into both 16x and 20x2.

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

A General Note: 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: Factoring the Greatest Common Factor

Factor 6x3y3+45x2y2+21xy.

Try It

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

Trinomials of the form x2+bx+c can be factored by finding two numbers with a product of c and a sum of b. The trinomial x2+10x+16, for example, can be factored using the numbers 2 and 8 because the product of these numbers is 16 and their sum is 10. The trinomial can be rewritten as the product of (x+2) and (x+8).

A General Note: Factoring a Trinomial with Leading Coefficient 1

A trinomial of the form x2+bx+c 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 OF the form x2+bx+c, 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: Factoring a Trinomial with Leading Coefficient 1

Factor x2+2x15.

Q & A

Does the order of the factors matter?

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

Try It

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

A General Note: Factoring by Grouping

To factor a trinomial of the form ax2+bx+c 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, 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.
  4. Pull out the GCF of ax2+px.
  5. Pull out the GCF of qx+c.
  6. Factor out the GCF of the expression.

Example: Factoring a Trinomial by Grouping

Factor 5x2+7x6 by grouping.

Try It

Factor the following.

  1. 2x2+9x+9
  2. 6x2+x1

Factoring Special Cases

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)2
We can use this equation to factor any perfect square trinomial.

A General Note: Perfect Square Trinomials

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

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

Example: Factoring a Perfect Square Trinomial

Factor 25x2+20x+4.

Try It

Factor 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)

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

A General Note: Differences of Squares

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

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).

Example: Factoring a Difference of Squares

Factor 9x225.

Try It

Factor 81y2100.

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)(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 between x323. The sign of the 2x term is opposite the sign between x323. And the sign of the last term, 4, is always positive.

A General Note: 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+b3 or a3b3.
  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).

Example: Factoring a Sum of Cubes

Factor x3+512.

Try It

Factor the sum of cubes 216a3+b3.

Example: Factoring a Difference of Cubes

Factor 8x3125.

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+5x34 can be factored by pulling out x14 and being rewritten as x14(2+5x12).

Example: Factoring an Expression with Fractional or Negative Exponents

Factor 3x(x+2)13+4(x+2)23.

Try It

Factor 2(5a1)34+7a(5a1)14.


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)

Key Concepts

  • 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.
  • 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.
  • Trinomials can be factored using a process called factoring by grouping.
  • Perfect square trinomials and the difference of squares are special products and can be factored using equations.
  • The sum of cubes and the difference of cubes can be factored using equations.
  • Polynomials containing fractional and negative exponents can be factored by pulling out a GCF.

Glossary

factor by grouping
a method for factoring a trinomial of the form ax2+bx+c 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