You now have every main tool: common factors, grouping, the identities and splitting the middle term. Harder expressions usually need two or three of these tools in a row, plus a small trick to get started. This lesson collects the most useful tricks: splitting a term to make grouping work, adding and subtracting the same term, the special case a+b+c=0, and factorising again and again until nothing is left to split.
Splitting a term so that grouping works#
Example 1#
Factorise x3−7x+6.
There are three terms and no common factor. Split −7x as −x−6x. The reason for this choice: x3−x has the factor x−1, and so does −6x+6.
x3−7x+6=x3−x−6x+6=x(x2−1)−6(x−1)=x(x−1)(x+1)−6(x−1)=(x−1)[x(x+1)−6]=(x−1)(x2+x−6)
The quadratic still factorises. For x2+x−6 we need product −6 and sum 1: the numbers 3 and −2.
x2+x−6=x2+3x−2x−6=x(x+3)−2(x+3)=(x+3)(x−2)
So x3−7x+6=(x−1)(x+3)(x−2).
Adding and subtracting the same term#
Sometimes an expression is "almost" a perfect square. Add the term that would complete the square, and subtract it again so that nothing has changed. The result is often a difference of two squares.
Example 2#
Factorise x4+x2+1.
A perfect square would be (x2+1)2=x4+2x2+1, with 2x2 in the middle. We have only x2, so add x2 and take it away again.
x4+x2+1=(x2)2+2x2+1−x2=(x2+1)2−x2=(x2+1+x)(x2+1−x)=(x2+x+1)(x2−x+1)
Example 3#
Factorise x4+4.
There is no middle term at all. To complete the square (x2+2)2 we need 2(x2)(2)=4x2. Add it and subtract it:
x4+4=(x2)2+(2)2+2(x2)(2)−4x2=(x2+2)2−(2x)2=(x2+2+2x)(x2+2−2x)=(x2+2x+2)(x2−2x+2)
The trick works here because the term we subtracted, 4x2, is itself a perfect square, (2x)2.
When three things add up to zero#
There is an identity for the sum of three cubes:
if a+b+c=0, then a3+b3+c3=3abc
It saves a great deal of work whenever three cubed brackets add up to zero.
Example 4#
Factorise (x−y)3+(y−z)3+(z−x)3.
Let a=x−y, b=y−z and c=z−x. Then
(x−y)+(y−z)+(z−x)=0
because every letter appears once with a plus sign and once with a minus sign. So by the identity,
(x−y)3+(y−z)3+(z−x)3=3(x−y)(y−z)(z−x)
Expanding all three cubes would take a page; the identity takes one line.
Keep going until nothing splits#
Example 5#
Factorise xy9−yx9.
Take out the common factor xy first. What is left is a difference of two squares, and it keeps producing more of them.
xy9−yx9=xy(y8−x8)=xy((y4)2−(x4)2)=xy(y4+x4)(y4−x4)=xy(y4+x4)(y2+x2)(y2−x2)=xy(y4+x4)(y2+x2)(y+x)(y−x)
Each difference of squares split again; each sum of squares stayed as it was. Stop only when no factor can be broken further.
Example 6: spotting a common bracket#
Factorise (x+2)(x2+25)−10x2−20x.
The last two terms have the common factor 10x, and what is left is (x+2), the same bracket as at the start.
(x+2)(x2+25)−10x2−20x=(x+2)(x2+25)−10x(x+2)=(x+2)(x2+25−10x)=(x+2)(x2−10x+25)=(x+2)(x−5)2
The last step uses the perfect square a2−2ab+b2 with a=x and b=5.
A checklist for any expression#
- Take out any common factor.
- Count the terms. Two terms: try a difference of squares, or a sum or difference of cubes. Three terms: try a perfect square, then splitting the middle term. Four or more: try grouping, or a perfect cube.
- If a bracket repeats, replace it by a single letter.
- If nothing fits, try splitting a term, or adding and subtracting a term.
- Look at every factor again and ask whether it splits further.
- Check by expanding.
Practice#
Factorise.
- x3−13x+12
- x4+x2y2+y4
- 4x4+1
- (a−2b)3+(2b−3c)3+(3c−a)3
- x8−1
- a2x2+(ax2+1)x+a
- a(a+b)3−3a2b(a+b)
- x3−6x2+11x−6 (hint: write it as x3−x2−5x2+5x+6x−6)
Answers#
Show answers
- x3−x−12x+12=x(x−1)(x+1)−12(x−1)=(x−1)(x2+x−12)=(x−1)(x+4)(x−3)
- (x2+y2)2−x2y2=(x2+xy+y2)(x2−xy+y2)
- (2x2)2+1+4x2−4x2=(2x2+1)2−(2x)2=(2x2+2x+1)(2x2−2x+1)
- The three brackets add up to 0, so the answer is 3(a−2b)(2b−3c)(3c−a).
- (x4+1)(x4−1)=(x4+1)(x2+1)(x2−1)=(x4+1)(x2+1)(x+1)(x−1)
- Expand the bracket: a2x2+ax3+x+a=ax2(a+x)+1(x+a)=(x+a)(ax2+1)
- Take out a(a+b): a(a+b)[(a+b)2−3ab]=a(a+b)(a2−ab+b2)
- x2(x−1)−5x(x−1)+6(x−1)=(x−1)(x2−5x+6)=(x−1)(x−2)(x−3)