Skip to main content
Mathematics LibreTexts

12.2.1: Factoring Trinomials

  • Page ID
    69580
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Note
    • Factor trinomials with a leading coefficient of 1.
    • Factor trinomials with a common factor.
    • Factor trinomials with a leading coefficient other than 1.

    Introduction

    A polynomial with three terms is called a trinomial. Trinomials often (but not always!) have the form \(\ x^{2}+b x+c\). At first glance, it may seem difficult to factor trinomials, but you can take advantage of some interesting mathematical patterns to factor even the most difficult-looking trinomials.

    So, how do you get from \(\ 6 x^{2}+2 x-20\) to \(\ (2 x+4)(3 x-5)\)? Let’s take a look.

    Factoring Trinomials: \(\ x^{2}+b x+c\)

    Trinomials in the form \(\ x^{2}+b x+c\) can often be factored as the product of two binomials. Remember that a binomial is simply a two-term polynomial. Let’s start by reviewing what happens when two binomials, such as \(\ (x+2)\) and \(\ (x+5)\), are multiplied.

    Example

    Multiply \(\ (x+2)(x+5)\).

    Solution

    \(\ (x+2)(x+5)\) Use the FOIL method to multiply binomials.
    \(\ x^{2}+5 x+2 x+10\) Then combine the like terms \(\ 2x\) and \(\ 5x\).

    \(\ x^{2}+7 x+10\)

    Factoring is the reverse of multiplying. So let’s go in reverse and factor the trinomial \(\ x^{2}+7 x+10\). The individual terms \(\ x^{2}\), \(\ 7 x\), and 10 share no common factors. So look at rewriting \(\ x^{2}+7 x+10\) as \(\ x^{2}+5 x+2 x+10\).

    And, you can group pairs of factors: \(\ \left(x^{2}+5 x\right)+(2 x+10)\)

    Factor each pair: \(\ x(x+5)+2(x+5)\)

    Then factor out the common factor \(\ x+5\): \(\ (x+5)(x+2)\)

    Here is the same problem done in the form of an example:

    Example

    Factor \(\ x^{2}+7 x+10\).

    Solution

    \(\ x^{2}+5 x+2 x+10\) Rewrite the middle term \(\ 7x\) as \(\ 5 x+2 x\).
    \(\ x(\mathbf{x}+\mathbf{5})+2(\mathbf{x}+\mathbf{5})\) Group the pairs and factor out the common factor \(\ x\) from the first pair and 2 from the second pair.
    \(\ (\mathbf{x}+\mathbf{5})(x+2)\) Factor out the common factor \(\ (x+5)\).

    \(\ (x+5)(x+2)\)

    How do you know how to rewrite the middle term? Unfortunately, you can’t rewrite it just any way. If you rewrite \(\ 7x\) as \(\ 6 x+x\), this method won’t work. Fortunately, there's a rule for that.

    Factoring Trinomials in the form \(\ x^{2}+b x+c\)

    To factor a trinomial in the form \(\ x^{2}+b x+c\), find two integers, \(\ r\) and \(\ s\), whose product is and whose sum is \(\ b\).

    Rewrite the trinomial as \(\ x^{2}+r x+s x+c\) and then use grouping and the distributive property to factor the polynomial. The resulting factors will be \(\ (x+r)\) and \(\ (x+s)\).

    For example, to factor \(\ x^{2}+7 x+10\), you are looking for two numbers whose sum is 7 (the coefficient of the middle term) and whose product is 10 (the last term).

    Look at factor pairs of 10: 1 and 10, 2 and 5. Do either of these pairs have a sum of 7? Yes, 2 and 5. So you can rewrite \(\ 7x\) as \(\ 2 x+5 x\), and continue factoring as in the example above. Note that you can also rewrite \(\ 7 x\) as \(\ 5 x+2 x\). Both will work.

    Let’s factor the trinomial \(\ x^{2}+5 x+6\). In this polynomial, the \(\ b\) part of the middle term is 5 and the \(\ c\) term is 6. A chart will help us organize possibilities. On the left, list all possible factors of the \(\ c\) term, 6; on the right you'll find the sums.

    Factors whose product is 6 Sum of the factors
    \(\ 1 \cdot 6=6\) \(\ 1+6=7\)
    \(\ 2 \cdot 3=6\) \(\ 2+3=5\)

    There are only two possible factor combinations, 1 and 6, and 2 and 3. You can see that \(\ 2+3=5\). So \(\ 2 x+3 x=5 x\), giving us the correct middle term.

    Example

    Factor \(\ x^{2}+5 x+6\)

    Solution

    \(\ x^{2}+2 x+3 x+6\) Use values from the chart above. Replace \(\ 5x\) with \(\ 2 x+3 x\).
    \(\ \left(x^{2}+2 x\right)+(3 x+6)\) Group the pairs of terms.
    \(\ x(x+2)+(3 x+6)\) Factor \(\ x\) out of the first pair of terms.
    \(\ x(x+2)+3(x+2)\) Factor 3 out of the second pair of terms.
    \(\ (x+2)(x+3)\) Factor out \(\ (x+2)\).

    \(\ (x+2)(x+3)\)

    Note that if you wrote \(\ x^{2}+5 x+6\) as \(\ x^{2}+3 x+2 x+6\) and grouped the pairs as \(\ \left(x^{2}+3 x\right)+(2 x+6)\), then factored, \(\ x(x+3)+2(x+3)\), and factored out \(\ x+3\), the answer would be \(\ (x+3)(x+2)\). Since multiplication is commutative, the order of the factors does not matter. So this answer is correct as well; they are equivalent answers.

    Finally, let’s take a look at the trinomial \(\ x^{2}+x-12\). In this trinomial, the \(\ c\) term is \(\ -12\). So look at all of the combinations of factors whose product is \(\ -12\). Then see which of these combinations will give you the correct middle term, where \(\ b\) is 1.

    Factors whose product is -12 Sum of the factors
    \(\ 1 \cdot-12=-12\) \(\ 1+-12=-11\)
    \(\ 2 \cdot-6=-12\) \(\ 2+-6=-4\)
    \(\ 3 \cdot-4=-12\) \(\ 3+-4=-1\)
    \(\ 4 \cdot-3=-12\) \(\ 4+-3=1\)
    \(\ 6 \cdot-2=-12\) \(\ 6+-2=4\)
    \(\ 12 \cdot-1=-12\) \(\ 12+-1=11\)

    There is only one combination where the product is -12 and the sum is 1, and that is when \(\ r=4\), and \(\ s=-3\). Let’s use these to factor our original trinomial.

    Example

    Factor \(\ x^{2}+x-12\).

    Solution

    \(\ x^{2}+4 x+-3 x-12\) Rewrite the trinomial using the values from the chart above. Use values \(\ r=4\) and \(\ s=-3\).
    \(\ \left(x^{2}+4 x\right)+(-3 x-12)\) Group pairs of terms.
    \(\ x(x+4)+(-3 x-12)\) Factor \(\ x\) out of the first group.
    \(\ x(x+4)-3(x+4)\) Factor -3 out of the second group.
    \(\ (x+4)(x-3)\) Factor out \(\ (x+4)\).

    \(\ (x+4)(x-3)\)

    In the above example, you could also rewrite \(\ x^{2}+x-12\) as \(\ x^{2}-3 x+4 x-12\) first. Then factor \(\ x(x-3)+4(x-3)\), and factor out \(\ (x-3)\) getting \(\ (x-3)(x+4)\). Since multiplication is commutative, this is the same answer.

    Factoring Tips

    Factoring trinomials is a matter of practice and patience. Sometimes, the appropriate number combinations will just pop out and seem so obvious! Other times, despite trying many possibilities, the correct combinations are hard to find. And, there are times when the trinomial cannot be factored.

    While there is no foolproof way to find the right combination on the first guess, there are some tips that can ease the way.

    Tips for Finding Values that Work

    When factoring a trinomial in the form \(\ x^{2}+b x+c\), consider the following tips.

    Look at the \(\ c\) term first.

    • If the \(\ c\) term is a positive number, then the factors of \(\ c\) will both be positive or both be negative. In other words, \(\ r\) and \(\ s\) will have the same sign.
    • If the \(\ c\) term is a negative number, then one factor of \(\ c\) will be positive, and one factor of \(\ c\) will be negative. Either \(\ r\) or \(\ s\) will be negative, but not both.

    Look at the \(\ b\) term second.

    • If the \(\ c\) term is positive and the term is positive, then both \(\ r\) and \(\ s\) are positive.
    • If the \(\ c\) term is positive and the \(\ b\) term is negative, then both \(\ r\) and \(\ s\) are negative.
    • If the \(\ c\) term is negative and the \(\ b\) term is positive, then the factor that is positive will have the greater absolute value. That is, if \(\ |r|>|s|\), then \(\ r\) is positive and \(\ s\) is negative.
    • If the \(\ c\) term is negative and the \(\ b\) term is negative, then the factor that is negative will have the greater absolute value. That is, if \(\ |r|>|s|\), then \(\ r\) is negative and \(\ s\) is positive.

    After you have factored a number of trinomials in the form \(\ x^{2}+b x+c\), you may notice that the numbers you identify for \(\ r\) and \(\ s\) end up being included in the factored form of the trinomial. Have a look at the following chart, which reviews the three problems you have seen so far.

    Trinomial \(\ x^{2}+\mathbf{7 x}+\mathbf{1 0}\) \(\ x^{2}+\mathbf{5 x}+\mathbf{6}\) \(\ x^{2}+\mathbf{x}-\mathbf{1 2}\)
    \(\ \boldsymbol{r}\) and \(\ \boldsymbol{s}\) values \(\ r=+5, s=+2\) \(\ r=+2, s=+3\) \(\ r=+4, s=-3\)
    Factored form \(\ (x+5)(x+2)\) \(\ (x+2)(x+3)\) \(\ (x+4)(x-3)\)

    Notice that in each of these examples, the \(\ r\) and \(\ s\) values are repeated in the factored form of the trinomial.

    So what does this mean? It means that in trinomials of the form \(\ x^{2}+b x+c\) (where the coefficient in front of \(\ x^{2}\) is 1), if you can identify the correct \(\ r\) and \(\ s\) values, you can effectively skip the grouping steps and go right to the factored form. You may want to stick with the grouping method until you are comfortable factoring, but this is a neat shortcut to know about!

    Exercise

    Jess is trying to use the grouping method to factor the trinomial \(\ v^{2}-10 v+21\). How should she rewrite the central \(\ b\) term, \(\ -10 v\)?

    1. \(\ +7 v+3 v\)
    2. \(\ -7 v-3 v\)
    3. \(\ -7 v+3 v\)
    4. \(\ +7 v-3 v\)
    Answer
    1. Incorrect. Because the \(\ c\) term is positive and the \(\ b\) term is negative, both terms should be negative. (Notice that using the integers 7 and 3, \(\ 7+3=+10\), so this would provide the term \(\ 10 v\) instead of \(\ -10 v\).) The correct answer is \(\ -7 v-3 v\).
    2. Correct. Because the \(\ c\) term is positive and the \(\ b\) term is negative, both terms should be negative. Check: using the integers -7 and -3, \(\ -7+-3=-10\) and \(\ -7 \cdot-3=21\), so this provides both terms \(\ -10 v\) and 21 correctly.
    3. Incorrect. Because the \(\ c\) term is positive and the \(\ b\) term is negative, both terms should be negative. (Notice that using the integers -7 and 3, \(\ -7+3=-4\) and \(\ -7 \cdot 3=-21\), so this would provide \(\ -4 v\) instead of \(\ -10 v\) and -21 instead of 21.) The correct answer is \(\ -7 v-3 v\).
    4. Incorrect. Because the \(\ c\) term is positive and the \(\ b\) term is negative, both terms should be negative. (Notice that using the integers 7 and -3, \(\ 7+-3=4\) and \(\ 7 \cdot-3=-21\), so this would provide the term \(\ 4 v\) instead of \(\ -10 v\) and -21 instead of 21.) The correct answer is \(\ -7 v-3 v\).

    Identifying Common Factors

    Not all trinomials look like \(\ x^{2}+5 x+6\), where the coefficient in front of the \(\ x^{2}\) term is 1. In these cases, your first step should be to look for common factors for the three terms.

    Trinomial Factor out Common Factor Factored
    \(\ 2 x^{2}+10 x+12\) \(\ 2\left(x^{2}+5 x+6\right)\) \(\ 2(x+2)(x+3)\)
    \(\ -5 a^{2}-15 a-10\) \(\ -5\left(a^{2}+3 a+2\right)\) \(\ -5(a+2)(a+1)\)
    \(\ c^{3}-8 c^{2}+15 c\) \(\ c\left(c^{2}-8 c+15\right)\) \(\ c(c-5)(c-3)\)
    \(\ y^{4}-9 y^{3}-10 y^{2}\) \(\ y^{2}\left(y^{2}-9 y-10\right)\) \(\ y^{2}(y-10)(y+1)\)

    Notice that once you have identified and pulled out the common factor, you can factor the remaining trinomial as usual. This process is shown below.

    Example

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

    Solution

    \(\ 3\left(x^{3}-x^{2}-30 x\right)\) Since 3 is a common factor for the three terms, factor out the 3.
    \(\ 3 x\left(x^{2}-x-30\right)\)

    \(\ x\) is also a common factor. Factor out \(\ x\).

    Now you can factor the trinomial \(\ x^{2}-x-30\). To find \(\ r\) and \(\ s\), identify two numbers whose product is -30 and whose sum is -1.

    \(\ 3 x\left(x^{2}-6 x+5 x-30\right)\) The pair of factors is -6 and 5. So replace \(\ -x\) with \(\ -6 x+5 x\).
    \(\ 3 x\left[\left(x^{2}-6 x\right)+(5 x-30)\right]\) Use grouping to consider the terms in pairs.
    \(\ 3 x[(x(x-6)+5(x-6)]\) Factor \(\ x\) out of the first group and factor 5 out of the second group.
    \(\ 3 x(x-6)(x+5)\) Then factor out \(\ x-6\).

    \(\ 3 x(x-6)(x+5)\)

    Factoring Trinomials: \(\ a x^{2}+b x+c\)

    The general form of trinomials with a leading coefficient of a is \(\ a x^{2}+b x+c\). Sometimes the factor of \(\ a\) can be factored as you saw above; this happens when a can be factored out of all three terms. The remaining trinomial that still needs factoring will then be simpler, with the leading term only being an \(\ x^{2}\) term, instead of an \(\ a x^{2}\) term.

    However, if the coefficients of all three terms of a trinomial don’t have a common factor, then you will need to factor the trinomial with a coefficient of something other than 1.

    Factoring Trinomials in the form \(\ a x^{2}+b x+c\)

    To factor a trinomial in the form \(\ a x^{2}+b x+c\), find two integers, \(\ r\) and \(\ s\), whose sum is \(\ b\) and whose product is \(\ ac\). Rewrite the trinomial as \(\ a x^{2}+r x+s x+c\) and then use grouping and the distributive property to factor the polynomial.

    This is almost the same as factoring trinomials in the form \(\ x^{2}+b x+c\), as in this form \(\ a=1\). Now you are looking for two factors whose product is \(\ a \cdot c\), and whose sum is \(\ b\).

    Let’s see how this strategy works by factoring \(\ 6 z^{2}+11 z+4\).

    In this trinomial, \(\ a=6\), \(\ b=11\), and \(\ c=4\). According to the strategy, you need to find two factors, \(\ r\) and \(\ s\), whose sum is \(\ b(11)\) and whose product is \(\ a c(\text { or } 6 \cdot 4=24)\). You can make a chart to organize the possible factor combinations. (Notice that this chart only has positive numbers. Since \(\ a c\) is positive and \(\ b\) is positive, you can be certain that the two factors you're looking for are also positive numbers.)

    Factors whose product is 24 Sum of the factors
    \(\ 1 \cdot 24=24\) \(\ 1+24=25\)
    \(\ 2 \cdot 12=24\) \(\ 2+12=14\)
    \(\ 3 \cdot 8=24\) \(\ 3+8=11\)
    \(\ 4 \cdot 6=24\) \(\ 4+6=10\)

    There is only one combination where the product is 24 and the sum is 11, and that is when \(\ r=3\) and \(\ s=8\). Let’s use these values to factor the original trinomial.

    Example

    Factor \(\ 6 z^{2}+11 z+4\).

    Solution

    \(\ 6 z^{2}+3 z+8 z+4\) Rewrite the middle term, \(\ 11z\), as \(\ 3 z+8 z\) (from the chart above.)
    \(\ \left(6 z^{2}+3 z\right)+(8 z+4)\) Group pairs. Use grouping to consider the terms in pairs.
    \(\ 3 z(2 z+1)+4(2 z+1)\) Factor \(\ 3 z\) out of the first group and 4 out of the second group.
    \(\ (2 z+1)(3 z+4)\) Factor out \(\ (2 z+1)\).

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

    Before going any further, it is worth mentioning that not all trinomials can be factored using integer pairs. Take the trinomial \(\ 2 z^{2}+35 z+7\), for instance. Can you think of two integers whose sum is \(\ b(35)\) and whose product is \(\ a c(2 \cdot 7=14)\)? There are none! This type of trinomial, which cannot be factored using integers, is called a prime trinomial.

    Exercise

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

    1. \(\ (3 x+2)(x-1)\)
    2. \(\ (3 x-2)(x+1)\)
    3. \(\ (3 x+1)(x-2)\)
    4. \(\ (3 x-1)(x+2)\)
    Answer
    1. Incorrect. \(\ (3 x+2)(x-1)\) has a product of \(\ 3 x^{2}-x-2\); look for two numbers whose product is -6 and whose sum is +1. Then use those numbers to factor by grouping. The correct answer is \(\ (3 x-2)(x+1)\).
    2. Correct. The product of \(\ (3 x-2)(x+1)\) is \(\ 3 x^{2}+x-2\).
    3. Incorrect. The product of \(\ (3 x+1)(x-2)\) is \(\ 3 x^{2}-5 x-2\); look for two numbers whose product is -6 and whose sum is +1. Then use those numbers to factor by grouping. The correct answer is \(\ (3 x-2)(x+1)\).
    4. Incorrect. The product of \(\ (3 x-1)(x+2)\) is \(\ 3 x^{2}+5 x-2\); look for two numbers whose product is -6 and whose sum is +1. Then use those numbers to factor by grouping. The correct answer is \(\ (3 x-2)(x+1)\).

    Negative Terms

    In some situations, \(\ a\) is negative, as in \(\ -4 h^{2}+11 h+3\). It often makes sense to factor out -1 as the first step in factoring, as doing so will change the sign of \(\ a x^{2}\) from negative to positive, making the remaining trinomial easier to factor.

    Example

    Factor \(\ -4 h^{2}+11 h+3\)

    Solution

    \(\ -1\left(4 h^{2}-11 h-3\right)\)

    Factor -1 out of the trinomial. Notice that the signs of all three terms have changed.

    To factor the trinomial, you need to figure out how to rewrite \(\ -11 h\). The product of \(\ r s=4 \cdot-3=-12\) and the sum of \(\ r s=-11\).

    \(\ -1\left(4 h^{2}-12 h+1 h-3\right)\)
    \(\ r \cdot s=-12\) \(\ r+s=-11\)
    \(\ -12 \cdot 1=-12\) \(\ -12+1=-11\)
    \(\ -6 \cdot 2=-12\) \(\ -6+2=-4\)
    \(\ -4 \cdot 3=-12\) \(\ -4+3=-1\)

    Rewrite the middle term \(\ -11h\) as \(\ -12 h+1 h\).

    \(\ -1\left[\left(4 h^{2}-12 h\right)+(1 h-3)\right]\) Group terms.
    \(\ -1[4 h(h-3)+1(h-3)]\) Factor out \(\ 4h\) from the first pair. The second group cannot be factored further, but you can write it as \(\ +1(h-3)\) since \(\ +1(h-3)=(h-3)\). This helps with factoring in the next step.
    \(\ -1[(h-3)(4 h+1)]\) Factor out a common factor of \(\ (h-3)\). Notice you are left with \(\ (h-3)(4 h+1)\); the \(\ +1\) comes from the term \(\ +1(h-3)\) in the previous step.

    \(\ -1(h-3)(4 h+1)\)

    Note that the answer above can also be written as \(\ (-h+3)(4 h+1)\) or \(\ (h-3)(-4 h-1)\) if you multiply \(\ -1\) times one of the other factors.

    Summary

    Trinomials in the form \(\ x^{2}+b x+c\) can be factored by finding two integers, \(\ r\) and \(\ s\), whose sum is \(\ b\) and whose product is \(\ c\). Rewrite the trinomial as \(\ x^{2}+r x+s x+c\) and then use grouping and the distributive property to factor the polynomial.

    When a trinomial is in the form of \(\ a x^{2}+b x+c\), where \(\ a\) is a coefficient other than 1, look first for common factors for all three terms. Factor out the common factor first, then factor the remaining simpler trinomial. If the remaining trinomial is still of the form \(\ a x^{2}+b x+c\), find two integers, \(\ r\) and \(\ s\), whose sum is \(\ b\) and whose product is \(\ ac\). Then rewrite the trinomial as \(\ a x^{2}+r x+s x+c\) and use grouping and the distributive property to factor the polynomial.

    When \(\ a x^{2}\) is negative, you can factor -1 out of the whole trinomial before continuing.


    This page titled 12.2.1: Factoring Trinomials is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by The NROC Project via source content that was edited to the style and standards of the LibreTexts platform.