When you mul­ti­ply, you start with fac­tors and fin­ish with a prod­uct: 2(x+2)=2x+42(x + 2) = 2x + 4. Fac­tori­sa­tion runs the other way. You are given the prod­uct, 2x+42x + 4, and asked for the fac­tors that make it. This les­son defines fac­tori­sa­tion and teaches the two meth­ods every­thing else is built on: tak­ing out a com­mon fac­tor, and group­ing.

What fac­tori­sa­tion means

A fac­tor of an expres­sion is some­thing that divides it exactly. The process of writ­ing an alge­braic expres­sion as the prod­uct of two or more fac­tors is called fac­tori­sa­tion.

With num­bers, 12=2×2×312 = 2 \times 2 \times 3 writes 1212 as a prod­uct of fac­tors that can­not be bro­ken down fur­ther. With expres­sions the aim is the same: break the expres­sion into fac­tors until no fac­tor can be split any more.

Fac­tori­sa­tion and expan­sion are oppo­sites:

2(x+2)⏟factorised    ⇌factoriseexpand    2x+4⏟expanded\underbrace{2(x + 2)}_{\text{factorised}} \;\; \overset{\text{expand}}{\underset{\text{factorise}}{\rightleftharpoons}} \;\; \underbrace{2x + 4}_{\text{expanded}}

This gives you a free check on every answer: mul­ti­ply your fac­tors back out, and you must get the expres­sion you started with.

Method 1: take out the com­mon fac­tor

If every term has a com­mon fac­tor, write that fac­tor once out­side a bracket, and inside the bracket write what is left of each term after divid­ing by it. This is the dis­trib­u­tive law, ab+ac=a(b+c)ab + ac = a(b + c), read from right to left.

Always take out the H.C.F of the terms, found as in the last les­son. Tak­ing out a smaller com­mon fac­tor leaves the job unfin­ished.

Exam­ple 1

Fac­torise 2x+42x + 4.

The H.C.F of 2x2x and 44 is 22. Divid­ing, 2x÷2=x2x \div 2 = x and 4÷2=24 \div 2 = 2.

2x+4=2(x+2)2x + 4 = 2(x + 2)

Exam­ple 2

Fac­torise 6x3y+18x2y36x^{3}y + 18x^{2}y^{3}.

From the last les­son, the H.C.F is 6x2y6x^{2}y. Divide each term by it: 6x3y÷6x2y=x6x^{3}y \div 6x^{2}y = x and 18x2y3÷6x2y=3y218x^{2}y^{3} \div 6x^{2}y = 3y^{2}.

6x3y+18x2y3=6x2y(x+3y2)6x^{3}y + 18x^{2}y^{3} = 6x^{2}y(x + 3y^{2})

Exam­ple 3: three terms

Fac­torise 5a2b−10ab2+15ab5a^{2}b - 10ab^{2} + 15ab.

The H.C.F of the coef­fi­cients 55, 1010 and 1515 is 55. Both aa and bb appear in every term, each at least to power 11. So the H.C.F is 5ab5ab.

5a2b−10ab2+15ab=5ab(a−2b+3)5a^{2}b - 10ab^{2} + 15ab = 5ab(a - 2b + 3)

Check: 5ab×a=5a2b5ab \times a = 5a^{2}b, 5ab×(−2b)=−10ab25ab \times (-2b) = -10ab^{2} and 5ab×3=15ab5ab \times 3 = 15ab. If a term is exactly equal to the H.C.F, it leaves 11 in the bracket, never noth­ing: for exam­ple, 4x+2=2(2x+1)4x + 2 = 2(2x + 1).

Exam­ple 4: a bracket as the com­mon fac­tor

Fac­torise 3x(a−b)+4y(a−b)3x(a - b) + 4y(a - b).

The com­mon fac­tor here is the whole bracket (a−b)(a - b). Take it out just as you would a sin­gle let­ter.

3x(a−b)+4y(a−b)=(a−b)(3x+4y)3x(a - b) + 4y(a - b) = (a - b)(3x + 4y)

Exam­ple 5: brack­ets that are oppo­sites

Fac­torise 2x(a−b)−5(b−a)2x(a - b) - 5(b - a).

The brack­ets (a−b)(a - b) and (b−a)(b - a) look dif­fer­ent, but b−a=−(a−b)b - a = -(a - b). So −5(b−a)=+5(a−b)-5(b - a) = +5(a - b).

2x(a−b)−5(b−a)=2x(a−b)+5(a−b)=(a−b)(2x+5)\begin{aligned} 2x(a - b) - 5(b - a) &= 2x(a - b) + 5(a - b) \\ &= (a - b)(2x + 5) \end{aligned}

Method 2: group­ing

Some­times the terms have no fac­tor com­mon to all of them, but they fall into groups that do. Take

ax+bx+ay+byax + bx + ay + by

No let­ter is in all four terms. But the first two share xx and the last two share yy:

ax+bx+ay+by=x(a+b)+y(a+b)=(a+b)(x+y)\begin{aligned} ax + bx + ay + by &= x(a + b) + y(a + b) \\ &= (a + b)(x + y) \end{aligned}

After the first step a com­mon bracket, (a+b)(a + b), appears, and tak­ing it out fin­ishes the job. This method, fac­toris­ing by group­ing, is used again in the les­son on split­ting the mid­dle term, so prac­tise it well.

Exam­ple 6

Fac­torise x2+3x+2x+6x^{2} + 3x + 2x + 6.

x2+3x+2x+6=x(x+3)+2(x+3)=(x+3)(x+2)\begin{aligned} x^{2} + 3x + 2x + 6 &= x(x + 3) + 2(x + 3) \\ &= (x + 3)(x + 2) \end{aligned}

Exam­ple 7: rear­rang­ing first

Fac­torise 6xy−4y+6−9x6xy - 4y + 6 - 9x.

Group the first two terms and the last two terms:

6xy−4y+6−9x=2y(3x−2)+3(2−3x)\begin{aligned} 6xy - 4y + 6 - 9x &= 2y(3x - 2) + 3(2 - 3x) \end{aligned}

The brack­ets are oppo­sites. Take out −3-3 instead of 33 from the sec­ond group, so that the brack­ets match:

6xy−4y+6−9x=2y(3x−2)−3(3x−2)=(3x−2)(2y−3)\begin{aligned} 6xy - 4y + 6 - 9x &= 2y(3x - 2) - 3(3x - 2) \\ &= (3x - 2)(2y - 3) \end{aligned}

If a group­ing does not pro­duce a com­mon bracket, try a dif­fer­ent group­ing or take out the neg­a­tive of the fac­tor. Check: (3x−2)(2y−3)=6xy−9x−4y+6(3x - 2)(2y - 3) = 6xy - 9x - 4y + 6, the same four terms.

Prac­tice

Fac­torise.

  1. 7x+217x + 21
  2. 12a2b+18ab212a^{2}b + 18ab^{2}
  3. 4x3−8x2+12x4x^{3} - 8x^{2} + 12x
  4. 10p2q3−15p3q210p^{2}q^{3} - 15p^{3}q^{2}
  5. x(y+2)+5(y+2)x(y + 2) + 5(y + 2)
  6. 3a(x−y)−2b(y−x)3a(x - y) - 2b(y - x)
  7. ab+3a+2b+6ab + 3a + 2b + 6
  8. x2−4x+3x−12x^{2} - 4x + 3x - 12
  9. 10xy+6+4y+15x10xy + 6 + 4y + 15x
  10. a3−a2b+ab−b2a^{3} - a^{2}b + ab - b^{2}

Answers

Show answers
  1. 7(x+3)7(x + 3)
  2. 6ab(2a+3b)6ab(2a + 3b)
  3. 4x(x2−2x+3)4x(x^{2} - 2x + 3)
  4. 5p2q2(2q−3p)5p^{2}q^{2}(2q - 3p)
  5. (y+2)(x+5)(y + 2)(x + 5)
  6. −2b(y−x)=+2b(x−y)-2b(y - x) = +2b(x - y), so the answer is (x−y)(3a+2b)(x - y)(3a + 2b).
  7. a(b+3)+2(b+3)=(a+2)(b+3)a(b + 3) + 2(b + 3) = (a + 2)(b + 3)
  8. x(x−4)+3(x−4)=(x−4)(x+3)x(x - 4) + 3(x - 4) = (x - 4)(x + 3)
  9. Rearrange as 10xy+4y+15x+6=2y(5x+2)+3(5x+2)=(5x+2)(2y+3)10xy + 4y + 15x + 6 = 2y(5x + 2) + 3(5x + 2) = (5x + 2)(2y + 3).
  10. a2(a−b)+b(a−b)=(a−b)(a2+b)a^{2}(a - b) + b(a - b) = (a - b)(a^{2} + b)