Euler Hall — free maths guides

Factor a four-term polynomial by grouping

Split four terms into two pairs and factor each pair. The idea in plain words, a worked example, and a check with the answers shown — part of the free Algebra I guides.

Pair them up, then look for a match

A four-term polynomial cannot be factored by any of the three-term or two-term patterns directly. Factoring by grouping handles it in two moves: split the four terms into two pairs, factor each pair, then take out whatever bracket the two pairs share.

x3+4x2+3x+12=x2(x+4)+3(x+4)=(x+4)(x2+3).x^{3} + 4x^{2} + 3x + 12 = x^{2}(x+4) + 3(x+4) = (x+4)(x^{2}+3).

The first move givesx2(x+4)x^{2}(x+4) and3(x+4)3(x+4). The second move notices that both terms now contain(x+4)(x+4).

Why grouping is guaranteed to work when a factorisation exists

Suppose the polynomial is a product(x+p)(x2+q)(x + p)(x^{2} + q). Multiplying out gives

x3+px2+qx+pq,x^{3} + p x^{2} + q x + p q,

which is four terms. Grouping the first two and the last two recoversx2(x+p)x^{2}(x+p) andq(x+p)q(x+p), and the shared bracket is exactly the factor that was there all along.

So grouping is not a lucky trick: it reverses the multiplication that created four terms in the first place. That is also why the grouping can fail on a first attempt — you may have split the terms in the wrong place, and a different split will work.

Worked example, with a common number first

Factor6x3+9x2+4x+66x^{3} + 9x^{2} + 4x + 6.

Step 1. Check for a common factor. The four coefficients share nothing, so grouping is the whole method.

Step 2. Group and factor each pair.3x2(2x+3)+2(2x+3)3x^{2}(2x + 3) + 2(2x + 3).

Step 3. Take the shared bracket out.(2x+3)(3x2+2)(2x + 3)(3x^{2} + 2).

Step 4. Check.(2x+3)(3x2+2)=6x3+4x+9x2+6(2x+3)(3x^{2}+2) = 6x^{3} + 4x + 9x^{2} + 6, which is the original.

Step 5. Look for another factor. Neither bracket factors further, so this is complete.

By the end you can
  • Split four terms into two pairs and factor each pair
  • Take out the bracket the two pairs share
  • Take out a common factor before grouping
Check yourself

(a) Factorx3+3x2+4x+12x^{3} + 3x^{2} + 4x + 12.

(b) Factor2x3−8x2+3x−122x^{3} - 8x^{2} + 3x - 12.

(c) Factor5x3+10x2+15x+305x^{3} + 10x^{2} + 15x + 30 completely.

Answers

(a)x2(x+3)+4(x+3)=(x+3)(x2+4)x^{2}(x+3) + 4(x+3) = (x+3)(x^{2}+4).

(b)2x2(x−4)+3(x−4)=(x−4)(2x2+3)2x^{2}(x-4) + 3(x-4) = (x-4)(2x^{2}+3).

(c) The common factor55 comes out first:5(x3+2x2+3x+6)5(x^{3} + 2x^{2} + 3x + 6). Grouping gives5[x2(x+2)+3(x+2)]=5(x+2)(x2+3)5[x^{2}(x+2) + 3(x+2)] = 5(x+2)(x^{2}+3).

Work out where to start — free, no accountAnswer six real questions — free, no account