Skip to main content

Section 7.4 Factoring Trinomials with a Nontrivial Leading Coefficient

In Section 7.3, we learned how to factor \(ax^2+bx+c\) when \(a=1\text{.}\) In this section, we will examine the situation when \(a\neq1\text{.}\) The techniques are similar to those in the last section, but there are a few important differences that will make or break your success in factoring these.

Subsection 7.4.1 The AC Method

The AC Method is a technique for factoring trinomials like \(4x^2+5x-6\text{,}\) where there is no greatest common factor, and the leading coefficient is not \(1\text{.}\)

Please note at this point that if we try the method in the previous section and ask ourselves the question “what two numbers multiply to be \(-6\) and add to be \(5\text{?,}\)” we might come to the erroneous conclusion that \(4x^2+5x-6\) factors as \((x+6)(x-1)\text{.}\) If we expand \((x+6)(x-1)\text{,}\) we get

\begin{equation*} (x+6)(x-1)=x^2+5x-6 \end{equation*}

This expression is almost correct, except for the missing leading coefficient, \(4\text{.}\) Dealing with this missing coefficient requires starting over with the AC method. If you are only interested in the steps for using the technique, skip ahead to Process 7.4.2.

The example below explains why the AC Method works. Understanding all of the details might take a few rereads, and coming back to this example after mastering the algorithm may be the best course of action.

Example 7.4.1.

Expand the expression \((px+q)(rx+s)\) and analyze the result to gain an insight into why the AC method works. Then use this information to factor \(4x^2+5x-6\text{.}\)

Explanation

Factoring is the opposite process from multiplying polynomials together. We can gain some insight into how to factor complicated polynomials by taking a closer look at what happens when two generic polynomials are multiplied together:

\begin{align} (px+q)(rx+s)\amp=(px)(rx)+(px)s+q(rx)+q(s)\notag\\ \amp=(pr)x^2+psx+qrx+qs\notag\\ \amp=(pr)x^2+(ps+qr)x+qs\label{equation-ac-method}\tag{7.4.1} \end{align}

When you encounter a trinomial like \(4x^2+5x-6\) and you wish to factor it, the leading coefficient, \(4\text{,}\) is the \((pr)\) from Equation (7.4.1). Similarly, the \(-6\) is the \(qs\text{,}\) and the \(5\) is the \((qr+ps)\text{.}\)

Now, if you multiply the leading coefficient and constant term from Equation (7.4.1), you have \((pr)(qs)\text{,}\) which equals \(pqrs\text{.}\) Notice that if we factor this number in just the right way, \((qr)(ps)\text{,}\) then we have two factors that add to the middle coefficient from Equation (7.4.1), \((qr+ps)\text{.}\)

Can we do all this with the example \(4x^2+5x-6\text{?}\) Multiplying \(4\) and \(-6\) makes \(-24\text{.}\) Is there some way to factor \(-24\) into two factors which add to \(5\text{?}\) We make a table of factor pairs for \(-24\) to see:

Factor Pair Sum of the Pair
\(-1\cdot24\) \(23\)
\(-2\cdot12\) \(10\)
\(-3\cdot8\) \(5\) (what we wanted)
\(-4\cdot6\) (no need to go this far)
Factor Pair Sum of the Pair
\(1\cdot(-24)\) (no need to go this far)
\(2\cdot(-12)\) (no need to go this far)
\(3\cdot(-8)\) (no need to go this far)
\(4\cdot(-6)\) (no need to go this far)

So that \(5\) in \(4x^2+5x-6\text{,}\) which is equal to the abstract \((qr+ps)\) from Equation (7.4.1), breaks down as \(-3+8\text{.}\) We can take \(-3\) to be the \(qr\) and \(8\) to be the \(ps\text{.}\) Once we intentionally break up the \(5\) this way, factoring by grouping (see Section 7.2) can take over and is guaranteed to give us a factorization.

\begin{align*} 4x^2\overbrace{{}+5x}-6\amp=4x^2\overbrace{-3x+8x}-6\\ \end{align*}

Now that there are four terms, group them and factor out each group's greatest common factor.

\begin{align*} \phantom{4x^2+5x-6}\amp=\left(4x^2-3x\right)+\left(8x-6\right)\\ \amp=x\highlight{(4x-3)}+2\highlight{(4x-3)}\\ \amp=\highlight{(4x-3)}(x+2) \end{align*}

And this is the factorization of \(4x^2+5x-6\text{.}\) This whole process is known as the “AC method,” since it begins by multiplying \(a\) and \(c\) from the generic \(ax^2+bx+c\text{.}\)

The AC Method.

Here is a summary of the algorithm:

Example 7.4.3.

Factor \(10x^2+23x+6\text{.}\)

  1. \(\displaystyle 10\cdot6=60\)

  2. Use a list of factor pairs for \(60\) to find that \(3\) and \(20\) are a pair that sums to \(23\text{.}\)

  3. Intentionally break up the \(23\) as \(3+20\text{:}\)

    \begin{align*} \amp10x^2\overbrace{{}+23x}+6\\ \amp=10x^2\overbrace{{}+3x+20x}+6\\ \amp=\left(10x^2+3x\right)+(20x+6)\\ \amp=x\highlight{(10x+3)}+2\highlight{(10x+3)}\\ \amp=\highlight{(10x+3)}(x+2) \end{align*}
Example 7.4.4.

Factor \(2x^2-5x-3\text{.}\)

Explanation

Always start the factoring process by examining if there is a greatest common factor. Here there is not one. Next, note that this is a trinomial with a leading coefficient that is not \(1\text{.}\) So the AC Method may be of help.

  1. Multiply \(2\cdot(-3)=-6\text{.}\)

  2. Examine factor pairs that multiply to \(-6\text{,}\) looking for a pair that sums to \(-5\text{:}\)

    Factor Pair Sum of the Pair
    \(1\cdot-6\) \(-5\) (what we wanted)
    \(2\cdot-3\) (no need to go this far)
    Factor Pair Sum of the Pair
    \(-1\cdot6\) (no need to go this far)
    \(-2\cdot3\) (no need to go this far)
  3. Intentionally break up the \(-5\) as \(1+(-6)\text{:}\)

    \begin{align*} 2x^2\overbrace{{}-5x}-3\amp=2x^2\overbrace{{}+x-6x}-3\\ \amp=\left(2x^2+x\right)+(-6x-3)\\ \amp=x\highlight{(2x+1)}-3\highlight{(2x+1)}\\ \amp=\highlight{(2x+1)}(x-3) \end{align*}

So we believe that \(2x^2-5x-3\) factors as \((2x+1)(x-3)\text{,}\) and we should check by multiplying out the factored form:

\begin{align*} (2x+1)(x-3)\amp=2x\cdot x+2x\cdot (-3)+1\cdot x+1\cdot (-3)\\ \amp=2x^2-6x+x-3\\ \amp\stackrel{\checkmark}{=}2x^2-5x-3 \end{align*}
\(2x\) \(1\)
\(x\) \(2x^2\) \(x\)
\(-3\) \(-6x\) \(-3\)

Our factorization passes the tests.

Example 7.4.5.

Factor \(6p^2+5pq-6q^2\text{.}\) Note that this example has two variables, but that does not really change our approach.

Explanation

There is no greatest common factor. Since this is a trinomial, we try the AC Method.

  1. Multiply \(6\cdot(-6)=-36\text{.}\)

  2. Examine factor pairs that multiply to \(-36\text{,}\) looking for a pair that sums to \(5\text{:}\)

    Factor Pair Sum of the Pair
    \(1\cdot-36\) \(-35\)
    \(2\cdot-18\) \(-16\)
    \(3\cdot-12\) \(-9\)
    \(4\cdot-9\) \(-5\) (close; wrong sign)
    \(6\cdot-6\) \(0\)
    Factor Pair Sum of the Pair
    \(-1\cdot36\) \(35\)
    \(-2\cdot18\) \(16\)
    \(-3\cdot12\) \(9\)
    \(-4\cdot9\) \(5\) (what we wanted)
  3. Intentionally break up the \(5\) as \(-4+9\text{:}\)

    \begin{align*} 6p^2\overbrace{{}+5pq}-6q^2\amp=6p^2\overbrace{{}-4pq+9pq}-6q^2\\ \amp=\left(6p^2-4pq\right)+\left(9pq-6q^2\right)\\ \amp=2p\highlight{(3p-2q)}+3q\highlight{(3p-2q)}\\ \amp=\highlight{(3p-2q)}(2p+3q) \end{align*}

So we believe that \(6p^2+5pq-6q^2\) factors as \((3p-2q)(2p+3q)\text{,}\) and we should check by multiplying out the factored form:

\begin{align*} (3p-2q)(2p+3q)\amp=3p\cdot 2p+3p\cdot 3q-2q\cdot 2p-2q\cdot 3q\\ \amp=6p^2+9pq-4pq-6q^2\\ \amp\stackrel{\checkmark}{=}6p^2+5pq-6q^2 \end{align*}
\(3p\) \(-2q\)
\(2p\) \(6p^2\) \(-4pq\)
\(3q\) \(9pq\) \(-6q^2\)

Our factorization passes the tests.

Subsection 7.4.2 Factoring in Stages

Sometimes factoring a polynomial will take two or more “stages.” For instance you may need to begin factoring a polynomial by factoring out its greatest common factor, and then apply a second stage where you use a technique from this section. The process of factoring a polynomial is not complete until each of the factors cannot be factored further.

Example 7.4.6.

Factor \(18n^2-21n-60\text{.}\)

Explanation

Notice that \(3\) is a common factor in this trinomial. We should factor it out first:

\begin{equation*} 18n^2-21n-60=3\left(6n^2-7n-20\right) \end{equation*}

Now we are left with two factors, one of which is \(6n^2-7n-20\text{,}\) which might factor further. Using the AC Method:

  1. \(\displaystyle 6\cdot-20=-120\)

  2. Examine factor pairs that multiply to \(-120\text{,}\) looking for a pair that sums to \(-7\text{:}\)

    Factor Pair Sum of the Pair
    \(1\cdot-120\) \(-119\)
    \(2\cdot-60\) \(-58\)
    \(3\cdot-40\) \(-37\)
    \(4\cdot-30\) \(-26\)
    \(5\cdot-24\) \(-19\)
    \(6\cdot-20\) \(-14\)
    \(8\cdot-15\) \(-7\) (what we wanted)
    \(10\cdot-12\) (no need to go this far)
    Factor Pair Sum of the Pair
    \(-1\cdot120\) (no need to go this far)
    \(-2\cdot60\) (no need to go this far)
    \(-3\cdot40\) (no need to go this far)
    \(-4\cdot30\) (no need to go this far)
    \(-5\cdot24\) (no need to go this far)
    \(-6\cdot20\) (no need to go this far)
    \(-8\cdot15\) (no need to go this far)
    \(-10\cdot12\) (no need to go this far)
  3. Intentionally break up the \(-7\) as \(8+(-15)\text{:}\)

    \begin{align*} 18n^2-21n-60 \amp=3\left(6n^2\overbrace{{}-7n}-20\right)\\ \amp=3\left(6n^2\overbrace{{}+8n-15n}-20\right)\\ \amp=3\left((6n^2+8n)+(-15n-20)\right)\\ \amp=3\left(2n\highlight{(3n+4)}-5\highlight{(3n+4)}\right)\\ \amp=3\highlight{(3n+4)}(2n-5) \end{align*}

So we believe that \(18n^2-21n-60\) factors as \(3(3n+4)(2n-5)\text{,}\) and you should check by multiplying out the factored form.

Example 7.4.7.

Factor \(-16x^3y-12x^2y+18xy\text{.}\)

Explanation

Notice that \(2xy\) is a common factor in this trinomial. Also the leading coefficient is negative, and as discussed in Section 7.1, it is wise to factor out the negative as well. So we find:

\begin{equation*} -16x^3y-12x^2y+18xy=-2xy\left(8x^2+6x-9\right) \end{equation*}

Now we are left with one factor being \(8x^2+6x-9\text{,}\) which might factor further. Using the AC Method:

  1. \(\displaystyle 8\cdot-9=-72\)

  2. Examine factor pairs that multiply to \(-72\text{,}\) looking for a pair that sums to \(6\text{:}\)

    Factor Pair Sum of the Pair
    \(1\cdot-72\) \(-71\)
    \(2\cdot-36\) \(-34\)
    \(3\cdot-24\) \(-21\)
    \(4\cdot-18\) \(-14\)
    \(6\cdot-12\) \(-6\) (close; wrong sign)
    \(8\cdot-9\) \(-1\)
    Factor Pair Sum of the Pair
    \(-1\cdot72\) \(71\)
    \(-2\cdot36\) \(34\)
    \(-3\cdot24\) \(21\)
    \(-4\cdot18\) \(14\)
    \(-6\cdot12\) \(6\) (what we wanted)
    \(-8\cdot9\) (no need to go this far)
  3. Intentionally break up the \(6\) as \(-6+12\text{:}\)

    \begin{align*} -16x^3y-12x^2y+18xy\amp=-2xy\left(8x^2\overbrace{{}+6x}-9\right)\\ \amp=-2xy\left(8x^2\overbrace{{}-6x+12x}-9\right)\\ \amp=-2xy\left((8x^2-6x)+(12x-9)\right)\\ \amp=-2xy\left(2x\highlight{(4x-3)}+3\highlight{(4x-3)}\right)\\ \amp=-2xy\highlight{(4x-3)}(2x+3) \end{align*}

So we believe that \(-16x^3y-12x^2y+18xy\) factors as \(-2xy(4x-3)(2x+3)\text{,}\) and you should check by multiplying out the factored form.

Exercises 7.4.3 Exercises

Review and Warmup
1.

Multiply the polynomials.

\(\left({4r+9}\right)\left({r+9}\right)=\)

2.

Multiply the polynomials.

\(\left({2t+3}\right)\left({6t+1}\right)=\)

3.

Multiply the polynomials.

\(\left({5t-4}\right)\left({4t-1}\right)=\)

4.

Multiply the polynomials.

\(\left({3t-10}\right)\left({2t-1}\right)=\)

5.

Multiply the polynomials.

\(\left({2x-5}\right)\left({x+1}\right)=\)

6.

Multiply the polynomials.

\(\left({8x-1}\right)\left({x+8}\right)=\)

7.

Multiply the polynomials.

\(\left({5y^{3}+4}\right)\left({y^{2}+5}\right)=\)

8.

Multiply the polynomials.

\(\left({10y^{3}+8}\right)\left({y^{2}+2}\right)=\)

Factoring Trinomials with a Nontrivial Leading Coefficient
9.

Factor the given polynomial.

\({5r^{2}+16r+3}=\)

10.

Factor the given polynomial.

\({2r^{2}+11r+9}=\)

11.

Factor the given polynomial.

\({5t^{2}+8t-4}=\)

12.

Factor the given polynomial.

\({2t^{2}-7t-4}=\)

13.

Factor the given polynomial.

\({3t^{2}-28t+9}=\)

14.

Factor the given polynomial.

\({3x^{2}-28x+9}=\)

15.

Factor the given polynomial.

\({3x^{2}+2x+5}=\)

16.

Factor the given polynomial.

\({5y^{2}+y+3}=\)

17.

Factor the given polynomial.

\({6y^{2}+17y+10}=\)

18.

Factor the given polynomial.

\({4r^{2}+11r+6}=\)

19.

Factor the given polynomial.

\({4r^{2}-3r-1}=\)

20.

Factor the given polynomial.

\({4t^{2}-31t-8}=\)

21.

Factor the given polynomial.

\({6t^{2}-23t+15}=\)

22.

Factor the given polynomial.

\({8t^{2}-17t+2}=\)

23.

Factor the given polynomial.

\({10x^{2}+17x+3}=\)

24.

Factor the given polynomial.

\({8x^{2}+6x+1}=\)

25.

Factor the given polynomial.

\({9y^{2}-18y-16}=\)

26.

Factor the given polynomial.

\({8y^{2}-2y-21}=\)

27.

Factor the given polynomial.

\({6r^{2}-23r+10}=\)

28.

Factor the given polynomial.

\({8r^{2}-18r+7}=\)

29.

Factor the given polynomial.

\({6r^{2}+32r+10}=\)

30.

Factor the given polynomial.

\({10t^{2}+12t+2}=\)

31.

Factor the given polynomial.

\({4t^{2}+14t-30}=\)

32.

Factor the given polynomial.

\({10x^{2}-6x-16}=\)

33.

Factor the given polynomial.

\({6x^{2}-15x+6}=\)

34.

Factor the given polynomial.

\({25y^{2}-35y+10}=\)

35.

Factor the given polynomial.

\({18y^{4}+30y^{3}+12y^{2}}=\)

36.

Factor the given polynomial.

\({10r^{8}+26r^{7}+12r^{6}}=\)

37.

Factor the given polynomial.

\({21r^{5}+14r^{4}-7r^{3}}=\)

38.

Factor the given polynomial.

\({6r^{9}+10r^{8}-24r^{7}}=\)

39.

Factor the given polynomial.

\({12t^{10}-28t^{9}+8t^{8}}=\)

40.

Factor the given polynomial.

\({6t^{4}-10t^{3}+4t^{2}}=\)

41.

Factor the given polynomial.

\({3x^{2}r^{2}+19xr+6}=\)

42.

Factor the given polynomial.

\({2x^{2}t^{2}+9xt+10}=\)

43.

Factor the given polynomial.

\({3y^{2}t^{2}-2yt-21}=\)

44.

Factor the given polynomial.

\({3y^{2}t^{2}-yt-2}=\)

45.

Factor the given polynomial.

\({2r^{2}x^{2}-13rx+6}=\)

46.

Factor the given polynomial.

\({2r^{2}t^{2}-13rt+21}=\)

47.

Factor the given polynomial.

\({2r^{2}+21ry+10y^{2}}=\)

48.

Factor the given polynomial.

\({3t^{2}+17tx+10x^{2}}=\)

49.

Factor the given polynomial.

\({2t^{2}+7tr-9r^{2}}=\)

50.

Factor the given polynomial.

\({2x^{2}-7xy-15y^{2}}=\)

51.

Factor the given polynomial.

\({5x^{2}-18xr+9r^{2}}=\)

52.

Factor the given polynomial.

\({3y^{2}-13yr+12r^{2}}=\)

53.

Factor the given polynomial.

\({6y^{2}+25yr+4r^{2}}=\)

54.

Factor the given polynomial.

\({4r^{2}+13rt+9t^{2}}=\)

55.

Factor the given polynomial.

\({4r^{2}-9ry-28y^{2}}=\)

56.

Factor the given polynomial.

\({4r^{2}-5ry-21y^{2}}=\)

57.

Factor the given polynomial.

\({4t^{2}-17tx+18x^{2}}=\)

58.

Factor the given polynomial.

\({6t^{2}-11tr+5r^{2}}=\)

59.

Factor the given polynomial.

\({6x^{2}+17xy+7y^{2}}=\)

60.

Factor the given polynomial.

\({15x^{2}+23xt+4t^{2}}=\)

61.

Factor the given polynomial.

\({9y^{2}+15yr-14r^{2}}=\)

62.

Factor the given polynomial.

\({9y^{2}-4x^{2}}=\)

63.

Factor the given polynomial.

\({6r^{2}-25rt+14t^{2}}=\)

64.

Factor the given polynomial.

\({25r^{2}-25rx+6x^{2}}=\)

65.

Factor the given polynomial.

\({25r^{2}x^{2}+35rx+10}=\)

66.

Factor the given polynomial.

\({6t^{2}x^{2}+38tx+12}=\)

67.

Factor the given polynomial.

\({6t^{2}y^{2}+2ty-28}=\)

68.

Factor the given polynomial.

\({6x^{2}t^{2}+2xt-8}=\)

69.

Factor the given polynomial.

\({6x^{9}t^{2}-21x^{8}t+15x^{7}}=\)

70.

Factor the given polynomial.

\({6y^{6}r^{2}-32y^{5}r+10y^{4}}=\)

71.

Factor the given polynomial.

\({24x^{2}+32xy+8y^{2}}=\)

72.

Factor the given polynomial.

\({15x^{2}+18xy+3y^{2}}=\)

73.

Factor the given polynomial.

\({6a^{2}-4ab-16b^{2}}=\)

74.

Factor the given polynomial.

\({12a^{2}-6ab-18b^{2}}=\)

75.

Factor the given polynomial.

\({9x^{2}-30xy+9y^{2}}=\)

76.

Factor the given polynomial.

\({10x^{2}-24xy+8y^{2}}=\)

77.

Factor the given polynomial.

\({4x^{2}y+26xy^{2}+12y^{3}}=\)

78.

Factor the given polynomial.

\({9x^{2}y+15xy^{2}+6y^{3}}=\)

79.

Factor the given polynomial.

\({12x^{2}\!\left(y-10\right)+32x\!\left(y-10\right)+16\!\left(y-10\right)}=\)

80.

Factor the given polynomial.

\({30x^{2}\!\left(y+10\right)+36x\!\left(y+10\right)+6\!\left(y+10\right)}=\)

81.

Factor the given polynomial.

\({6x^{2}\!\left(y-6\right)+26x\!\left(y-6\right)+20\!\left(y-6\right)}=\)

82.

Factor the given polynomial.

\({4x^{2}\!\left(y-6\right)+30x\!\left(y-6\right)+14\!\left(y-6\right)}=\)

83.
  1. Factor the given polynomial.

    \({5x^{2}+26x+5}=\)

  2. Use your previous answer to factor

    \({5\!\left(y+10\right)^{2}+26\!\left(y+10\right)+5}=\)

84.
  1. Factor the given polynomial.

    \({5x^{2}+26x+5}=\)

  2. Use your previous answer to factor

    \({5\!\left(y-9\right)^{2}+26\!\left(y-9\right)+5}=\)

Challenge
85.

What integers can go in the place of \(b\) so that the quadratic expression \({3x^{2}+bx+10}\) is factorable?