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)(a−b)=a2−ab+ba−b2=a2−b2

    • 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, x2−9=(x+3)(x−3)

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

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

      • which expands to 9−x2

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

    • 2x2−18=2(x2−9) giving 2(x+3)(x−3)

      • 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)(2x−3) expands to 4x2−9

    • Recognising that is quicker than expanding to 4x2−6x+6x−9 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  9x2−16.

(b) Factorise 4r2−t4.

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

9x2−16=(3x)2−(4)2

Use the rule a2−b2=(a+b)(a−b)

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

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

4r2−t4=(2r)2−(t2)2

Use the rule a2−b2=(a+b)(a−b)

(2r+t2)(2r−t2)

Worked Example

Factorise fully 2y2−50.

Answer:

This does not appear to be in the form a2−b2

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

2y2−50=2(y2−25)

Now you can see y2−25 which has the form y2−52

Use the rule a2−b2=(a+b)(a−b)

y2−25=(y+5)(y−5)

Therefore

2y2−50=2(y2−25)=2(y+5)(y−5)

2(y+5)(y−5)

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

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.