O-Level Guide

Expansion & Factorisation: The Complete O-Level Guide

Master expansion and factorisation for O-Level Math. Learn distributive law, FOIL, special products, and cross method with worked examples.

2 April 2026 14 min read

Expansion & Factorisation: The Complete O-Level Guide

Expansion and factorisation are two sides of the same coin — and they’re the foundation of almost every algebra topic you’ll meet at O-Level. Master them here with worked examples, special product shortcuts, and an interactive factoriser.

The Big Picture: Expansion vs Factorisation

Think of expansion and factorisation as opposite operations — like multiplication and division.

OperationWhat It DoesDirection
ExpansionRemoves brackets3(x+2)3x+63(x + 2) \rightarrow 3x + 6
FactorisationPuts brackets back3x+63(x+2)3x + 6 \rightarrow 3(x + 2)

Every factorisation can be checked by expanding — if you get back the original expression, you’re correct.

💡 The Golden Check

Always verify your factorisation by expanding the answer. If it matches the original expression, you’ve nailed it.


Part 1: Expansion

Expanding Single Brackets (Distributive Law)

The distributive law says: multiply the term outside the bracket by every term inside.

a(b+c)=ab+aca(b + c) = ab + ac

Example 1: Single Bracket Expansion

Problem:

Expand 4(3x5)-4(3x - 5)

Step 1: Multiply 4-4 by the first term: 4×3x=12x-4 \times 3x = -12x

Step 2: Multiply 4-4 by the second term: 4×(5)=+20-4 \times (-5) = +20

4(3x5)=12x+20-4(3x - 5) = -12x + 20

Example 2: Expand and Simplify

Problem:

Expand and simplify 5(2x+3)3(x4)5(2x + 3) - 3(x - 4)

Step 1: Expand the first bracket: 5(2x+3)=10x+155(2x + 3) = 10x + 15

Step 2: Expand the second bracket: 3(x4)=3x+12-3(x - 4) = -3x + 12

Step 3: Combine like terms: 10x+153x+12=7x+2710x + 15 - 3x + 12 = 7x + 27

5(2x+3)3(x4)=7x+275(2x + 3) - 3(x - 4) = 7x + 27

⚠️ Sign Trap

When a minus sign sits before a bracket, it flips every sign inside. (x3)=x+3-(x - 3) = -x + 3, not x3-x - 3.


Expanding Double Brackets (FOIL Method)

To expand (a+b)(c+d)(a + b)(c + d), multiply each term in the first bracket by each term in the second. The FOIL mnemonic helps:

LetterStands ForMultiply
FFirsta×ca \times c
OOutera×da \times d
IInnerb×cb \times c
LLastb×db \times d

(a+b)(c+d)=ac+ad+bc+bd(a + b)(c + d) = ac + ad + bc + bd

Example 3: FOIL in Action

Problem:

Expand (x+3)(x+5)(x + 3)(x + 5)

StepPairResult
Fx×xx \times xx2x^2
Ox×5x \times 55x5x
I3×x3 \times x3x3x
L3×53 \times 51515

Combine like terms (5x+3x=8x5x + 3x = 8x):

(x+3)(x+5)=x2+8x+15(x + 3)(x + 5) = x^2 + 8x + 15

Example 4: FOIL with Negatives

Problem:

Expand (2x3)(x+7)(2x - 3)(x + 7)

StepPairResult
F2x×x2x \times x2x22x^2
O2x×72x \times 714x14x
I3×x-3 \times x3x-3x
L3×7-3 \times 721-21

Combine like terms (14x3x=11x14x - 3x = 11x):

(2x3)(x+7)=2x2+11x21(2x - 3)(x + 7) = 2x^2 + 11x - 21


Three Special Products You Must Memorise

These identities appear so often in O-Level that you should recognise them instantly — both directions (expansion and factorisation).

The Three Special Products

1. Perfect Square (Sum)

(a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2

2. Perfect Square (Difference)

(ab)2=a22ab+b2(a - b)^2 = a^2 - 2ab + b^2

3. Difference of Two Squares

(a+b)(ab)=a2b2(a + b)(a - b) = a^2 - b^2

💡 Why the Middle Term Vanishes

In (a+b)(ab)(a + b)(a - b), the outer and inner products are ab-ab and +ab+ab — they cancel out, leaving only a2b2a^2 - b^2. That’s why there’s no middle term.

Example 5: Perfect Square Expansion

Problem:

Expand (3x+4)2(3x + 4)^2

Using (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 with a=3xa = 3x and b=4b = 4:

  • a2=(3x)2=9x2a^2 = (3x)^2 = 9x^2
  • 2ab=2(3x)(4)=24x2ab = 2(3x)(4) = 24x
  • b2=42=16b^2 = 4^2 = 16

(3x+4)2=9x2+24x+16(3x + 4)^2 = 9x^2 + 24x + 16

Example 6: Difference of Two Squares

Problem:

Expand (5x+2)(5x2)(5x + 2)(5x - 2)

This matches the pattern (a+b)(ab)=a2b2(a + b)(a - b) = a^2 - b^2 with a=5xa = 5x and b=2b = 2:

(5x+2)(5x2)=(5x)222=25x24(5x + 2)(5x - 2) = (5x)^2 - 2^2 = 25x^2 - 4

No middle term — just two squares with a minus between them.


Part 2: Factorisation

Factorisation is the reverse of expansion. You’re putting brackets back into an expression.

Method 1: Extracting Common Factors

Look for a factor shared by every term, then pull it outside.

Example 7: Common Factor

Problem:

Factorise 12x38x2+4x12x^3 - 8x^2 + 4x

Step 1: Find the HCF of the coefficients: HCF of 12, 8, 4 = 4

Step 2: Find the lowest power of xx: x3x^3, x2x^2, xx → lowest is xx

Step 3: Common factor is 4x4x. Divide each term:

  • 12x3÷4x=3x212x^3 \div 4x = 3x^2
  • 8x2÷4x=2x-8x^2 \div 4x = -2x
  • 4x÷4x=14x \div 4x = 1

12x38x2+4x=4x(3x22x+1)12x^3 - 8x^2 + 4x = 4x(3x^2 - 2x + 1)

⚠️ Don't Forget the 1

When you factor out the entire last term, a 1 must remain inside the bracket. 6x+6=6(x+1)6x + 6 = 6(x + 1), not 6(x)6(x).


Method 2: Factorising Quadratics (x2+bx+cx^2 + bx + c)

When a=1a = 1, find two numbers that multiply to cc and add to bb.

x2+bx+c=(x+p)(x+q)where p×q=c and p+q=bx^2 + bx + c = (x + p)(x + q) \quad \text{where } p \times q = c \text{ and } p + q = b

Example 8: Factorise x² + bx + c (both positive)

Problem:

Factorise x2+7x+12x^2 + 7x + 12

We need two numbers that multiply to 12 and add to 7.

Factor pair of 12Sum
1×121 \times 121313
2×62 \times 688
3×43 \times 477

x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4)

Example 9: Factorise x² + bx + c (negative constant)

Problem:

Factorise x2+2x15x^2 + 2x - 15

We need two numbers that multiply to 15-15 and add to +2+2.

Since the product is negative, one number is positive and the other is negative:

Factor pair of 15-15Sum
1×15-1 \times 151414
1×(15)1 \times (-15)14-14
3×5-3 \times 522

x2+2x15=(x3)(x+5)x^2 + 2x - 15 = (x - 3)(x + 5)

Sign Shortcut for x2+bx+cx^2 + bx + c

cc is…bb is…Signs in brackets
Positive (+)Positive (+)(x+_)(x+_)(x + \text{\_})(x + \text{\_})
Positive (+)Negative (−)(x_)(x_)(x - \text{\_})(x - \text{\_})
Negative (−)Positive (+)(x+big)(xsmall)(x + \text{big})(x - \text{small})
Negative (−)Negative (−)(xbig)(x+small)(x - \text{big})(x + \text{small})

Method 3: Factorising Quadratics (ax2+bx+cax^2 + bx + c where a1a \neq 1)

When the leading coefficient isn’t 1, use the cross method (also called the AC method):

  1. Find two numbers that multiply to a×ca \times c and add to bb.
  2. Rewrite the middle term using those two numbers.
  3. Factorise by grouping.

Example 10: Cross Method (a ≠ 1)

Problem:

Factorise 2x2+7x+32x^2 + 7x + 3

Step 1: Calculate a×c=2×3=6a \times c = 2 \times 3 = 6

Find two numbers that multiply to 6 and add to 7: 11 and 66

Step 2: Split the middle term: 2x2+x+6x+32x^2 + x + 6x + 3

Step 3: Factor by grouping:

  • Group 1: 2x2+x=x(2x+1)2x^2 + x = x(2x + 1)
  • Group 2: 6x+3=3(2x+1)6x + 3 = 3(2x + 1)

Step 4: Extract the common bracket:

2x2+7x+3=x(2x+1)+3(2x+1)=(x+3)(2x+1)2x^2 + 7x + 3 = x(2x + 1) + 3(2x + 1) = (x + 3)(2x + 1)

Check: (x+3)(2x+1)=2x2+x+6x+3=2x2+7x+3(x + 3)(2x + 1) = 2x^2 + x + 6x + 3 = 2x^2 + 7x + 3

Example 11: Cross Method with Negatives

Problem:

Factorise 3x211x+63x^2 - 11x + 6

Step 1: a×c=3×6=18a \times c = 3 \times 6 = 18

Find two numbers that multiply to 1818 and add to 11-11: 2-2 and 9-9

Step 2: Split: 3x22x9x+63x^2 - 2x - 9x + 6

Step 3: Group:

  • 3x22x=x(3x2)3x^2 - 2x = x(3x - 2)
  • 9x+6=3(3x2)-9x + 6 = -3(3x - 2)

Step 4: Extract:

3x211x+6=(x3)(3x2)3x^2 - 11x + 6 = (x - 3)(3x - 2)

Check: (x3)(3x2)=3x22x9x+6=3x211x+6(x - 3)(3x - 2) = 3x^2 - 2x - 9x + 6 = 3x^2 - 11x + 6


Try It Yourself: Interactive Factoriser

Type any quadratic expression below to see the complete factorisation with cross method steps.

Quadratic Factorizer

Enter coefficients to factor ax² + bx + c into (px + r)(qx + s)

+
x
+

Method 4: Difference of Two Squares

Spot the pattern: two perfect squares separated by a minus sign.

a2b2=(a+b)(ab)a^2 - b^2 = (a + b)(a - b)

Example 12: Difference of Two Squares

Problem:

Factorise 49x21649x^2 - 16

Recognise: 49x2=(7x)249x^2 = (7x)^2 and 16=4216 = 4^2

49x216=(7x)242=(7x+4)(7x4)49x^2 - 16 = (7x)^2 - 4^2 = (7x + 4)(7x - 4)

Example 13: Hidden Difference of Squares

Problem:

Factorise 3x2753x^2 - 75

Step 1: Extract common factor first: 3x275=3(x225)3x^2 - 75 = 3(x^2 - 25)

Step 2: Now factorise the difference of squares: x225=(x+5)(x5)x^2 - 25 = (x + 5)(x - 5)

3x275=3(x+5)(x5)3x^2 - 75 = 3(x + 5)(x - 5)

❌ Sum of Squares Cannot Be Factorised

a2+b2a^2 + b^2 does not factorise over the real numbers. x2+9(x+3)(x3)x^2 + 9 \neq (x + 3)(x - 3). Only the difference works.


Method 5: Perfect Square Trinomials

If you spot a2+2ab+b2a^2 + 2ab + b^2 or a22ab+b2a^2 - 2ab + b^2, it folds neatly into a squared bracket.

Example 14: Perfect Square Trinomial

Problem:

Factorise x210x+25x^2 - 10x + 25

Check: Is this a perfect square trinomial?

  • First term: x2=(x)2x^2 = (x)^2
  • Last term: 25=(5)225 = (5)^2
  • Middle term: 10x=2(x)(5)-10x = -2(x)(5)

x210x+25=(x5)2x^2 - 10x + 25 = (x - 5)^2

Example 15: Perfect Square with a ≠ 1

Problem:

Factorise 4x2+12x+94x^2 + 12x + 9

Check:

  • First term: 4x2=(2x)24x^2 = (2x)^2
  • Last term: 9=(3)29 = (3)^2
  • Middle term: 12x=2(2x)(3)12x = 2(2x)(3)

4x2+12x+9=(2x+3)24x^2 + 12x + 9 = (2x + 3)^2


Choosing the Right Method: A Decision Flowchart

When you see a factorisation question, follow this order:

Factorisation Decision Order

1

Common factor? Always check this first. Pull out the HCF.

2

Two terms? Check for difference of two squares: a2b2a^2 - b^2.

3

Three terms? Check for perfect square trinomial, then try the factor-pair / cross method.

4

Four terms? Try factorisation by grouping (pair the terms).


5 Common Mistakes to Avoid

Mistake 1: Forgetting to Distribute the Negative

Wrong: (3x2)=3x2-(3x - 2) = -3x - 2

Right: (3x2)=3x+2-(3x - 2) = -3x + 2

The minus sign flips both signs inside the bracket.

Mistake 2: Squaring a Bracket Incorrectly

Wrong: (x+3)2=x2+9(x + 3)^2 = x^2 + 9

Right: (x+3)2=x2+6x+9(x + 3)^2 = x^2 + 6x + 9

You can’t just square each term — you’re missing the 2ab2ab middle term. Use the identity or FOIL it out.

Mistake 3: Confusing Signs in Factor Pairs

When factorising x2x12x^2 - x - 12, you need two numbers that multiply to 12-12 and add to 1-1.

Wrong: (x3)(x4)(x - 3)(x - 4) → product is +12+12, not 12-12

Right: (x+3)(x4)(x + 3)(x - 4) → product is 12-12, sum is 1-1

Mistake 4: Stopping at Common Factor

2x218=2(x29)2x^2 - 18 = 2(x^2 - 9) … but you’re not done!

Complete answer: 2x218=2(x+3)(x3)2x^2 - 18 = 2(x + 3)(x - 3)

Always check if the expression inside the brackets can be factorised further.

Mistake 5: Factorising a Sum of Squares

x2+25(x+5)(x5)x^2 + 25 \neq (x + 5)(x - 5)

(x+5)(x5)=x225(x + 5)(x - 5) = x^2 - 25, not x2+25x^2 + 25. The sum of two squares cannot be factorised.


Quick Reference Table

Expression TypeFormulaExample
Single bracketa(b+c)=ab+aca(b + c) = ab + ac3(x+4)=3x+123(x + 4) = 3x + 12
Double bracket (FOIL)(a+b)(c+d)=ac+ad+bc+bd(a+b)(c+d) = ac+ad+bc+bd(x+2)(x+5)=x2+7x+10(x+2)(x+5) = x^2+7x+10
Perfect square (sum)(a+b)2=a2+2ab+b2(a+b)^2 = a^2+2ab+b^2(x+3)2=x2+6x+9(x+3)^2 = x^2+6x+9
Perfect square (diff)(ab)2=a22ab+b2(a-b)^2 = a^2-2ab+b^2(x4)2=x28x+16(x-4)^2 = x^2-8x+16
Difference of squares(a+b)(ab)=a2b2(a+b)(a-b) = a^2-b^2(x+6)(x6)=x236(x+6)(x-6) = x^2-36
Common factorab+ac=a(b+c)ab + ac = a(b+c)6x+9=3(2x+3)6x+9 = 3(2x+3)
Quadratic (a=1a=1)x2+bx+c=(x+p)(x+q)x^2+bx+c = (x+p)(x+q)x2+5x+6=(x+2)(x+3)x^2+5x+6 = (x+2)(x+3)
Quadratic (a1a \neq 1)Use cross / AC method2x2+5x+3=(2x+3)(x+1)2x^2+5x+3 = (2x+3)(x+1)

Ready to Practice Expansion & Factorisation?

Our AI tutor gives you step-by-step guidance on every question — from single bracket expansion to cross method factorisation.

Start Practicing Now →

Topics covered:

expansion and factorisation O-Level Math expansion FOIL method distributive law algebra factorise quadratic expression cross method factorisation difference of two squares perfect square trinomial Singapore Math Secondary 2 common factor algebra

Want personalized AI tutoring?

Get step-by-step help with practice problems and instant feedback.

Sign up for free