FormulaIntuitionDerivationExamplesMistakesQuizReal Life 5 / 16
Middle School Math 3 (Grade 9) · Formula Detail

Difference of Squares (a+b)(a−b)

The product of "the same thing ± a different thing" = the difference of squares — $(a+b)(a-b) = a^{2} - b^{2}$, the middle terms cancel

2022 Curriculum · Korea · Middle School Math 3 (Grade 9) Derivation · Examples · Mistakes · Real Life · Mini Quiz
ƒ
Core Formula NO. 05
$$ (a+b)(a-b) = a^{2} - b^{2} $$
Factoring test: both terms are squares and the signs are opposite (−) → difference of squares. $x^{2} - 16 = (x+4)(x-4)$, $4x^{2} - 9 = (2x+3)(2x-3)$. A different formula from $(a+b)^{2} = a^{2}+2ab+b^{2}$ (perfect square trinomial)!
01
1

What This Formula Does

Expanding $(a+b)(a-b)$, the middle $-ab + ab$ cancel each other, leaving only $a^{2} - b^{2}$. The product of "two factors with opposite signs" is the difference of squares — this "cancellation" is the heart of the formula.

It's powerful for mental math: $26 \times 24 = (25+1)(25-1) = 25^{2} - 1^{2} = 625 - 1 = 624$. Rewriting as "midpoint ± difference" gives the difference of squares — if two numbers sit the same distance from the same midpoint, the difference of squares makes the computation faster.

02
2

Step-by-Step Derivation

Let's build the result step by step, instead of memorizing.

1
Expand — middle terms cancel

$(a+b)(a-b) = a \cdot a + a \cdot (-b) + b \cdot a + b \cdot (-b) = a^{2} - ab + ab - b^{2} = a^{2} - b^{2}$. $-ab + ab = 0$.

(a+b)(a-b) = a^{2} - b^{2}
2
Check numerically

$(x+4)(x-4) = x^{2} - 16$ ✓. $(2x+3)(2x-3) = 4x^{2} - 9$ ✓. $26 \times 24 = 624$ ($25^{2} - 1$).

(x+4)(x-4) = x^{2} - 16
3
Using it for mental math

If two numbers are $m \pm k$ ($m$ is the midpoint, $k$ the difference), the product $= m^{2} - k^{2}$. $48 \times 52 = (50-2)(50+2) = 2500 - 4 = 2496$. $18 \times 22 = (20-2)(20+2) = 400 - 4 = 396$.

$48 \times 52 = 2500 - 4 = 2496$
03
3

Worked Examples

Each step also shows the "why".

Example 1Expand $(x + 4)(x - 4)$
$a = x$, $b = 4$: $x^{2} - 4^{2}$
$x^{2} - 16$
Example 2Expand $(2x + 3)(2x - 3)$
$a = 2x$, $b = 3$: $(2x)^{2} - 3^{2}$ (caution: $(2x)^{2} = 4x^{2}$)
$4x^{2} - 9$
Example 3Compute $26 \times 24$ with the difference of squares
$26 \times 24 = (25+1)(25-1)$ — midpoint 25, difference 1
$= 25^{2} - 1^{2} = 625 - 1$
$624$
04
4

Common Mistakes

The classic ways to lose points on a test.

Factoring $x^{2} - 25 = (x-5)^{2}$ : $(x-5)^{2} = x^{2} - 10x + 25$ — that's a perfect square trinomial, not a difference of squares. $x^{2} - 25 = (x+5)(x-5)$ — two factors with different signs. "Difference of squares of two terms" is $(x+5)(x-5)$, "perfect square" is $(x\pm 5)^{2}$ — you must check the form.
Writing $(a+b)(a+b) = a^{2} - b^{2}$ : $(a+b)(a+b) = (a+b)^{2} = a^{2} + 2ab + b^{2}$ (perfect square trinomial) — if the signs are the same, it's not a difference of squares. The difference of squares holds only when the factors' signs are opposite ($(a+b)(a-b)$).
05
5

Mini Quiz — 3 Questions

Three questions to check the core idea. Click an option to see the explanation.

Solved 0 / 3
06
6

Where Does This Formula Show Up?

The formula is hiding in familiar scenes. Read it as a story and it sticks.

Real-Life SceneMental math and frame (border) areas

$51 \times 49 = 2500 - 1 = 2499$, $98 \times 102 = 10000 - 4 = 9996$ — mental math on "100±k" products with the difference of squares. When two numbers sit the same distance $k$ from an integer $m$, $m^{2} - k^{2}$ — the representative trick of no-calculator multiplication. Use it directly to save test time.

The area of the frame (border) left after subtracting the central small square (side $b$) from a big square (side $a$) $= a^{2} - b^{2} = (a+b)(a-b)$. Factor the "frame area" problem into a product of two factors to compute — with $a = 10, b = 4$, the frame $= 100 - 16 = 84$, or $(14)(6) = 84$. Seeing the same area two ways is the difference of squares.

As a formula$a^{2} - b^{2} = (a+b)(a-b),\quad 51 \times 49 = 2499$
★Difference of squares = "product of opposite-sign factors = difference of squares" — middle terms cancel. The shared formula of mental math (m±k) and frame areas (a²−b²).
∫ 홈