Allday Education

Factoring Trinomials by Grouping

When a trinomial like 2x2+7x+32x^{2} + 7x + 3 has a leading coefficient bigger than 11 and no GCF to pull out, grouping — often called the AC method — is the tool that always works. It turns one hard trinomial into two easy GCF problems.

The plan: multiply aca \cdot c, find two numbers with that product that add to bb, use them to split the middle term into two terms, then factor the four-term polynomial in pairs. Each pair gives up a GCF, the same binomial appears twice, and that shared binomial is one of your factors.

The AC method, step by step

For ax2+bx+cax^{2} + bx + c: first compute aca \cdot c. In 2x2+7x+32x^{2} + 7x + 3, that is 23=62 \cdot 3 = 6.

Next find two numbers that multiply to aca \cdot c and add to bb. Here you need product 66 and sum 77: the numbers are 11 and 66.

Split the middle term using those numbers: 2x2+x+6x+32x^{2} + x + 6x + 3. Nothing changed — x+6xx + 6x is still 7x7x — but now there are four terms, and four terms can be grouped.

Group and factor each pair

Group the four terms in two pairs and factor the GCF out of each: 2x2+x=x(2x+1)2x^{2} + x = x(2x + 1) and 6x+3=3(2x+1)6x + 3 = 3(2x + 1). The line now reads x(2x+1)+3(2x+1)x(2x + 1) + 3(2x + 1).

Both groups contain the binomial (2x+1)(2x + 1) — that repeat is the whole point. Factor the shared binomial out front, and what is left over forms the second factor: (2x+1)(x+3)(2x + 1)(x + 3).

If the two groups do not produce the same binomial, something upstream went wrong — usually the wrong number pair, or a sign slip when factoring the second pair. A negative second group often needs a negative GCF pulled out so the binomials match.

Grouping four-term polynomials

The same technique factors polynomials that already come with four terms, like x3+2x2+3x+6x^{3} + 2x^{2} + 3x + 6. Group in pairs: x2(x+2)+3(x+2)x^{2}(x + 2) + 3(x + 2), then pull out the shared binomial to get (x+2)(x2+3)(x + 2)(x^{2} + 3).

Whenever you see four terms, grouping should be the first idea you reach for.

Worked examples

Example 1: the AC method start to finish

Factor 2x2+7x+62x^{2} + 7x + 6.

Multiply aca \cdot c26=122 \cdot 6 = 12
Find two numbers with product 1212 and sum 773 and 43 \text{ and } 4
Split the middle term2x2+3x+4x+62x^{2} + 3x + 4x + 6
Factor each pairx(2x+3)+2(2x+3)x(2x + 3) + 2(2x + 3)
Factor out the shared binomial(2x+3)(x+2)(2x + 3)(x + 2)

Answer: (2x+3)(x+2)(2x + 3)(x + 2)

Example 2: another trinomial

Factor 3x2+8x+43x^{2} + 8x + 4.

Multiply aca \cdot c34=123 \cdot 4 = 12
Find two numbers with product 1212 and sum 882 and 62 \text{ and } 6
Split the middle term3x2+2x+6x+43x^{2} + 2x + 6x + 4
Factor each pairx(3x+2)+2(3x+2)x(3x + 2) + 2(3x + 2)
Factor out the shared binomial(3x+2)(x+2)(3x + 2)(x + 2)

Answer: (3x+2)(x+2)(3x + 2)(x + 2)

Example 3: four terms from the start

Factor x3+5x2+2x+10x^{3} + 5x^{2} + 2x + 10.

Group in two pairs(x3+5x2)+(2x+10)(x^{3} + 5x^{2}) + (2x + 10)
Factor the GCF from each pairx2(x+5)+2(x+5)x^{2}(x + 5) + 2(x + 5)
Factor out the shared binomial(x+5)(x2+2)(x + 5)(x^{2} + 2)

Answer: (x+5)(x2+2)(x + 5)(x^{2} + 2)

Try one yourself

Common questions

Why multiply aca \cdot c instead of just using cc?

When a=1a = 1, the two numbers you find go straight into the binomials, and aca \cdot c is just cc anyway. When a>1a > 1 that shortcut breaks — but numbers with product aca \cdot c and sum bb always split the middle term so that grouping works.

Does it matter which of the two numbers I write first when splitting?

No. Splitting 7x7x as x+6xx + 6x or 6x+x6x + x both lead to the same factors — the groups just produce the shared binomial in a different order.

What if the two groups don't share the same binomial?

Recheck two spots: that your number pair really has product aca \cdot c and sum bb, and that you factored a negative GCF from the second group when its first term is negative. Matching binomials are guaranteed when both steps are right.

Should I still look for a GCF before grouping?

Always. If all three terms share a factor, pull it out first — the smaller trinomial inside is easier to factor, and the answer is not complete until every common factor is out front.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1