Skip to main content
Mathematics LibreTexts

6.4: More Factoring Methods

  • Page ID
    51471
  • \( \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

    • Factor by Grouping
      • Identify patterns that result from multiplying two binomials and how they affect factoring by grouping
      • Factor a four term polynomial by grouping terms
    • Methods for Factoring Trinomials
      • Apply an algorithm to rewrite a trinomial as a four term polynomial
      • Use factoring by grouping to factor a trinomial
      • Use a shortcut to factor trinomials of the form \(ax^2+bx+c\)
      • Recognize where to place negative signs when factoring a trinomial
      • Recognize when a polynomial is a difference of squares, and how it would factor as the product of two binomials

    When we learned to multiply two binomials, we found that the result, before combining like terms, was a four term polynomial, as in this example: \(\left(x+4\right)\left(x+2\right)=x^{2}+2x+4x+8\).

    We can apply what we have learned about factoring out a common monomial to return a four term polynomial to the product of two binomials. Why would we even want to do this?

    Thought bubble with the words .....and i should care why?
    Why Should I Care?

    Because it is an important step in learning techniques for factoring trinomials, such as the one you get when you simplify the product of the two binomials from above:

    \(\begin{array}{l}\left(x+4\right)\left(x+2\right)\\=x^{2}+2x+4x+8\\=x^2+6x+8\end{array}\)

    Additionally, factoring by grouping is a technique that allows us to factor a polynomial whose terms don’t all share a GCF. In the following example, we will introduce you to the technique. Remember, one of the main reasons to factor is because it will help solve polynomial equations.

    Example

    Factor \(a^2+3a+5a+15\)
    [reveal-answer q=”437455″]Show Solution[/reveal-answer]
    [hidden-answer a=”437455″]

    There isn’t a common factor between all four terms, so we will group the terms into pairs that will enable us to find a GCF for them. For example, we wouldn’t want to group \(a^2\text{ and }15\) because they don’t share a common factor.

    \(\left(a^2+3a\right)+\left(5a+15\right)\)

    Find the GCF of the first pair of terms.

    \(\begin{array}{l}\,\,\,\,a^2=a\cdot{a}\\\,\,\,\,3a=3\cdot{a}\\\text{GCF}=a\end{array}\)

    Factor the GCF, a, out of the first group.

    \(\begin{array}{r}\left(a\cdot{a}+a\cdot{3}\right)+\left(5a+15\right)\\a\left(a+3\right)+\left(5a+15\right)\end{array}\)

    Find the GCF of the second pair of terms.

    \(\begin{array}{r}5a=5\cdot{a}\\15=5\cdot3\\\text{GCF}=5\,\,\,\,\,\,\,\end{array}\)

    Factor 5 out of the second group.

    \(\begin{array}{l}a\left(a+3\right)+\left(5\cdot{a}+5\cdot3\right)\\a\left(a+3\right)+5\left(a+3\right)\end{array}\)

    Notice that the two terms have a common factor \(\left(a+3\right)\).

    \(a\left(a+3\right)+5\left(a+3\right)\)

    Factor out the common factor \(\left(a+3\right)\) from the two terms.

    \(\left(a+3\right)\left(a+5\right)\)

    Note how the a and 5 become a binomial sum, and the other factor. This is probably the most confusing part of factoring by grouping.

    Answer

    \(a^2+3a+5a+15=\left(a+3\right)\left(a+5\right)\)

    [/hidden-answer]

    Notice that when you factor a two term polynomial, the result is a monomial times a polynomial. But the factored form of a four-term polynomial is the product of two binomials. As we noted before, this is an important middle step in learning how to factor a three term polynomial.

    This process is called the grouping technique. Broken down into individual steps, here’s how to do it (you can also follow this process in the example below).

    • Group the terms of the polynomial into pairs that share a GCF.
    • Find the greatest common factor and then use the distributive property to pull out the GCF
    • Look for the common binomial between the factored terms
    • Factor the common binomial out of the groups, the other factors will make the other binomial

    Let’s try factoring a few more four-term polynomials. Note how there is a now a constant in front of the \(x^2\) term. We will just consider this another factor when we are finding the GCF.

    Example

    Factor \(2x^{2}+4x+5x+10\).
    [reveal-answer q=”313122″]Show Solution[/reveal-answer]
    [hidden-answer a=”313122″]Group terms of the polynomial into pairs.

    \(\left(2x^{2}+4x\right)+\left(5x+10\right)\)

    Factor out the like factor, 2x, from the first group.

    \(2x\left(x+2\right)+\left(5x+10\right)\)

    Factor out the like factor, 5, from the second group.

    \(2x\left(x+2\right)+5\left(x+2\right)\)

    Look for common factors between the factored forms of the paired terms. Here, the common factor is \((x+2)\).

    Factor out the common factor, \(\left(x+2\right)\), from both terms.

    \(\left(2x+2\right)\left(x+5\right)\)

    The polynomial is now factored.

    Answer

    \(\left(2x+2\right)\left(x+5\right)\)

    [/hidden-answer]

    Another example follows that contains subtraction. Note how we choose a positive GCF from each group of terms, and the negative signs stay.

    Example

    Factor \(2x^{2}–3x+8x–12\).
    [reveal-answer q=”715080″]Show Solution[/reveal-answer]
    [hidden-answer a=”715080″]Group terms into pairs.

    \((2x^{2}–3x)+(8x–12)\)

    Factor the common factor, x, out of the first group and the common factor, 4, out of the second group.

    \(x\left(2x–3\right)+4\left(2x–3\right)\)

    Factor out the common factor, \(\left(2x–3\right)\), from both terms.

    \(\left(x+4\right)\left(2x–3\right)\)

    Answer

    \(\left(x+4\right)\left(2x-3\right)\)

    [/hidden-answer]

    The video that follows provides another example of factoring by grouping.

    Thumbnail for the embedded element "Ex 2: Intro to Factor By Grouping Technique"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    In the next example, we will have a GCF that is negative. It is important to pay attention to what happens to the resulting binomial when the GCF is negative.

    Example

    Factor \(3x^{2}+3x–2x–2\).
    [reveal-answer q=”744005″]Show Solution[/reveal-answer]
    [hidden-answer a=”744005″]Group terms into pairs.

    \(\left(3x^{2}+3x\right)+\left(-2x-2\right)\)

    Factor the common factor 3x out of first group.

    \(3x\left(x+1\right)+\left(-2x-2\right)\)

    Factor the common factor \(−2\) is factored out.

    \(3x\left(x+1\right)-2\left(x+1\right)\)

    Factor out the common factor, \(\left(x+1\right)\), from both terms.

    \(\left(x+1\right)\left(3x-2\right)\)

    Answer

    \(\left(x+1\right)\left(3x-2\right)\)

    [/hidden-answer]

    In the following video we present another example of factoring by grouping when one of the GCF is negative.

    Thumbnail for the embedded element "Ex 1: Intro to Factor By Grouping Technique"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    Sometimes, you will encounter polynomials that, despite your best efforts, cannot be factored into the product of two binomials.

    Example

    Factor \(7x^{2}–21x+5x–5\).
    [reveal-answer q=”262926″]Show Solution[/reveal-answer]
    [hidden-answer a=”262926″]Group terms into pairs.

    \(\left(7x^{2}–21x\right)+\left(5x–5\right)\)

    Factor the common factor 7x out of the first group.

    \(7x\left(x-3\right)+\left(5x-5\right)\)

    Factor the common factor 5 out of the second group.

    \(7x\left(x-3\right)+5\left(x-1\right)\)

    The two groups \(5\left(x–1\right)\) do not have any common factors, so this polynomial cannot be factored any further.

    \(7x\left(x–3\right)+5\left(x–1\right)\)

    Answer

    Cannot be factored

    [/hidden-answer]

    In the example above, each pair can be factored, but then there is no common factor between the pairs!

    Factor Trinomials Part I

    In the last section we introduced the technique of factoring by grouping as a means to be able to factor a trinomial. Now we will actually get to the work of starting with a three term polynomial, and rewriting it as a four term polynomial so it can be factored.

    We will start with factoring trinomials of the form \(x^2\) term.

    Remember that when \(\left(x+5\right)\), are multiplied, the result is a four term polynomial and then it is simplified into a trinomial:

    \(\left(x+2\right)\left(x+5\right)=x^2+5x+2x+10=x^2+7x+10\)

    Factoring is the reverse of multiplying, so let’s go in reverse and factor the trinomial \(x^{2}\), \(7x=5x+2x\) then we can use the grouping technique:

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

    Factor each pair: \(\begin{array}{l}x\underbrace{\left(x+5\right)}+2\underbrace{\left(x+5\right)}\\\text{common binomial factor}\end{array}\)

    Then pull out the common binomial factor: \(\left(x+5\right)\left(x+2\right)\)

    What would have happened if we had rewritten \(6x+x\)?

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

    Factor each pair: \(x\left(x+6\right)+1\left(x+10\right)\)

    Then we don’t have a common factor of \(\left(x+5\right)\) like we did before. There is a method to the madness of choosing how to rewrite the middle terms so that you will end up with a common binomial factor.

    Shakespeare quote: "Though this be madness, yet there is method in it."
    Method to the Madness

    The following is a summary of the method, then we will show some examples of how to use it.

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

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

    \(\begin{array}{l}r\cdot{s}=c\\\text{ and }\\r+s=b\end{array}\)

    Rewrite the trinomial as \(\left(x+r\right)\) and \(\left(x+s\right)\).

    For example, to factor \(x^{2}+7x+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 \(2x+5x\), and continue factoring as in the example above. Note that you can also rewrite \(5x+2x\). Both will work.

    Let’s factor the trinomial \(x^{2}+5x+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+6=7\)
    \(2+3=5\)

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

    Example

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

    [reveal-answer q=”141663″]Show Solution[/reveal-answer]
    [hidden-answer a=”141663″]Use values from the chart above. Replace \(2x+3x\).

    \(x^{2}+2x+3x+6\)

    Group the pairs of terms.

    \(\left(x^{2}+2x\right)+\left(3x+6\right)\)

    Factor x out of the first pair of terms

    \(x\left(x+2\right)+\left(3x+6\right)\)

    Factor 3 out of the second pair of terms.

    \(x\left(x+2\right)+3\left(x+2\right)\)

    Factor out \(\left(x+2\right)\).

    \(\left(x+2\right)\left(x+3\right)\)

    Answer

    \(\left(x+2\right)\left(x+3\right)\)

    [/hidden-answer]

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

    In the following video, we present another example of how to use grouping to factor a quadratic polynomial.

    Thumbnail for the embedded element "Ex 1: Factor a Quadratic Expression Using Grouping When a = 1"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    Finally, let’s take a look at the trinomial \(−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 \(1\cdot−12=−12\) \(2\cdot−6=−12\) \(3\cdot−4=−12\) \(4\cdot−3=−12\) \(6\cdot−2=−12\) \(12\cdot−1=−12\) \(12+−1=11\)

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

    Example

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

    [reveal-answer q=”205737″]Show Solution[/reveal-answer]
    [hidden-answer a=”205737″]Rewrite the trinomial using the values from the chart above. Use values \(s=−3\).

    \(x^{2}+4x+−3x–12\)

    Group pairs of terms.

    \(\left(x^{2}+4x\right)+\left(−3x–12\right)\)

    Factor x out of the first group.

    \(x\left(x+4\right)+\left(-3x-12\right)\)

    Factor −3 out of the second group.

    \(x\left(x+4\right)–3\left(x+4\right)\)

    Factor out \(\left(x+4\right)\).

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

    Answer

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

    [/hidden-answer]

    In the above example, you could also rewrite \(x^{2}– 3x+4x–12\) first. Then factor \(\left(x–3\right)\) getting \(\left(x–3\right)\left(x+4\right)\). 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}+bx+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 b 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}+bx+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}+5x+6\) \(r=+5,s=+2\) \(r=+4,s=–3\)
    Factored form \(\left(x+2\right)\left(x+3\right)\) \((x+4)(x–3)\)

    The Shortcut

    Notice that in each of the examples above, 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}\) 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. For those of you that like shortcuts, let’s look at some examples where we use this idea.

    Picture of a sidewalk leading to a parking lot. There is a path through the grass to teh right of the sidewalk through the trees that has been made by people walking on the grass. The shortcut to the parking lot is the preferred way.
    Shortcut This Way

    In the next two examples, we will show how you can skip the step of factoring by grouping and move directly to the factored form of a product of two binomials with the r and s values that you find. The idea is that you can build factors for a trinomial in this form: \(x^2+bx+c\) by finding r and s, then placing them in two binomial factors like this:

    \(\left(x+r\right)\left(x+s\right)\text{ OR }\left(x+s\right)\left(x+r\right)\)

    Example

    Factor: \(y^2+6y-27\)
    [reveal-answer q=”601131″]Show Solution[/reveal-answer]
    [hidden-answer a=”601131″]

    Find r and s:

    Factors whose product is -27 Sum of the factors
    \(1-27=-26\)
    \(3-9=-6\)
    \(-3+9=6\)

    Instead of rewriting the middle term, we will use the values of r and s that give the product and sum that we need.

    In this case:

    \(\begin{array}{l}r=-3\\s=9\end{array}\)

    It helps to start by writing two empty sets of parentheses:

    \(\left(\,\,\,\,\,\,\,\,\,\,\,\,\right)\left(\,\,\,\,\,\,\,\,\,\,\,\,\right)\)

    The squared term is y, so we will place a y in each set of parentheses:

    \(\left(y\,\,\,\,\,\,\,\,\right)\left(y\,\,\,\,\,\,\,\,\right)\)

    Now we can fill in the rest of each binomial with the values we found for r and s.

    \(\left(y-3\right)\left(y+9\right)\)

    Note how we kept the sign on each of the values. The nice thing about factoring is you can check your work. Multiply the binomials together to see if you did it correctly.

    \(\begin{array}{l}\left(y-3\right)\left(y+9\right)\\=y^2+9y-3y-27\\=y^2+6y-27\end{array}\)

    Answer

    \(\left(y-3\right)\left(y+9\right)\)

    [/hidden-answer]

    We will show one more example so you can gain more experience.

    Example

    Factor: \(-m^2+16m-48\)
    [reveal-answer q=”402116″]Show Solution[/reveal-answer]
    [hidden-answer a=”402116″]

    There is a negative in front of the squared term, so we will factor out a negative one from the whole trinomial first. Remember, this boils down to changing the sign of all the terms:

    \(-m^2+16m-48=-1\left(m^2-16m+48\right)\)

    Now we can factor \(\left(m^2-16m+48\right)\) by finding r and s. Note that b is negative, and c is positive so we are probably looking for two negative numbers:

    Factors whose product is 48 Sum of the factors
    \(-1-48=-49\)
    \(-2-12=-14\)
    \(-3-16=-19\)
    \(-4-12=-16\)

    There are more factors whose product is 48, but we have found the ones that sum to -16, so we can stop.

    \(\begin{array}{l}r=-4\\s=-12\end{array}\)

    Now we can fill in each binomial with the values we found for r and s, make sure to use the correct variable!

    \(\left(m-4\right)\left(m-12\right)\)

    We are not done yet, remember that we factored out a negative sign in the first step. We need to remember to include that.

    \(-1\left(m-4\right)\left(m-12\right)\)

    Answer

    \(-m^2+16m-48=-1\left(m-4\right)\left(m-12\right)\)

    [/hidden-answer]

    In the following video, we present two more examples of factoring a trinomial using the shortcut presented here.

    Thumbnail for the embedded element "Factor a Trinomial Using the Shortcut Method - Form x^2+bx+c"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    Factor Trinomials Part II

    The next goal is for you to be comfortable with recognizing where to place negative signs, and whether a trinomial can even be factored. Additionally, we will explore one special case to look out for at the end of this page.

    Not all trinomials look like \(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}+5x+6)\) \(−5a^{2}−15a−10\) \(−5\left(a+2\right)\left(a+1\right)\)
    \(c\left(c^{2}–8c+15\right)\) \(y^{4}–9y^{3}–10y^{2}\) \(y^{2}\left(y–10\right)\left(y+1\right)\)

    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 \(3x^{3}–3x^{2}–90x\).

    [reveal-answer q=”298928″]Show Solution[/reveal-answer]
    [hidden-answer a=”298928″]Since 3 is a common factor for the three terms, factor out the 3.

    \(3\left(x^{3}–x^{2}–30x\right)\)

    x is also a common factor, so factor out x.

    \(3x\left(x^{2}–x–30\right)\)

    Now you can factor the trinomial \(−30\) and whose sum is \(−1\).

    The pair of factors is \(5\). So replace \(−6x+5x\).

    \(3x\left(x^{2}–6x+5x–30\right)\)

    Use grouping to consider the terms in pairs.

    \(3x\left[\left(x^{2}–6x\right)+\left(5x–30\right)\right]\)

    Factor x out of the first group and factor 5 out of the second group.

    \(3x\left[\left(x\left(x–6\right)\right)+5\left(x–6\right)\right]\)

    Then factor out \(x–6\).

    \(3x\left(x–6\right)\left(x+5\right)\)

    Answer

    \(3x\left(x–6\right)\left(x+5\right)\)

    [/hidden-answer]

    The following video contains two more examples of factoring a quadratic trinomial where the first step is to factor out a GCF. We use the shortcut method instead of factoring by grouping.

    Thumbnail for the embedded element "Factor a Trinomial With A Common Factor Using the Shortcut Method - Form x^2+bx+c"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    The general form of trinomials with a leading coefficient of a is \(x^{2}\) term, instead of an \(ax^{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 \(ax^{2}+bx+c\)

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

    \(\begin{array}{l}r\cdot{s}=a\cdot{c}\\r+s=b\end{array}\)

    Rewrite the trinomial as \(ax^{2}+rx+sx+c\) and then use grouping and the distributive property to factor the polynomial.

    This is almost the same as factoring trinomials in the 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 \(6z^{2}+11z+4\).

    In this trinomial, \(b=11\), and \(b=11\) and whose product is \(a\cdot{c}=6\cdot4=24\). You can make a chart to organize the possible factor combinations. (Notice that this chart only has positive numbers. Since ac 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+24=25\)
    \(2+12=14\)
    \(3+8=11\)
    \(4+6=10\)

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

    Example

    Factor \(11z\), as \(3z + 8z\) (from the chart above.)

    \(6z^{2}+3z+8z+4\)

    Group pairs. Use grouping to consider the terms in pairs.

    \(\left(6z^{2}+3z\right)+\left(8z+4\right)\)

    Factor 3z out of the first group and 4 out of the second group.

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

    Factor out \(\left(2z+1\right)\).

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

    Answer

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

    [/hidden-answer]

    In the following video, we present another example of factoring a trinomial using grouping. In this example, the middle term, b, is negative. Note how having a negative middle term and a positive c term influence the options for r and s when factoring.

    Thumbnail for the embedded element "Factor a Trinomial in the Form ax^2+bx+c Using the Grouping Technique"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

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

    In some situations, a is negative, as in \(−1\) as the first step in factoring, as doing so will change the sign of \(ax^{2}\) from negative to positive, making the remaining trinomial easier to factor.

    Example

    Factor \(−1\) out of the trinomial. Notice that the signs of all three terms have changed.

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

    To factor the trinomial, you need to figure out how to rewrite \(rs=4\cdot−3=−12\), and the sum of \(rs=−11\).

    \(r+s=−11\)
    \(−12+1=−11\)
    \(−6+2=−4\)
    \(−4+3=−1\)

    Rewrite the middle term \(−12h+1h\).

    \(−1\left(4h^{2}–12h+1h–3\right)\)

    Group terms.

    \(−1\left[\left(4h^{2}–12h\right)+\left(1h–3\right)\right]\)

    Factor out 4h from the first pair. The second group cannot be factored further, but you can write it as \(+1\left(h–3\right)=\left(h–3\right)\). This helps with factoring in the next step.

    \(−1\left[4h\left(h–3\right)+1\left(h–3\right)\right]\)

    Factor out a common factor of \(\left(h–3\right)\left(4h+1\right)\); the \(+1\left(h–3\right)\) in the previous step.

    \(−1\left[\left(h–3\right)\left(4h+1\right)\right]\)

    Answer

    \(−1\left(h–3\right)\left(4h+1\right)\)

    [/hidden-answer]

    Note that the answer above can also be written as \(\left(h–3\right)\left(−4h–1\right)\) if you multiply \(−1\) times one of the other factors.

    In the following video we present another example of factoring a trinomial in the form \(-ax^2+bx+c\) using the grouping technique.

    Thumbnail for the embedded element "Factor a Trinomial in the Form -ax^2+bx+c Using the Grouping Technique"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    Difference of Squares

    We would be remiss if we failed to introduce one more type of polynomial that can be factored. This polynomial can be factored into two binomials but has only two terms. Let’s start from the product of two binomials to see the pattern.

    Given the product of two binomials: \(\left(x-2\right)\left(x+2\right)\), if we multiply them together, we lose the middle term that we are used to seeing as a result.

    Multiply:

    \(\begin{array}{l}\left(x-2\right)\left(x+2\right)\\\text{}\\=x^2-2x+2x-2^2\\\text{}\\=x^2-2^2\\\text{}\\=x^2-4\end{array}\)

    The polynomial \(x^2-4\) is called a difference of squares because teach term can be written as something squared. A difference of squares will always factor in the following way:

    Factor a Difference of Squares

    Given \(\left(a+b\right)\left(a-b\right)\)

    Let’s factor \(x^{2}+0x–4\). This is similar in format to the trinomials we have been factoring so far, so let’s use the same method.

    Find the factors of \(a\cdot{c}\) whose sum is b, in this case, 0:

    Factors of \(1\cdot-4=−4\) \(2\cdot−2=−4\) \(-1\cdot4=−4\) \(-1+4=3\)

    2, and -2 have a sum of 0. You can use these to factor \(x^{2}–4\).

    Example

    Factor \(0x\) as \(−2x+2x\).

    \(\begin{array}{l}x^{2}+0x-4\\x^{2}-2x+2x-4\end{array}\)

    Group pairs.

    \(\left(x^{2}–2x\right)+\left(2x–4\right)\)

    Factor x out of the first group. Factor 2 out of the second group.

    \(x\left(x–2\right)+2\left(x–2\right)\)

    Factor out \(\left(x–2\right)\).

    \(\left(x–2\right)\left(x+2\right)\)

    Answer

    \(\left(3x–2\right)\left(3x+2\right)\)

    [/hidden-answer]

    Since order doesn’t matter with multiplication, the answer can also be written as \(\left(x+2\right)\left(x–2\right)\).

    You can check the answer by multiplying \(\left(x–2\right)\left(x+2\right)=x^{2}+2x–2x–4=x^{2}–4\).

    The following video show two more examples of factoring a difference of squares.

    Thumbnail for the embedded element "Ex: Factor a Difference of Squares"

    A YouTube element has been excluded from this version of the text. You can view it online here: pb.libretexts.org/ba/?p=118

    Summary

    When a trinomial is in the form of \(ax^{2}+bx+c\), find two integers, r and s, whose sum is b and whose product is ac. Then rewrite the trinomial as \(ax^{2}+rx+sx+c\) and use grouping and the distributive property to factor the polynomial.

    When \(−1\) out of the whole trinomial before continuing.

    A difference of squares \(\left(a+b\right)\left(a-b\right)\).

    Summary

    Trinomials in the form \(x^{2}+rx+sx+c\) and then use grouping and the distributive property to factor the polynomial.

    CC licensed content, Original
    CC licensed content, Shared previously

    6.4: More Factoring Methods is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?