We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

أدلة الدراسة > ALGEBRA / TRIG I

Factoring a Four Term Polynomial by Grouping

Learning Outcomes

  • Factor a four term polynomial by grouping terms
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: [latex]\left(x+4\right)\left(x+2\right)=x^{2}+2x+4x+8[/latex]. 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:

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

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 [latex]a^2+3a+5a+15[/latex]

Answer: 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 [latex]a^2\text{ and }15[/latex] because they don't share a common factor.

[latex]\left(a^2+3a\right)+\left(5a+15\right)[/latex]

Find the GCF of the first pair of terms.

[latex]\begin{array}{l}\,\,\,\,a^2=a\cdot{a}\\\,\,\,\,3a=3\cdot{a}\\\text{GCF}=a\end{array}[/latex]

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

[latex]\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}[/latex]

Find the GCF of the second pair of terms.

[latex]\begin{array}{r}5a=5\cdot{a}\\15=5\cdot3\\\text{GCF}=5\,\,\,\,\,\,\,\end{array}[/latex]

Factor [latex]5[/latex] out of the second group.

[latex]\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}[/latex]

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

[latex]a\left(a+3\right)+5\left(a+3\right)[/latex]

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

[latex]\left(a+3\right)\left(a+5\right)[/latex]

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

[latex-display]a^2+3a+5a+15=\left(a+3\right)\left(a+5\right)[/latex-display]

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 [latex]x^2[/latex] term. We will just consider this another factor when we are finding the GCF.

Example

Factor [latex]2x^{2}+4x+5x+10[/latex].

Answer: Group terms of the polynomial into pairs.

[latex]\left(2x^{2}+4x\right)+\left(5x+10\right)[/latex]

Factor out the like factor, [latex]2x[/latex], from the first group.

[latex]2x\left(x+2\right)+\left(5x+10\right)[/latex]

Factor out the like factor, [latex]5[/latex], from the second group.

[latex]2x\left(x+2\right)+5\left(x+2\right)[/latex]

Look for common factors between the factored forms of the paired terms. Here, the common factor is [latex](x+2)[/latex]. Factor out the common factor, [latex]\left(x+2\right)[/latex], from both terms.

[latex]\left(x+2\right)\left(2x+5\right)[/latex]

The polynomial is now factored.

Answer

[latex-display]\left(x+2\right)\left(2x+5\right)[/latex-display]

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 [latex]2x^{2}–3x+8x–12[/latex].

Answer: Group terms into pairs.

[latex](2x^{2}–3x)+(8x–12)[/latex]

Factor the common factor, [latex]x[/latex], out of the first group and the common factor, [latex]4[/latex], out of the second group.

[latex]x\left(2x–3\right)+4\left(2x–3\right)[/latex]

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

[latex]\left(x+4\right)\left(2x–3\right)[/latex]

Answer

[latex-display]\left(x+4\right)\left(2x-3\right)[/latex-display]

The video that follows provides another example of factoring by grouping. https://youtu.be/RR5nj7RFSiU 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 [latex]3x^{2}+3x–2x–2[/latex].

Answer: Group terms into pairs.

[latex]\left(3x^{2}+3x\right)+\left(-2x-2\right)[/latex]

Factor the common factor  [latex]3x[/latex] out of first group.

[latex]3x\left(x+1\right)+\left(-2x-2\right)[/latex]

Factor the common factor [latex]−2[/latex] out of the second group. Notice what happens to the signs within the parentheses once [latex]−2[/latex] is factored out.

[latex]3x\left(x+1\right)-2\left(x+1\right)[/latex]

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

[latex]\left(x+1\right)\left(3x-2\right)[/latex]

Answer

[latex-display]\left(x+1\right)\left(3x-2\right)[/latex-display]

In the following video we present another example of factoring by grouping when one of the GCF is negative. https://youtu.be/0dvGmDGVC5U Sometimes, you will encounter polynomials that, despite your best efforts, cannot be factored into the product of two binomials.

Example

Factor [latex]7x^{2}–21x+5x–5[/latex].

Answer: Group terms into pairs.

[latex]\left(7x^{2}–21x\right)+\left(5x–5\right)[/latex]

Factor the common factor [latex]7x[/latex] out of the first group.

[latex]7x\left(x-3\right)+\left(5x-5\right)[/latex]

Factor the common factor [latex]5[/latex] out of the second group.

[latex]7x\left(x-3\right)+5\left(x-1\right)[/latex]

The two groups [latex]7x\left(x–3\right)[/latex] and [latex]5\left(x–1\right)[/latex] do not have any common factors, so this polynomial cannot be factored any further.

[latex]7x\left(x–3\right)+5\left(x–1\right)[/latex]

Answer

Cannot be factored

In the example above, each pair can be factored, but then there is no common factor between the pairs! In the next section, we will see how factoring by grouping can be used to factor a trinomial.  

Contribute!

Did you have an idea for improving this content? We’d love your input.

Licenses & Attributions

CC licensed content, Original

CC licensed content, Shared previously

  • Ex 2: Intro to Factor By Grouping Technique. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
  • Ex 1: Intro to Factor By Grouping Technique Mathispower4u . Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
  • Unit 12: Factoring, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education Located at: https://www.nroc.org/. License: CC BY: Attribution.