Skip to content
Factor Trinomials of the Form ax²+bx+c

Factor Trinomials of the Form $ax^2+bx+c$

By the end of this section, you will be able to: recognize a preliminary strategy to factor polynomials completely, factor trinomials of the form ax2+bx+cax^2+bx+c using trial and error, and factor trinomials of the form ax2+bx+cax^2+bx+c using the “ac” method.

Recognize a preliminary strategy for factoring

Let’s summarize where we are so far with factoring polynomials. In the first two sections of this chapter, we used three methods of factoring: factoring the GCF, factoring by grouping, and factoring a trinomial by “undoing” FOIL. More methods will follow as you continue in this chapter, as well as later in your studies of algebra.

How will you know when to use each factoring method? It will help to organize the factoring methods into a strategy that can guide you to the correct method.

As you start to factor a polynomial, always ask first, “Is there a greatest common factor?” If there is, factor it first.

The next thing to consider is the type of polynomial. How many terms does it have? Is it a binomial? A trinomial? Or does it have more than three terms?

  • If it is a trinomial where the leading coefficient is one, x2+bx+cx^2+bx+c, use the “undo FOIL” method.
  • If it has more than three terms, try the grouping method. This is the only method to use for polynomials of more than three terms.

Some polynomials cannot be factored. They are called “prime.”

Choose a strategy to factor polynomials completely.

  1. Is there a greatest common factor? Factor it out.
  2. Is the polynomial a binomial, trinomial, or are there more than three terms?
    • If it is a binomial, right now we have no method to factor it.
    • If it is a trinomial of the form x2+bx+cx^2+bx+c: Undo FOIL, (x  )(x  )(x\ \ )(x\ \ ).
    • If it has more than three terms: Use the grouping method.
  3. Check by multiplying the factors.

Use the preliminary strategy to completely factor a polynomial. A polynomial is factored completely if, other than monomials, all of its factors are prime.

Example. Identify the best method to use to factor each polynomial: (a) 6y2726y^2-72, (b) r210r24r^2-10r-24, (c) p2+5p+pq+5qp^2+5p+pq+5q.

For (a), we first ask if there is a greatest common factor. Yes, it is 66:

6y272=6(y212)6y^2-72 = 6\left(y^2-12\right)

Inside the parentheses is a binomial, and we have no method to factor binomials yet.

For (b), there is no common factor. It is a trinomial with leading coefficient 11, so we “undo” FOIL.

For (c), there is no common factor. It has more than three terms, so we factor using grouping.

Identify the best method to use to factor y2+10y+21y^2+10y+21.

Identify the best method to use to factor ab+a+4b+4ab+a+4b+4.

Factor trinomials of the form ax2+bx+cax^2+bx+c with a GCF

Now that we have organized what we’ve covered so far, we are ready to factor trinomials whose leading coefficient is not 11, trinomials of the form ax2+bx+cax^2+bx+c.

Remember to always check for a GCF first! Sometimes, after you factor the GCF, the leading coefficient of the trinomial becomes 11 and you can factor it by the methods in the last section. Let’s do a few examples to see how this works. Watch out for the signs in the next two examples.

Example. Factor completely: 2n28n422n^2-8n-42.

Use the preliminary strategy. The GCF is 22, so factor it out:

2n28n42=2(n24n21)2n^2-8n-42 = 2\left(n^2-4n-21\right)

Inside the parentheses is a trinomial whose leading coefficient is 11, so undo FOIL. We look for two numbers that multiply to 21-21 and add to 4-4: those are 33 and 7-7.

Factor the trinomial.2(n+3)(n7) \begin{array}{lrcl} \text{Factor the trinomial.} & & & 2(n+3)(n-7) \\ \end{array}

Check by multiplying:

2(n+3)(n7)=2(n27n+3n21)=2(n24n21)=2n28n42  \begin{array}{rcl} 2(n+3)(n-7) &=& 2\left(n^2-7n+3n-21\right) \\ &=& 2\left(n^2-4n-21\right) \\ &=& 2n^2-8n-42\ \checkmark \end{array}

Factor completely: 4m24m84m^2-4m-8.

Factor completely: 5k215k505k^2-15k-50.

Example. Factor completely: 4y236y+564y^2-36y+56.

The GCF is 44, so factor it out:

4y236y+56=4(y29y+14)4y^2-36y+56 = 4\left(y^2-9y+14\right)

Inside the parentheses is a trinomial with leading coefficient 11, so undo FOIL. We need two numbers that multiply to 1414 and add to 9-9. Since the last term is positive and the middle term is negative, both factors must be negative: 2-2 and 7-7.

Factor the trinomial.4(y2)(y7) \begin{array}{lrcl} \text{Factor the trinomial.} & & & 4(y-2)(y-7) \end{array}

Factor completely: 3r29r+63r^2-9r+6.

Factor completely: 2t210t+122t^2-10t+12.

In the next example the GCF will include a variable.

Example. Factor completely: 4u3+16u220u4u^3+16u^2-20u.

The GCF is 4u4u, so factor it out:

4u3+16u220u=4u(u2+4u5)4u^3+16u^2-20u = 4u\left(u^2+4u-5\right)

Inside the parentheses is a trinomial with leading coefficient 11, so undo FOIL. We need two numbers that multiply to 5-5 and add to 44: those are 1-1 and 55.

Factor the trinomial.4u(u1)(u+5) \begin{array}{lrcl} \text{Factor the trinomial.} & & & 4u(u-1)(u+5) \end{array}

Factor completely: 5x3+15x220x5x^3+15x^2-20x.

Factor completely: 6y3+18y260y6y^3+18y^2-60y.

Factor trinomials using trial and error

What happens when the leading coefficient is not 11 and there is no GCF? There are several methods that can be used to factor these trinomials. First we will use the trial and error method.

Let’s factor the trinomial 3x2+5x+23x^2+5x+2. From our earlier work we expect this will factor into two binomials:

3x2+5x+2=(  )(  )3x^2+5x+2 = (\ \ )(\ \ )

We know the first terms of the binomial factors will multiply to give us 3x23x^2. The only factors of 3x23x^2 are 1x, 3x1x,\ 3x. We can place them in the binomials as (x  )(3x  )(x\ \ )(3x\ \ ).

We know the last terms of the binomials will multiply to 22. Since this trinomial has all positive terms, we only need to consider positive factors. The only factors of 22 are 11 and 22, but it will make a difference whether we write 1, 21,\ 2 or 2, 12,\ 1. So we consider both cases:

(x+1)(3x+2)or(x+2)(3x+1)(x+1)(3x+2) \qquad\text{or}\qquad (x+2)(3x+1)

To decide which is correct, we multiply the inner and outer terms and add them. Since the middle term of the trinomial is 5x5x, the factors in the first case work: the outer term 2x2x plus the inner term 3x3x gives 5x5x. Let’s FOIL to check:

(x+1)(3x+2)=3x2+2x+3x+2=3x2+5x+2  \begin{array}{rcl} (x+1)(3x+2) &=& 3x^2+2x+3x+2 \\ &=& 3x^2+5x+2\ \checkmark \end{array}

Our result is 3x2+5x+2=(x+1)(3x+2)3x^2+5x+2 = (x+1)(3x+2).

Example. Factor completely using trial and error: 3y2+22y+73y^2+22y+7.

The trinomial is already in descending order. The only factor pair of the first term 3y23y^2 is 1y, 3y1y,\ 3y, so we put them in the binomials: (y  )(3y  )(y\ \ )(3y\ \ ). The only factor pair of the last term 77 is 1, 71,\ 7. We test the possible combinations until the correct product is found:

Possible factorsProduct
(y+1)(3y+7)(y+1)(3y+7)3y2+10y+73y^2+10y+7
(y+7)(3y+1)(y+7)(3y+1)3y2+22y+73y^2+22y+7

The correct factors are those whose product is the original trinomial:

3y2+22y+7=(y+7)(3y+1)3y^2+22y+7 = (y+7)(3y+1)

Factor trinomials of the form ax2+bx+cax^2+bx+c using trial and error.

  1. Write the trinomial in descending order of degrees.
  2. Find all the factor pairs of the first term.
  3. Find all the factor pairs of the third term.
  4. Test all the possible combinations of the factors until the correct product is found.
  5. Check by multiplying.

Factor completely: 2a2+5a+32a^2+5a+3.

Factor completely: 4b2+5b+14b^2+5b+1.

When the middle term is negative and the last term is positive, the signs in the binomials must both be negative.

Example. Factor completely using trial and error: 6b213b+56b^2-13b+5.

The trinomial is already in descending order. The first term 6b26b^2 has factor pairs 1b, 6b1b,\ 6b and 2b, 3b2b,\ 3b. Since the last term 55 is positive, its factors must both be positive or both be negative; the coefficient of the middle term is negative, so we use the negative factors of 55, namely 1, 5-1,\ -5. Consider all the combinations:

Possible factorsProduct
(b1)(6b5)(b-1)(6b-5)6b211b+56b^2-11b+5
(b5)(6b1)(b-5)(6b-1)6b231b+56b^2-31b+5
(2b1)(3b5)(2b-1)(3b-5)6b213b+56b^2-13b+5
(2b5)(3b1)(2b-5)(3b-1)6b217b+56b^2-17b+5

The correct factors are those whose product is the original trinomial:

6b213b+5=(2b1)(3b5)6b^2-13b+5 = (2b-1)(3b-5)

Factor completely: 8x214x+38x^2-14x+3.

Factor completely: 10y237y+710y^2-37y+7.

When we factor an expression, we always look for a greatest common factor first. If the expression does not have a greatest common factor, there cannot be one in its factors either. This may help us eliminate some of the possible factor combinations.

Example. Factor completely using trial and error: 14x247x714x^2-47x-7.

The trinomial is already in descending order. The first term 14x214x^2 has factor pairs 1x, 14x1x,\ 14x and 2x, 7x2x,\ 7x. Since the last term 7-7 is negative, one factor must be positive and one negative: 1, 71,\ -7 or 1, 7-1,\ 7 (and their reverse orders). Because the original trinomial has no common factor, neither binomial factor may contain a common factor — that rules out several combinations. The one whose product is the original trinomial is:

14x247x7=(2x7)(7x+1)14x^2-47x-7 = (2x-7)(7x+1)

Factor completely: 8a23a58a^2-3a-5.

Factor completely: 6b2b156b^2-b-15.

Example. Factor completely using trial and error: 18n237n+1518n^2-37n+15.

The first term 18n218n^2 has factor pairs 1n, 18n1n,\ 18n; 2n, 9n2n,\ 9n; and 3n, 6n3n,\ 6n. The last term 1515 is positive and the middle term is negative, so we use the negative factors of 1515. Testing the combinations, the one whose product is the original trinomial is:

18n237n+15=(2n3)(9n5)18n^2-37n+15 = (2n-3)(9n-5)

Factor completely: 18x23x1018x^2-3x-10.

Factor completely: 30y253y2130y^2-53y-21.

Don’t forget to look for a GCF first.

Example. Factor completely using trial and error: 10y4+55y3+60y210y^4+55y^3+60y^2.

Notice the greatest common factor, and factor it first:

10y4+55y3+60y2=5y2(2y2+11y+12)10y^4+55y^3+60y^2 = 5y^2\left(2y^2+11y+12\right)

Now factor the trinomial 2y2+11y+122y^2+11y+12 by trial and error. The correct factors are those whose product is the trinomial; remember to include the factor 5y25y^2:

10y4+55y3+60y2=5y2(y+4)(2y+3)10y^4+55y^3+60y^2 = 5y^2(y+4)(2y+3)

Factor completely: 15n385n2+100n15n^3-85n^2+100n.

Factor completely: 56q3+320q296q56q^3+320q^2-96q.

Factor trinomials using the “ac” method

Another way to factor trinomials of the form ax2+bx+cax^2+bx+c is the “ac” method. (The “ac” method is sometimes called the grouping method.) The “ac” method is actually an extension of the methods you used in the last section to factor trinomials with leading coefficient one. This method is very structured (that is, step-by-step), and it always works!

Example. Factor using the “ac” method: 6x2+7x+26x^2+7x+2.

There is no greatest common factor. Find the product acac:

ac=62=12a \cdot c = 6 \cdot 2 = 12

Find two numbers mm and nn that multiply to ac=12ac=12 and add to b=7b=7. Both factors must be positive: 33 and 44, since 34=123 \cdot 4 = 12 and 3+4=73+4=7.

Split the middle term 7x7x as 3x+4x3x+4x:

6x2+7x+2=6x2+3x+4x+26x^2+7x+2 = 6x^2+3x+4x+2

Factor by grouping:

6x2+3x+4x+2=3x(2x+1)+2(2x+1)=(2x+1)(3x+2) \begin{array}{rcl} 6x^2+3x+4x+2 &=& 3x(2x+1)+2(2x+1) \\ &=& (2x+1)(3x+2) \end{array}

Check by multiplying:

(2x+1)(3x+2)=6x2+4x+3x+2=6x2+7x+2  \begin{array}{rcl} (2x+1)(3x+2) &=& 6x^2+4x+3x+2 \\ &=& 6x^2+7x+2\ \checkmark \end{array}

Factor trinomials of the form ax2+bx+cax^2+bx+c using the “ac” method.

  1. Factor any GCF.
  2. Find the product acac.
  3. Find two numbers mm and nn that: multiply to acac (mn=acm \cdot n = a \cdot c) and add to bb (m+n=bm + n = b).
  4. Split the middle term using mm and nn: ax2+bx+c=ax2+mx+nx+cax^2+bx+c = ax^2+mx+nx+c.
  5. Factor by grouping.
  6. Check by multiplying the factors.

Factor completely using the ac method: 6x2+13x+26x^2+13x+2.

Factor completely using the ac method: 4y2+8y+34y^2+8y+3.

When the third term of the trinomial is negative, the factors of the third term will have opposite signs.

Example. Factor using the “ac” method: 8u217u218u^2-17u-21.

There is no greatest common factor. Find the product acac:

ac=8(21)=168a \cdot c = 8(-21) = -168

Find two numbers that multiply to 168-168 and add to 17-17. The larger factor must be negative: 77 and 24-24, since 7(24)=1687(-24)=-168 and 7+(24)=177+(-24)=-17.

Split the middle term 17u-17u as 7u24u7u-24u:

8u217u21=8u2+7u24u218u^2-17u-21 = 8u^2+7u-24u-21

Factor by grouping:

8u2+7u24u21=u(8u+7)3(8u+7)=(8u+7)(u3) \begin{array}{rcl} 8u^2+7u-24u-21 &=& u(8u+7)-3(8u+7) \\ &=& (8u+7)(u-3) \end{array}

Factor completely using the ac method: 20h2+13h1520h^2+13h-15.

Factor completely using the ac method: 6g2+19g206g^2+19g-20.

Example. Factor using the “ac” method: 2x2+6x+52x^2+6x+5.

There is no greatest common factor. Find the product acac:

ac=2(5)=10a \cdot c = 2(5) = 10

We need two numbers that multiply to 1010 and add to 66:

Factors of 1010Sum of factors
1, 101,\ 101+10=111+10 = 11
2, 52,\ 52+5=72+5 = 7

There are no factors that multiply to 1010 and add to 66. The polynomial is prime — it cannot be factored.

Factor completely: 10t2+19t1510t^2+19t-15.

Is 3u2+8u+53u^2+8u+5 factorable, and if so into what?

Don’t forget to look for a common factor!

Example. Factor completely: 10y255y+7010y^2-55y+70.

The GCF is 55. Factor it out, being careful to keep the factor of 55 all the way through the solution:

10y255y+70=5(2y211y+14)10y^2-55y+70 = 5\left(2y^2-11y+14\right)

The trinomial inside the parentheses has a leading coefficient that is not 11. Factor it (by trial and error or the “ac” method) to get:

10y255y+70=5(y2)(2y7)10y^2-55y+70 = 5(y-2)(2y-7)

Factor completely: 16x232x+1216x^2-32x+12.

Factor completely: 18w239w+1818w^2-39w+18.

Key terms

trial and error — a method of factoring ax2+bx+cax^2+bx+c by listing the factor pairs of the first and last terms, then testing the possible binomial combinations until the product matches the trinomial. “ac” method — a structured method of factoring ax2+bx+cax^2+bx+c by finding two numbers that multiply to acac and add to bb, splitting the middle term with them, and factoring by grouping. prime polynomial — a polynomial that cannot be factored (other than monomial factors).


This section is adapted from Elementary Algebra 2e, Section 7.3: Factor Trinomials of the Form ax²+bx+c 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: recast the worked-example step tables as prose with typeset display arrays and the trial-and-error “possible factors” work as markdown tables; described the factoring-strategy flowchart in prose; 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.