# The Grouping Number Method

This is an excerpt from a previous post, but if I want to introduce someone to the grouping number method, they don’t need all of the commentary about the AC method.

Are you looking for a nice and intuitive method for factoring quadratics when the leading coefficient isn’t one? Most people were probably taught to break these these things down by trial and error. That isn’t awful once you’ve developed some intuition, but if you haven’t, trial and error quickly becomes tedious. What should we start with instead? The grouping number method works well, especially if you’re just starting out.

To set up the Grouping Number Method, let’s think about what happens in the following polynomial multiplication.

$(4x-1)(2x-3)$

$=2x(4x-1)-3(4x-1)$

$=8x^2 -2x -12x +3$

$=8x^2 -14x +3$

Normally, you’d just skip the second step, but it’s important to realize that what you’re really doing is using the distributive property twice. Additionally, let’s think about the -12 and the -2. It’s clear that they add up to the final coefficient of x, but it’s also true that their product (-12)(-2) = 24 is the same as the product of the leading coefficient and the constant term, (8)(3). Notice this has to be true. In either case, it’s the product of 4, -1, 2 and -3, merely in a different order.

So, how do we go in the other direction? That is, how do we factor instead of multiply? We’ll demonstrate the grouping number method on the polynomial $8x^2 - 14x + 3$.

The grouping number of a quadratic polynomial is the leading coefficient multiplied by the constant term.

So, in this case, it would be $8 times 3 = 24$.

Next, you want to look for two factors of your grouping number that add up to the coefficient of $x$. In this case, $(-12)(-2) = 24$ and $(-12)+(-2) = -14$. We use these two numbers to rewrite the middle term to get the following.

$8x^2 - 14x + 3 = 8x^2 - 2x - 12x + 3$.

In other words, to rewrite the polynomial in this way, you find two factors of your grouping number that add up to the coefficient of $x$ and use those to break down the middle term.

Why rewrite the polynomial in this way? Because it sets us up perfectly to factor by grouping.

Factoring by grouping is a technique for factoring a polynomial with four terms. In a nutshell, to factor by grouping, you remove the greatest common factor from the first two terms, then remove the greatest common factor from the last two terms. If the resulting binomial factors are the same you can factor this out to get the product of two binomials. Notice, that’s using the distributive property twice, just in the opposite direction as before.

Therefore, to finish factoring the polynomial we can factor by grouping.

$8x^2 - 14x + 3$

$= 8x^2 - 2x - 12x + 3$

$= 2x(4x - 1) - 3(4x - 1)$

$= (4x - 1)(2x - 3)$

Notice this exactly reverses the steps of the multiplication with which we started.

In short, as long as you have no common factors, the quadratic polynomials where the grouping number can be factored into two numbers that add up to the middle coefficient are exactly the ones that can be factored by grouping. All the others are prime.

A couple of weeks ago I covered factoring in my College Algebra class, which we’ll mainly use for working with quadratic equations. This always makes me think about a method for factoring quadratics that I’d never seen before moving back to New York state. Years ago, I looked it up on what I think was an NYS Department of Education website which called it the “AC method” for factoring quadratics. When I tried to find this again, I only found it on YouTube called “slide and divide” and the “Berry Method.” Both of those names seem unnecessarily arcane to me, but for this post, I’ll call this process “slide and divide.” The references to an “AC Method” that I say today were actually talking about the “grouping number method” which we’ll come back to.

I hope that the fact that it’s become difficult to find references to what I think of as the AC Method is evidence that it’s going away. It needs to.

When I was in high school, I remember that factoring quadratics that looked like $ax^2 +bx + c$ was pretty straight forward when $a = 1$, but when $a$ was different from $1$ it got trickier. The only tool we were taught was trial and error, but you need to develop some intuition to use trial and error efficiently. Both the grouping number method and slide and divide attempt to give students a systematic process that builds on the experience of the $a = 1$ case to help them with the $a \neq 1$ case. If you’re a mathematician, and you’ve seen the slide and divide approach, you probably found it horrifying. I know I did. It goes something like this: say you want to factor the following polynomial.

$6 x^2 - x - 12$

You begin by replacing the leading coefficient with $1$ while replacing the constant term with the product of itself and the leading coefficient.

$x^2 - x - 72$

Why do we do this? I’m not sure it’s ever made clear. But this is a lot easier to factor since the leading coefficient is one. We just need to find two factors of $-72$ that add up to the coefficient of the middle term, $-1$, namely $-9$ and $8$ . These become the constant terms of the factors

$(x-9)(x+8)$

We then replace each $x$ with $6x$

$(6x-9)(6x+8)$

…and then remove the common factor from each binomial.

$(2x-3)(3x+4)$

With that, our quadratic polynomial is factored.

The single redeeming feature of this process is that it actually works, but think about these steps. Where did the $6$ in front of the $x^2$ go? Why does it make sense to multiply it into the $-12$? For that matter, why do the $6x$s magically reappear? And why is it okay to just cancel the common factors from the penultimate step? If I thought about it for a moment, I bet I’d actually have even more questions.

I’ve had a few students who wanted to use this method to factor, but none of them was ever able to explain why it works. That’s the ultimate problem with this method. It’s a list of meaningless steps that, once forgotten, will be gone forever because it doesn’t attach to any understanding. If you teach mathematics, it’s incumbent upon you to make your material meaningful to your students. Some people naively believe that this means you have to teach mathematics in a context that is directly relevant to the students’ interest, but in my opinion, that’s not true. You need to help them understand what’s happening and why it’s being done. Each step should have a clear and understandable rationale that helps to drive the process forward. Slide and divide does none of these things.

This process is not irredeemable, however. It is possible to work slide and divide in a way that gives it these characteristics. Let’s go through this in our original example.

$6 x^2 - x - 12$

The idea behind this method is that, if we can rewrite the polynomial with a leading coefficient of one, it will be easier to factor. To do this we need the leading term to be a perfect square. We can make that happen by multiplying the polynomial by $6$. Because we don’t want to change the polynomial, we’ll divide by $6$ at the same time.

$= \frac{36 x^2 - 6x - 72}{6}$

A simple substitution will give us a leading coefficient of $1$. We define $u = 6x$.

$= \frac{u^2 - u - 72}{6}$

Just like we did above, to factor our numerator we need two factors of $-72$ that add up to $-1$, that’s still $-9$ and $8$ .

$= \frac{(u - 9)(u+8)}{6}$

To get back to expressions that involve $x$s, we undo the substitution. That makes it clear why the $6x$s return.

$= \frac{(6x - 9)(6x+8)}{6}$

And now, we’d like to get rid of the $6$s since we don’t need them any longer. Where did the $6$ in the numerator go? It’s inside the common factors of the two binomials. We can factor those out…

$= \frac{3(2x - 3)2(3x+4)}{6}$

…and they clearly cancel with the $6$ in the denominator. That leaves us with our answer.

$= (2x - 3)(3x+4)$

That’s pretty cumbersome and so slide and divide leads you to a no-win-scenario. The quick way doesn’t engender understanding while the more rigorous approach isn’t quick.

So, what should we teach instead? The grouping number method that I mentioned earlier. To set it up, let’s think about what happens in the following polynomial multiplication.

$(4x-1)(2x-3)$

$=2x(4x-1)-3(4x-1)$

$=8x^2 -2x -12x +3$

$=8x^2 -14x +3$

Normally, you’d just skip the second step, but it’s important to realize that what you’re really doing is using the distributive property twice. Additionally, let’s think about the -12 and the -2. It’s clear that they add up to the final coefficient of x, but it’s also true that their product (-12)(-2) = 24 is the same as the product of the leading coefficient and the constant term, (8)(3). Notice this has to be true. In either case, it’s the product of 4, -1, 2 and -3, merely in a different order.

So, how do we go in the other direction? That is, how do we factor instead of multiply? We’ll demonstrate the grouping number method on the polynomial $8x^2 - 14x + 3$.

The grouping number of a quadratic polynomial is the leading coefficient multiplied by the constant term.

So, in this case, it would be $8 \times 3 = 24$.

Next, you want to look for two factors of your grouping number that add up to the coefficient of $x$. In this case, $(-12)(-2) = 24$ and $(-12)+(-2) = -14$. We use these two numbers to rewrite the middle term to get the following.

$8x^2 - 14x + 3 = 8x^2 - 2x - 12x + 3$.

In other words, to rewrite the polynomial in this way, you find two factors of your grouping number that add up to the coefficient of $x$ and use those to break down the middle term.

Why rewrite the polynomial in this way? Because it sets us up perfectly to factor by grouping.

Factoring by grouping is a technique for factoring a polynomial with four terms. In a nutshell, to factor by grouping, you remove the greatest common factor from the first two terms, then remove the greatest common factor from the last two terms. If the resulting binomial factors are the same you can factor this out to get the product of two binomials. Notice, that’s using the distributive property twice, just in the opposite direction as before.

Therefore, to finish factoring the polynomial we can factor by grouping.

$8x^2 - 14x + 3$

$= 8x^2 - 2x - 12x + 3$

$= 2x(4x - 1) - 3(4x - 1)$

$= (4x - 1)(2x - 3)$

Notice this exactly reverses the steps of the multiplication with which we started.

In short, as long as you have no common factors, the quadratic polynomials where the grouping number can be factored into two numbers that add up to the middle coefficient are exactly the ones that can be factored by grouping. All the others are prime.