Skip to main content
Mathematics LibreTexts

4.2: Factor Trinomials

  • Page ID
    66318
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    By the end of this section, you will be able to:

    • Factor trinomials of the form \(x^2+bx+c\)
    • Factor trinomials of the form \(ax^2+bx+c\) using trial and error
    • Factor trinomials of the form \(ax^2+bx+c\) using the ‘\(ac\)’ method
    • Factor using substitution
    Be Prepared

    Before you get started, take this readiness quiz.

    1. Find all the factors of 72.
    2. Find the product \((3y+4)(2y+5)\).
    3. Simplify \(−9(6)\) and \(−9(−6)\).

    Factor Trinomials of the Form \(x^2+bx+c\)

    You have already learned how to multiply binomials using FOIL. Now you’ll need to “undo” this multiplication. To factor the trinomial means to start with the product, and end with the factors.

    Figure shows the equation open parentheses x plus 2 close parentheses open parentheses x plus 3 close parentheses equals x squared plus 5 x plus 6. The left side of the equation is labeled factors and the right is labeled product. An arrow pointing right is labeled multiply. An arrow pointing left is labeled factor.

    To figure out how we would factor a trinomial of the form \(x^2+bx+c\), such as \(x^2+5x+6\) and factor it to \((x+2)(x+3)\), let’s start with two general binomials of the form \((x+m)\) and \((x+n)\).

      \((x+m)(x+n)\)
    Foil to find the product. \(x^{2}+m x+n x+m n\)
    Factor the GCF from the middle terms. \(x^{2}+(m+n) x+m n\)
    Our trinomial is of the form \(x^2+bx+c\). \(\underbrace{x^{2}+(m+n) x+m n}_{\color{red}x^{2}+b x+c}\)

    This tells us that to factor a trinomial of the form \(x^2+bx+c\), we need two factors \((x+m)\) and \((x+n)\) where the two numbers \(m\) and \(n\) multiply to \(c\) and add to \(b\).

    Example \(\PageIndex{1}\)

    Factor \(x^2+11x+24\).

    Solution
      \(x^2+11x+24\)
    Write the factors as two binomials with first terms \(x\). Write two sets of parentheses and put \(x\) as the first term.

    \(\quad x^2+11x+24\)

    \(=\underbrace{(x+\square)}_{(x+m)}\underbrace{(x+\square)}_{(x+n)}\)

    Identify \(b\) and \(c\). \(\underbrace{x^2+11x+24}_{ax^2+bx+c}\)

    \(b=11\)

    \(c=24\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find two numbers \(m\) and \(n\) that multiply to \(24\) and add to \(11\).

    \(\begin{cases} mn&=24\\ m+n&=11\end{cases}\)

    Factors of \(24\) Sum of factors

    \(1, 24\)

    \(2, 12\)

    \(3, 8\)

    \(4, 6\)

    \(1+24=25\)

    \(2+12=14\)

    \(3+8=11^{\star}\)

    \(4+6=10\)

    \(m=3\)

    \(n=8\)

    Use \(m\) and \(n\) as the last terms of the factors. Use \(3\) and \(8\) as the last terms of the binomials. \(\underbrace{(x+3)}_{(x+m)}\underbrace{(x+8)}_{(x+n)}\)
    Check by multiplying the factors.  

    \(\quad (x+3)(x+8)\)

    \(=x^2+8x+3x+24\)

    \(=x^2+11x+24\quad \checkmark\)

    Answer the question.   The factorization is \((x+3)(x+8).\)
    Try It \(\PageIndex{2}\)

    Factor \( q^2+10q+24\).

    Answer

    The factorization is \((q+4)(q+6)\).

    Try It \(\PageIndex{3}\)

    Factor \(t^2+14t+24\).

    Answer

    The factorization is \((t+2)(t+12)\).

    Let’s summarize the steps we used to find the factors.

    Factoring \(x^2+bx+c\)
    1. Write the factors as two binomials with first terms \(x\). \(\quad \begin{array} {l} x^2+bx+c \\ (x+\square)(x+\square) \end{array} \)
    2. Find two numbers \(m\) and \(n\) that
      • multiply to \(c\): \(\quad mn=c\)
      • add to \(b\): \(\quad m+n=b\)
    3. Use \(m\) and \(n\) as the last terms of the factors. \(\quad (x+m)(x+n)\)
    4. Check by multiplying the factors.

    In the first example, all terms in the trinomial were positive. What happens when there are negative terms? Well, it depends which term is negative. Let’s look first at trinomials with only the middle term negative.

    How do you get a positive product and a negative sum? We use two negative numbers.

    Example \(\PageIndex{4}\)

    Factor \(y^2−11y+28\).

    Solution
      \(y^2−11y+28\)
    Write the factors as two binomials with first terms \(y\).

    \(\quad y^2−11y+28\)

    \(=\underbrace{(y+\square)}_{(y+m)}\underbrace{(y+\square)}_{(y+n)}\)

    Identify \(b\) and \(c\).

    \(\quad\underbrace{y^2−11y+28}_{ay^2+by+c}\)

    \(b=-11\)

    \(c=28\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find \(m\) and \(n\) such that

    \(\begin{cases} mn&=28\\ m+n&=-11\end{cases}\)

    Factors of \(28\) Sum of factors

    \(-1,-28\)

    \(-2,-14\)

    \(-4,-7\)

    \(−1+(−28)=−29\)

    \(-2+(-14)=-16\)

    \(-4+(-7)=-11^{\star}\)

    \(m=-4\)

    \(n=-7\)

    Use \(m\) and \(n\) as the last terms of the factors. \(\underbrace{(y−4)}_{(y+m)}\underbrace{(y−7)}_{(y+n)}\)
    Check.

    \(\quad (y-4)(y-7)\)

    \(=y^2-7y-4y+28\)

    \(=y^2-11y+28\quad\checkmark\)

    Answer the question. The factorization is \((y-4)(y-7)\).
    Try It \(\PageIndex{5}\)

    Factor \(u^2−9u+18\).

    Answer

    The factorization is \((u−3)(u−6)\).

    Try It \(\PageIndex{6}\)

    Factor \(y^2−16y+63\).

    Answer

    The factorization is \((y−7)(y−9)\).

    Now, what if the last term in the trinomial is negative? Think about FOIL. The last term is the product of the last terms in the two binomials. A negative product results from multiplying two numbers with opposite signs. You have to be very careful to choose factors to make sure you get the correct sign for the middle term, too.

    How do you get a negative product and a positive sum? We use one positive and one negative number.

    When we factor trinomials, we must have the terms written in descending order—in order from highest degree to lowest degree.

    Example \(\PageIndex{7}\)

    Factor \(2x+x^2−48\).

    Solution
      \(2x+x^2−48\)
    First we put the terms in decreasing degree order. \(x^2+2x−48\)
    Write the factors as two binomials with first terms \(y\).

    \(\quad x^2+2x−48\)

    \(=\underbrace{(x+\square)}_{(x+m)}\underbrace{(x+\square)}_{(x+n)}\)

    Identify \(b\) and \(c\).

    \(\quad\underbrace{x^2+2x−48}_{ax^2+bx+c}\)

    \(b=2\)

    \(c=-48\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find \(m\) and \(n\) such that

    \(\begin{cases} mn&=-48\\ m+n&=2\end{cases}\)

    Factors of \(-48\) Sum of factors
    \(−1, 48\)
    \(−2, 24\)
    \(−3, 16\)
    \(−4, 12\)
    \(−6, 8\)
    \(−1+48=47\)
    \(−2+24=22\)
    \(−3+16=13\)
    \(−4+12=8\)
    \(−6+8=2^{\star}\)

    \(m=-6\)

    \(n=8\)

    Use \(m\) and \(n\) as the last terms of the factors. \(\underbrace{(x-6)}_{(x+m)}\underbrace{(x+8)}_{(x+n)}\)
    Check.

    \(\quad (x-6)(x+8)\)

    \(=x^2+8x-6x-48\)

    \(=x^2+2x-48\quad\checkmark\)

    Answer the question. The factorization is \((x-6)(x+8)\).
    Try It \(\PageIndex{8}\)

    Factor \(9m+m^2+18\).

    Answer

    The factorization is \((m+3)(m+6)\).

    Try It \(\PageIndex{9}\)

    Factor \(−7n+12+n^2\).

    Answer

    The factorization is \((n−3)(n−4)\).

    Sometimes you’ll need to factor trinomials of the form \(x^2+bxy+cy^2\) with two variables, such as \(x^2+12xy+36y^2\). The first term, \(x^2\), is the product of the first terms of the binomial factors, \(xx\). The \(y^2\) in the last term means that the second terms of the binomial factors must each contain \(y\). To get the coefficients \(b\) and \(c,\) you use the same process summarized in How To Factor trinomials.

    Example \(\PageIndex{10}\)

    Factor \(r^2−8rs−9s^2\).

    Solution
      \(r^2−8rs−9s^2\)
    Write the factors as two binomials with \(r\) in the first term of each binomial and \(s\) in the second term.

    \(\quad r^2−8rs−9s^2\)

    \(=\underbrace{(r+\square s)}_{(r+ms)}\underbrace{(r+\square s)}_{(r+ns)}\)

    Identify \(b\) and \(c\).

    \(\quad\underbrace{r^2−8rs−9s^2}_{ar^2+brs+cs^2}\)

    \(b=-8\)

    \(c=-9\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find \(m\) and \(n\) such that

    \(\begin{cases} mn&=-9\\ m+n&=-8\end{cases}\)

    Factors of \(-9\) Sum of factors
    \(1, -9\)
    \(−1, 9\)
    \(-3, 3\)
    \(1+(-9)=-8^{\star}\)
    \(−1+9=8\)
    \(−3+3=0\)

    \(m=1\)

    \(n=-9\)

    Use \(m\) and \(n\) as the last terms of the factors. \(\underbrace{(r+s)}_{(r+ms)}\underbrace{(r-9s)}_{(r+ns)}\)
    Check.

    \(\quad (r+s)(r-9s)\)

    \(=r^2-9rs+rs-9s^2\)

    \(=r^2-8rs-9s^2\quad\checkmark\)

    Answer the question. The factorization is \((r+s)(r-9s).\)
    Try It \(\PageIndex{11}\)

    Factor \(a^2−11ab+10b^2\).

    Answer

    The factorization is \((a−b)(a−10b)\).

    Try It \(\PageIndex{12}\)

    Factor \(m^2−13mn+12n^2\).

    Answer

    The factorization is \((m−n)(m−12n)\)

    Some trinomials are prime. The only way to be certain a trinomial is prime is to list all the possibilities and show that none of them work.

    Example \(\PageIndex{13}\)

    Factor \(u^2−9uv−12v^2\).

    Solution
      \(u^2−9uv−12v^2\)
    Write the factors as two binomials with \(u\) in the first term of each binomial and \(v\) in the second term.

    \(\quad u^2−9uv−12v^2\)

    \(=\underbrace{(u+\square v)}_{(u+mv)}\underbrace{(u+\square v)}_{(u+nv)}\)

    Identify \(b\) and \(c\).

    \(\quad\underbrace{u^2−9uv−12v^2}_{au^2+buv+cn^2}\)

    \(b=-9\)

    \(c=-12\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find \(m\) and \(n\) such that

    \(\begin{cases} mn&=-12\\ m+n&=-9\end{cases}\)

    Factors of \(-12\) Sum of factors
    \(1,−12\)
    \(−1,12\)
    \(2,−6\)
    \(−2,6\)
    \(3,−4\)
    \(−3,4\)
    \(1+(−12)=−11\)
    \(−1+12=11\)
    \(2+(−6)=−4\)
    \(−2+6=4\)
    \(3+(−4)=−1\)
    \(−3+4=1\)

    Note there are no factor pairs that give us \(-9\) as a sum.

    Answer the question. The trinomial is prime.
    Try It \(\PageIndex{14}\)

    Factor \(x^2−7xy−10y^2\).

    Answer

    The trinomial is prime.

    Try It \(\PageIndex{15}\)

    Factor \(p^2+15pq+20q^2\).

    Answer

    The trinomial is prime.

    Let’s summarize the method we just developed to factor trinomials of the form \(x^2+bx+c\).

    Strategy for factoring trinomials of the form \(x^2+bx+c\)

    When we factor a trinomial, we look at the signs of its terms first to determine the signs of the binomial factors.

        \( x^{2}+b x+c \)  
        \( (x+m)(x+n) \)  
      When \( c \) is positive, \( m \) and \( n \) have the same sign.
      \( b \) positive   \( b \) negative
      \( m,n \) positive   \( m,n \) negative
      \( x^{2}+5 x+6 \)    
      \( (x+2)(x+3) \)   \( (x-4)(x-2) \)
      same signs   same signs
      When \( c \) is negative, \( m \) and \( n \) have the opposite sign.
           
      \( (x+4)(x-3) \)   \( (x-5)(x+3) \)
      opposite signs   opposite signs

    Notice that, in the case when \(m\) and \(n\) have opposite signs, the sign of the one with the larger absolute value matches the sign of \(b\

    Factor Trinomials of the form ax2 + bx + c using Trial and Error

    Our next step is to factor trinomials whose leading coefficient is not 1, trinomials of the form \(ax^2+bx+c\).

    Remember to always check for a GCF first! Sometimes, after you factor the GCF, the leading coefficient of the trinomial becomes \(1\) and you can factor it by the methods we’ve used so far. Let’s do an example to see how this works.

    Example \(\PageIndex{16}\)

    Factor \(4x^3+16x^2−20x\) completely.

    Solution
      \(4x^3+16x^2−20x\)
    What is the greatest common factor? The GCF is \(4x\).
    Factor it. \(\quad 4x(x^2+4x−5)\)
    Is the GCF multiplied by a binomial, a trinomial, or a polynomial with more than three terms? \(=\underbrace{4x}_{\text{GCF}}\underbrace{(x^2+4x−5)}_{\text{trinomial}}\quad\quad\) It is a trinomial.
    “Undo FOIL.” Write the trinomial as factors of two binomials with first terms \(x\). \(=\underbrace{4x}_{\text{GCF}}\underbrace{(x^2+4x−5)}_{(x+\square)(x+\square)}\)
    Identify \(b\) and \(c\).

    \(=\underbrace{4x}_{\text{GCF}}\underbrace{(x^2+4x−5)}_{ax^2+bx+c}\)

    \(b=4\)

    \(c=-5\)

    Find two numbers \(m\) and \(n\) that multiply to \(c\) and add to \(b\).

    \(\begin{cases} mn&=c\\ m+n&=b\end{cases}\)

    Find \(m\) and \(n\) such that

    \(\begin{cases} mn&=-5\\ m+n&=4\end{cases}\)

    Factors of \(-5\) Sum of factors
    \(−1, 5\)
    \(1, -5\)
    \(−1+5=4^{\star}\)
    \(1+(-5)=-4\)

    \(m=-1\)

    \(n=4\)

    Use \(m\) and \(n\) as the last terms of the factors. \(\underbrace{4x}_{\text{GCF}}\underbrace{(x-1)(x+4)}_{(x+m)(x+n)}\)
    Check.

    \(\quad 4x(x-1)(x+5)\)

    \(=4x(x^2+5x-x-5\)

    \(=4x(x^2+4x-5)\)

    \(=4x^3+16x^2-20x\quad\checkmark\)

    Answer the question. The complete factorization is \(4x(x-1)(x+5)\).
    Try It \(\PageIndex{17}\)

    Factor \(5x^3+15x^2−20x\) completely.

    Answer

    The complete factorization is \(5x(x−1)(x+4)\).

    Try It \(\PageIndex{18}\)

    Factor \(6y^3+18y^2−60y\) completely.

    Answer

    The complete factorization is \(6y(y−2)(y+5)\).

    What happens when the leading coefficient is not \(1\) 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 \(3x^2+5x+2\).

    From our earlier work, we expect this will factor into two binomials.

    \[3x^2+5x+2\nonumber\]\[(\quad)(\quad)\nonumber\]

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

    The polynomial is 3x squared plus 5x plus 2. There are two pairs of parentheses, with the first terms in them being x and 3x.

    Check: Does \(1x·3x=3x^2\)?

    We know the last terms of the binomials will multiply to \(2\). Since this trinomial has all positive terms, we only need to consider positive factors. The only factors of \(2\) are \(1\) and \(2\). But we now have two cases to consider as it will make a difference if we write \(1\), \(2\) or \(2\), \(1\).

    Figure shows the polynomial 3x squared plus 5x plus 2 and two possible pairs of factors. One is open parentheses x plus 1 close parentheses open parentheses 3x plus 2 close parentheses. The other is open parentheses x plus 2 close parentheses open parentheses 3x plus 1 close parentheses.

    Which factors are correct? To decide that, we multiply the inner and outer terms.

    Figure shows the polynomial 3x squared plus 5x plus 2 and two possible pairs of factors. One is open parentheses x plus 1 close parentheses open parentheses 3x plus 2 close parentheses. The other is open parentheses x plus 2 close parentheses open parentheses 3x plus 1 close parentheses. In each case, arrows are shown pairing the first term of the first factor with the last term of the second factor and the first term of the second factor with the last term of the first factor.

    Since the middle term of the trinomial is \(5x\), the factors in the first case will work. Let’s use FOIL to check.

    \[(x+1)(3x+2)\nonumber\]\[3x^2+2x+3x+2\nonumber\]\[3x^2+5x+2\checkmark\nonumber\]

    Our result of the factoring is:

    \[3x^2+5x+2\nonumber\]\[(x+1)(3x+2)\nonumber\]

    Example \(\PageIndex{19}\)

    Factor \(3y^2+22y+7\) completely using trial and error.

    Solution

    Step 1 is to write the trinomial in descending order. The trinomial 3 y squared plus 22y plus 7 is already in descending order.Step 2 is to factor the GCF. Here, there is none.Step 3 is Find all the factor pairs of the first term. The only factors here are 1y and 3y. Since there is only one pair, we can put each as the first term in the parentheses.Step 4 is to find all the factor pairs of the third term. Here, the only pair is 1 and 7.Step 5 is to test all the possible combinations of the factors until the correct product is found. For possible factors open parentheses y plus 1 close parentheses open parentheses 37 plus 7 close parentheses, the product is 3 y squared plus 10y plus 7. For the possible factors open parentheses y plus 7 close parentheses open parentheses 3y plus 1 close parentheses, the product is 3 y squared plus 22y plus 7, which is the correct product. Hence, the correct factors are open parentheses y plus 7 close parentheses open parentheses 3y plus 1 close parentheses.Step 6 is to check by multiplying.

    Try It \(\PageIndex{20}\)

    Factor \(2a^2+5a+3\) completely using trial and error.

    Answer

    The complete factorization is \((a+1)(2a+3)\).

    Try It \(\PageIndex{21}\)

    Factor \(4b^2+5b+1\) completely using trial and error.

    Answer

    The complete factorization is \((b+1)(4b+1)\).

    Factor Trinomials of the Form \(ax^2+bx+c\) Using Trial and Error
    1. Write the trinomial in descending order of degrees as needed.
    2. Factor any GCF.
    3. Find all the factor pairs of the first term.
    4. Find all the factor pairs of the third term.
    5. Test all the possible combinations of the factors until the correct product is found.
    6. Check by multiplying.

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

    Example \(\PageIndex{22}\)

    Factor \(6b^2−13b+5\) completely using trial and error.

    Solution
    The trinomial is already in descending order. .
    Find the factors of the first term. .
    Find the factors of the last term. Consider the signs.
    Since the last term, \(5\), 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.
    .

    Consider all the combinations of factors.

    \(6b^2−13b+5\)
    Possible factors Product
    \((b−1)(6b−5)\) \(6b^2−11b+5\)
    \((b−5)(6b−1)\) \(6b^2−31b+5\)
    \((2b−1)(3b−5)\) \(6b^2−13b+5^∗\)
    \((2b−5)(3b−1)\) \(6b^2−17b+5\)

    \(\begin{array} {ll} \text{The correct factors are those whose product} & \\ \text{is the original trinomial.} &(2b−1)(3b−5) \\ \text{Check by multiplying:} & \\ \hspace{50mm} (2b−1)(3b−5) & \\ \hspace{47mm} 6b^2−10b−3b+5 & \\ \hspace{50mm} 6b^2−13b+5\checkmark & \end{array} \)

    Try It \(\PageIndex{23}\)

    Factor \(8x^2−13x+3\) completely using trial and error.

    Answer

    The complete factorization is \((2x−3)(4x−1)\).

    Try It \(\PageIndex{24}\)

    Factor \(10y^2−37y+7\) completely using trial and error.

    Answer

    The complete factorization is \((2y−7)(5y−1)\).

    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 \(\PageIndex{25}\)

    Factor \(18x^2−37xy+15y^2\) completely using trial and error.

    Solution
    The trinomial is already in descending order. .
    Find the factors of the first term. .
    Find the factors of the last term. Consider the signs.
    Since 15 is positive and the coefficient of the middle
    term is negative, we use the negative factors.
    .

    Consider all the combinations of factors.

    This table shows the possible factors and corresponding products of the trinomial 18 x squared minus 37xy plus 15 y squared. In some pairs of factors, when one factor contains two terms with a common factor, that factor is highlighted. In such cases, product is not an option because if trinomial has no common factors, then neither factor can contain a common factor. Factor: open parentheses x minus 1y close parentheses open parentheses 18x minus 15y close parentheses, highlighted. Factor, open parentheses x minus 15y close parentheses open parentheses 18x minus 1y close parentheses; product: 18 x squared minus 271xy plus 15 y squared. Factor open parentheses x minus 3y close parentheses open parentheses 18x minus 5 y close parentheses; product: 18 x squared minus 59xy plus 15 y squared. Factor: open parentheses x minus 5y close parentheses open parentheses 18x minus 3y close parentheses highlighted. Factor: open parentheses 2x minus 1y close parentheses open parentheses 9x minus 15y close parentheses highlighted. Factor: open parentheses 2x minus 15y close parentheses open parentheses 9x minus 1y close parentheses; product 18 x squared minus 137 xy plus 15y squared. Factor: open parentheses 2x minus 3y close parentheses open parentheses 9x minus 5y close parentheses; product: 18 x squared minus 37xy plus 15 y squared, which is the original trinomial. Factor: open parentheses 2x minus 57 close parentheses open parentheses 9x minus 3y close parentheses highlighted. Factor: open parentheses 3x minus 1y close parentheses open parentheses 6x minus 15y close parentheses highlighted. Factor: open parentheses 3x minus 15y close parentheses highlighted open parentheses 6x minus 1y close parentheses. Factor: open parentheses 3x minus 3y close parentheses highlighted open parentheses 6x minus 5y.

    \(\begin{array} {ll} \text{The correct factors are those whose product is} & \\ \text{the original trinomial.} &(2x−3y)(9x−5y) \\ \text{Check by multiplying:} & \\ & \\ & \\ & \\ \hspace{50mm} (2x−3y)(9x−5y) & \\ \hspace{45mm}18x^2−10xy−27xy+15y^2 & \\ \hspace{47mm}18x^2−37xy+15y^2\checkmark & \end{array} \)

    Try It \(\PageIndex{26}\)

    Factor \(18x^2−3xy−10y^2\) completely using trial and error.

    Answer

    The complete factorization is \((3x+2y)(6x−5y)\).

    Try It \(\PageIndex{27}\)

    Factor \(30x^2−53xy−21y^2\) completely using trial and error.

    Answer

    The complete factorization is \((3x+y)(10x−21y)\).

    Don’t forget to look for a GCF first and remember if the leading coefficient is negative, so is the GCF.

    Example \(\PageIndex{28}\)

    Factor \(−10y^4−55y^3−60y^2\) completely using trial and error.

    Solution
      .
    Notice the greatest common factor, so factor it first. .
    Factor the trinomial. .

    Consider all the combinations.

    This table shows the possible factors and product of the trinomial 2 y squared plus 11y plus 12. In some pairs of factors, when one factor contains two terms with a common factor, that factor is highlighted. In such cases, product is not an option because if trinomial has no common factors, then neither factor can contain a common factor. Factor: y plus 1, 2y plus 12 highlighted. Factor: y plus 12, 2y plus 1; product: 2 y squared plus 25y plus 12. Factor: y plus 2, 2y plus 6 highlighted. Factor: y plus 6, 2y plus 2 highlighted. Factor: y plus 3, 2y plus 4 highlighted. Factor: y plus 4, 2y plus 3; product: 2 y squared plus 11y plus 12. This is the original trinomial.

    \(\begin{array} {ll} \text{The correct factors are those whose product} & \\ \text{is the original trinomial. Remember to include} & \\ \text{the factor }−5^y2. &−5y^2(y+4)(2y+3) \\ \text{Check by multiplying:} & \\ \hspace{50mm} −5y^2(y+4)(2y+3) & \\ \hspace{45mm} −5y^2(2y^2+8y+3y+12) & \\ \hspace{47mm}−10y^4−55y^3−60y^2\checkmark & \end{array} \)

    Try It \(\PageIndex{29}\)

    Factor \(15n^3−85n^2+100n\) completely using trial and error.

    Answer

    The complete factorization is \(5n(n−4)(3n−5)\).

    Try It \(\PageIndex{30}\)

    Factor \(56q^3+320q^2−96q\) completely using trial and error.

    Answer

    The complete factorization is \(8q(q+6)(7q−2)\).

    Factor Trinomials of the Form \(ax^2+bx+c\) using the “\(ac\)” Method

    Another way to factor trinomials of the form \(ax^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 \(\PageIndex{31}\)

    Factor using the “\(ac\)” method: \(6x^2+7x+2\).

    Solution

    Step 1 is to factor the GCF. There is none in 6 x squared plus 7x plus 2.Step 2 is to find the product of a and c. The product of 6 and 2 is 12.Step 3 is to find 2 numbers m and n such that mn is ac and m plus n is b. So we need to numbers that multiply to 12 and add to 7. Both factors must be positive. 3 times 4 is 12 and 3 plus 4 is 7.Step 4 is to split the middle term using m and n. So we rewrite 7 x as 3x plus 4x. It would give the same result if we used 4x plus 3x. Rewriting, we get 6 x squared plus 3x plus 4x plus 2. Notice that this is the same as the original polynomial. We just split the middle term to get a more useful formStep 5 is to factor by grouping. So, we get, 3x open parentheses 2x plus 1 close parentheses plus 2 open parentheses 2x plus 1 close parentheses. This is equal to 2x plus 1, 3x plus 2.Step 6 is to check by multiplying the factors.

    Try It \(\PageIndex{32}\)

    Factor using the “\(ac\)” method: \(6x^2+13x+2\).

    Answer

    \((x+2)(6x+1)\)

    Try It \(\PageIndex{33}\)

    Factor using the “\(ac\)” method: \(4y^2+8y+3\).

    Answer

    \((2y+1)(2y+3)\)

    The “\(ac\)” method is summarized here.

    Factor Trinomials of the Form \(ax^2+bx+c\) Using the "\(ac\)" Method
    1. Factor any GCF.
    2. Find the product \(ac\).
    3. Find two numbers \(m\) and \(n\) that:
      \(\begin{array} {ll} \text{Multiply to }ac &mn=ac \\ \text{Add to }b &m+n=b \\ &ax^2+bx+c \end{array} \)
    4. Split the middle term using \(m\) and \(n\). \(ax^2+mx+nx+c\)
    5. Factor by grouping.
    6. Check by multiplying the factors.

    Don’t forget to look for a common factor!

    Example \(\PageIndex{34}\)

    Factor using the “\(ac\)” method: \(10y^2−55y+70\).

    Solution
    Is there a greatest common factor?    
    Yes. The GCF is \(5\).   .
    Factor it.   .
    The trinomial inside the parentheses has a
    leading coefficient that is not \(1\).
      .
    Find the product \(ac\). \(ac=28\)  
    Find two numbers that multiply to \(ac\) \((−4)(−7)=28\)  
    and add to \(b\). \(−4(−7)=−11\)  
    Split the middle term.   .
        .
    Factor the trinomial by grouping.   .
        .

    Check by multiplying all three factors.

    \(\hspace{50mm} 5(y−2)(2y−7)\)

    \(\hspace{45mm} 5(2y^2−7y−4y+14)\)

    \(\hspace{48mm} 5(2y^2−11y+14)\)

    \(\hspace{49mm} 10y^2−55y+70\checkmark\)

       
    Try It \(\PageIndex{35}\)

    Factor using the “\(ac\)” method: \(16x^2−32x+12\).

    Answer

    \(4(2x−3)(2x−1)\)

    Try It \(\PageIndex{36}\)

    Factor using the “\(ac\)” method: \(18w^2−39w+18\).

    Answer

    \(3(3w−2)(2w−3)\)

    Factor Using Substitution (optional)

    Sometimes a trinomial does not appear to be in the \(ax^2+bx+c\) form. However, we can often make a thoughtful substitution that will allow us to make it fit the \(ax^2+bx+c\) form. This is called factoring by substitution. It is standard to use \(u\) for the substitution.

    In the \(ax^2+bx+c\), the middle term has a variable, \(x\), and its square, \(x^2\), is the variable part of the first term. Look for this relationship as you try to find a substitution.

    Example \(\PageIndex{37}\)

    Factor by substitution: \(x^4−4x^2−5\).

    Solution

    The variable part of the middle term is \(x^2\) and its square, \(x^4\), is the variable part of the first term. (We know \((x^2)^2=x^4)\). If we let \(u=x^2\), we can put our trinomial in the \(ax^2+bx+c\) form we need to factor it.

      .
    Rewrite the trinomial to prepare for the substitution. .
    Let \(u=x^2\) and substitute. .
    Factor the trinomial. .
    Replace \(u\) with \(x^2\). .
    Check:

    \(\begin{array} {l} \hspace{37mm} (x^2+1)(x^2−5) \\ \hspace{35mm}x^4−5x^2+x^2−5 \\ \hspace{40mm}x^4−4x^2−5\checkmark\end{array}\)
     
    Try It \(\PageIndex{38}\)

    Factor by substitution: \(h^4+4h^2−12\).

    Answer

    \((h^2−2)(h^2+6)\)

    Try It \(\PageIndex{39}\)

    Factor by substitution: \(y^4−y^2−20\).

    Answer

    \((y^2+4)(y^2−5)\)

    Sometimes the expression to be substituted is not a monomial.

    Example \(\PageIndex{40}\)

    Factor by substitution: \((x−2)^2+7(x−2)+12\).

    Solution

    The binomial in the middle term, \((x−2)\) is squared in the first term. If we let \(u=x−2\) and substitute, our trinomial will be in \(ax^2+bx+c\) form.

      .
    Rewrite the trinomial to prepare for the substitution. .
    Let \(u=x−2\) and substitute. .
    Factor the trinomial. .
    Replace \(u\) with \(x−2\). .
    Simplify inside the parentheses. .

    This could also be factored by first multiplying out the \((x−2)^2\) and the \(7(x−2)\) and then combining like terms and then factoring. Most students prefer the substitution method.

    Try It \(\PageIndex{41}\)

    Factor by substitution: \((x−5)^2+6(x−5)+8\).

    Answer

    \((x−3)(x−1)\)

    Try It \(\PageIndex{42}\)

    Factor by substitution: \((y−4)^2+8(y−4)+15\).

    Answer

    \((y−1)(y+1)\)

    Key Concepts

    • How to factor trinomials of the form \(x^2+bx+c\).
      1. Write the factors as two binomials with first terms x. \(\quad \begin{array} (l) x^2+bx+c \\ (x\quad)(x\quad)\end{array}\)
      2. Find two numbers \(m\) and \(n\) that
        \(\begin{array} {ll} \text{multiply to} &c,\space m·n=c \\ \text{add to} &b,\space m+n=b\end{array}\)
      3. Use \(m\) and \(n\) as the last terms of the factors. \(\qquad (x+m)(x+n)\)
      4. Check by multiplying the factors.
    • Strategy for Factoring Trinomials of the Form \(x^2+bx+c\): When we factor a trinomial, we look at the signs of its terms first to determine the signs of the binomial factors.

      For trinomials of the form: \(x^2+bx+c = (x+m)(x+n)\)

      When \(c\) is positive, \(m\) and \(n\) must have the same sign (and this will be the sign of \(b\)).

      Examples: \(x^2+5x+6=(x+2)(x+3)\), \(x^2−6x+8 = (x−4)(x−2)\)

      When \(c\) is negative, \(m\) and \(n\) have opposite signs. The larger of \(m\) and \(n\) will have the sign of \(b\).

      Examples: \(x^2+x−12=(x+4)(x−3)\), \(x^2−2x−15=(x−5)(x+3)\)

      Notice that, in the case when \(m\) and \(n\) have opposite signs, the sign of the one with the larger absolute value matches the sign of \(b\).
    • How to factor trinomials of the form \(ax^2+bx+c\) using trial and error.
      1. Write the trinomial in descending order of degrees as needed.
      2. Factor any GCF.
      3. Find all the factor pairs of the first term.
      4. Find all the factor pairs of the third term.
      5. Test all the possible combinations of the factors until the correct product is found.
      6. Check by multiplying.
    • How to factor trinomials of the form \(ax^2+bx+c\) using the “\(ac\)” method.
      1. Factor any GCF.
      2. Find the product \(ac\).
      3. Find two numbers \(m\) and \(n\) that:
        \(\begin{array} {ll} \text{Multiply to }ac. &m·n=a·c \\ \text{Add to }b. &m+n=b \\ &ax^2+bx+c\end{array}\)
      4. Split the middle term using \(m\) and \(n\). \(\quad ax^2+mx+nx+c\)
      5. Factor by grouping.
      6. Check by multiplying the factors.

    Practice Makes Perfect

    Factor Trinomials of the Form \(x^2+bx+c\)

    In the following exercises, factor each trinomial of the form \(x^2+bx+c\).

    1. \(p^2+11p+30\)

    Answer

    \((p+5)(p+6)\)

    2. \(w^2+10w+21\)

    3. \(n^2+19n+48\)

    Answer

    \((n+3)(n+16)\)

    4. \(b^2+14b+48\)

    5. \(a^2+25a+100\)

    Answer

    \((a+5)(a+20)\)

    6. \(u^2+101u+100\)

    7. \(x^2−8x+12\)

    Answer

    \((x−2)(x−6)\)

    8. \(q^2−13q+36\)

    9. \(y^2−18y+45\)

    Answer

    \((y−3)(y−15)\)

    10. \(m^2−13m+30\)

    11. \(x^2−8x+7\)

    Answer

    \((x−1)(x−7)\)

    12. \(y^2−5y+6\)

    13. \(5p−6+p^2\)

    Answer

    \((p−1)(p+6)\)

    14. \(6n−7+n^2\)

    15. \(8−6x+x^2\)

    Answer

    \((x−4)(x−2)\)

    16. \(7x+x^2+6\)

    17. \(x^2−12−11x\)

    Answer

    \((x−12)(x+1)\)

    18. \(−11−10x+x^2\)

    In the following exercises, factor each trinomial of the form \(x^2+bxy+cy^2\).

    19. \(x^2−2xy−80y^2\)

    Answer

    \((x+8y)(x−10y)\)

    20. \(p^2−8pq−65q^2\)

    21. \(m^2−64mn−65n^2\)

    Answer

    \((m+n)(m−65n)\)

    22. \(p^2−2pq−35q^2\)

    23. \(a^2+5ab−24b^2\)

    Answer

    \((a+8b)(a−3b)\)

    24. \(r^2+3rs−28s^2\)

    25. \(x^2−3xy−14y^2\)

    Answer

    Prime

    26. \(u^2−8uv−24v^2\)

    27. \(m^2−5mn+30n^2\)

    Answer

    Prime

    28. \(c^2−7cd+18d^2\)

    Factor Trinomials of the Form \(ax^2+bx+c\) Using Trial and Error

    In the following exercises, factor completely using trial and error.

    29. \(p^3−8p^2−20p\)

    Answer

    \(p(p−10)(p+2)\)

    30. \(q^3−5q^2−24q\)

    31. \(3m^3−21m^2+30m\)

    Answer

    \(3m(m−5)(m−2)\)

    32. \(11n^3−55n^2+44n\)

    33. \(5x^4+10x^3−75x^2\)

    Answer

    \(5x^2(x−3)(x+5)\)

    34. \(6y^4+12y^3−48y^2\)

    35. \(2t^2+7t+5\)

    Answer

    \((2t+5)(t+1)\)

    36. \(5y^2+16y+11\)

    37. \(11x^2+34x+3\)

    Answer

    \((11x+1)(x+3)\)

    38. \(7b^2+50b+7\)

    39. \(4w^2−5w+1\)

    Answer

    \((4w−1)(w−1)\)

    40. \(5x^2−17x+6\)

    41. \(4q^2−7q−2\)

    Answer

    \((4q+1)(q−2)\)

    42. \(10y^2−53y−111\)

    43. \(6p^2−19pq+10q^2\)

    Answer

    \((2p−5q)(3p−2q)\)

    44. \(21m^2−29mn+10n^2\)

    45. \(4a^2+17ab−15b^2\)

    Answer

    \((4a−3b)(a+5b)\)

    46. \(6u^2+5uv−14v^2\)

    47. \(−16x^2−32x−16\)

    Answer

    \(−16(x+1)(x+1)\)

    48. \(−81a^2+153a+18\)

    49. \(−30q^3−140q^2−80q\)

    Answer

    \( - 10q(3q+2)(q+4)\)

    50. \(−5y^3−30y^2+35y\)

    Factor Trinomials of the Form \(ax^2+bx+c\) using the ‘ac’ Method

    In the following exercises, factor using the ‘ac’ method.

    51. \(5n^2+21n+4\)

    Answer

    \((5n+1)(n+4)\)

    52. \(8w^2+25w+3\)

    53. \(4k^2−16k+15\)

    Answer

    \((2k−3)(2k−5)\)

    54. \(5s^2−9s+4\)

    55. \(6y^2+y−15\)

    Answer

    \((3y+5)(2y−3)\)

    56. \(6p^2+p−22\)

    57. \(2n^2−27n−45\)

    Answer

    \((2n+3)(n−15)\)

    58. \(12z^2−41z−11\)

    59. \(60y^2+290y−50\)

    Answer

    \(10(6y−1)(y+5)\)

    60. \(6u^2−46u−16\)

    61. \(48z^3−102z^2−45z\)

    Answer

    \(3z(8z+3)(2z−5)\)

    62. \(90n^3+42n^2−216n\)

    63. \(16s^2+40s+24\)

    Answer

    \(8(2s+3)(s+1)\)

    64. \(24p^2+160p+96\)

    65. \(48y^2+12y−36\)

    Answer

    \(12(4y−3)(y+1)\)

    66. \(30x^2+105x−60\)

    Factor Using Substitution

    In the following exercises, factor using substitution.

    67. \(x^4−x^2−12\)

    Answer

    \((x^2+3)(x^2−4)\)

    68. \(x^4+2x^2−8\)

    69. \(x^4−3x^2−28\)

    Answer

    \((x^2−7)(x^2+4)\)

    70. \(x^4−13x^2−30\)

    71. \((x−3)^2−5(x−3)−36\)

    Answer

    \((x−12)(x+1)\)

    72. \((x−2)^2−3(x−2)−54\)

    73. \((3y−2)^2−(3y−2)−2\)

    Answer

    \((3y−4)(3y−1)\)

    74. \((5y−1)^2−3(5y−1)−18\)

    Mixed Practice

    In the following exercises, factor each expression using any method.

    75. \(u^2−12u+36\)

    Answer

    \((u−6)(u−6)\)

    76. \(x^2−14x−32\)

    77. \(r^2−20rs+64s^2\)

    Answer

    \((r−4s)(r−16s)\)

    78. \(q^2−29qr−96r^2\)

    79. \(12y^2−29y+14\)

    Answer

    \((4y−7)(3y−2)\)

    80. \(12x^2+36y−24z\)

    81. \(6n^2+5n−4\)

    Answer

    \((2n−1)(3n+4)\)

    82. \(3q^2+6q+2\)

    83. \(13z^2+39z−26\)

    Answer

    \(13(z^2+3z−2)\)

    84. \(5r^2+25r+30\)

    85. \(3p^2+21p\)

    Answer

    \(3p(p+7)\)

    86. \(7x^2−21x\)

    87. \(6r^2+30r+36\)

    Answer

    \(6(r+2)(r+3)\)

    88. \(18m^2+15m+3\)

    89. \(24n^2+20n+4\)

    Answer

    \(4(2n+1)(3n+1)\)

    90. \(4a^2+5a+2\)

    91. \(x^4−4x^2−12\)

    Answer

    \((x^2+2)(x^2−6)\)

    92. \(x^4−7x^2−8\)

    93. \((x+3)^2−9(x+3)−36\)

    Answer

    \((x−9)(x+6)\)

    94. \((x+2)^2−25(x+2)−54\)

    Writing Exercises

    95. Many trinomials of the form \(x^2+bx+c\) factor into the product of two binomials \((x+m)(x+n)\). Explain how you find the values of \(m\) and \(n\).

    Answer

    Answers will vary.

    96. Tommy factored \(x^2−x−20\) as \((x+5)(x−4)\). Sara factored it as \((x+4)(x−5)\). Ernesto factored it as \((x−5)(x−4)\). Who is correct? Explain why the other two are wrong.

    97. List, in order, all the steps you take when using the “\(ac\)” method to factor a trinomial of the form \(ax^2+bx+c\).

    Answer

    Answers will vary.

    98. How is the “\(ac\)” method similar to the “undo FOIL” method? How is it different?

    Self Check

    a. After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

    This table has 4 columns, 4 rows and a header row. The header row labels each column: I can, confidently, with some help and no, I don’t get it. The first column has the following statements: factor trinomials of the form x squared plus bx plus c, factor trinomials of the form a x squared plus b x plus c using trial and error, factor trinomials of the form a x squared plus bx plus c with using the “ac” method, factor using substitution.

    b. After reviewing this checklist, what will you do to become confident for all objectives?


    This page titled 4.2: Factor Trinomials is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.