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

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 ofA=s2=42=16A=s2=42=16units2. The other rectangular region has one side of length10x−810x−8and one side of length4,4,giving an area ofA=lw=4(10x−8)=40x−32A=lw=4(10x−8)=40x−32units2. So the region that must be subtracted has an area of2(16)+40x−32=40x2(16)+40x−32=40xunits2.
The area of the region that requires grass seed is found by subtracting60x2−40x60x2−40xunits2. This area can also be expressed in factored form as20x(3x−2)20x(3x−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,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.
- 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.
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(b2−a)+6(b2−a)x(b2−a)+6(b2−a)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.
- List factors ofc.c.
- Findppandq,q,a pair of factors ofccwith a sum ofb.b.
- Write the factored expression(x+p)(x+q).(x+p)(x+q).
Factoring a Trinomial with Leading Coefficient 1
Factorx2+2x−15.x2+2x−15.
Analysis
We can check our work by multiplying. Use FOIL to confirm that(x−3)(x+5)=x2+2x−15.(x−3)(x+5)=x2+2x−15.
Does the order of the factors matter?
No. Multiplication is commutative, so the order of the factors does not matter.
Try It
Factorx2−7x+6.x2−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 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.
- List factors ofac.ac.
- Findppandq,q,a pair of factors ofacacwith a sum ofb.b.
- Rewrite the original expression asax2+px+qx+c.ax2+px+qx+c.
- Pull out the GCF ofax2+px.ax2+px.
- Pull out the GCF ofqx+c.qx+c.
- Factor out the GCF of the expression.
Factoring a Trinomial by Grouping
Factor5x2+7x−65x2+7x−6by grouping.
Analysis
We can check our work by multiplying. Use FOIL to confirm that(5x−3)(x+2)=5x2+7x−6.(5x−3)(x+2)=5x2+7x−6.
Factor a.2x2+9x+92x2+9x+9b.6x2+x−16x2+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 ofab.ab.
- Write the factored form as(a+b)2.(a+b)2.
Factoring a Perfect Square Trinomial
Factor25x2+20x+4.25x2+20x+4.
Try It
Factor49x2−14x+1.49x2−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(a+b)(a−b).(a+b)(a−b).
Factoring a Difference of Squares
Factor9x2−25.9x2−25.
Try It
Factor81y2−100.
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: Same Opposite Always Positive. For example, consider the following example.
The sign of the first 2 is the same as the sign betweenx3−23.The sign of the2xterm is opposite the sign betweenx3−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
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,a3+b3ora3−b3.
- For a sum of cubes, write the factored form as(a+b)(a2−ab+b2).For a difference of cubes, write the factored form as(a−b)(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
Factor8x3−125.
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,000x3−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,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(5a−1)34+7a(5a−1)−14.
Access these online resources for additional instruction and practice with factoring polynomials.
Key Equations
difference of squares | a2−b2=(a+b)(a−b) |
perfect square trinomial | a2+2ab+b2=(a+b)2 |
sum of cubes | a3+b3=(a+b)(a2−ab+b2) |
difference of cubes | a3−b3=(a−b)(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+4xy−18xy2
49mb2−35m2ba+77ma2
30x3y−45x2y2+135xy3
200p3m3−30p2m3+40m3
36j4k2−18j3k3+54j2k4
6y4−2y3+3y2−y
For the following exercises, factor by grouping.
6x2+5x−4
2a2+9a−18
6c2+41c+63
6n2−19n−11
20w2−47w+24
2p2−5p−7
For the following exercises, factor the polynomial.
7x2+48x−7
10h2−9h−9
2b2−25b−247
9d2−73d+8
90v2−181v+90
12t2+t−13
2n2−n−15
16x2−100
25y2−196
121p2−169
4m2−9
361d2−81
324x2−121
144b2−25c2
16a2−8a+1
49n2+168n+144
121x2−88x+16
225y2+120y+16
m2−20m+100
25p2−120m+144
36q2+60q+25
For the following exercises, factor the polynomials.
x3+216
27y3−8
125a3+343
b3−8d3
64x3−125
729q3+1331
125r3+1,728s3
4x(x−1)−23+3(x−1)13
3c(2c+3)−14−5(2c+3)34
3t(10t+3)13+7(10t+3)43
14x(x+2)−25+5(x+2)35
9y(3y−13)15−2(3y−13)65
5z(2z−9)−32+11(2z−9)−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+105x−27m2, as shown in the figure below. The length and width of the park are perfect factors of the area.
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 is9x2−25m2.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 areax2−6x+9yd2.
Find the length of the base of the flagpole by factoring.
Extensions
For the following exercises, factor the polynomials completely.
16x4−200x2+625
81y4−256
16z4−2,401a4
5x(3x+2)−24+(12x+8)32
(32x3+48x2−162x−243)−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
Candela Citations
- Algebra and Trigonometry. Authored by: Jay Abramson, et. al. Provided by: OpenStax CNX. Located at: http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/13ac107a-f15f-49d2-97e8-60ab2e3b519c@11.1