Difference of two squares: a² − b² = (a − b)(a + b)

About this lesson: Difference of two squares: a² − b² = (a − b)(a + b)

In short

Multiply (a − b)(a + b): the middle products −ab and +ab cancel, leaving a² − b². Read backwards, any difference of two squares factorises into a difference and a sum.

What you'll explore

Factors undo expansion: Two brackets, opposite signs
Multiply (a − b)(a + b): the middle products −ab and +ab cancel, leaving a² − b². Read backwards, any difference of two squares factorises into a difference and a sum.
Spot the squares: Write each term as a square
First write each term as (something)². Coefficients and letters must both be perfect squares: 4x² = (2x)², 25y² = (5y)². Then write the difference bracket and the sum bracket.
Common factor first: Then the difference of squares
If the terms share a common factor, take it out first. 3x² − 12 does not look like a difference of squares, but 3(x² − 4) does. Always check whether the factors can be factorised further.
Brackets as terms: Squares of expressions and numbers
The squared thing can be a whole bracket. Treat (x + 3) as a. The pattern also gives quick arithmetic: 51² − 49² is 2 × 100.
Check yourself: Factorise
Write each term as a square first.

Also in this lesson

  • The difference of two squares in detail
  • Common mistakes

Key words

Factor
An expression that divides another exactly.
Factorise
To write an expression as a product of factors.
Difference of two squares
An expression of the form a² − b².
Perfect square
A number or term that is the square of another, such as 25y² = (5y)².
Common factor
A factor shared by every term of an expression.
Quadratic expression
An expression whose highest power of the letter is 2.

Sources

  • NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 10 (competency level 15.1).

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 30-question quiz. Free to try. Written and checked by Shalo Lab. Last updated 20 November 2026.

Factors of x² + bx + c: sum and product →

All lessons in Unit 7 · Factors of quadratic expressions · O/L Maths · Grade 10

O/L Maths past papers 2016–2025: analysis and 10 model papers with answers

මේ පිටුව සිංහලෙන් කියවන්න