StudyDeck

Difference of Two Squares

Exam code: 4024
Written by: Ashika|Reviewed by: Caroline Carroll|Updated 2 July 2026

Difference Of Two Squaresvideo

Difference Of Two Squares

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+ba-b=a2-ab+ba-b2=a2-b2{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • The brackets can swap order

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

      • (but terms inside a bracket cannot swap order)

  • For example, x2-9=x+3x-3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • This is the same as x-3x+3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

    • But not the same as 3+x3-x{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

      • which expands to 9-x2{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

How can the difference of two squares be made harder?

  • You may find it used with numbers

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

  • You can use a combination of square numbers and squared variables

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

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

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

  • You can use the difference of two squares more than once to fully factorise expressions

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

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

    • 2x2-18=2x2-9{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} giving 2x+3x-3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

      • The 2 comes out in front

Can I use the difference of two squares to expand?

  • 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+32x-3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} expands to 4x2-9{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}