Generator

More sides is not more paper

A generator in the axioms and construction library, called 44 times across 7 essays. Below: what it draws at its defaults and at the arguments the essays give it, what it checked while drawing, and everywhere it is used.

inscribed-polygons is one function. Everything below came out of it during this build, at arguments taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and when the generator changes, this page changes with it.

At its defaults

More sides is not more paperThe area of the largest regular polygon of each number of sides that fits inside a square sheet. The square and the octagon share the sheet's own symmetry and do well by it; the polygons between and after them do not, and the sequence goes up and down rather than up.sidesshare of the sheet the largest one usestilt346.4%15.00°4100.0%45.00°567.4%9.00°669.6%15.00°772.9%6.43°882.8%22.50°975.1%5.00°1075.3%9.00°1176.3%4.09°1280.4%15.00°the 8-sided polygon is the peak, and every one of the 4 polygons after it does worse

view: "tools", show: "ranks"

The best polygon, and the tool it needsFor seven proportions of sheet, the regular polygon that uses the most of it, the best one a compass can build, the best one only a fold can build and where it ranks, and the best one no single fold can build. On every sheet the best polygon is one a compass already reaches, and the best that only a fold reaches is fourth at best.which tool the best polygon on each sheet needseach polygon at its own best rotation; the rank counts every polygon from three sides to twenty-foursheetbest polygonbest a compass buildsbest only a fold buildsbest no fold buildssquare8-gon · 82.8%8-gon21-gon · 7th · 77.9%23-gon · 6th11 : 108-gon · 75.3%8-gon14-gon · 4th · 72.6%22-gon · 9th6 : 56-gon · 72.2%6-gon14-gon · 5th · 66.6%22-gon · 9thA series6-gon · 61.2%6-gon14-gon · 5th · 56.5%22-gon · 9th3 : 26-gon · 57.7%6-gon14-gon · 5th · 53.3%22-gon · 9th2 : 16-gon · 43.3%6-gon14-gon · 5th · 39.9%22-gon · 9th3 : 16-gon · 28.9%6-gon14-gon · 5th · 26.6%22-gon · 9ththe square itself is left out; a fold builds an n-gon when the totient of n has no prime factor above three

view: "tools", show: "crossover"

Where the octagon's lead endsThe share of a sheet the largest regular octagon, hexagon, twelve-gon and fourteen-gon use, as the sheet goes from square to 1.4 times as long as it is wide. The octagon leads at first; the hexagon overtakes it at a proportion of about 1.128, and past that point the order of every polygon is fixed.11.11.21.31.40.550.60.650.70.750.80.85the sheet's length, with its width oneshare of the sheetshare of the sheet, as the sheet grows longerthe octagonthe hexagonthe twelve-gonthe fourteen-gonthe octagon leads until 1.1284 to 1 and the hexagon from then on; no other polygon leads anywhere between

view: "tools", show: "fit", ns: [8, 6], h: 1.1284

The largest 8- and 6-gons in one sheetThe largest regular polygons with 8 and 6 sides that fit a sheet 1 by 1.128, each at the rotation that makes it largest, with the share of the sheet each uses.on a sheet 1.1284 times as long as it is wide8 sides · 73.4%a compass builds it6 sides · 73.4%a compass builds it

What it checked while it drew

Collected by running this generator with a listener on the assertions, not written here. The count is how many separate times this build put that claim to the test.

Where it is called

Changing this generator changes every figure on this list, which is what makes the list worth publishing rather than keeping in a check script.

Every even polygon beats every odd one

Crossed with what each tool can build, the census of the largest regular polygon a sheet holds gives the same verdict on every proportion from a square to three to one: the best polygon is one a compass already builds, and the best polygon only a fold can build places fourth at best. The ranking itself stops moving at a proportion of 1.1284, where the hexagon overtakes the octagon. On every longer sheet only the short side holds a polygon, each polygon's share is a fixed constant divided by the length, and the constant — its area over the square of its least width — comes down to the circle's π⁄4 for even polygons and climbs up to it for odd ones. So every even polygon beats every odd one.

The biggest one that can also be folded

Which regular polygon uses a square sheet best, and which of them a fold can actually construct, are two questions with completely different pedigrees. Answered side by side over sixteen polygons, they turn out to agree — and the reason is that both are questions about the arithmetic of the same number.

The crossing is as hard as the polygon

Lengthen a square sheet and the largest hexagon it holds turns, pressed against all four edges, until it overtakes the polygons held by the short side alone. Every one of those overtakings happens at a proportion with a closed form, √3⁄2 + ½√(8K⁄3√3 − 1), and the number that comes out is exactly as hard to mark as the polygon being overtaken is to build. The octagon's 1.1284 is a compass number of degree eight. The heptagon's 1.0696 has degree twenty-four and needs a fold. The hendecagon's 1.0853 has degree forty and needs two folds at once.

The largest triangle in a square

The biggest equilateral triangle a square sheet holds is tilted by exactly fifteen degrees and uses 46.4% of the paper. Both numbers come out of a quadratic — which means a compass reaches this optimum too, and folding's advantage is not needed here at all.

The sheet a polygon fits exactly

A regular polygon with 4k + 2 sides has flat edges along one axis and corners along the other, so there is one sheet, 1⁄cos(π⁄n) long, that it touches on all four edges at once. On that sheet it is beaten only by the multiples of four with fewer sides, and so it ranks exactly (n − 2)⁄4. That puts the fourteen-gon, which only a fold builds, third rather than fourth; the twenty-two-gon, which needs two folds at once, fifth rather than ninth; and the forty-six-gon, beyond two folds, eleventh. Seven sheets from a square to three to one had missed all three.

The square is in the answer

The largest regular polygon a square sheet holds is not increasing in the number of sides, and the octagon's win is the striking part: it uses 82.8% of the paper against the twelve-gon's 80.4% and the hexagon's 69.6%. Run the same census over rectangles and the octagon's advantage is gone — on every proportion tried the hexagon leads, and the order among the even-sided polygons reverses outright.

Turning is uphill all the way

A regular polygon of 4k + 2 sides on a sheet a little longer than a square cannot lie flat: it turns, pressed against all four edges, until the sheet is exactly its own. Its share on the way has a closed form, and the closed form's slope is proportional to h² − 1 for every such polygon — flat on the square, rising all the way to the own sheet, and falling after it. So the own sheet is exactly the peak, the gain from the square to it is the average of one and the sheet's length, and the rank the census measured for polygons of this kind, (n − 2)⁄4, is now a theorem.

Every generator · The axioms and construction field · The patterns a reader can fold