Difference of Squares as Area

Category: Algebra   Level: 201

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

Cut a small square out of a big one, then slide one leftover strip to the end. The L-shape becomes a rectangle with sides a + b and a − b.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Start with a square of side a

Take a = 7. The square holds 7² = 49 unit squares.

a2 = 72 = 49

Step 1: Start with a square of side a

Step 2: Cut out a b-by-b corner

Remove a corner square with b = 3. That takes away 3² = 9, leaving an L-shape.

a2 - b2 = 49 - 9 = 40

Step 2: Cut out a b-by-b corner

Step 3: Cut the L into two strips

The top strip is 7 by 4. The bottom-left piece is 4 by 3. Together they still hold 40 squares.

7 · 4 + 4 · 3 = 28 + 12 = 40

Step 3: Cut the L into two strips

Step 4: Turn one strip and slide it to the end

Stand the 4-by-3 piece on its end and attach it to the right of the top strip. Its 4-long side matches the strip's height.

4 × 3 → 3 × 4

Step 4: Turn one strip and slide it to the end

Step 5: Read the rectangle

The new rectangle is a + b = 10 long and a − b = 4 tall. Its area is 10 × 4 = 40, the same as 49 − 9.

a2 - b2 = (a + b)(a - b): 49 - 9 = 10 · 4 = 40

Step 5: Read the rectangle

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render difference-of-squares --out /tmp/difference-of-squares

Source: svgmath/diagrams/area_models.py