Math › Grade 10: Algebra & factoring › Lesson 7 of 7

Difference of squares

A square minus a square always factors as (first − second)(first + second).

Learn

Expand (x − 5)(x + 5): x² + 5x − 5x − 25 = x² − 25. The middle terms cancel!

a² − b² = (a − b)(a + b)

How to spot one

4x² − 25 = (2x)² − 5² = (2x − 5)(2x + 5).

Watch out: a sum of squares, like x² + 25, does not factor this way.

See three worked examples

x² − 64
  1. 64 = 8².

Answer: (x − 8)(x + 8)

9y² − 1
  1. 9y² = (3y)², 1 = 1².

Answer: (3y − 1)(3y + 1)

2x² − 50
  1. Common factor first: 2(x² − 25).

Answer: 2(x − 5)(x + 5)

Try 10 practice questions with the steps

Play match the pairs

Tap one on the left, then its partner on the right.

Test 10 questions, 8 to pass

No steps are shown until the end. Your best score is kept on this device only.

Challenge harder problems that take a few steps