MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Difference of Two Squares GCSE Maths Guide

Difference of Two Squares GCSE Maths Guide

Difference of two squares GCSE maths explained with a simple method, worked examples, common mistakes and exam-style practice questions.

MathsGenie Team
•Last updated: 20 Nov 2026
Share
Add as a preferred source on Google

A student can factorise ten ordinary quadratics correctly, meet x2−49x^2-49x2−49, and suddenly hesitate. It looks easier. That is often what makes it harder.

Imagine a student called Sam. Each time a difference of two squares GCSE maths question appears, Sam either leaves it unchanged or writes two identical brackets. The missing idea is small but decisive: a difference of two squares factorises into two brackets that are almost identical, except one contains a plus and the other a minus.

a2−b2=(a+b)(a−b) a^2-b^2=(a+b)(a-b) a2−b2=(a+b)(a−b)

This guide explains how to recognise that pattern, apply it step by step and check the result. It then gives you exam-style questions to practise.

The quick difference of two squares checklist

Before factorising, ask:

  • Are there exactly two terms?
  • Is there subtraction between them?
  • Is each term a perfect square?
  • Can I write the answer as one plus bracket and one minus bracket?

If every answer is yes, use:

a2−b2=(a+b)(a−b) a^2-b^2=(a+b)(a-b) a2−b2=(a+b)(a−b)

The order of the brackets does not matter, so (a+b)(a−b)(a+b)(a-b)(a+b)(a−b) and (a−b)(a+b)(a-b)(a+b)(a−b)(a+b) are equivalent.

A student stops glaring at algebra and starts looking for a patternA student stops glaring at algebra and starts looking for a pattern

Why the identity works

Sam had tried to memorise the formula without understanding it. That worked until exam pressure made the signs blur together. Expanding the brackets made the pattern easier to remember:

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

The middle terms cancel because −ab+ab=0-ab+ab=0−ab+ab=0. This leaves:

a2−b2 a^2-b^2 a2−b2

That cancellation explains both signs in the answer. If both brackets contained plus signs, the middle terms would not cancel. If both contained minus signs, they would not cancel either.

The formula is therefore not a trick. It is simply the reverse of expanding two conjugate brackets.

How to factorise a difference of two squares

Use this three-step method:

  1. Find the square root of the first term.
  2. Find the square root of the second term.
  3. Put those expressions into two brackets, using a plus in one and a minus in the other.

Sam began writing the two square roots above the original terms before attempting the brackets. That short pause prevented most of the previous errors.

Once you have the method in hand, use the matching Maths Genie GCSE revision lessons and Question Bank to turn recognition into a repeatable exam skill.

Difference of two squares worked examples

Factorise x2−25x^2-25x2−25

Both terms are squares:

x2=x2 x^2=x^2 x2=x2 25=52 25=5^2 25=52

Substitute a=xa=xa=x and b=5b=5b=5 into the identity:

x2−25=(x+5)(x−5) x^2-25=(x+5)(x-5) x2−25=(x+5)(x−5)

A quick expansion confirms the answer:

(x+5)(x−5)=x2−5x+5x−25=x2−25 (x+5)(x-5)=x^2-5x+5x-25=x^2-25 (x+5)(x−5)=x2−5x+5x−25=x2−25

Factorise 9x2−169x^2-169x2−16

This time, take the square root of the whole first term, including its coefficient:

9x2=(3x)2 9x^2=(3x)^2 9x2=(3x)2 16=42 16=4^2 16=42

Therefore:

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

Sam's earlier answer had been (9x+4)(9x−4)(9x+4)(9x-4)(9x+4)(9x−4). Expanding that would begin with 81x281x^281x2, not 9x29x^29x2. The square root of 9x29x^29x2 is 3x3x3x, which is the expression needed in each bracket.

Factorise 49a2−81b249a^2-81b^249a2−81b2

Both terms contain variables, but the same rule applies:

49a2=(7a)2 49a^2=(7a)^2 49a2=(7a)2 81b2=(9b)2 81b^2=(9b)^2 81b2=(9b)2

So:

49a2−81b2=(7a+9b)(7a−9b) 49a^2-81b^2=(7a+9b)(7a-9b) 49a2−81b2=(7a+9b)(7a−9b)

The letters do not change the structure. Look for two squared expressions separated by subtraction.

Factorise 2x2−502x^2-502x2−50 fully

At first sight, neither term gives the cleanest version of the standard pattern. First take out the highest common factor:

2x2−50=2(x2−25) 2x^2-50=2(x^2-25) 2x2−50=2(x2−25)

Now factorise the expression inside the brackets:

2(x2−25)=2(x+5)(x−5) 2(x^2-25)=2(x+5)(x-5) 2(x2−25)=2(x+5)(x−5)

Therefore, the fully factorised answer is:

2(x+5)(x−5) 2(x+5)(x-5) 2(x+5)(x−5)

This example matters because exam questions may require an expression to be factorised fully. Always check for a common factor before using the difference of two squares.

Factorise x4−16x^4-16x4−16

The first term is still a square because x4=(x2)2x^4=(x^2)^2x4=(x2)2:

x4−16=(x2)2−42 x^4-16=(x^2)^2-4^2 x4−16=(x2)2−42

Therefore:

x4−16=(x2+4)(x2−4) x^4-16=(x^2+4)(x^2-4) x4−16=(x2+4)(x2−4)

But x2−4x^2-4x2−4 is another difference of two squares:

x2−4=(x+2)(x−2) x^2-4=(x+2)(x-2) x2−4=(x+2)(x−2)

The fully factorised expression is:

x4−16=(x2+4)(x+2)(x−2) x^4-16=(x^2+4)(x+2)(x-2) x4−16=(x2+4)(x+2)(x−2)

For GCSE factorisation over real numbers, x2+4x^2+4x2+4 does not factorise further.

How to recognise questions where the rule does not apply

The identity requires a difference, not a sum. For example:

x2+36 x^2+36 x2+36

is a sum of two squares, so it cannot be factorised using (a+b)(a−b)(a+b)(a-b)(a+b)(a−b). Expanding (x+6)(x−6)(x+6)(x-6)(x+6)(x−6) gives x2−36x^2-36x2−36, not x2+36x^2+36x2+36.

The terms must also be squares. For example, x2−12x^2-12x2−12 is not a difference of two integer squares because 121212 is not a perfect square. At GCSE, it would not normally be factorised into integer brackets using this method.

Useful perfect squares to recognise quickly include:

1,4,9,16,25,36,49,64,81,100,121,144 1,4,9,16,25,36,49,64,81,100,121,144 1,4,9,16,25,36,49,64,81,100,121,144

Knowing these makes pattern recognition faster, but checking by expansion is still valuable.

Common mistakes with difference of two squares

Using two identical signs

An answer such as (x−7)(x−7)(x-7)(x-7)(x−7)(x−7) is not a difference of two squares. It expands to:

(x−7)2=x2−14x+49 (x-7)^2=x^2-14x+49 (x−7)2=x2−14x+49

Use opposite signs:

x2−49=(x+7)(x−7) x^2-49=(x+7)(x-7) x2−49=(x+7)(x−7)

Forgetting to square-root the coefficient

For 25x2−925x^2-925x2−9, the term needed in each bracket is 5x5x5x, not 25x25x25x:

25x2−9=(5x+3)(5x−3) 25x^2-9=(5x+3)(5x-3) 25x2−9=(5x+3)(5x−3)

Missing the common factor

The expression 3x2−753x^2-753x2−75 should first become:

3(x2−25) 3(x^2-25) 3(x2−25)

It then factorises fully to:

3(x+5)(x−5) 3(x+5)(x-5) 3(x+5)(x−5)

Stopping too early

With x4−81x^4-81x4−81, one application gives:

x4−81=(x2+9)(x2−9) x^4-81=(x^2+9)(x^2-9) x4−81=(x2+9)(x2−9)

The second bracket can also be factorised:

x4−81=(x2+9)(x+3)(x−3) x^4-81=(x^2+9)(x+3)(x-3) x4−81=(x2+9)(x+3)(x−3)

After each step, inspect every factor again.

Solving when the question only asks for factorising

Factorising produces brackets. Solving finds values of the variable and requires an equation, usually one equal to zero. Read the command word before beginning.

Difference of two squares questions

Try these without looking back at the examples. Factorise each expression fully.

  1. x2−64x^2-64x2−64
  2. 4x2−494x^2-494x2−49
  3. 100a2−b2100a^2-b^2100a2−b2
  4. 5x2−455x^2-455x2−45
  5. x4−1x^4-1x4−1
  6. 16p4−81q216p^4-81q^216p4−81q2

Answers

  1. (x+8)(x−8)(x+8)(x-8)(x+8)(x−8)
  2. (2x+7)(2x−7)(2x+7)(2x-7)(2x+7)(2x−7)
  3. (10a+b)(10a−b)(10a+b)(10a-b)(10a+b)(10a−b)
  4. 5(x+3)(x−3)5(x+3)(x-3)5(x+3)(x−3)
  5. (x2+1)(x+1)(x−1)(x^2+1)(x+1)(x-1)(x2+1)(x+1)(x−1)
  6. (4p2+9q)(4p2−9q)(4p^2+9q)(4p^2-9q)(4p2+9q)(4p2−9q)

For each incorrect answer, expand your brackets. That check shows whether the error came from the square roots, the signs or incomplete factorisation. More targeted algebra practice is available through the Maths Genie Question Bank, while the GCSE past papers collection helps you practise recognising the pattern among other topics.

Make the pattern stick

The moment it clicked for Sam was not the moment the formula was repeated again. It was the moment every answer was checked by expansion. The plus and minus signs stopped feeling arbitrary because their job was clear: they made the middle terms cancel.

Use this final routine in an exam:

  • check for a common factor;
  • confirm that there are two squared terms with subtraction;
  • square-root both terms;
  • write one plus bracket and one minus bracket;
  • look for further factorisation;
  • expand to check if needed.

Continue with Maths Genie Lessons and Question Bank

Knowing the pattern is the first step; recognising it reliably among mixed algebra questions comes from deliberate practice. Sam improved by pairing each lesson with questions and checking every uncertain factorisation rather than merely rereading the rule. Your turn: start the matching Maths Genie Lessons and Question Bank and practise the difference of two squares method until the pattern is immediate.

  • The quick difference of two squares checklist
  • Why the identity works
  • How to factorise a difference of two squares
  • Difference of two squares worked examples
  • How to recognise questions where the rule does not apply
  • Common mistakes with difference of two squares
  • Difference of two squares questions
  • Make the pattern stick
  • Continue with Maths Genie Lessons and Question Bank

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

20 Nov 2026

Year 13 A-Level Maths Mocks and Predicted Grades

Year 13 A-Level Maths mocks and predicted grades explained, with practical revision advice, a worked example and a plan for your next targeted practice paper.

20 Nov 2026

Large Data Set Revision for the Mock

Large data set revision for the mock, with a focused checklist, statistical examples, common mistakes and practical advice for A-Level Maths students.

20 Nov 2026

Proof Questions in A-Level Maths Mocks: A Clear Guide

Proof questions in A-Level Maths mocks explained through worked examples, common mistakes and focused revision. Build your next targeted practice paper.

20 Nov 2026

Integration Questions in A-Level Maths Mocks

Integration questions in A-Level Maths mocks: choose methods, avoid common errors and build targeted practice with free MathsGenie lessons and solutions.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.