Skip to main content

Section 6.2 Grouping

Objective: Factor polynomials with four terms using grouping.

The first thing we will always do when factoring is try to factor out a GCF. This GCF is often a monomial like in the problem \(5xy + 10xz\) the GCF is the monomial \(5x\text{,}\) so we would have \(5x(y + 2z)\text{.}\) However, a GCF does not have to be a monomial, it could be a binomial. To see this, consider the following two example.

Example 6.2.1.

\begin{align*} 3a x - 7b x \amp \quad \text{ Both have $x$ in common, factor it out } \\ x(3a - 7b) \amp\quad \text{ Our Solution } \end{align*}

Now the same problem, but instead of \(x\) we have \((2a + 5b)\text{.}\)

Example 6.2.2.

\begin{align*} 3a(2a + 5b) - 7b(2a + 5b) \amp \quad \text{Both have $(2a + 5b)$ in common, factor it out } \\ (2a + 5b)(3a - 7b) \amp\quad \text{ Our Solution } \end{align*}

In the same way we factored out a GCF of \(x\) we can factor out a GCF which is a binomial, \((2a + 5b)\text{.}\) This process can be extended to factor problems where there is no GCF to factor out, or after the GCF is factored out, there is more factoring that can be done. Here we will have to use another strategy to factor. We will use a process known as grouping. Grouping is how we will factor if there are four terms in the problem. Remember, factoring is like multiplying in reverse, so first we will look at a multiplication problem and then try to reverse the process.

Example 6.2.3.

\begin{align*} (2a + 3)(5b + 2) \amp \quad \text{Distribute $(2a + 3)$ into second parenthesis } \\ 5b(2a + 3) + 2(2a + 3) \amp\quad \text{ Distribute each monomial } \\ 10ab + 15b + 4a + 6 \amp\quad \text{ Our Solution } \end{align*}

The solution has four terms in it. We arrived at the solution by looking at the two parts, \(5b(2a + 3)\) and \(2(2a + 3)\text{.}\) When we are factoring by grouping we will always divide the problem into two parts, the first two terms and the last two terms. Then we can factor the GCF out of both the left and right sides. When we do this our hope is what is left in the parenthesis will match on both the left and right. If they match we can pull this matching GCF out front, putting the rest in parenthesis and we will be factored. The next example is the same problem worked backwards, factoring instead of multiplying.

Example 6.2.4.

\begin{align*} 10ab + 15b + 4a + 6 \amp \quad \text{ Split problem into two groups } \\ ( 10ab + 15b) + (4a + 6) \amp\quad \text{ GCF on left is $5b$, on the right is } 2 \\ 5b(2a+3) +2(2a+3) \amp\quad (2a+3) \text{ is the same! Factor out this GCF } \\ (2a + 3)(5b + 2) \amp\quad \text{ Our Solution } \end{align*}

The key for grouping to work is after the GCF is factored out of the left and right, the two binomials must match exactly. If there is any difference between the two we either have to do some adjusting or it can’t be factored using the grouping method. Consider the following example.

Example 6.2.5.

\begin{align*} 6x^2 + 9xy - 14x - 21y \amp \quad \text{ Split problem into two groups } \\ (6x^2+9xy) + (-14x-21y) \amp\quad \text{ GCF on left is $3x$, on the right is } 7 \\ 3x(2x + 3y) + 7( - 2x - 3y) \amp\quad \text{ The signs in the parenthesis don't match! } \end{align*}

When the signs don’t match on both terms we can easily make them match by fac- toring the opposite of the GCF on the right side. Instead of \(7\) we will use \(-7\text{.}\) This will change the signs inside the second parenthesis.

\begin{align*} 3x(2x + 3y) - 7(2x + 3y) \amp \quad (2x + 3y) \text{ is the same! Factor out this GCF } \\ (2x + 3y)(3x - 7) \amp\quad \text{ Our solution } \end{align*}

Often we can recognize early that we need to use the opposite of the GCF when factoring. If the first term of the first binomial is positive in the problem, we will also want the first term of the second binomial to be positive. If it is negative then we will use the opposite of the GCF to be sure they match.

Example 6.2.6.

\begin{align*} 5xy-8x-10y+16 \amp \quad \text{ Split the problem into two groups } \\ (5xy-8x)+ (-10y+16) \amp\quad \text{ GCF on left is $x$, on right we need a negative, } \\ \amp\quad \text{ so we use } -2 \\ x(5y -8) -2(5y -8) \amp\quad (5y-8) \text{ is the same! Factor out this GCF } \\ (5y - 8)(x - 2) \amp\quad \text{ Our Solution } \end{align*}

Sometimes when factoring the GCF out of the left or right side there is no GCF to factor out. In this case we will use either the GCF of \(1\) or \(- 1\text{.}\) Often this is all we need to be sure the two binomials match.

Example 6.2.7.

\begin{align*} 12a b - 14a - 6b + 7 \amp \quad \text{ Split the problem into two groups } \\ (12ab-14a) + (-6b+7) \amp\quad \text{ GCF on left is $2a$, on right, no GCF, use }-1 \\ 2a(6b-7) -1(6b-7) \amp\quad (6b-7) \text{ is the same! Factor out this GCF } \\ (6b - 7)(2a - 1) \amp\quad \text{ Our Solution } \end{align*}

Example 6.2.8.

\begin{align*} 6x^3 - 15x^2 + 2x - 5 \amp \quad \text{ Split problem into two groups } \\ (6x^3 - 15x^2) + (2x - 5) \amp\quad \text{ GCF on left is $3x^2$, on right, no GCF, use } 1 \\ 3x^2(2x - 5) + 1(2x - 5) \amp\quad (2x - 5) \text{ is the same! Factor out this GCF } \\ (2x - 5)(3x^2 + 1) \amp\quad \text{ Our Solution } \end{align*}

Another problem that may come up with grouping is after factoring out the GCF on the left and right, the binomials don’t match, more than just the signs are different. In this case we may have to adjust the problem slightly. One way to do this is to change the order of the terms and try again. To do this we will move the second term to the end of the problem and see if that helps us use grouping.

Example 6.2.9.

\begin{align*} 4a^2-21b^3+6ab-14ab^2 \amp \quad \text{ Split the problem into two groups } \\ (4a^2 - 21b^3) +( 6ab - 14ab^2) \amp\quad \text{ GCF on left is $1$, on right is } 2ab \\ 1(4a^2 - 21b^3) + 2a b(3 - 7b) \amp\quad \text{Binomials don't match! Move second term to end. } \\ 4a^2+6ab-14ab^2-21b^3 \amp\quad \text{ Start over, split the problem into two groups } \\ (4a^2 + 6ab) + (- 14ab^2 - 21b^3) \amp\quad \text{ GCF on left is $2a$, on right is } -7b^2 \\ 2a(2a + 3b) - 7b^2(2a + 3b) \amp\quad (2a + 3b) \text{ is the same! Factor out this GCF } \\ (2a + 3b)(2a - 7b^2) \amp\quad \text{ Our Solution } \end{align*}

When rearranging terms the problem can still be out of order. Sometimes after factoring out the GCF the terms are backwards. There are two ways that this can happen, one with addition, one with subtraction. If it happens with addition, for example the binomials are \((a + b)\) and \((b + a)\text{,}\) we don’t have to do any extra work. This is because addition is the same in either order \((5+3=3+5=8)\text{.}\)

Example 6.2.10.

\begin{align*} 7 + y - 3 x y - 21x\amp \quad \text{ Split the problem into two groups } \\ (7+y)+( -3xy-21x) \amp\quad \text{ GCF on left is $1$, on the right is } -3x \\ 1(7+y) -3x(y+7) \amp\quad y+7 \text{ and $7+y$ are the same, use either one } \\ (y+7)(1-3x) \amp\quad \text{ Our Solution } \end{align*}

However, if the binomial has subtraction, then we need to be a bit more careful. For example, if the binomials are \((a - b)\) and \((b - a)\text{,}\) we will factor out the opposite of the GCF on one part, usually the second. Notice what happens when we factor out \(- 1\text{.}\)

Example 6.2.11.

\begin{align*} (b-a) \amp \quad \text{ Factor out } -1 \\ - 1( - b + a) \amp\quad \text{ Addition can be in either order, switch order } \\ - 1(a - b) \amp\quad \text{ The order of the subtraction has been switched! } \end{align*}

Generally we won’t show all the above steps, we will simply factor out the opposite of the GCF and switch the order of the subtraction to make it match the other binomial.

Example 6.2.12.

\begin{align*} 8xy - 12y + 15 - 10x \amp \quad \text{ Split the problem into two groups } \\ (8xy-12y) + ( 15-10x) \amp\quad \text{ GCF on left is $4y$, on right, } 5 \\ 4y(2x-3) +5(3-2x) \amp\quad \text{ Need to switch subtraction order, use $- 5$ in middle } \\ 4y(2y-3) -5(2x-3) \amp\quad \text{ Now $2x - 3$ match on both! Factor out this GCF } \\ (2x - 3)(4y - 5) \amp\quad \text{ Our Solution } \end{align*}

World View Note: Sofia Kovalevskaya of Russia was the first woman on the editorial staff of a mathematical journal in the late \(19\)th century. She also did research on how the rings of Saturn rotated.

Exercises Exercises - Grouping

Exercise Group.

Factor each completely.

1.

\(40r^3-8r^2-25r+5 \)

2.

\(35x^3-10x^2-56x+16\)

3.

\(3n^3 -2n^2 -9n+6\)

4.

\(14v^3 +10v^2 -7v -5 \)

5.

\(15b^3+21b^2-35b-49\)

6.

\(6x^3-48x^2+5x-40 \)

7.

\(3x^3+15x^2+2x+10\)

8.

\(28p^3+21p^2+20p+15 \)

9.

\(35x^3-28x^2-20x+16 \)

10.

\(7n^3+21n^2-5n-15 \)

11.

\(7xy-49x+5y-35 \)

12.

\(42r^3-49r^2+18r-21\)

13.

\(32xy+40x^2+12y+15x\)

14.

\(15ab-6a+5b^3-2b^2 \)

15.

\(16xy-56x+2y-7 \)

16.

\(3mn-8m+15n-40 \)

17.

\(2xy-8x^2+7y^3-28y^2x \)

18.

\(5mn+2m-25n-10 \)

19.

\(40xy+35x-8y^2-7y \)

20.

\(8xy+56x-y-7\)

21.

\(32uv-20u+24v-15 \)

22.

\(4uv+14u^2+12v+42u \)

23.

\(10xy+30+25x+12y\)

24.

\(24xy+25y^2-20x-30y^3 \)

25.

\(3uv+14u-6u^2-7v\)

26.

\(56ab+14-49a-16b\)

27.

\(16xy-3x-6x^2+8y\)