← Artificial Wasteland

The Missing Square

Cut a 64-square into four pieces. Rearrange them into a rectangle. Count again: 65. One square has come from nowhere — so where is it?

Below is an 8×8 board — 64 unit squares, you can count them. It is cut into four pieces: two triangles and two trapezoids, with edges of length 3, 5, 8 and 13 — consecutive Fibonacci numbers. Slide the control, and the four pieces rearrange into a 5×13 rectangle. A 5×13 rectangle has area 65. The same four pieces. One more square.

6465

The trick survives slow motion. The pieces don't stretch, don't overlap, don't leave a visible hole — and yet 64 of something has become 65 of the same something. Both of those statements feel airtight, and they cannot both be true. Press Show the gap, finish the rearrangement, and look along the rectangle's diagonal.

The square didn't vanish — it spread out

The pieces almost meet along the rectangle's diagonal, but not quite. What looks like one straight cut is really two edges with slightly different slopes, and between them lies a long, impossibly thin parallelogram — a sliver of area exactly 1. That sliver is the missing square. It was never gone; it was rolled out into a splinter the eye refuses to register.

The slopes that don't match

the triangles' long edgerise / run = 3 / 8 = 0.3750
the trapezoids' slanted edgerise / run = 2 / 5 = 0.4000
the rectangle's true diagonal5 / 13 = 0.3846…  (lies between them)

Because 3/8 ≠ 2/5, the four pieces' edges do not lie on one line. The gap between them is the lozenge with corners (0,0), (8,3), (13,5), (5,2); its area, by the shoelace formula on whole-number coordinates, is |2|/2 = 1 — exactly. Recomputed in verify.mjs together with a coverage grid that confirms the square tiles perfectly while the rectangle is left one unit short.

It's not a coincidence. It's Cassini's identity.

Why those numbers — 3, 5, 8, 13? Take any three consecutive Fibonacci numbers. The square is F(n)×F(n); the rectangle is F(n−1)×F(n+1). The difference between their areas is governed by a 1680 identity of Cassini:

F(n−1)·F(n+1) − F(n)2 = (−1)n = ±1

The two areas always differ by exactly one — never zero, never two. The square and the rectangle can never truly reconcile.

Move n and watch the same paradox at every scale. Even n: the rectangle gains a unit (a gap). Odd n: the pieces overlap instead, and the rectangle loses a unit. And as n grows, the consecutive ratios race toward the golden ratio φ = 1.618… — so the two mismatched slopes converge, the lozenge narrows, and the swindle becomes, for the eye, perfect.

6 8×8 → 5×13
square  F(n)×F(n)
rectangle  F(n−1)×F(n+1)
discrepancy  (−1)n
F(n+1) / F(n)  → φ
slope gap (degrees)

Every value recomputed live. The Fibonacci numbers are exact (arbitrary-precision integers); the discrepancy is read straight off Cassini's identity for that n.

Checked by the kernel

That the discrepancy is always ±1 — for every n at once, not just the cases drawn here — is not something a picture can establish. So it is proved, and the proof is checked by machine. Cassini's identity is stated in Lean 4 and verified by its kernel, with zero imports: no library is trusted, every step is reduced to the type-checker itself.

Lean 4.31 · no sorry · axioms [propext, Quot.sound]

-- research/the-missing-square/lean/Cassini.lean  (zero imports)
theorem cassini : ∀ n, fib (n+1) * fib (n+1) - fib n * fib (n+2) = alt n
-- the area gap, for every n. And the load-bearing corollary:
theorem cassini_ne_zero (n : Nat) :
    fib (n+1) * fib (n+1) - fib n * fib (n+2) ≠ 0   -- never reconciles

'Cassini.cassini' depends on axioms: [propext, Quot.sound]
'Cassini.cassini_ne_zero' depends on axioms: [propext, Quot.sound]
'Cassini.chessboard_gap' does not depend on any axioms  -- 5·13 − 8² = 1

The alternating sign (−1)n is given its own definition so the proof needs no library lemma about exponents; the whole-number algebra is core Int rewriting plus omega. Read it: Cassini.lean · verify: verify.sh. This joins the Wasteland's other machine-checked strata — the irrationality of every non-square root and why the pentagon can't tile, where the same golden-ratio wall (5 is not a perfect square) does its other day-job.

Who found it, and what we don't know

The honest apparatus — every claim with its source, every uncertainty named rather than smoothed over.

Provenance of the paradox

First in print: Oskar Schlömilch, "Ein geometrisches Paradoxon," Zeitschrift für Mathematik und Physik 13 (1868), p. 162.solid The piece was signed only "Schl."; Warren Weaver attributed it to Schlömilch, then co-editor of the journal. H. S. M. Coxeter (1953) mistakenly credited the 1868 article to Schlegel — a documented mix-up, now resolved in Schlömilch's favour.

The Fibonacci generalization: Victor Schlegel, "Verallgemeinerung eines geometrischen Paradoxons," Z. Math. Phys. 24 (1879), pp. 123–128 — the first to connect the construction to the Fibonacci numbers.solid

The popularizer: Sam Loyd, who printed it in his Cyclopedia of 5,000 Puzzles (1914) and claimed to have shown it at the 1858 American Chess Congress.claim unverified The 1858 date rests on Loyd's own much-later word, with no contemporary record; it cannot be confirmed, and it postdates nothing in print before Schlömilch.

An independent, private hand: Lewis Carroll (C. L. Dodgson) worked out generalizations in unpublished notes around 1890–93, surfaced posthumously by Warren Weaver, Amer. Math. Monthly 45 (1938), 234–236.solid An early generalization also appears in G. H. Darwin, Messenger of Mathematics 6 (1877), p. 87. (The occasionally-cited "Mitchell 1877" appears to be a garbling of this Darwin entry — we could find no Mitchell in the source literature.)

Naming the identity, and a contested point

Cassini's identity is named for Giovanni Domenico (Jean-Dominique) Cassini, credited with it in 1680.name standard We could not verify Cassini's original 1680 text directly through the secondary literature; the attribution is conventional. Kepler is said to have known the relation by 1608 (the sources hedge this).

Simson's identity is the same result, credited to Robert Simson, Phil. Trans. R. Soc. 48 (1753), 368–376.contested Whether Simson's 1753 paper stated the identity itself, or only the fact that consecutive Fibonacci ratios approach φ, is a genuine disagreement: the Fibonacci-identity literature credits him with the identity, while Simson's biographies (MacTutor; Wikipedia) describe only the golden-ratio limit. We could not reach the primary paper to settle it, so we name the conflict instead of choosing a side.

The general form is Catalan's identity (E. C. Catalan, note dated 1879, published 1886); Cassini's is its case r = 1.solid

A convention to watch: the sign in (−1)n depends on how you index the Fibonacci sequence. We use F(1)=F(2)=1, so 8 = F(6) and the 8×8→5×13 case is (−1)6 = +1 (a gain). Some sources (e.g. cut-the-knot) write (−1)n+1 under a different starting index, which relabels even and odd while describing the identical geometry. The 8×8→5×13 case is always +1.

Sources, in full: Singmaster, Sources in Recreational Mathematics §6.P.1; T. Sillke, "Jigsaw Paradox"; G. Frederickson, Dissections: Plane & Fancy (1997), ch. 23; T. Koshy, Fibonacci and Lucas Numbers with Applications (2001); Wikipedia "Chessboard paradox" and "Cassini and Catalan identities"; Wolfram MathWorld; cut-the-knot.