Skip to content
General Strategy for Factoring Polynomials

General Strategy for Factoring Polynomials

By the end of this section, you will be able to: recognize and use the appropriate method to factor a polynomial completely.

Recognize and use the appropriate method to factor a polynomial completely

You have now become acquainted with all the methods of factoring that you will need in this course. The strategy below summarizes all the factoring methods we have covered and outlines the order in which to try them when factoring a polynomial.

General strategy for factoring polynomials.

Always begin at the top and work down.

  1. Is there a greatest common factor? Factor it out first.
  2. Now look at what is left in the parentheses. Is it a binomial, a trinomial, or does it have more than three terms?
    • If it is a binomial:
      • Is it a sum? A sum of squares does not factor. A sum of cubes factors with the sum-of-cubes pattern a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)\left(a^2 - ab + b^2\right).
      • Is it a difference? A difference of squares factors as a product of conjugates, a2b2=(ab)(a+b)a^2 - b^2 = (a - b)(a + b). A difference of cubes uses the difference-of-cubes pattern a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a - b)\left(a^2 + ab + b^2\right).
    • If it is a trinomial:
      • If it is of the form x2+bx+cx^2 + bx + c, undo FOIL to write it as (x  )(x  )(x\ \ )(x\ \ ).
      • If it is of the form ax2+bx+cax^2 + bx + c and both aa and cc are perfect squares, check whether it fits the perfect-square-trinomial pattern a2±2ab+b2=(a±b)2a^2 \pm 2ab + b^2 = (a \pm b)^2. Otherwise use trial and error or the “ac” method.
    • If it has more than three terms: use the grouping method.
  3. Check. Is it factored completely? Do the factors multiply back to the original polynomial?

Remember, a polynomial is completely factored if, other than monomials, its factors are prime!

Example. Factor completely: 4x5+12x44x^5 + 12x^4.

There is a GCF of 4x44x^4. Factor it out. What remains in the parentheses is a binomial. It is a sum, but neither a sum of squares nor a sum of cubes, so it does not factor further.

Factor out the GCF 4x4.4x5+12x4=4x4(x+3) \begin{array}{lrcl} \text{Factor out the GCF } 4x^4. & 4x^5 + 12x^4 &=& 4x^4(x + 3) \end{array}

Check by multiplying: 4x4x+4x43=4x5+12x44x^4 \cdot x + 4x^4 \cdot 3 = 4x^5 + 12x^4 ✓, and the binomial x+3x + 3 is prime, so the polynomial is factored completely.

Factor completely: 3a4+18a33a^4 + 18a^3.

Factor completely: x3+36xx^3 + 36x.

Example. Factor completely: 12x211x+212x^2 - 11x + 2.

There is no GCF. What is left is a trinomial of the form ax2+bx+cax^2 + bx + c. Since a=12a = 12 is not a perfect square, it is not a perfect-square trinomial, so we use trial and error (the “ac” method also works).

Undo FOIL.12x211x+2=(3x2)(4x1) \begin{array}{lrcl} \text{Undo FOIL.} & 12x^2 - 11x + 2 &=& (3x - 2)(4x - 1) \end{array}

Check by multiplying: (3x2)(4x1)=12x23x8x+2=12x211x+2(3x - 2)(4x - 1) = 12x^2 - 3x - 8x + 2 = 12x^2 - 11x + 2 ✓.

Factor completely: 10a217a+610a^2 - 17a + 6.

Factor completely: 4p216p+124p^2 - 16p + 12.

Example. Factor completely: g3+25gg^3 + 25g.

There is a GCF of gg. Factor it out. What remains is the binomial g2+25g^2 + 25, a sum of squares — and sums of squares are prime, so it does not factor further.

Factor out the GCF g.g3+25g=g(g2+25) \begin{array}{lrcl} \text{Factor out the GCF } g. & g^3 + 25g &=& g\left(g^2 + 25\right) \end{array}

Check: gg2+g25=g3+25gg \cdot g^2 + g \cdot 25 = g^3 + 25g ✓.

Factor completely: 27y2+4827y^2 + 48.

Example. Factor completely: 12y27512y^2 - 75.

There is a GCF of 33. Factor it out. What remains, 4y2254y^2 - 25, is a difference of squares — (2y)2(5)2(2y)^2 - (5)^2 — so we write it as a product of conjugates.

Factor out the GCF 3.12y275=3(4y225)Write as conjugates.=3(2y5)(2y+5) \begin{array}{lrcl} \text{Factor out the GCF } 3. & 12y^2 - 75 &=& 3\left(4y^2 - 25\right) \\[4pt] \text{Write as conjugates.} & &=& 3(2y - 5)(2y + 5) \end{array}

Neither remaining binomial is a difference of squares, so the polynomial is factored completely.

Factor completely: 16x336x16x^3 - 36x.

Example. Factor completely: 4a212ab+9b24a^2 - 12ab + 9b^2.

There is no GCF. It is a trinomial in which the first term 4a2=(2a)24a^2 = (2a)^2 and the last term 9b2=(3b)29b^2 = (3b)^2 are both perfect squares, and the middle term is 22a3b=12ab-2 \cdot 2a \cdot 3b = -12ab, so it fits the perfect-square-trinomial pattern.

Write it as a square.4a212ab+9b2=(2a3b)2 \begin{array}{lrcl} \text{Write it as a square.} & 4a^2 - 12ab + 9b^2 &=& (2a - 3b)^2 \end{array}

Check: (2a3b)2=(2a)222a3b+(3b)2=4a212ab+9b2(2a - 3b)^2 = (2a)^2 - 2 \cdot 2a \cdot 3b + (3b)^2 = 4a^2 - 12ab + 9b^2 ✓.

Factor completely: 4x2+20xy+25y24x^2 + 20xy + 25y^2.

Example. Factor completely: 6y218y606y^2 - 18y - 60.

There is a GCF of 66. Factor it out. What remains, y23y10y^2 - 3y - 10, is a trinomial with leading coefficient 11, so we undo FOIL.

Factor out the GCF 6.6y218y60=6(y23y10)Undo FOIL.=6(y+2)(y5) \begin{array}{lrcl} \text{Factor out the GCF } 6. & 6y^2 - 18y - 60 &=& 6\left(y^2 - 3y - 10\right) \\[4pt] \text{Undo FOIL.} & &=& 6(y + 2)(y - 5) \end{array}

Check by multiplying: 6(y+2)(y5)=6(y23y10)=6y218y606(y + 2)(y - 5) = 6\left(y^2 - 3y - 10\right) = 6y^2 - 18y - 60 ✓.

Factor completely: 8y2+16y248y^2 + 16y - 24.

Example. Factor completely: 24x3+8124x^3 + 81.

There is a GCF of 33. Factor it out. What remains, 8x3+278x^3 + 27, is a binomial that is a sum of cubes: (2x)3+(3)3(2x)^3 + (3)^3. Apply the sum-of-cubes pattern a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)\left(a^2 - ab + b^2\right) with a=2xa = 2x and b=3b = 3.

Factor out the GCF 3.24x3+81=3(8x3+27)Use the sum-of-cubes pattern.=3(2x+3)(4x26x+9) \begin{array}{lrcl} \text{Factor out the GCF } 3. & 24x^3 + 81 &=& 3\left(8x^3 + 27\right) \\[4pt] \text{Use the sum-of-cubes pattern.} & &=& 3(2x + 3)\left(4x^2 - 6x + 9\right) \end{array}

Factor completely: 250m3+432250m^3 + 432.

Example. Factor completely: 2x4322x^4 - 32.

There is a GCF of 22. Factor it out. What remains, x416x^4 - 16, is a difference of squares — (x2)2(4)2\left(x^2\right)^2 - (4)^2. The first resulting binomial, x24x^2 - 4, is again a difference of squares, so factor it once more. The binomial x2+4x^2 + 4 is a sum of squares and does not factor.

Factor out the GCF 2.2x432=2(x416)Product of conjugates.=2(x24)(x2+4)Factor again.=2(x2)(x+2)(x2+4) \begin{array}{lrcl} \text{Factor out the GCF } 2. & 2x^4 - 32 &=& 2\left(x^4 - 16\right) \\[4pt] \text{Product of conjugates.} & &=& 2\left(x^2 - 4\right)\left(x^2 + 4\right) \\[4pt] \text{Factor again.} & &=& 2(x - 2)(x + 2)\left(x^2 + 4\right) \end{array}

None of the remaining binomials is a difference of squares, so the polynomial is factored completely.

Factor completely: 4a4644a^4 - 64.

Example. Factor completely: 3x2+6bx3ax6ab3x^2 + 6bx - 3ax - 6ab.

There is a GCF of 33. Factor it out. What remains, x2+2bxax2abx^2 + 2bx - ax - 2ab, has more than three terms, so use grouping.

Factor out the GCF 3.3x2+6bx3ax6ab=3(x2+2bxax2ab)Group and factor each pair.=3[x(x+2b)a(x+2b)]Factor out (x+2b).=3(x+2b)(xa) \begin{array}{lrcl} \text{Factor out the GCF } 3. & 3x^2 + 6bx - 3ax - 6ab &=& 3\left(x^2 + 2bx - ax - 2ab\right) \\[4pt] \text{Group and factor each pair.} & &=& 3[\,x(x + 2b) - a(x + 2b)\,] \\[4pt] \text{Factor out } (x + 2b). & &=& 3(x + 2b)(x - a) \end{array}

Check by multiplying: 3(x+2b)(xa)=3(x2ax+2bx2ab)=3x23ax+6bx6ab3(x + 2b)(x - a) = 3\left(x^2 - ax + 2bx - 2ab\right) = 3x^2 - 3ax + 6bx - 6ab ✓.

Factor completely: 6x212xc+6bx12bc6x^2 - 12xc + 6bx - 12bc.

Key terms

greatest common factor (GCF) — the largest monomial that divides every term of a polynomial; always factor it out first. difference of squares — a binomial a2b2a^2 - b^2, which factors as the product of conjugates (ab)(a+b)(a - b)(a + b). sum of squares — a binomial a2+b2a^2 + b^2, which is prime (does not factor). sum and difference of cubes — the patterns a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)\left(a^2 - ab + b^2\right) and a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a - b)\left(a^2 + ab + b^2\right). perfect-square trinomial — a trinomial a2±2ab+b2a^2 \pm 2ab + b^2, which factors as (a±b)2(a \pm b)^2. grouping — a method for factoring a polynomial with more than three terms by pairing terms that share a common factor. factored completely — a polynomial written so that, other than monomials, all of its factors are prime.


This section is adapted from Elementary Algebra 2e, Section 7.5: General Strategy for Factoring Polynomials by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the “General Strategy for Factoring Polynomials” figure (Figure 7.3) as an accessible nested decision list and merged it with the How-To steps; recast the worked examples as prose with {lrcl} step tables and inline checks; omitted the Be Prepared quiz, Self Check checklist, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.