The book everyone skips

Book X

115 propositions sorting irrational lengths into named kinds. It seems impenetrable because it is written about things nobody could calculate with.

Some lengths a straightedge and compass produce are whole numbers or fractions. Most are not. Euclid gives thirteen names to the ones that are not — medial, binomial, apotome, and so on — each defined by whether certain sums and products come out rational. Every one of those conditions is a yes-or-no question the exact arithmetic can answer, so the whole classification becomes a single function.

LengthValueEuclid's name for itDegree
sqrt(sqrt(2))1.189207115medial4
5 + sqrt(24)9.898979486binomial2
(1 + sqrt(2))*sqrt(sqrt(2))2.870999946first bimedial4
sqrt(sqrt(2)) + ((1/4*sqrt(2))*sqrt(sqrt(2)))*sqrt(24)3.248974259second bimedial8
(sqrt(2))*sqrt(1/2 + 1/4*sqrt(2))1.306562965major4
(-1 + sqrt(5))*sqrt(1 + 1/2*sqrt(5))1.798907440the side of a rational plus a medial area4
(1 + (-1/6 + (1/12*sqrt(2))*sqrt(5))*sqrt(24))*sqrt(1/2*sqrt(2) + 1/2*sqrt(5))1.992013751the side of the sum of two medial areas8
3 - sqrt(2)1.585786438apotome2
(-1 + sqrt(2))*sqrt(sqrt(2))0.492585716first apotome of a medial line4
-sqrt(sqrt(2)) + ((1/4*sqrt(2))*sqrt(sqrt(2)))*sqrt(24)0.870560029second apotome of a medial line8
(2 - sqrt(2))*sqrt(1/2 + 1/4*sqrt(2))0.541196100minor4
(3 - sqrt(5))*sqrt(1 + 1/2*sqrt(5))1.111785941that which produces with a rational area a medial whole4
(1 + (1/6 + (-1/12*sqrt(2))*sqrt(5))*sqrt(24))*sqrt(1/2*sqrt(2) + 1/2*sqrt(5))0.709941667that which produces with a medial area a medial whole8

The six apotome species are the awkward ones: their two terms are the roots of a single quadratic, so neither can be written without the other and the sum shows no seam to split it at. Squaring puts the seam back — the square is the sum of the squares plus twice the rectangle, and those come apart — after which the recovered pair is checked by adding it up again.

Where the thirteen run out

The simplest example outside the thirteen is 1 + sqrt(2) + sqrt(3). It is constructible with a straightedge and compass, but Euclid has no name for it. His classification comes out of applying areas, which produces sums and differences of two terms; this one resolves into three, and falls outside. It is the simplest such number the search finds. The finding →

Try it

euclid classify "sqrt(3) + sqrt(5)"
euclid classify "(1+sqrt(5))/2"
euclid gap