MathematicsFoundation22 min read

Factorization and Algebraic Manipulation

Turning a sum back into a product, and the identities worth knowing by heart

This topic appears in:

01

Factorising is expanding, run backwards

Expanding turns a product into a sum: (x + 3)(x + 5) = x² + 8x + 15. Factorising goes the other way, and it is harder for the same reason that unlocking is harder than locking — you have to find the key.

Every factorisation question you meet at this level falls into one of five shapes. Learning to recognise the shape is most of the work; the algebra afterwards is short.

  • Common factor6x² + 9x = 3x(2x + 3). Always look here first.
  • Grouping (four terms) — ax + ay + bx + by = a(x+y) + b(x+y) = (a+b)(x+y).
  • Difference of two squaresa² − b² = (a − b)(a + b).
  • Perfect squarea² ± 2ab + b² = (a ± b)².
  • Trinomial x² + bx + c — find two numbers multiplying to c and adding to b.

Take the common factor out first — always

Given 2x² − 8, students often reach for the difference of two squares and get stuck because 2x² is not a perfect square. Take out the 2 first: 2(x² − 4) = 2(x − 2)(x + 2). A common factor left inside also costs marks under "factorise completely".

02

Why the middle term is what it is

The trinomial rule — two numbers that multiply to c and add to b — looks like a trick until you see the rectangle it comes from. Draw (x + a)(x + b) as a rectangle of width x + a and height x + b. It splits into four pieces: a square of area x², two strips of area ax and bx, and a corner of area ab.

The two strips are the middle term. That is why the coefficient of x is a + b and the constant is ab — not because someone decided it, but because that is how the area divides up.

Switch to (x+a)(x−a). One strip is added and the other taken away, so they cancel exactly and no middle term survives — which is the whole of the difference-of-two-squares identity, drawn.

03

The identities to know without thinking

These appear in every paper, usually not as "factorise" but hidden inside a longer question. Recognising one saves several lines of work.

(a + b)² = a² + 2ab + b²(a − b)² = a² − 2ab + b²a² − b² = (a − b)(a + b)(a + b)³ = a³ + 3a²b + 3ab² + b³a³ + b³ = (a + b)(a² − ab + b²)a³ − b³ = (a − b)(a² + ab + b²)the last two are the sum and difference of cubes — note the sign pattern inside the bracket

The two rearrangements the paper actually uses

From (a + b)² = a² + 2ab + b² you get a² + b² = (a + b)² − 2ab, and from the other one a² + b² = (a − b)² + 2ab. Subtracting them gives (a + b)² − (a − b)² = 4ab. Questions that give you a + b and ab and ask for a² + b² are testing exactly these — and there is no need to find a and b themselves.

04

Factorising a trinomial with a leading coefficient

When the coefficient of x² is not 1, the "two numbers" method needs one extra step. Multiply the first and last coefficients together, split the middle term using that product, then factorise by grouping.

Worked example

Factorise 6x² + 11x − 10.

  1. Multiply the outer coefficients: 6 × (−10) = −60.This is the number the two parts must multiply to; the middle coefficient 11 is what they must add to.
  2. Find two numbers with product −60 and sum +11: they are 15 and −4.A negative product means opposite signs; a positive sum means the larger number is the positive one.
  3. Split the middle term: 6x² + 15x − 4x − 10.The order of the two new terms does not matter — either arrangement groups successfully.
  4. Group in pairs: 3x(2x + 5) − 2(2x + 5).The bracket must come out identical from both pairs. If it does not, check the signs on the second pair.
  5. Take out the common bracket: (3x − 2)(2x + 5).Expand mentally to check: 6x² + 15x − 4x − 10 = 6x² + 11x − 10. ✓

(3x − 2)(2x + 5)

05

Highest common factor and lowest common multiple

The chapter also asks for the HCF and LCM of algebraic expressions. Factorise everything completely first — after that, the rule is mechanical: HCF takes each common factor to its lowest power, LCM takes every factor that appears to its highest power.

A result worth remembering: for any two expressions, HCF × LCM = the product of the two expressions. It gives you a free check, and sometimes a shortcut when one of the three is missing.

Worked example

Find the HCF and LCM of x² − 9 and x² + 6x + 9.

  1. Factorise both: x² − 9 = (x − 3)(x + 3) and x² + 6x + 9 = (x + 3)².The first is a difference of two squares, the second a perfect square. Never look for common factors before factorising.
  2. The only factor appearing in both is (x + 3), to the power 1 in the first expression.HCF takes the lowest power present in either.
  3. HCF = x + 3.
  4. For the LCM take every distinct factor at its highest power: (x − 3)(x + 3)².(x + 3) appears squared in the second expression, so the LCM must carry the square.

HCF = x + 3; LCM = (x − 3)(x + 3)²

Before you leave this chapter

  1. Common factor first, every single time, before you try anything cleverer.
  2. Four terms → group in pairs. Two squares with a minus → difference of two squares.
  3. For ax² + bx + c, split the middle term using two numbers with product ac and sum b.
  4. a² + b² = (a + b)² − 2ab — the identity behind most "without finding a and b" questions.
  5. HCF takes lowest powers, LCM takes highest powers, and HCF × LCM = the product of the expressions.

Practice questions

6 questions · 20 marks · full working on every one

Try each one on paper first, then open the working. The marks are shown where they are actually awarded, because that is where they are actually lost.

Short questions

3 · 6 marks

Two marks each, in the style of the short-question section of the paper. Answer in two or three lines.

SQ1[2 marks]
Factorise 25x² − 49y².
Model answer

Both terms are perfect squares with a minus between them, so this is a difference of two squares: (5x)² − (7y)² = (5x − 7y)(5x + 7y).

Examiner tip. Write each term as something squared before you apply the identity. It stops you from producing (5x − 7y)² by accident.

SQ2[2 marks]
If a + b = 9 and ab = 20, find a² + b².
Model answer

Using a² + b² = (a + b)² − 2ab = 81 − 40 = 41.

Examiner tip. You are not expected to find a and b. The examiner gives you the sum and the product precisely because the identity gets you there in one line.

SQ3[2 marks]
Factorise x³ − 8.
Model answer

This is a difference of two cubes with b = 2: x³ − 2³ = (x − 2)(x² + 2x + 4).

Examiner tip. The signs are the trap. For a difference of cubes the first bracket takes a minus and the second bracket is all plus.

Solved numericals

2 · 8 marks

Full working, one step per line, with the marks shown where they are awarded.

N1[4 marks]
Factorise completely: 3x³ − 27x.
Full working
  1. Take out the common factor 3x: 3x(x² − 9)both the number and the variable come out[1]
  2. Recognises x² − 9 as a difference of two squares[1]
  3. x² − 9 = (x − 3)(x + 3)[1]
  4. Complete factorisation 3x(x − 3)(x + 3)stopping at 3x(x² − 9) does not earn the final mark[1]

3x(x − 3)(x + 3)

Examiner tip. The word "completely" is an instruction, not decoration. Keep going until no bracket can be broken down further.

N2[4 marks]
Factorise 4x² − 12x + 9 − y².
Full working
  1. Groups the first three terms: (4x² − 12x + 9) − y²a 3-and-1 grouping, not 2-and-2 — the three terms form a perfect square[1]
  2. 4x² − 12x + 9 = (2x − 3)²check the middle term: 2 × 2x × 3 = 12x ✓[1]
  3. Now a difference of two squares: (2x − 3)² − y²[1]
  4. = (2x − 3 − y)(2x − 3 + y)[1]

(2x − 3 − y)(2x − 3 + y)

Examiner tip. Four terms do not always split 2 and 2. When three of them form a perfect square and the fourth is a lone square, group 3 and 1 and finish with the difference of two squares.

Long questions

1 · 6 marks

Theory and numerical together, as they appear in the long-question section.

LQ1[6 marks]
Consider the expressions p = x² − 5x + 6 and q = x² − 4.
  1. Factorise p and q completely.
  2. Find the HCF and the LCM of p and q.
  3. Verify that HCF × LCM = p × q.
Mark scheme
  1. p = (x − 2)(x − 3)two numbers multiplying to 6 and adding to −5[1]
  2. q = (x − 2)(x + 2)difference of two squares[1]
  3. HCF = (x − 2), the only common factor[1]
  4. LCM = (x − 2)(x − 3)(x + 2)every distinct factor at its highest power[1]
  5. HCF × LCM = (x − 2)² (x − 3)(x + 2)[1]
  6. p × q = (x − 2)(x − 3) × (x − 2)(x + 2) = (x − 2)²(x − 3)(x + 2), the same expression, so the identity is verifiedthe concluding statement is required[1]

(a) p = (x−2)(x−3), q = (x−2)(x+2) (b) HCF = x − 2, LCM = (x−2)(x−3)(x+2) (c) both sides equal (x−2)²(x−3)(x+2)

Examiner tip. Do not multiply the brackets out in part (c). Leaving both sides in factored form makes the comparison one line instead of five, and the mark is for showing they agree.