Course contentsShow
← Mathematics
Lesson 382 of 3,12110. FactoringFree lesson

Difference of Squares Pattern

Learn to recognize and factor expressions of the form a² - b² into (a + b)(a - b).

Difference of Squares Pattern

What You'll Learn

You'll learn to instantly recognize and factor expressions that have the form a² - b², turning them into the product (a + b)(a - b).

Understanding the Pattern

The difference of squares is one of the most elegant patterns in algebra. When you see two perfect squares separated by a minus sign, you have a shortcut for factoring.

The pattern works like this:

a² - b² = (a + b)(a - b)

Notice what makes this special:

  • You have two terms (binomial)
  • Both terms are perfect squares
  • They're connected by subtraction (difference)

Why Does It Work?

If you multiply (a + b)(a - b) using FOIL or distribution, you get:

  • First: a · a = a²
  • Outer: a · (-b) = -ab
  • Inner: b · a = ab
  • Last: b · (-b) = -b²

The middle terms (-ab and +ab) cancel each other out, leaving only a² - b².

Examples

x² - 9 factors as (x + 3)(x - 3)

  • Here a = x and b = 3

25y² - 16 factors as (5y + 4)(5y - 4)

  • Here a = 5y and b = 4

49 - t² factors as (7 + t)(7 - t)

  • Here a = 7 and b = t (order doesn't matter with subtraction from a constant)

Recognition Checklist

✓ Exactly two terms?
✓ Both are perfect squares?
✓ Connected by subtraction?
→ Use the difference of squares pattern!

Key Takeaway: Any time you see a² - b², factor it immediately as (a + b)(a - b) — the sum times the difference of the square roots.