### Learning Objectives

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

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

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$\text{\hspace{0.17em}}A={s}^{2}={4}^{2}=16\text{\hspace{0.17em}}$units^{2}. The other rectangular region has one side of length$\text{\hspace{0.17em}}10x-8\text{\hspace{0.17em}}$and one side of length$\text{\hspace{0.17em}}4,$giving an area of$\text{\hspace{0.17em}}A=lw=4(10x-8)=40x-32\text{\hspace{0.17em}}$units^{2}. So the region that must be subtracted has an area of$\text{\hspace{0.17em}}2(16)+40x-32=40x\text{\hspace{0.17em}}$units^{2}.

The area of the region that requires grass seed is found by subtracting$\text{\hspace{0.17em}}60{x}^{2}-40x\text{\hspace{0.17em}}$units^{2}. This area can also be expressed in factored form as$\text{\hspace{0.17em}}20x(3x-2)\text{\hspace{0.17em}}$units^{2}. 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,$\text{\hspace{0.17em}}4\text{\hspace{0.17em}}$is the GCF of$\text{\hspace{0.17em}}16\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}20\text{\hspace{0.17em}}$because it is the largest number that divides evenly into both$\text{\hspace{0.17em}}16\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}20\text{\hspace{0.17em}}$The GCF of polynomials works the same way:$\text{\hspace{0.17em}}4x\text{\hspace{0.17em}}$is the GCF of$\text{\hspace{0.17em}}16x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}20{x}^{2}\text{\hspace{0.17em}}$because it is the largest polynomial that divides evenly into both$\text{\hspace{0.17em}}16x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}20{x}^{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.
**

- Identify the GCF of the coefficients.
- Identify the GCF of the variables.
- Combine to find the GCF of the expression.
- Determine what the GCF needs to be multiplied by to obtain each term in the expression.
- 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$\text{\hspace{0.17em}}6{x}^{3}{y}^{3}+45{x}^{2}{y}^{2}+21xy.$

#### Analysis

After factoring, we can check our work by multiplying. Use the distributive property to confirm that$\text{\hspace{0.17em}}(3xy)(2{x}^{2}{y}^{2}+15xy+7)=6{x}^{3}{y}^{3}+45{x}^{2}{y}^{2}+21xy.$

Factor$\text{\hspace{0.17em}}x({b}^{2}-a)+6({b}^{2}-a)\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}{x}^{2}+5x+6\text{\hspace{0.17em}}$has a GCF of 1, but it can be written as the product of the factors$\text{\hspace{0.17em}}(x+2)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}(x+3).$

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

### Factoring a Trinomial with Leading Coefficient 1

A trinomial of the form$\text{\hspace{0.17em}}{x}^{2}+bx+c\text{\hspace{0.17em}}$can be written in factored form as$\text{\hspace{0.17em}}(x+p)(x+q)\text{\hspace{0.17em}}$where$\text{\hspace{0.17em}}pq=c\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}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$\text{\hspace{0.17em}}{x}^{2}+bx+c,$factor it.**

- List factors of$\text{\hspace{0.17em}}c.$
- Find$\text{\hspace{0.17em}}p\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}q,$a pair of factors of$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$with a sum of$\text{\hspace{0.17em}}b.$
- Write the factored expression$\text{\hspace{0.17em}}(x+p)(x+q).$

### Example 2

#### Factoring a Trinomial with Leading Coefficient 1

Factor$\text{\hspace{0.17em}}{x}^{2}+2x-15.$

#### Analysis

We can check our work by multiplying. Use FOIL to confirm that$\text{\hspace{0.17em}}(x-3)(x+5)={x}^{2}+2x-15.$

### Q&A

**Does the order of the factors matter?**

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

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

### Factor by Grouping

To factor a trinomial in the form$\text{\hspace{0.17em}}a{x}^{2}+bx+c\text{\hspace{0.17em}}$by grouping, we find two numbers with a product of$\text{\hspace{0.17em}}ac\text{\hspace{0.17em}}$and a sum of$\text{\hspace{0.17em}}b.\text{\hspace{0.17em}}$We use these numbers to divide the$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}a{x}^{2}+bx+c,$factor by grouping.**

- List factors of$\text{\hspace{0.17em}}ac.$
- Find$\text{\hspace{0.17em}}p\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}q,$a pair of factors of$\text{\hspace{0.17em}}ac\text{\hspace{0.17em}}$with a sum of$\text{\hspace{0.17em}}b.$
- Rewrite the original expression as$\text{\hspace{0.17em}}a{x}^{2}+px+qx+c.$
- Pull out the GCF of$\text{\hspace{0.17em}}a{x}^{2}+px.$
- Pull out the GCF of$\text{\hspace{0.17em}}qx+c.$
- Factor out the GCF of the expression.

### Example 3

#### Factoring a Trinomial by Grouping

Factor$\text{\hspace{0.17em}}5{x}^{2}+7x-6\text{\hspace{0.17em}}$by grouping.

#### Analysis

We can check our work by multiplying. Use FOIL to confirm that$\text{\hspace{0.17em}}(5x-3)(x+2)=5{x}^{2}+7x-6.$

Factor a.$\text{\hspace{0.17em}}2{x}^{2}+9x+9\text{\hspace{0.17em}}$b.$\text{\hspace{0.17em}}6{x}^{2}+x-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.

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:

### How To

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

- Confirm that the first and last term are perfect squares.
- Confirm that the middle term is twice the product of$\text{\hspace{0.17em}}ab.$
- Write the factored form as$\text{\hspace{0.17em}}{(a+b)}^{2}.$

### Example 4

#### Factoring a Perfect Square Trinomial

Factor$\text{\hspace{0.17em}}25{x}^{2}+20x+4.$

Factor$\text{\hspace{0.17em}}49{x}^{2}-14x+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.

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.

### How To

**Given a difference of squares, factor it into binomials.**

- Confirm that the first and last term are perfect squares.
- Write the factored form as$\text{\hspace{0.17em}}(a+b)(a-b).$

### Example 5

#### Factoring a Difference of Squares

Factor$\text{\hspace{0.17em}}9{x}^{2}-25.$

Factor$\text{\hspace{0.17em}}81{y}^{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.

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

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: **S**ame **O**pposite **A**lways **P**ositive. For example, consider the following example.

The sign of the first 2 is the *same* as the sign between$\text{\hspace{0.17em}}{x}^{3}-{2}^{3}.\text{\hspace{0.17em}}$The sign of the$\text{\hspace{0.17em}}2x\text{\hspace{0.17em}}$term is *opposite* the sign between$\text{\hspace{0.17em}}{x}^{3}-{2}^{3}.\text{\hspace{0.17em}}$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

We can factor the difference of two cubes as

### How To

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

- Confirm that the first and last term are cubes,$\text{\hspace{0.17em}}{a}^{3}+{b}^{3}\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}{a}^{3}-{b}^{3}.$
- For a sum of cubes, write the factored form as$\text{\hspace{0.17em}}(a+b)({a}^{2}-ab+{b}^{2}).\text{\hspace{0.17em}}$For a difference of cubes, write the factored form as$\text{\hspace{0.17em}}(a-b)({a}^{2}+ab+{b}^{2}).$

### Example 6

#### Factoring a Sum of Cubes

Factor$\text{\hspace{0.17em}}{x}^{3}+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.

Factor the sum of cubes:$\text{\hspace{0.17em}}216{a}^{3}+{b}^{3}.$

### Example 7

#### Factoring a Difference of Cubes

Factor$\text{\hspace{0.17em}}8{x}^{3}-125.$

#### Analysis

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

Factor the difference of cubes:$\text{\hspace{0.17em}}\mathrm{1,000}{x}^{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,$\text{\hspace{0.17em}}2{x}^{\frac{1}{4}}+5{x}^{\frac{3}{4}}\text{\hspace{0.17em}}$can be factored by pulling out$\text{\hspace{0.17em}}{x}^{\frac{1}{4}}\text{\hspace{0.17em}}$and being rewritten as$\text{\hspace{0.17em}}{x}^{\frac{1}{4}}(2+5{x}^{\frac{1}{2}}).$

### Example 8

#### Factoring an Expression with Fractional or Negative Exponents

Factor$\text{\hspace{0.17em}}3x{(x+2)}^{\frac{\mathrm{-1}}{3}}+4{(x+2)}^{\frac{2}{3}}.$

Factor$\text{\hspace{0.17em}}2{(5a-1)}^{\frac{3}{4}}+7a{(5a-1)}^{-\frac{1}{4}}.$

### Media

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

### 1.5 Section Exercises

#### Verbal

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?

#### Algebraic

For the following exercises, find the greatest common factor.

$14x+4xy-18x{y}^{2}$

$30{x}^{3}y-45{x}^{2}{y}^{2}+135x{y}^{3}$

$36{j}^{4}{k}^{2}-18{j}^{3}{k}^{3}+54{j}^{2}{k}^{4}$

For the following exercises, factor by grouping.

$6{x}^{2}+5x-4$

$6{c}^{2}+41c+63$

$20{w}^{2}-47w+24$

For the following exercises, factor the polynomial.

$7{x}^{2}+48x-7$

$2{b}^{2}-25b-247$

$90{v}^{2}\mathrm{-181}v+90$

$2{n}^{2}-n-15$

$25{y}^{2}-196$

$4{m}^{2}-9$

$324{x}^{2}-121$

$16{a}^{2}-8a+1$

$121{x}^{2}-88x+16$

${m}^{2}-20m+100$

$36{q}^{2}+60q+25$

For the following exercises, factor the polynomials.

$27{y}^{3}-8$

${b}^{3}-8{d}^{3}$

$729{q}^{3}+1331$

$4x{\left(x-1\right)}^{-\frac{2}{3}}+3{\left(x-1\right)}^{\frac{1}{3}}$

$3t{\left(10t+3\right)}^{\frac{1}{3}}+7{\left(10t+3\right)}^{\frac{4}{3}}$

$9y{(3y-13)}^{\frac{1}{5}}-2{(3y-13)}^{\frac{6}{5}}$

$6d{\left(2d+3\right)}^{-\frac{1}{6}}+5{\left(2d+3\right)}^{\frac{5}{6}}$

#### 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$\text{\hspace{0.17em}}98{x}^{2}+105x-27\text{\hspace{0.17em}}$m^{2}, as shown in the figure below. The length and width of the park are perfect factors of the area.

A statue is to be placed in the center of the park. The area of the base of the statue is$\text{\hspace{0.17em}}4{x}^{2}+12x+9{\text{m}}^{2}.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}9{x}^{2}-25{\text{m}}^{2}.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}{x}^{2}-6x+9$yd^{2}.

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

#### Extensions

For the following exercises, factor the polynomials completely.

$81{y}^{4}-256$

$5x{\left(3x+2\right)}^{-\frac{2}{4}}+{\left(12x+8\right)}^{\frac{3}{2}}$