← All Labs
IDEA #28 · GEOMETRY — PROOFS WITHOUT WORDS

A Gallery of Visual Proofs

Some theorems are true because you can see that they must be. No symbol-pushing, no induction — just shapes that rearrange, and an area that refuses to change. Each tab below is a classic "proof without words" you can drag, slide and reassemble: the pieces move, a running area ✓ readout confirms nothing was created or destroyed, and the identity falls out of the picture. Everything is computed live — the counters read the geometry, they are not captions.

TAB 1 · a² + b² = c²
Pythagoras
Four triangles slide between two homes; the leftover is a²+b² one way, c² the other.
TAB 2 · 1+3+…+(2n−1)
Odd numbers = n²
Wrap L-shaped gnomons around a corner and a perfect square appears.
TAB 3 · 1+2+…+n
Gauss's staircase
A staircase plus its rotated twin makes a rectangle. Halve it.
TAB 4 · ½+¼+⅛+…
Geometric series
A unit square eaten in halves — the crumbs sum to exactly 1.
TAB 5 · √(ab) ≤ (a+b)/2
AM–GM
A chord in a semicircle can never outreach the radius.
01

Drive it — the two homes of four triangles

Drag the notch on the top edge to change the legs a and b. Slide Rearrange to watch the same four triangles move between the "two squares" home and the "tilted square" home.
DRIVE IT
total area · pieces area ✓
The big frame is a square of side a+b, so its area is (a+b)² whatever you do. The four triangles always total 2ab. What's left must therefore be the same in both homes — and that leftover is a²+b² on the left home and on the right.
REARRANGE (two squares ⇄ tilted square)0%
LEG RATIO a : b3 : 4
a² + b²
left leftover
right leftover
c = √(a²+b²)
hypotenuse
02

Walkthrough

Four moves to feel the theorem.
WALKTHROUGH
1
Leave Rearrange at 0%. The frame holds an a×a square and a b×b square, with the four triangles tucked into two rectangles. Read the yellow card: that leftover is a²+b².
2
Now slide Rearrange to 100%. The four triangles pinwheel into the corners; the leftover collapses into a single tilted square of side c. Watch the area ✓ stay lit the whole way — no area is gained or lost.
3
Drag the notch to change a:b. The two leftovers (yellow a²+b², teal c²) always print the same number. That equality is the theorem.
4
Hit 3-4-5: legs 3 and 4 give c = 5 exactly, the smallest whole-number right triangle. Press Auto-morph and let the pieces breathe.
THE INSIGHT
"The four triangles never change size. Put them one way and the empty space is two little squares, a² and b². Put them the other way and the same empty space is one big square, c². Same hole, two descriptions — so a² + b² must equal c²."
03

Explanation

Why the picture is a proof, not a coincidence.
EXPLANATION

Both homes live inside the same bounding square of side a+b, whose area is fixed at (a+b)² = a² + 2ab + b². And both homes contain the same four right triangles, each with legs a and b, so each triangle has area ½ab and the four together always cover 2ab.

Subtraction does the rest. The white area not covered by triangles is (a+b)² − 2ab = a² + b² — no matter how the triangles are arranged. In the first home that white area is honestly drawn as an a×a square beside a b×b square. In the second home it is a single square whose side is the triangles' hypotenuse c.

Two ways of measuring the identical leftover must agree, so a² + b² = c². The dragging matters: because the triangles are rigid (congruent throughout), you are literally watching a conservation law — area is invariant under sliding pieces around.

This is essentially the arrangement in Zhoubi Suanjing (China, ~1st c. BCE) and the dissection favoured by Bhāskara, whose entire "proof" was reputedly the single word "Behold!" beneath the figure.

The converse is visible too: if you drag to a case where the central quadrilateral is not a square (it never is here, because all four triangles are congruent right triangles), the tiling would fail — the right angle is exactly what makes the inner shape close up into a square of side c.

Caution about "proofs without words": the picture convinces because the pieces are provably congruent and the frame is provably a square. A sloppy dissection can appear to prove false things (see the "missing square" puzzle). The honesty here is that every length is computed, not drawn by eye.

04

Research note

The exact statement and where the numbers come from.
RESEARCH NOTE
The frame area (a+b)² and the triangle total 2ab are read straight off the slider; the two leftover cards are computed as a²+b² and c²=a²+b² — they are equal by construction, which is the whole point.
Go deeper: Euclid, Elements I.47 (the "windmill" proof); E. S. Loomis, The Pythagorean Proposition (367 distinct proofs); the dissection here is the classic "two-square / one-square" pair. Related labs in this repo: #40 matrices reshape the plane, #23 eigenvectors.
01

Drive it — gnomons wrap into a square

Slide n to set the final size, then reveal the L-shaped gnomons one at a time. Each new L adds the next odd number of cells — and the total is always a perfect square.
DRIVE IT
1+3+…+(2k−1) =
A gnomon is the L-shaped border you add to a k×k square to grow it into a (k+1)×(k+1) square. That border is one row plus one column minus the shared corner cell: k + k + 1 = 2k+1 cells — the next odd number.
FINAL SIZE n7
GNOMONS REVEALED k7
LAST ODD ADDED
2k − 1
CELLS SO FAR
running sum
SIDE
= k
02

Walkthrough

Grow the square one L at a time.
WALKTHROUGH
1
Set reveal k = 1. A single cell: 1 = 1². The first "odd number" is just 1.
2
Press Add one L. A 3-cell gnomon wraps the corner → a 2×2 square. Read the ledger: 1 + 3 = 4 = 2².
3
Keep adding. Every new L is the next odd number (5, 7, 9…), and every total is the next perfect square (9, 16, 25…). Watch the SIDE card — it's always exactly k.
4
Press Grow it to animate the whole stack, then push n up to 12 and do it again on a bigger board.
THE INSIGHT
"The sum of the first k odd numbers isn't approximately a square — it is the square, because each odd number is exactly the L-shaped rim that grows one square into the next size up."
03

Explanation

Gnomons, and the origin of the word.
EXPLANATION

Start with a 1×1 square. To turn a k×k square into a (k+1)×(k+1) square you add cells along one row and one column, sharing the corner: that's k + k + 1 = 2k+1 cells. As k runs 0,1,2,… the borders are 1, 3, 5, 7, … — precisely the odd numbers.

So building an n×n square from the corner outward peels apart as 1 + 3 + 5 + ⋯ + (2n−1) = n². Nothing is approximated; each odd number is a physical rim, and the rims tile the square with no gaps or overlaps.

The Greek word gnomon originally meant the pointer of a sundial, then the carpenter's L-square, then exactly this L-shaped figure. The Pythagoreans arranged pebbles ("psephoi") this way and read arithmetic off the shapes — the first "figurate numbers."

The same idea keeps giving: the difference between consecutive squares, (k+1)² − k² = 2k+1, is the gnomon count, which is why the running square-differences are the odd numbers. Slide k and watch the LAST ODD ADDED card equal the jump in the square total.

04

Research note

The identity, exactly.
RESEARCH NOTE
The ledger reads the running sum of odd numbers straight from the revealed cells, and compares it to measured as the side of the filled square. They match for every k because each gnomon supplies exactly 2k−1 cells.
Go deeper: Nicomachus, Introduction to Arithmetic (figurate numbers); the gnomon appears throughout Euclid Book II. This connects to #8 Ulam spiral (squares along a diagonal) and finite-difference thinking in #7 heat equation.
01

Drive it — a staircase and its twin

A staircase of 1+2+⋯+n unit blocks. Slide Duplicate & rotate to drop in a 180°-rotated copy; the two interlock into a clean n × (n+1) rectangle.
DRIVE IT
rectangle = 2 × staircase
One staircase has 1+2+⋯+n blocks — the n-th triangular number Tₙ. Two of them tile an n-by-(n+1) rectangle exactly, so 2·Tₙ = n(n+1), giving Tₙ = n(n+1)/2. This is the trick a schoolboy Gauss used to add 1…100 in seconds.
STEPS n6
DUPLICATE & ROTATE0%
Tₙ = 1+…+n
staircase
n(n+1)
rectangle
n(n+1)/2
formula
02

Walkthrough

Fit two triangles into a box.
WALKTHROUGH
1
Set n = 6. Count the blue blocks: 1+2+3+4+5+6 = 21. That's T₆, shown on the gold card.
2
Slide Duplicate & rotate to 100%. A green copy spins 180° and slots on top, leaving no gaps: a solid 6 × 7 rectangle of 42 blocks.
3
The rectangle is exactly two staircases, so one staircase is half of it: 42 / 2 = 21. The green card (rectangle) is always double the gold card (staircase).
4
Change n and repeat: the rectangle is always n × (n+1), so the sum is always n(n+1)/2. Try n = 12 → 78.
THE INSIGHT
"Adding 1+2+⋯+n looks like n separate additions. But a staircase plus its upside-down copy is just a rectangle — so the sum is half of n(n+1), no matter how big n gets."
03

Explanation

The rectangle trick, and pairing from the ends.
EXPLANATION

Column i of the staircase is i blocks tall, so the staircase holds 1+2+⋯+n blocks. Rotating a copy by 180° turns "short next to tall" into "tall next to short," and the two profiles are complementary: every column of the combined figure is exactly n+1 tall. With n columns, that's an n × (n+1) rectangle.

Because the rectangle is two identical staircases, 2·Tₙ = n(n+1), hence Tₙ = n(n+1)/2.

The algebraic twin of this picture is Gauss's famous pairing: write 1+2+⋯+n forwards and backwards, add column-wise, and every pair sums to n+1. There are n pairs, giving n(n+1), then halve. Same theorem, same "double it and halve."

Triangular numbers Tₙ show up everywhere — handshakes among n people, edges in a complete graph, the "n choose 2" count. The picture is the reason all of those equal n(n+1)/2.

04

Research note

The identity, exactly.
RESEARCH NOTE
The ledger measures the assembled rectangle's block count and the single staircase's block count live; the rectangle is exactly twice the staircase for every n, which is the identity.
Go deeper: the anecdote of the young Gauss summing 1…100; triangular numbers Tₙ = C(n+1,2). Connects to #16 entropy / Huffman counting and the binomial patterns behind #14 Galton board.
01

Drive it — eating a unit square

Take a square of area 1. Colour half of it, then half of what's left, then half of that… Slide terms and watch the coloured area crawl toward — but never past — the whole square.
DRIVE IT
½+¼+⅛+… (k terms) · gap to 1
Each coloured tile is exactly the same size as all the remaining uncoloured space. So the leftover halves every step: 1/2, 1/4, 1/8, … The filled area is 1 minus that shrinking leftover — which drives it to exactly 1.
TERMS k5
PARTIAL SUM
k terms
LEFTOVER
= rᵏ
LIMIT
r/(1−r)·…
02

Walkthrough

Chase the vanishing gap.
WALKTHROUGH
1
Keep r = ½, set terms = 1: half the square is coloured. Sum = 0.5, gap to 1 = 0.5.
2
Add a term. The next tile is half of the remaining square (¼ of the whole). Sum = 0.75, gap = 0.25. The gap and the leftover tile are always the same size.
3
Slide up. Each step halves the gap: 0.5, 0.25, 0.125, … The LEFTOVER card is exactly rᵏ. It never hits zero for finite k — but it dives below any threshold you name.
4
Switch r to ⅓ or ¼. The limit changes (⅓ → ½, ¼ → ⅓): the series sums to r/(1−r), and the square is retiled to match.
THE INSIGHT
"An endless sum can have a perfectly finite total. ½+¼+⅛+⋯ isn't 'almost 1' — it is 1, because the part you haven't coloured yet keeps halving and its area limits to nothing."
03

Explanation

Why the leftover is rᵏ, and Zeno's mistake.
EXPLANATION

After k tiles of ratio r, the coloured fraction is Sₖ = r + r² + ⋯ + rᵏ and the uncoloured leftover is exactly rᵏ (for r = ½ that's the vanishing corner square). Multiply the leftover by (1−r) each new term and the telescoping is visible: Sₖ = (r − r^{k+1})/(1 − r).

As k → ∞ with 0 < r < 1, the leftover rᵏ → 0, so the sum limits to r/(1 − r). For r = ½ that's 1 — the whole square. The picture makes convergence visible: you can literally see there's nothing left to fill.

This dissolves Zeno's paradox. To cross a room you first cross half, then half the rest, forever — infinitely many steps. Zeno concluded motion was impossible. But the step sizes form exactly ½+¼+⅛+⋯, whose total is a finite 1: infinitely many pieces, finite distance, finite time.

The condition |r| < 1 is essential. With r ≥ 1 the tiles don't shrink and the leftover never vanishes — the series diverges, and no picture inside a bounded square could hold it.

04

Research note

The closed form.
RESEARCH NOTE
The partial sum is measured as the coloured fraction of the square and the leftover as rᵏ; their sum is always 1 (for the ½-tiling) or 1 minus the corner, matching (r − r^{k+1})/(1−r) exactly.
Go deeper: Zeno's dichotomy; convergence of geometric series; Archimedes' quadrature of the parabola used ratio ¼. Connects to #3 Taylor series (power series are weighted geometric-style sums) and #12 dyadic spectrum.
01

Drive it — a chord under a semicircle

The diameter is split into lengths a and b. Drag the split point: the vertical chord up to the circle has height √(ab) — the geometric mean — and it can never reach above the radius (a+b)/2, the arithmetic mean.
DRIVE IT
GM √(ab) AM (a+b)/2 gap
The radius of the semicircle is (a+b)/2, the arithmetic mean. By Thales, the chord dropped from the split point up to the circle is a right-triangle altitude of length √(ab), the geometric mean. A chord inside a circle can't be longer than the radius — so √(ab) ≤ (a+b)/2, equal only when the split is dead centre (a = b).
SPLIT a : b (drag the dot too)
TOTAL a + b10.0
a
left part
b
right part
AM − GM
the gap ≥ 0
02

Walkthrough

Push the chord toward the roof.
WALKTHROUGH
1
Drag the split near an end (a tiny, b large). The green chord √(ab) is short — a lopsided split has a small geometric mean.
2
Drag toward the middle. The chord grows and rises toward the blue radius line. The AM − GM gap on the red card shrinks.
3
Press Balance (a = b). The chord touches the top of the circle: √(ab) = (a+b)/2 exactly, gap = 0. That's the only place they're equal.
4
Change a + b and repeat. However big the diameter, the chord tops out at the radius — the inequality holds at every scale.
THE INSIGHT
"Average two positive numbers the usual way and you always get at least their geometric mean — because the geometric mean is a chord inside a circle whose radius is the ordinary average, and a chord can't out-reach the radius."
03

Explanation

Thales' altitude, and why equality is the centre.
EXPLANATION

Put a and b end to end as a diameter of length a+b; the radius is (a+b)/2 — the arithmetic mean, AM. Any point on the semicircle sees the diameter at a right angle (Thales' theorem). Drop the altitude of that right triangle to the diameter at the split point: the geometric-mean relation for a right triangle's altitude gives its length as √(a·b) — the geometric mean, GM.

That altitude is a half-chord from the diameter up to the arc. It is longest when it sits at the centre, where it equals the radius; anywhere else it's strictly shorter. Hence √(ab) ≤ (a+b)/2, with equality iff the split is central, i.e. a = b.

The equivalent "rectangle vs. square of equal perimeter" story is the same fact: among all rectangles with a fixed perimeter (fixed a+b), the square (a = b) has the largest area (ab), and its side is the AM while √(area) is the GM. Elongate the rectangle and area falls away — exactly the chord shortening.

AM–GM generalises to n numbers and underpins huge swathes of optimization and inequality theory, but the two-variable case is this one picture. It's also why "spread lowers the product for a fixed sum" — a fact that quietly drives results from finance to information theory.

04

Research note

The inequality, exactly.
RESEARCH NOTE
The green readout is the chord length measured on the drawing, √(ab); the blue readout is the circle's radius, (a+b)/2. The red card prints their non-negative gap, which is zero exactly when a = b.
Go deeper: AM–GM–HM inequalities; Cauchy's forward–backward induction for the n-variable case; the isoperimetric flavour ("square is the biggest rectangle"). Connects to #25 gradient descent (optimization) and #45 portfolio variance.
A gallery of visual proofs · idea #28 from the 25-ideas list · SVG + drag handles, KaTeX for the maths · every counter reads the geometry live.