Computation

The rectangles a square can be cut into

Cut a square into rectangles that all have the same shape — the same ratio of long side to short, in any sizes, lying either way. Two to one is easy. The golden ratio is impossible, however many pieces are used and however small. The ratio φ squared works with six. What decides it is not the ratio but its partner: the number obtained by changing the sign of the square root, which must be positive. Changing that sign is a map that keeps every sum and product and scrambles every size, and areas that must add up to one cannot all turn negative.

Worth reading first: A rectangle made only of squares · The obstruction that was the only one.

A rectangle made only of squares proved Max Dehn’s theorem of 1903: a rectangle can be cut into finitely many squares, of any sizes, exactly when the ratio of its sides is a rational number. A rectangle of sides one and 2\sqrt2 cannot be squared, however small the squares are allowed to get.

Turn the question round. Instead of a rectangle cut into squares, take a square and cut it into rectangles — and require all the rectangles to have the same shape, the same ratio rr of long side to short, in whatever sizes and either way round. Dehn’s question is the case where the tile is a square and the thing tiled is a rectangle; this one fixes the outside and lets the tile have any shape. Which shapes can tile a square?

A square cut into rectangles of ratio φ squared. 1/r@(0.0000,0.0000) 0.1273×0.3333; r@(0.1273,0.0000) 0.8727×0.3333; 1/r@(0.0000,0.3333) 0.1273×0.3333; r@(0.1273,0.3333) 0.8727×0.3333; 1/r@(0.0000,0.6667) 0.1273×0.3333; r@(0.1273,0.6667) 0.8727×0.3333
Fig. 1 A unit square cut into six rectangles all of ratio φ2=(3+5)/2\varphi^2 = (3 + \sqrt5)/2, lying either way. Golden rectangles, of ratio φ\varphi, cannot do this at all.

A rational ratio is easy: rectangles of ratio 5/25/2, or any p/qp/q, can be packed into a square by cutting the square into a grid of pp rows and qq columns, each cell a rectangle of width 1/q1/q and height 1/p1/p — ratio p/qp/q. Nothing about shape restricts rational ratios, just as nothing about area restricts the cutting of one polygon into another in equal area is enough, and equal volume is not, where any polygon can be cut and reassembled into any other of the same area. A restriction on the pieces’ shape is a different kind of constraint, closer to the one in slid, but never turned, where the pieces may move but not rotate and a new invariant appears. The irrational ratios are the interesting ones, and the answer, found independently by Chris Freiling and Dan Rinne and by Miklós Laczkovich and György Szekeres in 1994–95, is that a square can be tiled by rectangles of ratio rr exactly when rr is a root of a polynomial with rational coefficients and every other root of its minimal polynomial has positive real part. For a number of the form a+bda + b\sqrt d the other root is a−bda - b\sqrt d, and the condition is simply that this partner is positive.

The golden ratio φ=(1+5)/2\varphi = (1 + \sqrt5)/2 has partner (1−5)/2≈−0.618(1 - \sqrt5)/2 \approx -0.618, negative: no square can be cut into golden rectangles. Its square φ2=(3+5)/2\varphi^2 = (3 + \sqrt5)/2 has partner (3−5)/2≈0.382(3 - \sqrt5)/2 \approx 0.382, positive: a square can be, and the hero figure shows one way with six pieces.

Side by side and one above the other

The tilings in this essay are found by a search that builds them from smaller ones, and the way it builds them is worth describing because it turns geometry into arithmetic. Describe a rectangle by its aspect, width divided by height. A tile of ratio rr has aspect rr lying down and 1/r1/r standing up.

Put two rectangles of the same height side by side and the result has the same height and the sum of the widths, so its aspect is the sum of their aspects. Put two rectangles of the same width one above the other and the result has the sum of the heights, so the reciprocal of its aspect is the sum of their reciprocals. These are exactly the rules for combining electrical resistances in series and in parallel, which is the analogy a rectangle made only of squares used in the other direction: there, a squared rectangle was a network of unit resistors, and here a tiling built this way is a network of resistors of size rr and 1/r1/r. A square is a network whose total resistance is one.

So the search starts from the two aspects rr and 1/r1/r and repeatedly combines what it has in the two ways, keeping every new aspect it finds, until it finds the aspect 11. Every number involved is of the form a+bda + b\sqrt d with aa and bb rational, and the arithmetic is done exactly in that form, so a square found is a square and not a near miss.

Negative resistors never add up to one

For the tilings the search can build, the impossibility of golden rectangles has a proof that uses nothing but the two combining rules. Apply the partner map σ\sigma to every aspect in a side-by-side and stacked construction. Because σ\sigma respects sums and products, it respects both rules: the partner of a side-by-side combination is the sum of the partners, and the partner of a stacked one is the reciprocal of the sum of the reciprocal partners. So the partners of the aspects are combined by the same series and parallel rules as the aspects themselves.

For golden rectangles the starting aspects φ\varphi and 1/φ1/\varphi have partners −0.618-0.618 and −1.618-1.618, both negative. A sum of negative numbers is negative, and so is the parallel combination 1/(1/x+1/y)1/(1/x + 1/y) of two negative numbers. Every aspect the construction can ever reach therefore has a negative partner. The square has aspect 11, whose partner is 11, positive. It is never reached, at nine tiles or nine million. In electrical terms, a network built from resistors of negative resistance, in series and parallel, always has negative total resistance, and a square is a one-ohm network.

For φ2\varphi^2 the starting partners are 0.3820.382 and 2.6182.618, both positive, and positive numbers combine to positive numbers, so the argument forbids nothing — and the search finds a square. The figure of counts was a picture of this argument without its words: the golden column could grow to any height without containing a shape whose partner is positive.

The argument covers only the constructions the search uses. Its extension to every tiling is the area argument below, which needs no assumption about how the tiling was built.

Rectangles of the golden ratio squared, length by length

The six-piece tiling in the hero figure has a simple structure, which the next figure makes explicit by writing every length exactly.

Every length of the tiling, written exactly. 1: (3 − √5)/6 × 1/3; 2: (3 + √5)/6 × 1/3; 3: (3 − √5)/6 × 1/3; 4: (3 + √5)/6 × 1/3; 5: (3 − √5)/6 × 1/3; 6: (3 + √5)/6 × 1/3
Fig. 2 The six tiles of the φ2\varphi^2 tiling, numbered, with each width and height written as a number of the form (a+b5)/c(a + b\sqrt5)/c. Every length lies in the field of numbers a+b5a + b\sqrt5 with aa and bb rational.

Each horizontal strip is a tile standing up beside a tile lying down. Their aspects add, and 1/φ2+φ2=31/\varphi^2 + \varphi^2 = 3 exactly — the irrational parts cancel, because 1/φ2=(3−5)/21/\varphi^2 = (3 - \sqrt5)/2 is the partner of φ2\varphi^2. So each strip is a rectangle three times as wide as it is tall, and three such strips stacked make a square. The cancellation is the whole trick, and it shows up immediately why the partner matters: φ2\varphi^2 and its partner multiply to one, so the turned tile carries exactly the irrational part that the lying tile needs removed.

Four shapes that do tile a square. 2 + √2: 6 tiles, partner 0.585786; 1 + √2/2: 6 tiles, partner 0.292893; 2 + √3: 8 tiles, partner 0.267949; 5/2: 4 tiles, partner 2.500000
Fig. 3 The smallest tilings the search finds for four more shapes: 2+22 + \sqrt2, 1+2/21 + \sqrt2/2 and 2+32 + \sqrt3, whose partners are all positive, and the rational 5/25/2. Every length in each is exact.

The other quadratic shapes need the same kind of cancellation, arranged differently. For 2+22 + \sqrt2 the search finds six tiles: a row of four standing tiles under one lying tile across the top. For 2+32 + \sqrt3 it needs eight. In each case the irrational parts of the widths and heights are forced to cancel along every edge of the square, and the tiles arrange themselves so that they do. The search does not know the theorem; it only combines aspects and checks for one, and it finds tilings exactly for shapes the theorem allows.

Thousands of golden shapes, and never a square

For golden rectangles the search runs and finds nothing.

Thousands of shapes, and never a square. phi: 2,6,20,74,316,1382,6462,31072,154120; phi^2: 2,6,20,74,316,1389 (square at 6).
Fig. 4 The number of distinct shapes buildable from kk golden rectangles by putting tilings side by side or one above the other, up to nine tiles, beside the same count for rectangles of ratio φ2\varphi^2, where a square appears at six.

The number of distinct aspects grows about fivefold with each tile — 2, 6, 20, 74, 316, 1,382, 6,462, 31,072 and 154,120 — and the aspect 11 is not among them. A search of this kind can never prove impossibility on its own: it covers only tilings built by these two operations, and only up to nine pieces. The tilings it misses include every one that cannot be split by a straight cut running all the way across, which are most tilings with many pieces. So the empty column is evidence and nothing more. The proof that golden rectangles never tile a square is a different kind of argument, and it is short.

Change the sign of the square root

Every number of the form a+b5a + b\sqrt5 has a partner a−b5a - b\sqrt5, and the map σ\sigma that sends each number to its partner has a remarkable property: it respects addition and multiplication. The partner of a sum is the sum of the partners, the partner of a product is the product of the partners, and the partner of a rational number is itself. That is easy to check — the sign of 5\sqrt5 is never used in any rule of arithmetic, only its square, which is 55 either way. In the language of a tower whose degrees multiply, σ\sigma is a symmetry of the field Q(5)\mathbb{Q}(\sqrt5). What it does not respect is size: it sends the large number φ\varphi to the negative number −0.618-0.618.

Suppose a square were tiled by golden rectangles, and suppose every width and height in the tiling were a number of the form a+b5a + b\sqrt5. The tiles’ areas add up to the square’s:

∑iwihi=1.\sum_i w_i h_i = 1.

Apply σ\sigma to both sides. Since it respects sums and products and fixes 11,

∑iσ(wi) σ(hi)=1.\sum_i \sigma(w_i)\,\sigma(h_i) = 1.

Now each tile is golden: either wi=φ hiw_i = \varphi\, h_i or hi=φ wih_i = \varphi\, w_i. In the first case σ(wi)σ(hi)=σ(φ) σ(hi)2\sigma(w_i)\sigma(h_i) = \sigma(\varphi)\,\sigma(h_i)^2, and in the second it is σ(wi)2/σ(φ)\sigma(w_i)^2/\sigma(\varphi). Either way it is a square times σ(φ)=−0.618\sigma(\varphi) = -0.618, or a square divided by it, and so it is negative or nought. A sum of numbers that are all at most nought cannot be one. The tiling does not exist.

The areas, with the square root's sign changed. tile 1 (1/r): area 0.042441, conjugate 0.290893; tile 2 (r): area 0.290893, conjugate 0.042441; tile 3 (1/r): area 0.042441, conjugate 0.290893; tile 4 (r): area 0.290893, conjugate 0.042441; tile 5 (1/r): area 0.042441, conjugate 0.290893; tile 6 (r): area 0.290893, conjugate 0.042441
Fig. 5 The six tiles of the φ2\varphi^2 tiling with each tile’s area and its conjugate area — width times height after 5\sqrt5 is replaced by −5-\sqrt5. Both sets add up to exactly one, and every conjugate area is positive because the partner of φ2\varphi^2 is.

For the φ2\varphi^2 tiling, the same computation goes through with a positive partner, and nothing goes wrong: the conjugate areas are 0.04240.0424 for the lying tiles and 0.29090.2909 for the standing ones — each orientation’s area and conjugate area swapped, since φ2\varphi^2 and its partner are reciprocals — all positive, and they add up to one exactly, as the figure checks. The argument is not a trick that happens to work for the golden ratio. It is a test every tiling must pass, and the sign of the partner decides whether passing is possible.

The step the argument skipped

The proof assumed that every width and height lies in Q(5)\mathbb{Q}(\sqrt5). A tiling found by drawing need not have that property — its lengths could be any real numbers that happen to fit. The gap is closed by a fact about linear equations. A tiling’s combinatorics — which tiles touch which, along which edges, and which way round each tile lies — determines a system of linear equations for the lengths: edges that line up have equal coordinates, each tile’s sides are in ratio φ\varphi or 1/φ1/\varphi, the outside is a unit square. All the coefficients lie in Q(5)\mathbb{Q}(\sqrt5). If such a system has a solution with all lengths positive, it has one with all lengths in the field, because positive solutions form an open part of the solution space and the solutions in the field are dense in it. So a tiling of any kind can be replaced by one of the same combinatorial shape with lengths in the field, and the sign argument applies to that one.

This is the same move as in the obstruction that was the only one, where Dehn’s invariant needed a function that was additive on angles without being anything like the size of an angle, and in no odd number of equal triangles, where Paul Monsky’s proof coloured the plane with a valuation that respects arithmetic and ignores distance. All three arguments find a map that keeps the algebra of a dissection and forgets its geometry, and then show that the algebra, once the geometry is forgotten, contradicts itself.

Which shapes can, and which cannot

The test is easy to apply to any quadratic ratio, and the next figure sorts a family of them.

The shapes that can, and the shapes that cannot. (0+√2)/1=1.4142 partner -1.4142; (1+√2)/1=2.4142 partner -0.4142; (2+√2)/1=3.4142 partner 0.5858; (1+√2)/2=1.2071 partner -0.2071; (2+√2)/2=1.7071 partner 0.2929; (3+√2)/2=2.2071 partner 0.7929; (4+√2)/2=2.7071 partner 1.2929; (5+√2)/2=3.2071 partner 1.7929; (6+√2)/2=3.7071 partner 2.2929; (0+√3)/1=1.7321 partner -1.7321; (1+√3)/1=2.7321 partner -0.7321; (2+√3)/1=3.7321 partner 0.2679; (1+√3)/2=1.3660 partner -0.3660; (2+√3)/2=1.8660 partner 0.1340; (3+√3)/2=2.3660 partner 0.6340; (4+√3)/2=2.8660 partner 1.1340; (5+√3)/2=3.3660 partner 1.6340; (6+√3)/2=3.8660 partner 2.1340; (-1+√5)/1=1.2361 partner -3.2361; (0+√5)/1=2.2361 partner -2.2361; (1+√5)/1=3.2361 partner -1.2361; (0+√5)/2=1.1180 partner -1.1180; (1+√5)/2=1.6180 partner -0.6180; (2+√5)/2=2.1180 partner -0.1180; (3+√5)/2=2.6180 partner 0.3820; (4+√5)/2=3.1180 partner 0.8820; (5+√5)/2=3.6180 partner 1.3820
Fig. 6 Every ratio between 1 and 4 of the form (a+d)/q(a + \sqrt d)/q with d=2,3,5d = 2, 3, 5 and q=1,2q = 1, 2, in one row for each dd. Crossed dots have a negative partner and can tile no square; the others can, and the filled ones were tiled by the search with at most six pieces.

Twelve of the twenty-seven shapes are ruled out by the sign. Among the fifteen the theorem allows, the search with at most six tiles finds tilings for only some. The others are not counterexamples: the theorem guarantees a tiling, not a small one. A shape whose partner is positive but small has conjugate areas that are tiny for one orientation of tile and large for the other, and balancing them to sum to one needs more tiles in a more carefully weighted arrangement: 2+32 + \sqrt3, with partner 0.2680.268, needed eight tiles in the search against six for 2+22 + \sqrt2, whose partner is 0.5860.586. A further search up to ten tiles still finds no tiling for 3+23 + \sqrt2, whose partner 1.591.59 is comfortably positive, so even a healthy partner can demand many pieces when the ratio itself is large.

The general theorem, for ratios of higher degree, uses the same idea with every conjugate: a cubic ratio has two partners, possibly a complex pair, and each defines a map that respects arithmetic. The necessary condition is that each map sends the tile shape somewhere with positive real part, so that the conjugate areas cannot all cancel to nothing. The hard half of the theorem is the converse, that the condition is also sufficient, and its proofs construct tilings explicitly for every admissible rr, which is far harder than ruling the others out.

A golden rectangle that eats itself, and cannot make a square

The golden rectangle’s failure is ironic in view of its most famous property. The rectangle that eats itself is a golden rectangle with a square cut off, leaving a smaller golden rectangle: so a golden rectangle is a square plus a golden rectangle, and by repeating the cut, a square plus a square plus a square and so on, with a golden remainder that shrinks for ever. Golden rectangles are made of squares, infinitely many of them. Squares cannot be made of golden rectangles, finitely or — in any arrangement that stops — at all.

The asymmetry is the content of the partner’s sign. Dehn’s theorem says the golden rectangle cannot be cut into finitely many squares, because its ratio is irrational — the fact the diagonal no unit measures proved by exactly this endless cutting of squares from a pentagon’s diagonal; the infinite cutting is the closest it comes. The theorem here says the square cannot be cut into finitely many golden rectangles, because the golden ratio’s partner is negative. The ratio φ2\varphi^2, whose partner is positive, is still irrational and so still cannot be cut into squares; but a square can be cut into it, with six pieces.

The two theorems test different things about the same number. Dehn’s asks whether rr is rational, which no amount of algebra can make true of φ\varphi or φ2\varphi^2. This one asks where rr’s partners lie, which is a question about the polynomial rr satisfies: φ\varphi is a root of x2−x−1x^2 - x - 1, whose other root is negative, and φ2\varphi^2 a root of x2−3x+1x^2 - 3x + 1, whose other root is positive. The two polynomials have the same field of definition and very different shapes, and the tiling question can see the difference while the squaring question cannot. A reader who wants to know whether a quadratic shape tiles a square needs only its polynomial x2−sx+px^2 - sx + p: the shape tiles exactly when both roots are positive, which for a real quadratic with a positive root means exactly when ss and pp are both positive.

What a search of this kind cannot do

The tilings drawn here were found by one family of constructions, and the search is honest only within that family. Every tiling in it can be split into two parts by one straight cut, and each part split again, until single tiles remain; such tilings are called guillotine tilings, and many tilings are not of that kind. The counts of reachable shapes are therefore lower bounds on what kk tiles can do, and the sizes of the smallest tilings drawn are the smallest guillotine tilings, which may be beaten by others. A search over all tilings, guillotine or not, needs a description of how rectangles can meet that is far harder to enumerate.

The figures also cannot show the hard half of the theorem. Seeing that φ\varphi is impossible takes one line of algebra; seeing that every shape with positive partners is possible requires a construction that works for all of them, and the small examples drawn here are evidence for it rather than a proof.

Still open: how many pieces

For a ratio that can tile a square, how many tiles are needed? The question has a definite answer for each ratio and no known formula. For quadratic ratios the evidence of the searches is that the number grows as the partner approaches nought, which is what the sign argument suggests — a partner near nought makes the conjugate areas of the two orientations very unequal, and many tiles are needed to balance them — and also as the ratio itself grows, since long thin tiles fill a square slowly. Neither dependence has been made precise. Even for φ2\varphi^2, whether six is the fewest possible over all tilings, guillotine or not, is a finite question that a search over non-guillotine arrangements could settle and that the search here does not.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

DissectionExhaustive searchField automorphismGolden ratioInvariantQuadratic irrationalTiling