Difference of Two Squares (SQA National 5 Maths): Revision Note

Exam code: X847 75

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Factorising using difference of two squares

What is the difference of two squares?

  • When a "squared" quantity is subtracted from another "squared" quantity, you get the difference of two squares

    • For example:

      • a2 - b2

      • 92 - 52

      • (x + 1)2 - (x - 4)2

      • 4m2 - 25n2, which is (2m)2 - (5n)2

How do I factorise the difference of two squares?

  • a2 - b2 factorises to (a + b)(a - b)

    • This can be shown by expanding the brackets

      • (a+b)(ab)=a2ab+bab2=a2b2

    • The brackets can be written in either order

      • a2 - b2 = (a + b)(a - b) = (a - b)(a + b)

      • (but terms inside a bracket cannot swap order)

  • For example, x29=(x+3)(x3)

    • This is the same as (x3)(x+3)

    • But not the same as (3+x)(3x)

      • which expands to 9x2

What are some trickier examples of difference of two squares?

  • Difference of two squares can be used with:

    • numbers

      • 72 - 32 = (7+3) (7-3) = (10) (4) = 40

    • A combination of square numbers and squared variables

      • 4m2 - 9n2 = (2m)2 - (3n)2 = (2m + 3n)(2m - 3n)

    • Any other powers which can be written as a difference of two squares

      • a4 - b4 = (a2)2 - (b2)2 = (a2 + b2) (a2 - b2)

      • r8 - t6 = (r4)2 - (t3)2 = (r4 + t3) (r4 - t3)

  • You may also need to take out a common factor first

    • 2x218=2(x29) giving 2(x+3)(x3)

      • The 2 comes out in front

Can I use the difference of two squares to expand brackets?

  • Using the difference of two squares to expand is quicker than expanding double brackets and collecting like terms

  • Brackets of the form (a + b)(a - b) expand to a2 - b2

    • For example (2x+3)(2x3) expands to 4x29

    • Recognising that is quicker than expanding to 4x26x+6x9 first and then simplifying

Examiner Tips and Tricks

The difference between two squares is often the trick required to complete a harder algebraic question in the exam. Make sure you are able to spot it!

Worked Example

(a) Factorise  9x216.

(b) Factorise 4r2t4.

Answer:

Part (a)

Recognise that 9x2=(3x)2 and 16=42 are both squared terms

  • Therefore you can factorise using the difference of two squares

Rewrite as a difference of two squared terms

9x216=(3x)2(4)2

Use the rule a2b2=(a+b)(ab)

(3x+4)(3x4) 

Part (b)

Recognise that 4r2=(2r)2 and t4=(t2)2 are both squared terms

  • Therefore you can factorise using the difference of two squares

Rewrite as a difference of two squared terms

4r2t4=(2r)2(t2)2

Use the rule a2b2=(a+b)(ab)

(2r+t2)(2rt2)

Worked Example

Factorise fully 2y250.

Answer:

This does not appear to be in the form a2b2

However there is a common factor of 2, so take this factor out

2y250=2(y225)

Now you can see y225 which has the form y252

Use the rule a2b2=(a+b)(ab)

y225=(y+5)(y5)

Therefore

2y250=2(y225)=2(y+5)(y5)

2(y+5)(y5)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.