Gauss and the regular 17-gon: one morning, a two-thousand-year-old problem

timeobserver137math-companiong17gaussconstructible-polygonfermat-primesgalois-theoryhistory-of-mathematicsdraft

On March 30, 1796, a young man still a month short of turning nineteen worked out something no one had managed in the two thousand years since Euclid - drawing the regular 17-gon with only a straightedge and compass. But a deeper question than “drawing it” is:

Why can it be drawn?

This article starts from zero: Fermat primes, the clock modulo 17, Gauss periods, the Galois group, four layers of quadratic extensions, up to the explicit closed form of cos⁡2π17\cos\frac{2\pi}{17} and Richmond’s twenty-step construction, and then on to Wantzel and Lindemann closing the door on the three great problems of ancient Greece.


Contents

§0 Prologue

The first entry of Gauss's mathematical diary (Tagebuch), March 30, 1796 - the record of the discovery that the regular 17-gon is constructible (Latin Principia quibus innititur sectio circuli…). Wikimedia Commons, public domain.

The first entry of Gauss’s mathematical diary (Tagebuch), March 30, 1796 - the record of the discovery that the regular 17-gon is constructible (Latin Principia quibus innititur sectio circuli…). Wikimedia Commons, public domain.

In the Mediterranean world more than two thousand years ago, ancient Greece was a civilizational community made up of many city-states, and our philosophy, astronomy and geometry of today slowly took shape there.

My interest in mathematics came from plane geometry in junior high school. And what shook me most in it was the story of the young Gauss constructing the regular 17-gon.

The young Gauss, pastel by J. C. A. Schwartz, 1803 (Gauss about 26). Wikimedia Commons, PD.

The young Gauss, pastel by J. C. A. Schwartz, 1803 (Gauss about 26). Wikimedia Commons, PD.

In this episode, let us look back on this story together. Rather than “how to draw it”, what this blog post wants more to make clear is the thing Gauss really worked out back then - why it can be drawn.


§1 — Why 17: Fermat primes and the constructibility criterion

The regular 17-gon is a milestone in the history of mathematics not because “17 is a nice-looking number”, but because it lands exactly on an extremely demanding criterion: for the regular polygons that can be constructed exactly with an unmarked straightedge and a compass, the number of sides is held fast by a rare kind of prime called a “Fermat prime”. This section makes two things clear starting from zero - what kind of prime is “constructible”, and why 1717 happens to be one of them. We first use a plain picture to explain “Fermat numbers”, then fill in the complete proof of a key lemma (Gauss wrote it into the Disquisitiones Arithmeticae, but various popular accounts often pass over in a single stroke ”2m+12^m+1 prime ⇒m\Rightarrow m is a power of 22”), and finally explain the ins and outs of the criterion “constructible   ⟺  \iff what the number of sides looks like”, and where each of the three great ancient Greek problems belongs with respect to it.

Additional notation for this section

NotationReading / meaning
FkF_kthe kk-th Fermat number, Fk=22k+1F_k=2^{2^{k}}+1 (the exponent itself is a power of 22)
Fermat primea Fermat number that is exactly a prime; at present only F0,…,F4F_0,\dots,F_4 are known, these 55
a∣ba\mid b”aa divides bb”, that is, bb is an integer multiple of aa
φ(n)\varphi(n)Euler’s function: the number of integers in 1∼n1\sim n coprime to nn; when n=pn=p is prime, φ(p)=p−1\varphi(p)=p-1
cos⁡2πp\cos\frac{2\pi}{p}the horizontal coordinate of a vertex of the regular pp-gon (taking the unit circle, with the first vertex due east)
[Q(x):Q][\mathbb{Q}(x):\mathbb{Q}]a measure of the “algebraic complexity” of the number xx: the degree of the lowest-degree equation with rational coefficients that it satisfies (see §7 for details)

1.1 Intuition first: what a Fermat number is, and why the exponent must be a “power of 22”

The 17 roots of z^{17}=1 spread evenly around the unit circle; the real part of \zeta_{17}=e^{2\pi i/17} (orange) is \cos\frac{2\pi}{17}. — Animation frame: Abel (Manim)

The 17 roots of z17=1z^{17}=1 spread evenly around the unit circle; the real part of ζ17=e2πi/17\zeta_{17}=e^{2\pi i/17} (orange) is cos⁡2π17\cos\frac{2\pi}{17}. — Animation frame: Abel (Manim)

First look at the plainest question: among numbers of the form 2m+12^m+1, which can possibly be prime?

Try a few at random: 21+1=32^1+1=3 (prime), 22+1=52^2+1=5 (prime), 23+1=9=3×32^3+1=9=3\times3 (not), 24+1=172^4+1=17 (prime), 25+1=33=3×112^5+1=33=3\times11 (not), 26+1=65=5×132^6+1=65=5\times13 (not), 28+1=2572^8+1=257 (prime).

A pattern is ready to emerge: only when the exponent mm is itself a power of 22 (m=1,2,4,8,…m=1,2,4,8,\dots) does 2m+12^m+1 have a chance of being prime; as soon as mm carries an odd factor (3,5,63,5,6 all carry one), it can necessarily be factored.

The picture of this observation is like this: if an odd factor is hidden in mm, then 2m+12^m+1 automatically “grows” a factor one size smaller, 2d+12^{d}+1, which splits it apart. On this basis Fermat in the seventeenth century conjectured: take m=2km=2^k (pinching off every odd factor completely), and the numbers obtained

Fk=22k+1F_k=2^{2^{k}}+1

are perhaps all prime. The first five are indeed beautiful:

F0=3,F1=5,F2=17,F3=257,F4=65537.F_0=3,\quad F_1=5,\quad F_2=17,\quad F_3=257,\quad F_4=65537.

17=F2=222+117=F_2=2^{2^{2}}+1 is exactly the third Fermat prime among them - this is the arithmetic identity card that later lets it be constructed with straightedge and compass.

1.2 Making the intuition rigorous: 2m+12^m+1 is prime ⇒m\Rightarrow m is a power of 22

The “pattern” of the previous subsection must be proved, or else it is only a coincidence. Here is a complete proof (Gauss, Disquisitiones Arithmeticae §365, builds the constructibility criterion on it). The entire fuel of the proof is the following elementary identity.

Lemma (factor of an odd power). Let ee be an odd number; then the polynomial x+1x+1 divides xe+1x^{e}+1:

xe+1=(x+1)(xe−1−xe−2+xe−3−⋯−x+1).x^{e}+1=(x+1)\big(x^{e-1}-x^{e-2}+x^{e-3}-\cdots-x+1\big).

(Expand the right-hand side, and adjacent terms cancel in pairs, leaving only xe+1x^{e}+1; because ee is odd, the last term is +1+1, and the signs match exactly. Equivalently, x=−1x=-1 is a root of xe+1x^{e}+1, so x+1x+1 is a factor of it.)

Proposition. If 2m+12^{m}+1 is prime, then mm is a power of 22.

Proof (by contradiction). Suppose mm is not a power of 22. Then mm contains at least one odd factor e>1e>1. Write it as

m=d⋅e,where e>1 is odd,  d=me  (1≤d<m).m=d\cdot e,\qquad \text{where } e>1 \text{ is odd},\ \ d=\frac{m}{e}\ \ (1\le d<m).

Substitute x=2dx=2^{d} in the lemma (note that ee is odd, so the lemma applies):

2d+1 ∣ (2d)e+1=2de+1=2m+1.2^{d}+1\ \Big|\ (2^{d})^{e}+1=2^{de}+1=2^{m}+1.

So 2d+12^{d}+1 is a factor of 2m+12^{m}+1. Now look at its size: because 1≤d<m1\le d<m,

1<2d+1<2m+1,1<2^{d}+1<2^{m}+1,

that is, 2d+12^{d}+1 is a proper factor lying strictly between 11 and 2m+12^{m}+1. This contradicts 2m+12^{m}+1 being prime (having only the trivial factors 11 and itself).

Therefore mm contains no odd factor >1>1, that is, mm is made up only of factors 22 - mm is a power of 22. (QED)

A reminder about direction (do not read it backwards): this proposition only says “prime ⇒\Rightarrow the exponent is a power of 22”; it

does not

guarantee “the exponent is a power of 22 ⇒\Rightarrow prime”. The reverse direction is where Fermat guessed wrong - see F5F_5 in the next subsection.

1.3 Fermat’s crash: F5F_5 is not prime (Euler 1732)

The Fermat primes F_0\!=\!3,\,F_1\!=\!5,\,F_2\!=\!17,\,F_3\!=\!257,\,F_4\!=\!65537; F_5 is struck out by Euler in 1732 with the factor 641. — Abel (Manim)

The Fermat primes F0 ⁣= ⁣3, F1 ⁣= ⁣5, F2 ⁣= ⁣17, F3 ⁣= ⁣257, F4 ⁣= ⁣65537F_0\!=\!3,\,F_1\!=\!5,\,F_2\!=\!17,\,F_3\!=\!257,\,F_4\!=\!65537; F5F_5 is struck out by Euler in 1732 with the factor 641. — Abel (Manim)

Fermat conjectured that “all FkF_k are prime”, but he only checked up to F4F_4. About a century later, Euler** in 1732** gave the first counterexample: the sixth Fermat number

F5=225+1=232+1=4294967297F_5=2^{2^{5}}+1=2^{32}+1=4294967297

is not prime. Euler’s key insight was: if F5F_5 has a prime factor, that prime factor must be of the form 64k+164k+1 (this constraint greatly narrows the search range), and on this basis he soon pinned down 641641. The verification needs only one division:

4294967297=641×6700417.4294967297=641\times 6700417.

(641641 is prime, and 67004176700417 is also prime, but the latter was only confirmed later. 641=64×10+1641=64\times10+1, exactly of the form 64k+164k+1.) This stroke brought the “Fermat primes” down from “an infinite family” to a rare list of “only 55 known at present”: F0,…,F4=3,5,17,257,65537F_0,\dots,F_4 = 3,5,17,257,65537. After F5F_5 nobody has ever found a new Fermat prime, and whether there is a sixth is unknown to this day.

It is exactly this rarity that determines that the “regular polygons with an odd prime number of sides” constructible with straightedge and compass can be counted on the fingers - and 1717 holds one of the places.

1.4 The constructibility criterion: the Gauss–Wantzel theorem

The Gauss–Wantzel criterion n=2^a p_1\cdots p_k (distinct Fermat primes); the 7/9/11/13/14-gons are out. — Abel (Manim)

The Gauss–Wantzel criterion n=2ap1⋯pkn=2^a p_1\cdots p_k (distinct Fermat primes); the 7/9/11/13/147/9/11/13/14-gons are out. — Abel (Manim)

F. J. Richelot (1808–1875), who constructed the regular 257-gon in 1832. Wikimedia Commons, public domain.

F. J. Richelot (1808–1875), who constructed the regular 257-gon in 1832. Wikimedia Commons, public domain.

Now lay out in full the general criterion for “which regular polygons are constructible”. Its “sufficiency” (how to construct) was given by Gauss in 1796 by taking roots of periods (§3–§6 of this series do exactly the case n=17n=17 from the beginning), and its “necessity” (if not satisfied, it really cannot be constructed) was completed by Wantzel** in 1837** (J. Math. Pures Appl. 2, 366–372). Together they are called:

The Gauss–Wantzel theorem.

The regular nn-gon can be constructed exactly with straightedge and compass if and only if

n=2a p1p2⋯pk,n=2^{a}\,p_{1}p_{2}\cdots p_{k},

where a≥0a\ge 0, and p1,…,pkp_{1},\dots,p_{k} are

mutually distinct

Fermat primes (kk may be 00).

To read this criterion, grasp three key points:

1.5 The arithmetic heart of necessity: the degree must be a power of 22

Why exactly Fermat primes in the criterion? This subsection gives the intuitive chain (for the complete proof see Wantzel’s degree criterion in §7); it translates “geometrically constructible” into “arithmetically, the exponent is a power of 22”, connecting exactly back to §1.2.

Step one - turn geometry into coordinates. Put the regular pp-gon into the unit circle with the first vertex pinned at (1,0)(1,0); then the adjacent vertex is (cos⁡2πp,sin⁡2πp)\big(\cos\frac{2\pi}{p},\sin\frac{2\pi}{p}\big). Constructing the regular pp-gon   ⟺  \iff constructing the real number cos⁡2πp\cos\frac{2\pi}{p} (with this horizontal coordinate, the vertical coordinate sin⁡\sin is obtained from the equation of the unit circle by taking one square root, and the remaining vertices are copied by equal arcs). So the problem falls entirely onto whether one real number can be constructed.

Step two - the “degree” of a constructible number must be a power of 22. Each straightedge-and-compass step (line meets line, line meets circle, circle meets circle) solves at most one quadratic equation in coordinates, that is, introduces at most one square root. Stringing the whole construction together, any constructible number xx lies at the top of a tower of extensions that is “quadratic at each layer”, and so its algebraic degree

[Q(x):Q]=2t(for some t≥0)[\mathbb{Q}(x):\mathbb{Q}]=2^{t}\quad(\text{for some } t\ge 0)

must be a power of 22 (this is the core of Wantzel 1837; §7 gives the rigorous argument by the tower multiplication formula).

Step three - compute the degree of cos⁡2πp\cos\frac{2\pi}{p}. For a prime pp, it can be proved (§2 of this series has proved that ζ17\zeta_{17}, over Q\mathbb{Q}, has degree =16=16, and for a general prime the same argument gives p−1p-1):

[Q(cos⁡2πp):Q]=p−12=φ(p)2.\big[\mathbb{Q}\big(\cos\tfrac{2\pi}{p}\big):\mathbb{Q}\big]=\frac{p-1}{2}=\frac{\varphi(p)}{2}.

Step four - put it together. If the regular pp-gon is constructible, then by steps two and three, p−12\dfrac{p-1}{2} must be a power of 22, so p−1p-1 is a power of 22, that is, of the form p=2m+1p=2^{m}+1. And by the proposition of §1.2, 2m+12^{m}+1 being prime forces mm to be a power of 22, so p=22k+1=Fkp=2^{2^{k}}+1=F_k is a Fermat prime. This explains why the criterion must involve Fermat primes - they are the only arithmetic outlet for the geometric constraint “the degree is a power of 22”.

Where the three great problems belong (please do not lump them together): Wantzel’s ruler of “the degree must be a power of 22”

only

directly closes off

doubling the cube

(requires constructing 23\sqrt[3]{2}, degree 33) and

trisecting an arbitrary angle

(e.g. cos⁡20∘\cos20^\circ satisfies an irreducible cubic equation, degree 33) - these two problems; both are out because “degree 33” appears. But

squaring the circle

does not rest on Wantzel: it requires constructing π\sqrt{\pi}, and the root of π\pi‘s non-constructibility is that

Lindemann

** in 1882**

(

Math. Annalen 20, 213–225

) proved that

π\pi is transcendental

(not even an algebraic number, let alone constructible). So the full stop on the third problem was put down by Lindemann, not Wantzel. §7 will prove these three separately.

1.6 Worked examples: quickly deciding a few regular polygons with the criterion

Example 1.1 (17=F217=F_2, constructible).

17=24+117=2^{4}+1, the exponent 4=224=2^{2} is a power of 22, and 1717 is prime, so 1717 is the Fermat prime F2F_2. 17−12=8=23\dfrac{17-1}{2}=8=2^{3} is a power of 22 → the regular 17-gon is

constructible

.

Example 1.2 (77, not constructible).

7−12=3\dfrac{7-1}{2}=3 is not a power of 22; and 7=2m+17=2^{m}+1 has no integer solution (7−1=67-1=6 is not a power of 22) → 77 is not a Fermat prime → the regular heptagon is

not constructible

. Likewise for the regular 11,1311,13-gons: (11−1)/2=5(11-1)/2=5 and (13−1)/2=6(13-1)/2=6 are neither powers of 22, so neither is constructible.

Example 1.3 (9=329=3^{2}, not constructible).

The odd prime factors of 99 are the repeated Fermat prime 3×33\times3, violating “mutually distinct” → the regular nonagon is

not constructible

(equivalent to 60∘60^\circ not being trisectable: the regular nonagon requires constructing 40∘=2×20∘40^\circ=2\times20^\circ, and 20∘=60∘/320^\circ=60^\circ/3).

Example 1.4 (15=3×515=3\times5, constructible).

3=F03=F_0 and 5=F15=F_1 are two

different

Fermat primes, and the product satisfies the criterion → the regular 15-gon is

constructible

(already known to Euclid). Multiplying further by powers of 22: the regular 30,60,12030,60,120-gons are all constructible too.

# §1 verification — pure stdlib, runs clean.
def is_power_of_two(n: int) -> bool:
    return n >= 1 and (n & (n - 1)) == 0

# 1) Fermat numbers F_k = 2**(2**k) + 1, and 17 = F_2.
F = [2 ** (2 ** k) + 1 for k in range(6)]
assert F[:5] == [3, 5, 17, 257, 65537]
assert F[2] == 17, "17 = F_2"

# 2) F_5 is composite (Euler 1732): a single trial division by 641 catches it.
assert F[5] == 4294967297
assert F[5] % 641 == 0
assert F[5] == 641 * 6700417
print(f"F_5 = {F[5]} = 641 x 6700417   (641 | F_5 in one division)")

# 3) Lemma engine: if 2**m + 1 is prime, then m is a power of 2.
#    Contrapositive: an odd factor e>1 of m (m=d*e) yields the proper
#    divisor 2**d + 1 of 2**m + 1, via  (x+1) | (x**e + 1)  with x = 2**d.
def proper_divisor_from_odd_factor(m: int):
    e = 3
    while e <= m:
        if m % e == 0:                      # e is an odd factor > 1
            d = m // e
            assert (2 ** m + 1) % (2 ** d + 1) == 0   # 2**d+1 divides 2**m+1
            assert 1 < 2 ** d + 1 < 2 ** m + 1        # and it is proper
            return 2 ** d + 1
        e += 2
    return None

for m in range(1, 40):
    val = 2 ** m + 1
    is_prime = val > 1 and all(val % q for q in range(2, int(val ** 0.5) + 1))
    witness = proper_divisor_from_odd_factor(m)
    if is_prime:
        assert witness is None and is_power_of_two(m)
print("Checked m=1..39:  2**m + 1 prime  =>  m is a power of 2")

# 4) Constructibility test via degree (p-1)/2 being a power of 2.
for p in [3, 5, 17, 257, 65537, 7, 11, 13]:
    deg = (p - 1) // 2          # = [Q(cos 2pi/p) : Q]
    verdict = "constructible" if is_power_of_two(deg) else "NOT constructible"
    print(f"  p={p:>5}:  (p-1)/2 = {deg:>5}  power of 2? {is_power_of_two(deg)!s:>5}  -> {verdict}")
print("OK")

The run output confirms: F5=641×6700417F_5=641\times 6700417 is broken by a single division; within m=1∼39m=1\sim39, whenever 2m+12^{m}+1 is prime its exponent is necessarily a power of 22; p=3,5,17,257,65537p=3,5,17,257,65537 are constructible, and p=7,11,13p=7,11,13 are not.

1.7 Modern significance

This criterion welds the most ancient of tools, “a straightedge and a compass”, to the language of fields and degrees of extensions that only matured in the nineteenth century, and its echoes go far beyond geometry itself:

In the year he was not yet nineteen, Gauss used the regular 17-gon to show: sometimes the fastest path to answering “can it be done” is not to do it more cleverly, but to move the problem into an algebraic world where all the possibilities can be seen clearly - and 17=F217=F_2 is exactly the first pass that this world handed to geometry.

— End of §1.


§2 — Multiplication on a clock: (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} and its generator

To understand how Gauss “took apart” the regular 17-gon, we first have to get to know a small algebraic world: multiplication modulo 17. This section starts from zero - it does not assume you have studied group theory. We will first use the picture of a clock to make the objects clear, then formalize it, and finally prove one key fact: by repeatedly multiplying with just one number, g=3g=3, you can walk through all the nonzero remainders modulo 17. This property of “walking through everything” is the entire foundation for the layer-by-layer root-taking of the next three sections.

Additional notation for this section

NotationReading / meaning
Z/17Z\mathbb{Z}/17\mathbb{Z}the world of remainders modulo 17, {0,1,2,…,16}\{0,1,2,\dots,16\}, where addition, subtraction and multiplication all “wrap around” (like a 17-hour clock)
(Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*}the set formed by the nonzero remainders above, {1,2,…,16}\{1,2,\dots,16\}, under multiplication (16 in all)
ord⁡(a)\operatorname{ord}(a)the order of aa: the number of times aa must be multiplied by itself to return to 11 for the first time
gggenerator / primitive root: an element with ord⁡(g)=16\operatorname{ord}(g)=16 (multiplying by itself it can traverse all 16)
ζ17\zeta_{17}=e2πi/17=e^{2\pi i/17}, the primitive 1717-th root of unity on the unit circle of the complex plane

2.1 The world modulo 17: a 17-hour clock

An ordinary clock has 12 hours, and after 12 it wraps around to 1. Change the number of hours to 17, and you get Z/17Z\mathbb{Z}/17\mathbb{Z}: all integers are classified by “their remainder on division by 17”, leaving only the 17 representatives 0,1,2,…,160,1,2,\dots,16. After two numbers are added or multiplied, anything over 16 has a multiple of 17 subtracted to wrap it back. For example

5×7=35=2×17+1≡1(mod17),3×6=18≡1(mod17).5\times 7 = 35 = 2\times 17 + 1 \equiv 1 \pmod{17},\qquad 3\times 6 = 18 \equiv 1 \pmod{17}.

The notation "a≡b(mod17)a\equiv b \pmod{17}" is read ”aa is congruent to bb modulo 17”, meaning that they have the same remainder on division by 17 (they differ by a multiple of 17).

Why pick 17? Because 17 is prime - it has no factors other than 1 and itself. This guarantees something good: among 1,2,…,161,2,\dots,16, any number can be “divided by” (each has a multiplicative inverse). For example, 5×7≡15\times 7\equiv 1 above shows that 77 is the reciprocal of 55. So these 16 nonzero remainders form a closed little world of their own under multiplication, written (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*}. (If the modulus is not prime, for example modulo 6, then 2×3≡02\times 3\equiv 0, multiplication “falls out” of the nonzero set, and this good property is gone.)

2.2 “Order”: how long self-multiplication takes to return to 1

In this world of multiplication, pick a number and multiply it by itself repeatedly, and sooner or later you return to 11 (because there are only finitely many values, it must cycle; and 11 is certainly in the cycle). The number of times needed to return to 11 for the first time is called the order ord⁡(a)\operatorname{ord}(a) of the number.

Try it with a=2a=2:

2, 4, 8, 16, 32⏟≡15, 30⏟≡13, 26⏟≡9, 18⏟≡1.2,\ 4,\ 8,\ 16,\ \underbrace{32}_{\equiv 15},\ \underbrace{30}_{\equiv 13},\ \underbrace{26}_{\equiv 9},\ \underbrace{18}_{\equiv 1}.

It took 8 steps to return to 11, so ord⁡(2)=8\operatorname{ord}(2)=8. Note that the orbit of 22, {2,4,8,16,15,13,9,1}\{2,4,8,16,15,13,9,1\}, has only 8 numbers - it cannot walk through all 16.

2.3 The generator g=3g=3: walking step by step over the whole clock face

The generator g=3: from 1, repeatedly \times 3 \bmod 17 walks in turn through all 16 nonzero remainders (1\to3\to9\to10\to13\to\dots\to1) and then returns to the start - the literal image of "generating". — Animation: Abel (Manim)

The generator g=3g=3: from 1, repeatedly ×3 mod 17\times 3 \bmod 17 walks in turn through all 16 nonzero remainders (1→3→9→10→13→⋯→11\to3\to9\to10\to13\to\dots\to1) and then returns to the start - the literal image of “generating”. — Animation: Abel (Manim)

Switch to a=3a=3, and repeatedly ×3 mod 17\times 3 \bmod 17:

3, 9, 27⏟≡10, 30⏟≡13, 39⏟≡5, 15⏟, 45⏟≡11, 33⏟≡16, …3,\ 9,\ \underbrace{27}_{\equiv 10},\ \underbrace{30}_{\equiv 13},\ \underbrace{39}_{\equiv 5},\ \underbrace{15}_{},\ \underbrace{45}_{\equiv 11},\ \underbrace{33}_{\equiv 16},\ \dots

Keep walking, and the orbit is

30,31,…,315≡1,3,9,10,13,5,15,11,16,14,8,7,4,12,2,6(mod17),3^0,3^1,\dots,3^{15} \equiv 1,3,9,10,13,5,15,11,16,14,8,7,4,12,2,6 \pmod{17},

the 16 numbers traverse 11 to 1616 exactly, with no repeats and no omissions, and only at the 16th step does it return to 11. That is, ord⁡(3)=16\operatorname{ord}(3)=16. A number like this, whose “self-multiplication can walk through the whole”, is called a generator (or primitive root): it is like the second hand of a clock; each jump of one notch (one ×3\times 3), and 1616 jumps go exactly once around the clock face, stepping on every hour.

Compare the 22 of 2.2 (which steps on only 8 points before returning early to the start), and you can feel intuitively what is special about a “generator”: not every number can generate; only one that can generate deserves to be called a primitive root. g=3g=3 is the smallest primitive root modulo 17, and we use it throughout what follows.

This “renumbering the remainders by powers of gg” is the

core trick

of the whole article. We do not look at these remainders in the natural order 1,2,3,…1,2,3,\dots, but line them up by which power of gg they are. We will see later: once this order of lining up is fixed, the symmetry of the regular 17-gon becomes a simple “shift of index”.

2.4 Making it rigorous: (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} is a cyclic group of order 16, ord⁡(3)=16\operatorname{ord}(3)=16

Make the intuition above rigorous. “Order” has a basic property (the special case of Lagrange’s theorem in the cyclic situation): ord⁡(a)\operatorname{ord}(a) must divide the number of elements of the group, 1616. So ord⁡(3)\operatorname{ord}(3) can only be one of the divisors of 1616: 1,2,4,8,161,2,4,8,16.

Proof. To prove ord⁡(3)=16\operatorname{ord}(3)=16, it suffices to rule out all the proper divisors 1,2,4,81,2,4,8. Note that they all divide 88, so ”ord⁡(3)\operatorname{ord}(3) is some proper divisor” would imply 38≡13^{8}\equiv 1. So one only needs to check one condition, 38≢13^{8}\not\equiv 1, to rule out all the proper divisors at one stroke. Square repeatedly:

32=9,34=92=81≡13,38≡132=169≡16≡−1(mod17).3^2=9,\quad 3^4=9^2=81\equiv 13,\quad 3^8\equiv 13^2=169\equiv 16\equiv -1 \pmod{17}.

We get 38≡−1≠13^{8}\equiv -1\neq 1, so ord⁡(3)∤8\operatorname{ord}(3)\nmid 8; combined with ord⁡(3)∣16\operatorname{ord}(3)\mid 16, the only possibility is ord⁡(3)=16\operatorname{ord}(3)=16. (QED)

Since there exists an element of order 1616, the whole of (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} is exhausted by its powers, that is, (Z/17Z)∗=⟨3⟩(\mathbb{Z}/17\mathbb{Z})^{*}=\langle 3\rangle is a cyclic group, (Z/17Z)∗≅Z/16Z(\mathbb{Z}/17\mathbb{Z})^{*}\cong \mathbb{Z}/16\mathbb{Z}.

2.5 The key foundation: the degree of ζ17\zeta_{17} over Q\mathbb{Q} is exactly 16

All the later claims that “the symmetry group has 16 elements” and “each layer of extension has degree 2” hang on a fact that must be proved (not assumed): the lowest-degree equation with rational coefficients satisfied by ζ17=e2πi/17\zeta_{17}=e^{2\pi i/17} has degree exactly 16.

ζ17\zeta_{17} is a root of x17−1=0x^{17}-1=0. Removing the factor x−1x-1, it lies on the cyclotomic polynomial

Φ17(x)=x17−1x−1=x16+x15+⋯+x+1\Phi_{17}(x)=\frac{x^{17}-1}{x-1}=x^{16}+x^{15}+\cdots+x+1

We prove that Φ17\Phi_{17} is irreducible over Q\mathbb{Q} (it cannot be further decomposed into a product of polynomials of lower degree with rational coefficients). The trick is to substitute x↦x+1x\mapsto x+1 and then use the Eisenstein criterion:

Φ17(x+1)=(x+1)17−1x=x16+(171)x15+(172)x14+⋯+(1716).\Phi_{17}(x+1)=\frac{(x+1)^{17}-1}{x}=x^{16}+\binom{17}{1}x^{15}+\binom{17}{2}x^{14}+\cdots+\binom{17}{16}.

Because 1717 is prime, all the middle binomial coefficients (17k)\binom{17}{k} (1≤k≤161\le k\le 16) are divisible by 1717; the constant term is (1716)=17\binom{17}{16}=17, divisible by 1717 but not by 172=28917^2=289; the leading coefficient 11 is not divisible by 1717. This satisfies the Eisenstein criterion exactly (with the prime p=17p=17), so Φ17(x+1)\Phi_{17}(x+1) is irreducible, and hence Φ17(x)\Phi_{17}(x) is irreducible. Therefore

[Q(ζ17):Q]=deg⁡Φ17=16.[\mathbb{Q}(\zeta_{17}):\mathbb{Q}]=\deg\Phi_{17}=16.

This step is the load-bearing wall of the whole piece: precisely because the degree is 1616, the “symmetry group” of ζ17\zeta_{17} (the Galois group of §4) really has 1616 elements, and equals the whole of (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} rather than some subgroup of it; otherwise all of the later ”∣G∣=16=24|G|=16=2^4, four layers of quadratic extensions” would come to nothing. (Without this step, ζ17\zeta_{17} could in principle satisfy an equation of lower degree, and the whole tower would collapse.)

2.6 Worked examples: generator vs non-generator

Example 2.1 (g=3g=3 is a generator).

The length of the orbit of powers of 33 =ord⁡(3)=16=\operatorname{ord}(3)=16, traversing the whole of {1,…,16}\{1,\dots,16\} - see 2.3.

Example 2.2 (g=2g=2 is not a generator).

The orbit of powers of 22, {2,4,8,16,15,13,9,1}\{2,4,8,16,15,13,9,1\}, has only ord⁡(2)=8\operatorname{ord}(2)=8 elements, missing {3,5,6,7,10,11,12,14}\{3,5,6,7,10,11,12,14\}. Checking the order: 28=256=15×17+1≡12^8=256=15\times 17+1\equiv 1, and 24=16≡−1≠12^4=16\equiv -1\neq 1, so ord⁡(2)=8≠16\operatorname{ord}(2)=8\neq 16.

**It walks only half the circle.

Example 2.3 (smaller orders).**

ord⁡(16)=2\operatorname{ord}(16)=2 (since 16≡−116\equiv -1, (−1)2=1(-1)^2=1); ord⁡(4)=4\operatorname{ord}(4)=4 (42=16≡−14^2=16\equiv -1, 44≡14^4\equiv 1). The smaller the order, the shorter the orbit, and the further from “generating”.

# Verify orders + that 3 is a primitive root mod 17; spot-check Phi_17 degree.
def order(a: int, n: int = 17) -> int:
    x, k = a % n, 1
    while x != 1:
        x = (x * a) % n
        k += 1
    return k

assert order(3) == 16,  "3 should be a primitive root (order 16)"
assert order(2) == 8,   "2 reaches only half"
assert order(4) == 4 and order(16) == 2
# 3 visits every nonzero residue exactly once:
assert {pow(3, k, 17) for k in range(16)} == set(range(1, 17))
print("ord(3)=16 primitive root; cycle =", [pow(3, k, 17) for k in range(16)])

# Phi_17 irreducible (proved via Eisenstein on Phi_17(x+1)) => [Q(zeta_17):Q] = 16.
# Cross-check the degree: deg Phi_17 = phi(17) = 16 (since 17 is prime, phi(17)=16),
# and confirm Eisenstein's hypotheses on Phi_17(x+1) hold at p=17.
from math import comb
# binomial coefficients C(17,k), k=1..16, are the non-leading coeffs of Phi_17(x+1):
mids = [comb(17, k) for k in range(1, 17)]
assert all(c % 17 == 0 for c in mids),         "all middle coeffs divisible by 17"
assert mids[-1] % (17**2) != 0,                 "constant term C(17,16)=17 not div by 17^2"
print("Eisenstein at p=17 holds on Phi_17(x+1)  =>  [Q(zeta_17):Q] = phi(17) = 16  [OK]")

2.7 Modern significance

“Repeated self-multiplication walking through the whole world of remainders” - the seemingly classical concept of the generator/primitive root is the heart of modern public-key cryptography:

The cyclic structure of (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} that Gauss studied in 1796 for a construction, and the mathematics that protects internet communications two centuries later, are the same object.

— End of §2.


§3 — Gauss periods: splitting the sixteen roots into two halves, forcing out the first 17\sqrt{17}

§2 arranged the world modulo 17 into a 16-notch “second-hand track” - the powers of the generator g=3g=3 step in turn on all 16 nonzero remainders. Gauss’s stroke of genius was: do not try to solve head-on the degree-16 equation that ζ17\zeta_{17} satisfies, but group the 16 roots along this track and sum each group, so that the groups satisfy a simple quadratic equation among themselves. This section makes the “first cut”: split the 16 roots into two groups of 8 each, and prove that the sums of these two groups are exactly the two roots of x2+x−4=0x^2+x-4=0 - and so 17\sqrt{17} appears for the first time.

Additional notation for this section

NotationMeaning
quadratic residue QR\mathrm{QR}a remainder modulo 17 that “is the square of some number”; there are 8
quadratic non-residue NQR\mathrm{NQR}a nonzero remainder modulo 17 that is not a square; there are 8
η0,η1\eta_0,\eta_1the two first-level Gauss periods: sums of the roots of unity corresponding to QR / NQR
N(c)N(c)among the 64 product terms of η0η1\eta_0\eta_1, the number of terms with exponent ≡c\equiv c

3.1 Intuition: why “summing in groups” is a good idea

Facing ζ17\zeta_{17} directly is hard - it satisfies a degree-16 equation. But the 16 roots, as a whole, have a great deal of symmetry (the cyclic structure of §2). Gauss’s idea is like cutting a cake: first cut the 16 roots into 2 pieces (each piece the sum of 8 roots, written η0,η1\eta_0,\eta_1); these two pieces satisfy a quadratic equation, which is easy to solve; then cut each piece into 2 smaller pieces (the θ\theta of §4), again a quadratic equation; cut 4 times like this, and each cut needs only the solution of a quadratic equation, the taking of one square root. 4 square roots drag ζ17\zeta_{17} down from the sky to the ground that straightedge and compass can reach. This section is the first cut.

3.2 What a quadratic residue is (define first, then use)

A nonzero remainder aa is called a quadratic residue (QR) if it “is a square” modulo 17 - that is, there exists some bb with b2≡a(mod17)b^2\equiv a\pmod{17}. Otherwise it is called a quadratic non-residue (NQR).

Compute 12,22,…,821^2,2^2,\dots,8^2 modulo 17 (beyond that they repeat symmetrically):

1, 4, 9, 16⏟, 25⏟≡8, 36⏟≡2, 49⏟≡15, 64⏟≡13.1,\ 4,\ 9,\ \underbrace{16}_{},\ \underbrace{25}_{\equiv 8},\ \underbrace{36}_{\equiv 2},\ \underbrace{49}_{\equiv 15},\ \underbrace{64}_{\equiv 13}.

Removing duplicates gives 8 quadratic residues:

QR={1,2,4,8,9,13,15,16},NQR={3,5,6,7,10,11,12,14}.\mathrm{QR}=\{1,2,4,8,9,13,15,16\},\qquad \mathrm{NQR}=\{3,5,6,7,10,11,12,14\}.

The connection with the generator of §2 (key): the quadratic residues are exactly the even powers of g=3g=3. The reason is short: an even power g2k=(gk)2g^{2k}=(g^{k})^2 is of course a square, so it is a QR; conversely, the “kernel” of the squaring map x↦x2x\mapsto x^2 has only the two elements {±1}\{\pm 1\} (x2≡1x^2\equiv 1 only for x≡±1x\equiv\pm1, since 17 is prime), so the squaring map is 2-to-1 - 1616 elements map onto 88 images, and these 8 images are all the QRs, exactly the 8 even powers. So

even powers  =  quadratic residues QR,odd powers  =  non-residues NQR.\text{even powers} \;=\; \text{quadratic residues QR},\qquad \text{odd powers} \;=\; \text{non-residues NQR}.

The figure below draws this: the 16 remainders are placed on the unit circle, and the QRs (ochre) and NQRs (blue) are split into two groups by the parity of the power of g=3g=3 - these are exactly the members of η0,η1\eta_0,\eta_1, about to be defined.

QR / non-residues grouped by the parity of the power of g=3

3.3 The two first-level Gauss periods η0,η1\eta_0,\eta_1

The 16 roots split into two first-level Gauss periods: 8 \to\eta_0 (orange), 8 \to\eta_1 (blue). — Animation: Abel (Manim)

The 16 roots split into two first-level Gauss periods: 8 →η0\to\eta_0 (orange), 8 →η1\to\eta_1 (blue). — Animation: Abel (Manim)

Summing the roots of unity corresponding to the QRs, and those corresponding to the NQRs, gives two numbers:

η0=∑a∈QRζ17 a,η1=∑b∈NQRζ17 b.\eta_0=\sum_{a\in\mathrm{QR}}\zeta_{17}^{\,a},\qquad \eta_1=\sum_{b\in\mathrm{NQR}}\zeta_{17}^{\,b}.

Each is a sum of 8 roots of unity. Below we prove that they satisfy a beautiful quadratic equation.

3.4 Proposition one: η0+η1=−1\eta_0+\eta_1=-1

The two groups of exponents together are exactly {1,2,…,16}\{1,2,\dots,16\}, so

η0+η1=∑k=116ζ17 k.\eta_0+\eta_1=\sum_{k=1}^{16}\zeta_{17}^{\,k}.

And the sum of all 17 roots of unity is zero (1+ζ17+⋯+ζ1716=01+\zeta_{17}+\cdots+\zeta_{17}^{16}=0, because they are the roots of x17−1=0x^{17}-1=0, whose x16x^{16} coefficient is 0). Removing ζ170=1\zeta_{17}^0=1 gives ∑k=116ζ17k=−1\sum_{k=1}^{16}\zeta_{17}^{k}=-1. Hence

η0+η1=−1.(1)\boxed{\eta_0+\eta_1=-1.} \tag{1}

3.5 Proposition two: η0⋅η1=−4\eta_0\cdot\eta_1=-4 (with a complete account of the 8×8=648\times 8=64 expansion)

The expansion of \eta_0\cdot\eta_1 into 8\times8=64 terms: each nonzero remainder appears exactly 4 times, and the sum =-4. — Animation: Abel (Manim)

The expansion of η0⋅η1\eta_0\cdot\eta_1 into 8×8=648\times8=64 terms: each nonzero remainder appears exactly 4 times, and the sum =−4=-4. — Animation: Abel (Manim)

This is the only step in this section that takes some effort. By definition, multiplying two sums of 8 terms gives 8×8=648\times 8=64 product terms, each of the form ζ17a⋅ζ17b=ζ17a+b\zeta_{17}^{a}\cdot\zeta_{17}^{b}=\zeta_{17}^{a+b}:

η0 η1=(∑a∈QRζ17a)(∑b∈NQRζ17b)=∑a∈QR∑b∈NQRζ17 a+b.\eta_0\,\eta_1=\Big(\sum_{a\in\mathrm{QR}}\zeta_{17}^{a}\Big)\Big(\sum_{b\in\mathrm{NQR}}\zeta_{17}^{b}\Big)=\sum_{a\in\mathrm{QR}}\sum_{b\in\mathrm{NQR}}\zeta_{17}^{\,a+b}.

Because ζ1717=1\zeta_{17}^{17}=1, for each term only the exponent c:=(a+b) mod 17c:=(a+b)\bmod 17 matters. Classify the 64 terms by cc, and write

N(c)=#{(a,b)∈QR×NQR:a+b≡c(mod17)},∑c=016N(c)=64.N(c)=\#\{(a,b)\in\mathrm{QR}\times\mathrm{NQR}:a+b\equiv c\pmod{17}\},\qquad \sum_{c=0}^{16}N(c)=64.

We prove two things: (i) N(0)=0N(0)=0; (ii) for each c∈{1,…,16}c\in\{1,\dots,16\}, N(c)=4N(c)=4.

(i) c=0c=0 is impossible. a+b≡0a+b\equiv 0 means b≡−ab\equiv -a. Since 17≡1(mod4)17\equiv 1\pmod 4, −1-1 is a quadratic residue (−1≡16=42-1\equiv 16=4^2). A residue times a residue is still a residue, so −a=(−1)⋅a-a=(-1)\cdot a, when a∈QRa\in\mathrm{QR}, is still in QR\mathrm{QR}, and never falls into NQR\mathrm{NQR}. So no legitimate (a,b)(a,b) gives c=0c=0, that is, N(0)=0N(0)=0.

(ii) Each nonzero cc exactly 4 times. Here we use a clean symmetry argument (not depending on η0≠η1\eta_0\neq\eta_1, to avoid circularity):

So each nonzero remainder appears exactly 4 times:

η0η1=∑c=116N(c) ζ17c=4∑c=116ζ17c=4⋅(−1)=−4.\eta_0\eta_1=\sum_{c=1}^{16}N(c)\,\zeta_{17}^{c}=4\sum_{c=1}^{16}\zeta_{17}^{c}=4\cdot(-1)=-4. η0⋅η1=−4.(2)\boxed{\eta_0\cdot\eta_1=-4.} \tag{2}

Why stress “not depending on η0≠η1\eta_0\neq\eta_1”: a common way of writing it uses the Galois automorphism σ\sigma to derive (NR−NN)(η0−η1)=0(N_{\mathrm R}-N_{\mathrm N})(\eta_0-\eta_1)=0, and then divides by η0−η1\eta_0-\eta_1. But that requires knowing first that η0≠η1\eta_0\neq\eta_1, and the cleanest reason for "η0≠η1\eta_0\neq\eta_1" comes precisely from 17≠0\sqrt{17}\neq 0, which is about to be computed below - that would be

circular reasoning

. The NQR-swap argument above gets around this pit: it gives NR=NNN_{\mathrm R}=N_{\mathrm N} directly, without inverting cause and effect.

3.6 The first radical 17\sqrt{17}

x^2+x-4=0 \Rightarrow \eta_{0,1}=\frac{-1\pm\sqrt{17}}{2} - \sqrt{17} appears for the first time. — Abel (Manim)

x2+x−4=0⇒η0,1=−1±172x^2+x-4=0 \Rightarrow \eta_{0,1}=\frac{-1\pm\sqrt{17}}{2} - 17\sqrt{17} appears for the first time. — Abel (Manim)

By (1), (2) and Vieta’s theorem (the relation between roots and coefficients), η0,η1\eta_0,\eta_1 are the two roots of

x2−(η0+η1)x+η0η1=x2+x−4=0x^2-(\eta_0+\eta_1)x+\eta_0\eta_1=x^2+x-4=0

The discriminant is 12−4(1)(−4)=1+16=171^2-4(1)(-4)=1+16=17, so

η0,1=−1±172.\boxed{\eta_{0,1}=\frac{-1\pm\sqrt{17}}{2}.}

17\sqrt{17} appears for the first time. η0,η1\eta_0,\eta_1 are both real (complex conjugation sends ζ17a\zeta_{17}^a to ζ17−a\zeta_{17}^{-a}, and −QR=QR-\mathrm{QR}=\mathrm{QR}, −NQR=NQR-\mathrm{NQR}=\mathrm{NQR}, so the two sums are unchanged by conjugation). Take η0=−1+172≈1.5616\eta_0=\frac{-1+\sqrt{17}}{2}\approx 1.5616 (the larger), η1=−1−172≈−2.5616\eta_1=\frac{-1-\sqrt{17}}{2}\approx -2.5616. It generates the first layer of the tower of fields, K1=Q(17)K_1=\mathbb{Q}(\sqrt{17}), [K1:Q]=2[K_1:\mathbb{Q}]=2 - it can be constructed with a single square root, which is exactly what straightedge and compass can do.

3.7 Worked examples

Example 3.1 (checking the sum and product).

Numerically η0+η1≈1.5616+(−2.5616)=−1\eta_0+\eta_1\approx 1.5616+(-2.5616)=-1 ✓; η0η1≈1.5616×(−2.5616)=−4.000\eta_0\eta_1\approx 1.5616\times(-2.5616)=-4.000 ✓.

Example 3.2 (spot check of N(c)N(c)).

Take c=1c=1: count the pairs in QR×NQR\mathrm{QR}\times\mathrm{NQR} with a+b≡1a+b\equiv 1 (requiring a∈QR,b∈NQRa\in\mathrm{QR},b\in\mathrm{NQR}): among the candidates, (2,16)(2,16) and (9,9)(9,9) are both out (16,9∉NQR16,9\notin\mathrm{NQR});

the exactly 44 pairs that are really legitimate are (4,14),(8,10),(13,5),(15,3)(4,14),(8,10),(13,5),(15,3)

(see the program enumeration below). Every nonzero cc gives 4, and c=0c=0 gives 0.

# Verify (1),(2) and the count N(c) for eta_0 * eta_1.
QR  = {1, 2, 4, 8, 9, 13, 15, 16}     # = even powers of g=3 = squares mod 17
NQR = set(range(1, 17)) - QR          # = {3,5,6,7,10,11,12,14}
assert QR == {pow(b, 2, 17) for b in range(1, 17)}, "QR = squares mod 17"

from collections import Counter
N = Counter((a + b) % 17 for a in QR for b in NQR)
assert N[0] == 0,                       "c=0 never occurs (-1 is a QR mod 17)"
assert all(N[c] == 4 for c in range(1, 17)), "each nonzero residue exactly 4 times"
assert sum(N.values()) == 64

import cmath, math
z = cmath.exp(2j * math.pi / 17)
eta0 = sum(z**a for a in QR).real
eta1 = sum(z**b for b in NQR).real
assert abs(eta0 + eta1 - (-1)) < 1e-9          # (1)
assert abs(eta0 * eta1 - (-4)) < 1e-9          # (2)
assert abs(eta0 - (-1 + math.sqrt(17)) / 2) < 1e-9
print(f"eta0={eta0:.4f}, eta1={eta1:.4f}; sum=-1, prod=-4; sqrt(17) born  [OK]")

3.8 Modern significance

Gauss periods are not a one-off trick. Generalizing “grouping roots of unity by cosets of a subgroup and summing” gives the Gauss sums and period polynomials of modern number theory, which are:

A “summing in groups” done in order to draw a 17-gon grew into a common language of twentieth-century algebraic number theory.

— End of §3.


§4 — The group of symmetries: the Galois group, and the second and third cuts

§3 made the “first cut” - splitting the 16 roots into the two halves η0,η1\eta_0,\eta_1, forcing out 17\sqrt{17}. But that cut relied on something not yet explained: why does “multiplying the exponent by some power of gg” map quadratic residues neatly to quadratic residues, and non-residues to non-residues? This kind of operation, “swapping roots without making a mess”, is exactly the protagonist of this section - the Galois group. It is the invisible skeleton behind Gauss’s whole method of cutting. This section starts from zero (it does not assume you have heard words like “group theory” or “Galois”): first explain in plain words what “symmetry” actually means, then formalize it as a group, then use it to make the second cut cleanly and neatly (η→θ\eta\to\theta, forcing out 34−217\sqrt{34-2\sqrt{17}}), and make clear why each layer of the whole “tower of four quadratic extensions” has degree exactly 2.

Additional notation for this section

NotationReading / meaning
σk\sigma_kthe “root-swapping map” that replaces ζ17\zeta_{17} by ζ17 k\zeta_{17}^{\,k}, σk:ζ17↦ζ17 k\sigma_k:\zeta_{17}\mapsto\zeta_{17}^{\,k}
Gal(Q(ζ17)/Q)\mathrm{Gal}(\mathbb{Q}(\zeta_{17})/\mathbb{Q})the Galois group: all root-swapping maps that leave the rational numbers fixed, forming a group under composition
σ\sigmain this section we fix σ:=σ3\sigma:=\sigma_3 (using the primitive root g=3g=3 of §2); it is the generator of the whole group
⟨σd⟩\langle\sigma^d\ranglethe subgroup generated by repeatedly composing σd\sigma^d
θ0,θ1\theta_0,\theta_1the two second-level Gauss periods: the 4-term sums obtained by cutting η0\eta_0 into two halves again
K0⊂⋯⊂K4K_0\subset\cdots\subset K_4the tower of fields: Q=K0⊂K1⊂K2⊂K3⊂K4=Q(ζ17)\mathbb{Q}=K_0\subset K_1\subset K_2\subset K_3\subset K_4=\mathbb{Q}(\zeta_{17})

4.1 Intuition: what “symmetry of the roots” means

First set aside all terminology. ζ17=e2πi/17\zeta_{17}=e^{2\pi i/17} is a root of the degree-16 equation Φ17(x)=x16+⋯+x+1=0\Phi_{17}(x)=x^{16}+\cdots+x+1=0 (§2). Who are its “sibling roots”? Substitute the powers of ζ17\zeta_{17}

ζ17, ζ172, ζ173, …, ζ1716\zeta_{17},\ \zeta_{17}^2,\ \zeta_{17}^3,\ \dots,\ \zeta_{17}^{16}

one by one into Φ17\Phi_{17}, and you will find that every one is a root - they are exactly the 16 seventeenth roots of unity on the unit circle other than 11, all solutions of Φ17=0\Phi_{17}=0.

Now do something that looks pointless: replace ζ17\zeta_{17} in the equation entirely by one of its sibling roots ζ17k\zeta_{17}^{k}, leaving the rational numbers as they are. For example, replace every occurrence of ζ17\zeta_{17} by ζ173\zeta_{17}^3. Such a replacement is written σ3\sigma_3. The key picture is:

These 16 roots are like 16 identical marbles laid out on a circle, and the world of the rational numbers

cannot tell which is which

  • because they satisfy exactly the same equation Φ17=0\Phi_{17}=0, and rational coefficients cannot single out any one of them by name. So a rearrangement like “swap marble 1 for marble 3, marble 3 for marble 9……”, seen from the viewpoint of the rational numbers, is

the same as not moving at all

: any equality with rational coefficients that holds before the swap holds just the same after it.

Such a root swap, “equal to not moving at all in the eyes of the rational numbers”, is called a symmetry of Q(ζ17)\mathbb{Q}(\zeta_{17}) over Q\mathbb{Q} (technical term: a Q\mathbb{Q}-automorphism). It necessarily sends roots to roots, preserves addition and multiplication, and fixes every rational number. All such symmetries put together are the Galois group. “Group” here only says: two symmetries done one after the other (composition) are still a symmetry, every symmetry can be undone (has an inverse), and the “identity” that swaps nothing also counts as one - the same kind of “stackable and reversible” structure as the moves of a Rubik’s cube or the rotations of the plane.

4.2 Numbering the symmetries: σk:ζ17↦ζ17 k\sigma_k:\zeta_{17}\mapsto\zeta_{17}^{\,k}

Numbering the symmetries: \sigma_k:\zeta_{17}\mapsto\zeta_{17}^{k}; the 16 maps form the Galois group \cong(\mathbb{Z}/17\mathbb{Z})^{*}. — Animation: Abel (Manim)

Numbering the symmetries: σk:ζ17↦ζ17k\sigma_k:\zeta_{17}\mapsto\zeta_{17}^{k}; the 16 maps form the Galois group ≅(Z/17Z)∗\cong(\mathbb{Z}/17\mathbb{Z})^{*}. — Animation: Abel (Manim)

A symmetry is completely determined by which sibling root it sends ζ17\zeta_{17} to (because it preserves multiplication, knowing where ζ17\zeta_{17} goes means knowing everything). Write the symmetry "ζ17↦ζ17k\zeta_{17}\mapsto\zeta_{17}^{k}" as σk\sigma_k. Here kk can only take 1,2,…,161,2,\dots,16 (taking 00 would send ζ17\zeta_{17} to 11, which is not a sibling root, and is not allowed). When two symmetries are composed, the exponents multiply:

σj∘σk: ζ17 ↦ σk  ζ17 k ↦ σj  (ζ17 k) j=ζ17 jk,i.e.σj∘σk=σjk mod 17.\sigma_j\circ\sigma_k:\ \zeta_{17}\ \xmapsto{\ \sigma_k\ }\ \zeta_{17}^{\,k}\ \xmapsto{\ \sigma_j\ }\ (\zeta_{17}^{\,k})^{\,j}=\zeta_{17}^{\,jk},\qquad\text{i.e.}\quad \sigma_j\circ\sigma_k=\sigma_{jk\bmod 17}.

Do you see the trick? The “composition” of symmetries corresponds exactly to the “multiplication modulo 17” of the exponents - this is exactly the 16-hour multiplication clock (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} of §2! So there is a natural correspondence

σk ⟷ k∈(Z/17Z)∗,\sigma_k\ \longleftrightarrow\ k\in(\mathbb{Z}/17\mathbb{Z})^{*},

translating “composing symmetries” into “multiplying remainders”. This correspondence is an operation-preserving injection: different kk give different root swaps (sending ζ17\zeta_{17} to different siblings), and composition corresponds to multiplication.

But an injection is not enough - could the “root swaps” corresponding to some kk in fact not be legitimate symmetries (some rational equality being broken after the swap)? This is exactly where the “load-bearing wall” of §2 has to hold.

4.3 The key: Gal≅(Z/17Z)∗≅Z/16\mathrm{Gal}\cong(\mathbb{Z}/17\mathbb{Z})^{*}\cong\mathbb{Z}/16 (why all 16 symmetries are legitimate)

Each legitimate symmetry corresponds to a kk; conversely, does every k∈{1,…,16}k\in\{1,\dots,16\} give a legitimate symmetry? This is equivalent to asking: can sending ζ17\zeta_{17} to an arbitrary sibling root ζ17k\zeta_{17}^k be extended, without breaking any rational equality, to a symmetry of the whole field Q(ζ17)\mathbb{Q}(\zeta_{17})?

The answer is yes, and the grounds are precisely ”Φ17\Phi_{17} is irreducible, [Q(ζ17):Q]=16[\mathbb{Q}(\zeta_{17}):\mathbb{Q}]=16”, proved in §2.5. The standard consequence of this irreducibility is: any two roots of an irreducible polynomial are “algebraically indistinguishable” over Q\mathbb{Q}, and sending one root to the other can always be extended uniquely to a symmetry of the field. The 16 roots of Φ17\Phi_{17}, ζ171,…,ζ1716\zeta_{17}^1,\dots,\zeta_{17}^{16}, are therefore pairwise “interchangeable”, corresponding to 16 genuine symmetries. So the injection of 4.2 is in fact a surjection:

 Gal(Q(ζ17)/Q) ≅ (Z/17Z)∗ ≅ Z/16Z. \boxed{\ \mathrm{Gal}\bigl(\mathbb{Q}(\zeta_{17})/\mathbb{Q}\bigr)\ \cong\ (\mathbb{Z}/17\mathbb{Z})^{*}\ \cong\ \mathbb{Z}/16\mathbb{Z}.\ }

And §2 has proved that (Z/17Z)∗(\mathbb{Z}/17\mathbb{Z})^{*} is the cyclic group of order 16 generated by the primitive root g=3g=3. Translated: the whole Galois group is also cyclic, generated by repeatedly composing the single symmetry

σ:=σ3: ζ17↦ζ173\sigma:=\sigma_3:\ \zeta_{17}\mapsto\zeta_{17}^{3}

with σ16=id\sigma^{16}=\mathrm{id}. Under the order of §2, “renumbering the exponents by powers of gg” (ζ17gm\zeta_{17}^{g^m} written as number mm), what σ\sigma does is extremely plain: it advances the “number” mm of every exponent by one notch, m↦m+1(mod16)m\mapsto m+1\pmod{16}.

This is the true form of the knife of §3.

§3 said “multiplying by a residue tt maps QR to QR” - the residues are exactly the even numbers (even powers of gg), and multiplying by t=g2jt=g^{2j} is number +2j+2j, sending even numbers to even numbers. The so-called “symmetry of the Gauss periods” is, from start to finish, the incarnation of σ\sigma, this “number +1+1”, at different step sizes.

⚠️

Without the irreducibility of §2.5, this section collapses at once.

If Φ17\Phi_{17} were reducible and the true degree of ζ17\zeta_{17} were <16<16, then some σk\sigma_k would no longer be legitimate symmetries, the group would have fewer than 16 elements, and the “four-layer quadratic tower” would be out of the question. This is why we call §2.5 the load-bearing wall of the whole piece.

4.4 Seeing degrees through symmetry: the stabilizer argument (why each layer has degree exactly 2)

With the group, one can explain why every cut is a quadratic equation without relying on “hard counting of period lengths”. Here one must take special care to avoid a circular trap: one cannot presuppose “the degree of η0\eta_0 is 2” in order to prove it, but must derive it step by step from the group structure - and, to derive “the degree is exactly 2”, one must split it into two halves: first pin the upper bound, then rule out “it is actually rational”.

The tool is the core correspondence of Galois theory - fixed subfield ↔\leftrightarrow subgroup: for β∈Q(ζ17)\beta\in\mathbb{Q}(\zeta_{17}), its degree over Q\mathbb{Q}, [Q(β):Q][\mathbb{Q}(\beta):\mathbb{Q}], equals the orbit length under the action of the whole group, and also equals [ Gal:Stab(β) ][\,\mathrm{Gal}:\mathrm{Stab}(\beta)\,], where Stab(β)={τ∈Gal:τ(β)=β}\mathrm{Stab}(\beta)=\{\tau\in\mathrm{Gal}:\tau(\beta)=\beta\} is the stabilizer of β\beta (those symmetries that leave it unmoved). The orbit-stabilizer theorem guarantees that these three are equal (this uses that Q(ζ17)/Q\mathbb{Q}(\zeta_{17})/\mathbb{Q} is a Galois extension, so that all the conjugates of β\beta are exactly its whole orbit).

Apply it to η0=∑a∈QRζ17a\eta_0=\sum_{a\in\mathrm{QR}}\zeta_{17}^{a} from the first cut, in two steps, whose order cannot be reversed:

Putting it together to close. ⟨σ2⟩\langle\sigma^2\rangle is, in Gal\mathrm{Gal}, a subgroup of index 22, and between it and the whole group there is no room for an intermediate subgroup; and ⟨σ2⟩⊆Stab(η0)⊊Gal\langle\sigma^2\rangle\subseteq\mathrm{Stab}(\eta_0)\subsetneq\mathrm{Gal}, so squeezed in between, only one possibility remains: Stab(η0)=⟨σ2⟩\mathrm{Stab}(\eta_0)=\langle\sigma^2\rangle. So

[Q(η0):Q]=[Gal:⟨σ2⟩]=2(exactly 2, not 1).[\mathbb{Q}(\eta_0):\mathbb{Q}]=[\mathrm{Gal}:\langle\sigma^2\rangle]=2\quad(\text{exactly }2,\text{ not }1).

The two “conjugates” of η0\eta_0 are exactly its orbit {η0,η1}\{\eta_0,\eta_1\}, of length 22, which corresponds exactly to the quadratic equation x2+x−4=0x^2+x-4=0 of §3. The key is: we never assumed “the degree is 2”; first the stabilizer pinned it to ≤2\le 2, then a specific σ\sigma ruled out 11, and 22 was squeezed out.

This argument - ”⟨σd⟩\langle\sigma^d\rangle fixes it ⇒\Rightarrow degree ≤2\le 2, then exhibit a σ\sigma that moves it ⇒\Rightarrow rule out degree 11, ⇒\Rightarrow index 22 has no intermediate layer, the stabilizer is pinned down, and the degree is exactly 22” - applies equally to every cut, giving layer by layer

Q=K0 ⊂2 K1 ⊂2 K2 ⊂2 K3 ⊂2 K4=Q(ζ17),\mathbb{Q}=K_0\ \underset{2}{\subset}\ K_1\ \underset{2}{\subset}\ K_2\ \underset{2}{\subset}\ K_3\ \underset{2}{\subset}\ K_4=\mathbb{Q}(\zeta_{17}),

corresponding to a chain of subgroups in the group, Gal⊃⟨σ2⟩⊃⟨σ4⟩⊃⟨σ8⟩⊃{id}\mathrm{Gal}\supset\langle\sigma^2\rangle\supset\langle\sigma^4\rangle\supset\langle\sigma^8\rangle\supset\{\mathrm{id}\}, with all adjacent indices 2. Each layer down, the subgroup fixing it shrinks by half and the degree doubles, until the generator σ\sigma is trapped and we are back at ζ17\zeta_{17} itself.

4.5 The second cut: η0→(θ0,θ1)\eta_0\to(\theta_0,\theta_1), forcing out 34−217\sqrt{34-2\sqrt{17}}

Now cut the η0\eta_0 of the first cut (8 terms, QR) into two halves again. How to cut? Continue with the numbers of §2: QR are the even numbers {0,2,4,…,14}\{0,2,4,\dots,14\}; group them again by “number  mod 4\bmod 4” - those with number ≡0(mod4)\equiv 0\pmod 4 in one group, those with ≡2(mod4)\equiv 2\pmod 4 in the other. That is, cut using the subgroup ⟨σ4⟩\langle\sigma^4\rangle (number +4+4):

θ0=∑m≡0 (4)ζ17 gm=ζ171+ζ1713+ζ1716+ζ174,θ1=∑m≡2 (4)ζ17 gm=ζ179+ζ1715+ζ178+ζ172.\theta_0=\sum_{m\equiv 0\,(4)}\zeta_{17}^{\,g^m}=\zeta_{17}^{1}+\zeta_{17}^{13}+\zeta_{17}^{16}+\zeta_{17}^{4},\qquad \theta_1=\sum_{m\equiv 2\,(4)}\zeta_{17}^{\,g^m}=\zeta_{17}^{9}+\zeta_{17}^{15}+\zeta_{17}^{8}+\zeta_{17}^{2}.

Here the exponent set of θ0\theta_0 is {1,4,13,16}\{1,4,13,16\} (gg-numbers 0,4,8,120,4,8,12), and the exponent set of θ1\theta_1 is {2,8,9,15}\{2,8,9,15\} (gg-numbers 2,6,10,142,6,10,14). Each is a sum of 4 terms.

Sum: the two groups together are exactly all 8 terms of η0\eta_0, so

θ0+θ1=η0.(1)\theta_0+\theta_1=\eta_0. \tag{1}

Product: this is the main point. Expanding θ0θ1\theta_0\theta_1 gives 4×4=164\times 4=16 product terms ζ17a+b\zeta_{17}^{a+b} (a∈{1,4,13,16}, b∈{2,8,9,15}a\in\{1,4,13,16\},\ b\in\{2,8,9,15\}). As in §3, classify them by the exponent c:=(a+b) mod 17c:=(a+b)\bmod 17, and write N(c)N(c) for the number of pairs giving that cc. Direct enumeration (see the verification block below) gives

N(0)=0,N(c)=1  for each c∈{1,…,16}.N(0)=0,\qquad N(c)=1\ \ \text{for each}\ c\in\{1,\dots,16\}.

So

θ0θ1=∑c=116N(c) ζ17c=∑c=116ζ17c=−1.(2)\theta_0\theta_1=\sum_{c=1}^{16}N(c)\,\zeta_{17}^{c}=\sum_{c=1}^{16}\zeta_{17}^{c}=-1. \tag{2}

Why is N(0)=0N(0)=0? - here the reason of §3 cannot simply be copied (Socrates §4 finding). §3 used ”−1-1 is a quadratic residue” to rule out c=0c=0, because there a∈QRa\in\mathrm{QR} and b∈NQRb\in\mathrm{NQR}, and for b≡−ab\equiv -a to hold, −a-a would have to jump to the other class. But now θ0,θ1\theta_0,\theta_1 both belong to QR, and "−1∈QR-1\in\mathrm{QR}" instead shows that −a-a is still in QR, so it does not stop anything at all. The correct reason is **

structural, looking at the numbers**:

−1=g8-1=g^{8} (since g8≡16≡−1(mod17)g^8\equiv 16\equiv -1\pmod{17}, see §2.4). So “negation” a↦−aa\mapsto -a is exactly taking the gg-number

+8(mod16)+8\pmod{16}

. And the number set of θ0\theta_0, {0,4,8,12}\{0,4,8,12\}, under +8+8 becomes {8,12,0,4}\{8,12,0,4\} -

still itself

(likewise for θ1\theta_1‘s {2,6,10,14}\{2,6,10,14\}); that is to say

a∈θ0 ⟹ −a∈θ0,a∈θ1 ⟹ −a∈θ1.a\in\theta_0\ \Longrightarrow\ -a\in\theta_0,\qquad a\in\theta_1\ \Longrightarrow\ -a\in\theta_1.

So ”b≡−ab\equiv -a with a∈θ0,b∈θ1a\in\theta_0,b\in\theta_1” cannot hold (−a-a always stays on the θ0\theta_0 side and cannot cross over to θ1\theta_1), and therefore c=0c=0 has no legitimate pair (N(0)=0N(0)=0).

The grounds are that the number sets are closed under +8+8, not the residuosity of −1-1.

By (1), (2) and Vieta’s theorem, θ0,θ1\theta_0,\theta_1 are the two roots of

x2−(θ0+θ1)x+θ0θ1=x2−η0 x−1=0x^2-(\theta_0+\theta_1)x+\theta_0\theta_1=x^2-\eta_0\,x-1=0

The discriminant is η02+4\eta_0^2+4, so

 θ0,1=η0±η02+42. \boxed{\ \theta_{0,1}=\frac{\eta_0\pm\sqrt{\eta_0^2+4}}{2}.\ }

Substitute the η0=−1+172\eta_0=\dfrac{-1+\sqrt{17}}{2} of the first cut (§3) into the discriminant and simplify:

η02+4=(−1+172)2+4=1−217+174+4=34−2174,\eta_0^2+4=\Bigl(\tfrac{-1+\sqrt{17}}{2}\Bigr)^2+4=\frac{1-2\sqrt{17}+17}{4}+4=\frac{34-2\sqrt{17}}{4},

so

 η02+4=34−2172. \boxed{\ \sqrt{\eta_0^2+4}=\frac{\sqrt{34-2\sqrt{17}}}{2}.\ }

The second radical, 34−217\sqrt{34-2\sqrt{17}}, is born here (the radicand 34−217≈25.75>034-2\sqrt{17}\approx 25.75>0 is real, and constructible). Take the larger root

θ0=η02+34−2174≈2.0495,θ1=η02−34−2174≈−0.4879.\theta_0=\frac{\eta_0}{2}+\frac{\sqrt{34-2\sqrt{17}}}{4}\approx 2.0495,\qquad \theta_1=\frac{\eta_0}{2}-\frac{\sqrt{34-2\sqrt{17}}}{4}\approx -0.4879.

It generates the second layer of the tower of fields, K2=Q(θ0)K_2=\mathbb{Q}(\theta_0), [K2:K1]=2[K_2:K_1]=2.

Parallel branch (kept in reserve for §5)

: if one starts from the other half of the first cut, η1=−1−172\eta_1=\dfrac{-1-\sqrt{17}}{2}, and likewise cuts it into two halves, the discriminant becomes η12+4=34+2174\eta_1^2+4=\dfrac{34+2\sqrt{17}}{4}, forcing out the

twin radical

34+217\sqrt{34+2\sqrt{17}}. The two radicals 34∓217\sqrt{34\mp 2\sqrt{17}} enter together into the final closed form of cos⁡2π17\cos\frac{2\pi}{17} (§5).

4.6 The tower of fields and worked examples: four layers of quadratic extensions, cos⁡2π17\cos\frac{2\pi}{17} lands on the third layer

The tower of four quadratic extensions 16\to2\!\times\!8\to2\!\times\!4\to2\!\times\!2\to1, each layer forcing out a radical; \cos\frac{2\pi}{17} lands on the third layer. — Abel (Manim)

The tower of four quadratic extensions 16→2 ⁣× ⁣8→2 ⁣× ⁣4→2 ⁣× ⁣2→116\to2\!\times\!8\to2\!\times\!4\to2\!\times\!2\to1, each layer forcing out a radical; cos⁡2π17\cos\frac{2\pi}{17} lands on the third layer. — Abel (Manim)

String the four cuts together, and you have a tower of extensions with four layers, each quadratic:

Q=K0 ⊂17 K1=Q(17) ⊂34−217 K2=Q(θ0) ⊂third cut K3 ⊂fourth cut K4=Q(ζ17),\mathbb{Q}=K_0\ \underset{\sqrt{17}}{\subset}\ K_1=\mathbb{Q}(\sqrt{17})\ \underset{\sqrt{34-2\sqrt{17}}}{\subset}\ K_2=\mathbb{Q}(\theta_0)\ \underset{\text{third cut}}{\subset}\ K_3\ \underset{\text{fourth cut}}{\subset}\ K_4=\mathbb{Q}(\zeta_{17}),

each layer of degree [Ki+1:Ki]=2[K_{i+1}:K_i]=2, total degree 24=16=[Q(ζ17):Q]2^4=16=[\mathbb{Q}(\zeta_{17}):\mathbb{Q}], fitting §2.5 seamlessly. Among them

[K3:Q]=23=8=φ(17)2,[K4:Q]=24=16=φ(17).[K_3:\mathbb{Q}]=2^3=8=\frac{\varphi(17)}{2},\qquad [K_4:\mathbb{Q}]=2^4=16=\varphi(17).

K3=Q(ζ17)∩R=Q(cos⁡2π17)K_3=\mathbb{Q}(\zeta_{17})\cap\mathbb{R}=\mathbb{Q}\bigl(\cos\tfrac{2\pi}{17}\bigr) is the maximal real subfield of Q(ζ17)\mathbb{Q}(\zeta_{17}) (the half fixed by complex conjugation, the fixed field of σ−1=σ16\sigma_{-1}=\sigma_{16}). The key fact:

 cos⁡2π17∈K3 – it needs only the first three radicals; only the fourth cut brings back the complex ζ17 itself. \boxed{\ \cos\tfrac{2\pi}{17}\in K_3\ \text{-- it needs only the first three radicals; only the fourth cut brings back the complex}\ \zeta_{17}\ \text{itself}.\ }

Because cos⁡2π17=12(ζ17+ζ17−1)\cos\frac{2\pi}{17}=\frac12(\zeta_{17}+\zeta_{17}^{-1}) is real, it lies in the real subfield K3K_3; constructing the regular 17-gon with straightedge and compass requires only constructing this real coordinate (§1), so three layers of root-taking are enough, and the layer K4K_4 (putting real part + imaginary part back together into the complete ζ17\zeta_{17}) is not necessary for the construction. This is the structural reason why §5 gives a closed form of cos⁡2π17\cos\frac{2\pi}{17} with three layers of nested radicals.

Example 4.1 (working out the composition of symmetries).

σ=σ3\sigma=\sigma_3, σ2=σ9\sigma^2=\sigma_{9} (32=93^2=9), σ4=σ13\sigma^4=\sigma_{13} (34=81≡133^4=81\equiv 13), σ8=σ16=σ−1\sigma^8=\sigma_{16}=\sigma_{-1} (complex conjugation!). So the subgroup of the “third cut”, ⟨σ4⟩\langle\sigma^4\rangle, has order 16/4=416/4=4, and ⟨σ8⟩={id,σ−1}\langle\sigma^8\rangle=\{\mathrm{id},\sigma_{-1}\} has order 2 - the latter is exactly the 2-element subgroup that fixes K3K_3, and its fixed field is exactly the real subfield K3K_3.

Example 4.2 (σ\sigma moves η0\eta_0 to η1\eta_1).

σ\sigma multiplies exponents by ×3\times 3: QR={1,2,4,8,9,13,15,16}→×3{3,6,12,7,10,5,11,14}=NQR\mathrm{QR}=\{1,2,4,8,9,13,15,16\}\xrightarrow{\times 3}\{3,6,12,7,10,5,11,14\}=\mathrm{NQR}. Hence σ(η0)=η1\sigma(\eta_0)=\eta_1, confirming the exhibit of 4.4: η0\eta_0 is irrational, of degree exactly 2.

Example 4.3 (numerical check of the second cut).

θ0≈2.0495\theta_0\approx 2.0495, θ1≈−0.4879\theta_1\approx -0.4879; θ0+θ1≈1.5616=η0\theta_0+\theta_1\approx 1.5616=\eta_0 ✓, θ0θ1≈−1.0000\theta_0\theta_1\approx -1.0000 ✓; 34−217≈5.0748\sqrt{34-2\sqrt{17}}\approx 5.0748, /2≈2.5374=η02+4/2\approx 2.5374=\sqrt{\eta_0^2+4} ✓.

# §4 verification — Galois group, stabilizer-degree, structural N(0)=0, 2nd radical.
# Pure stdlib (cmath/math/collections). Runs clean.
import cmath, math
from collections import Counter

z = cmath.exp(2j * math.pi / 17)
g = 3
gpow = [pow(g, k, 17) for k in range(16)]          # index k -> residue g^k mod 17 (§2 ordering)
assert gpow == [1,3,9,10,13,5,15,11,16,14,8,7,4,12,2,6]

# --- Galois group: sigma = sigma_3 : zeta -> zeta^3  <=>  exponent r -> 3r ;  g-index m -> m+1 ---
def sigma_on_set(exps):                            # apply sigma_3 to a set of exponents
    return {(3 * a) % 17 for a in exps}

QR  = {pow(b, 2, 17) for b in range(1, 17)}        # eta_0 carrier = even g-powers (QR)
NQR = set(range(1, 17)) - QR                       # eta_1 carrier = odd  g-powers (NQR)

# Stabilizer-degree argument (Socrates P1-A2), in the NON-CIRCULAR order:
#   step 1 (upper bound): sigma^2 (multiply exponents by g^2=9) fixes the QR carrier,
#   so <sigma^2> (order 8) <= Stab(eta0)  =>  deg(eta0) <= [Gal:<sigma^2>] = 2.
assert {(9 * a) % 17 for a in QR} == QR
#   step 2 (exclude degree 1): exhibit sigma moving eta0 -> eta1, so eta0 is NOT rational.
assert sigma_on_set(QR) == NQR, "sigma swaps QR<->NQR  =>  sigma(eta0)=eta1 != eta0"
#   sandwich: <sigma^2> is index-2 (no intermediate subgroup) and Stab != Gal
#   => Stab(eta0) = <sigma^2> exactly, deg(eta0) = 2 (not 1).  Confirm full stabilizer:
stab_eta0 = {k for k in range(1, 17)
             if abs(sum(z**((k*a) % 17) for a in QR) - sum(z**a for a in QR)) < 1e-9}
sub_sigma2 = set(); x = 1
for _ in range(8):
    x = (x * 9) % 17; sub_sigma2.add(x)            # <sigma^2> = <sigma_9>
assert stab_eta0 == sub_sigma2 and len(stab_eta0) == 8, "Stab(eta0) is EXACTLY <sigma^2>, |.|=8"

# --- second cut: eta_0 -> (theta_0, theta_1) by g-index mod 4 ---
theta0_idx = [gpow[m] for m in (0, 4, 8, 12)]      # {1,13,16,4}
theta1_idx = [gpow[m] for m in (2, 6, 10, 14)]     # {9,15,8,2}
assert set(theta0_idx) == {1, 4, 13, 16}
assert set(theta1_idx) == {2, 8, 9, 15}

# Structural N(0)=0 (NOT the §3 "-1 is a QR" reason): -1 = g^8, so negation = g-index +8,
# and each theta carrier is closed under +8 (mod 16) => a in theta_k  =>  -a in theta_k.
for idx in (theta0_idx, theta1_idx):
    assert {(-a) % 17 for a in idx} == set(idx), "negation stays inside the SAME period"
# Hence b == -a with a in theta_0, b in theta_1 is impossible -> N(0)=0.
N = Counter((a + b) % 17 for a in theta0_idx for b in theta1_idx)
assert N[0] == 0 and all(N[c] == 1 for c in range(1, 17)), "N(0)=0, every nonzero c exactly once"
# => theta_0 * theta_1 = sum_{c=1..16} zeta^c = -1  (no appeal to '-1 is a QR').

eta0   = sum(z**a for a in QR).real
theta0 = sum(z**a for a in theta0_idx).real
theta1 = sum(z**a for a in theta1_idx).real
assert abs(theta0 + theta1 - eta0) < 1e-9          # (1) sum  = eta_0
assert abs(theta0 * theta1 - (-1)) < 1e-9          # (2) prod = -1

# Second radical: theta = (eta0 +/- sqrt(eta0^2+4))/2, and sqrt(eta0^2+4) = sqrt(34-2 sqrt17)/2.
s17  = math.sqrt(17)
assert abs((eta0**2 + 4) - (34 - 2*s17) / 4) < 1e-12
disc = math.sqrt(34 - 2*s17) / 2
assert abs((eta0 + disc) / 2 - theta0) < 1e-9
assert abs((eta0 - disc) / 2 - theta1) < 1e-9
# eta1-branch twin radical:
eta1 = sum(z**b for b in NQR).real
assert abs((eta1**2 + 4) - (34 + 2*s17) / 4) < 1e-12      # gives sqrt(34 + 2 sqrt17)

# Field tower degrees: K3 = Q(cos 2pi/17) real subfield = 2^3, K4 = Q(zeta17) = 2^4.
assert 8 == 2**3 and 16 == 2**4
cos1 = math.cos(2*math.pi/17)
assert abs((z + 1/z).real - 2*cos1) < 1e-12        # cos = (zeta + zeta^-1)/2  is real -> lives in K3

print(f"sigma(eta0)=eta1={eta1:.4f} != eta0={eta0:.4f}; Stab(eta0)=<sigma^2> (|.|=8) => deg(eta0)=2")
print(f"theta0={theta0:.4f}, theta1={theta1:.4f}; sum=eta0, prod=-1 (structural N(0)=0, no '-1 is QR')")
print(f"2nd radical = sqrt(34-2sqrt17)/2 = {disc:.4f}; eta1-branch -> sqrt(34+2sqrt17)={math.sqrt(34+2*s17):.4f}")
print("field tower: K3=Q(cos 2pi/17)=2^3, K4=Q(zeta17)=2^4, cos in K3  [OK]")

4.7 Modern significance

§4 raised a seemingly classical picture - “rearranging the roots of unity without the rational numbers noticing” - into a group, and this is exactly the origin of Galois theory. Its modern echoes reach far beyond construction:

— End of §4.


§5 — Drawing in the net: the explicit closed form of cos⁡2π17\cos\dfrac{2\pi}{17} and where the innermost radical comes from

§3 made the first cut (1616 roots →\to two groups of 88 each, forcing out 17\sqrt{17}), and §4 made the second and third cuts (8→4→28\to 4\to 2, forcing out the layer 34−217\sqrt{34-2\sqrt{17}}). This section makes the last cut: solve one more quadratic equation for the “two-term periods”, each group of which has only 22 terms left, and cos⁡2π17\cos\dfrac{2\pi}{17} is written completely as a string of nested radicals.

More important is to answer a question about the v0 draft that Socrates caught: the radicand written in the innermost layer, the most frightening-looking one,

D  :=  17+317−34−217−234+217D\;:=\;17+3\sqrt{17}-\sqrt{34-2\sqrt{17}}-2\sqrt{34+2\sqrt{17}}

(here we give the innermost radicand a name, DD - below we will prove that it is exactly 44 times the discriminant of the quadratic equation of the last cut.)

Where exactly does it come from? v0 only said “obtained by simplification” and reported a numerical value. This section gives its real identity: it is exactly 44 times the discriminant of the quadratic equation of the last cut - and we will derive this equality symbolically from the beginning (not write out DD first and then go back to check the numbers). cos⁡2π17\cos\dfrac{2\pi}{17} is “constructible” precisely because each of these four cuts only solves a quadratic equation and takes one square root - it never needs a cube root.

Additional notation for this section

NotationReading / meaning
ζ17\zeta_{17}=e2πi/17=e^{2\pi i/17}, the primitive 1717-th root of unity on the unit circle of the complex plane (ζ1717=1\zeta_{17}^{17}=1)
α\alpha=2cos⁡2π17=ζ171+ζ1716=2\cos\dfrac{2\pi}{17}=\zeta_{17}^{1}+\zeta_{17}^{16}, the target we are finally after (divide by 22 to get the cos⁡\cos)
α′\alpha'=2cos⁡8π17=ζ174+ζ1713=2\cos\dfrac{8\pi}{17}=\zeta_{17}^{4}+\zeta_{17}^{13}, the partner that, with α\alpha, lives in the same θ\theta-group
θ0\theta_0the second-level period of §4 (44 terms), θ0=ζ171+ζ174+ζ1713+ζ1716=α+α′\theta_0=\zeta_{17}^{1}+\zeta_{17}^{4}+\zeta_{17}^{13}+\zeta_{17}^{16}=\alpha+\alpha'
θ′\theta'the 44-term period ζ173+ζ175+ζ1712+ζ1714\zeta_{17}^{3}+\zeta_{17}^{5}+\zeta_{17}^{12}+\zeta_{17}^{14} (index set {3,5,12,14}\{3,5,12,14\}), which will appear as αα′\alpha\alpha'
A,  BA,\;Babbreviations A:=34−217A:=\sqrt{34-2\sqrt{17}} (the radical of the second cut, §4), B:=34+217B:=\sqrt{34+2\sqrt{17}} (the radical of the η1\eta_1 branch)
K1⊂K2⊂K3K_1\subset K_2\subset K_3the first three layers of the tower of fields: K1=Q(17)K_1=\mathbb{Q}(\sqrt{17}), K2=Q(θ0)K_2=\mathbb{Q}(\theta_0), K3=Q ⁣(cos⁡2π17)K_3=\mathbb{Q}\!\left(\cos\tfrac{2\pi}{17}\right) (degree 8=238=2^3, =Q(ζ17)∩R=\mathbb{Q}(\zeta_{17})\cap\mathbb{R})
DDthe innermost radicand (notation): D:=17+317−A−2B=4(θ02−4θ′)≈11.295D:=17+3\sqrt{17}-A-2B=4(\theta_0^{2}-4\theta')\approx 11.295

5.1 Intuition: cutting the “four-cut cake” all the way through

Recall the picture of §3: the 1616 roots of unity are like 1616 candles stuck into a cake. Gauss does not try to solve that degree-1616 equation head-on, but cuts it in half repeatedly, and each cut needs only the solution of one quadratic equation:

16 roots⏟ζ17  →first cut17  8+8⏟η0,η1  →second cut34∓217  4×4⏟θ-s  →third cut  2×8⏟α-s.\underbrace{16\text{ roots}}_{\zeta_{17}}\;\xrightarrow[\text{first cut}]{\sqrt{17}}\;\underbrace{8+8}_{\eta_0,\eta_1}\;\xrightarrow[\text{second cut}]{\sqrt{34\mp 2\sqrt{17}}}\;\underbrace{4\times 4}_{\theta\text{-s}}\;\xrightarrow[\text{third cut}]{}\;\underbrace{2\times 8}_{\alpha\text{-s}} .

By the third cut, each “group” has only a sum of 22 terms left - for example α=ζ171+ζ1716\alpha=\zeta_{17}^{1}+\zeta_{17}^{16} (this is exactly 2cos⁡2π172\cos\dfrac{2\pi}{17}, because ζ1716=ζ171‾\zeta_{17}^{16}=\overline{\zeta_{17}^{1}}, and adding conjugates gives twice the real part). The last cut is exactly separating α\alpha and its partner α′\alpha', and the radical that comes out of the discriminant of the quadratic equation the two of them satisfy is exactly that lump in the innermost layer of the closed form.

Remember the conclusion first, in one sentence: the innermost radical == the source of the discriminant of the quadratic equation of the last cut. It is not a “result of simplification” dropped from the sky, but the necessary product of “separating α\alpha and α′\alpha'“.

5.2 The target and its partner: α\alpha and α′\alpha' live in the same group

What we really want is

α:=2cos⁡2π17=ζ171+ζ1716.\alpha:=2\cos\frac{2\pi}{17}=\zeta_{17}^{1}+\zeta_{17}^{16}.

§4 has already cut the 88-term η0\eta_0 into two 44-term periods, one of which is

θ0=ζ171+ζ174+ζ1713+ζ1716(index set {1,4,13,16}).\theta_0=\zeta_{17}^{1}+\zeta_{17}^{4}+\zeta_{17}^{13}+\zeta_{17}^{16}\qquad(\text{index set }\{1,4,13,16\}).

Pair the four terms of θ0\theta_0 two by two into conjugates (ζ1\zeta^{1} with ζ16=ζ−1\zeta^{16}=\zeta^{-1}, ζ4\zeta^{4} with ζ13=ζ−4\zeta^{13}=\zeta^{-4}), and you get two “two-term periods”:

α=ζ171+ζ1716=2cos⁡2π17,α′=ζ174+ζ1713=2cos⁡8π17.\alpha=\zeta_{17}^{1}+\zeta_{17}^{16}=2\cos\frac{2\pi}{17},\qquad \alpha'=\zeta_{17}^{4}+\zeta_{17}^{13}=2\cos\frac{8\pi}{17}.

Clearly

α+α′=θ0.(1)\boxed{\alpha+\alpha'=\theta_0.}\tag{1}

This is the “sum” of the last cut. θ0\theta_0 was already written in §4 as a closed form containing only the first two layers of radicals (quoted as (5) below), so the right-hand side of (1) is a known number belonging to K2K_2. All that is missing is their “product”.

5.3 The key step: the product αα′\alpha\alpha' is a K2K_2-period θ′\theta'

Multiply the two two-term sums, expand into 2×2=42\times 2=4 terms, and add the exponents modulo 1717:

α α′=(ζ1+ζ16)(ζ4+ζ13)=ζ1+4+ζ1+13+ζ16+4+ζ16+13=ζ5+ζ14+ζ20+ζ29.\alpha\,\alpha'=(\zeta^{1}+\zeta^{16})(\zeta^{4}+\zeta^{13}) =\zeta^{1+4}+\zeta^{1+13}+\zeta^{16+4}+\zeta^{16+13} =\zeta^{5}+\zeta^{14}+\zeta^{20}+\zeta^{29}.

Use ζ17=1\zeta^{17}=1 to reduce the exponents to 0 ⁣− ⁣160\!-\!16: ζ20=ζ3\zeta^{20}=\zeta^{3}, ζ29=ζ12\zeta^{29}=\zeta^{12}. So

α α′=ζ3+ζ5+ζ12+ζ14=:θ′.(2)\boxed{\alpha\,\alpha'=\zeta^{3}+\zeta^{5}+\zeta^{12}+\zeta^{14}=:\theta'.}\tag{2}

These four indices {3,5,12,14}\{3,5,12,14\} happen to make up another 44-term period (they are all non-residues in the sense of §3, belonging to a small group cut out of the η1\eta_1 branch). This is exactly the miracle of Gauss’s method “closing on itself”: multiplying two two-term periods gives not a tangled mess, but another Gauss period - a number that lives in K2K_2 and can be expressed with the first two layers of radicals.

Its closed form in K2K_2 is given by a derivation of exactly the same type as in §4 (only falling on the η1\eta_1 branch): θ′\theta' and its partner on the same branch, θ′′=ζ6+ζ7+ζ10+ζ11\theta''=\zeta^{6}+\zeta^{7}+\zeta^{10}+\zeta^{11}, satisfy θ′+θ′′=η1=−1−172\theta'+\theta''=\eta_1=\dfrac{-1-\sqrt{17}}{2} and θ′θ′′=−1\theta'\theta''=-1, that is, the quadratic equation x2−η1x−1=0x^2-\eta_1 x-1=0. Its discriminant is η12+4=34+2174\eta_1^2+4=\dfrac{34+2\sqrt{17}}{4}, so η12+4=B2\sqrt{\eta_1^2+4}=\dfrac{B}{2}; taking the larger root gives

θ′=η1+η12+42=−1−17+34+2174=−1−17+B4≈0.344151.(3)\boxed{\theta'=\frac{\eta_1+\sqrt{\eta_1^2+4}}{2}=\frac{-1-\sqrt{17}+\sqrt{34+2\sqrt{17}}}{4}=\frac{-1-\sqrt{17}+B}{4}}\approx 0.344151.\tag{3}

Note that B=34+217B=\sqrt{34+2\sqrt{17}} appears in (3) - this is exactly the radical given by the η1\eta_1 branch in §4. Remember this: the reason 34+217\sqrt{34+2\sqrt{17}} pops up in the innermost layer of the closed form has its root right here - αα′\alpha\alpha' is a period of the η1\eta_1 branch.

5.4 The last cut: solving for α\alpha, and deriving the innermost radical symbolically

The explicit closed form of 16\cos\frac{2\pi}{17} emerging layer by layer; the four nested radicals correspond to the "four cuts". — Animation: Abel (Manim)

The explicit closed form of 16cos⁡2π1716\cos\frac{2\pi}{17} emerging layer by layer; the four nested radicals correspond to the “four cuts”. — Animation: Abel (Manim)

By (1) and (2), α\alpha and α′\alpha' are the two roots of the same quadratic equation

x2−θ0 x+θ′=0(⋆)x^2-\theta_0\,x+\theta'=0 \tag{$\star$}

(Vieta’s theorem: the sum is θ0\theta_0, the product is θ′\theta'). Take the larger root (α=2cos⁡2π17≈1.865>α′≈0.185\alpha=2\cos\dfrac{2\pi}{17}\approx 1.865>\alpha'\approx 0.185):

α=θ0+θ02−4θ′2.(4)\alpha=\frac{\theta_0+\sqrt{\theta_0^{2}-4\theta'}}{2}. \tag{4}

Now do the symbolic derivation that P1-C requires - compute the discriminant of (⋆)(\star), θ02−4θ′\theta_0^{2}-4\theta', step by step into explicit radicals, and watch it grow by itself into that lump in the innermost layer (we do not copy DD in advance, but let it “fall out” of the computation). Substitute the closed form of θ0\theta_0 from §4

θ0=−1+17+A4,A=34−217  (A2=34−217),(5)\theta_0=\frac{-1+\sqrt{17}+A}{4},\qquad A=\sqrt{34-2\sqrt{17}}\ \ (A^2=34-2\sqrt{17}), \tag{5}

First compute θ02\theta_0^{2}. Expand the square of the numerator, (−1+17+A)2=1+17+A2−217+2A(17−1)(-1+\sqrt{17}+A)^2=1+17+A^2-2\sqrt{17}+2A(\sqrt{17}-1), and then use A2=34−217A^2=34-2\sqrt{17}:

16 θ02=(18−217)+(34−217)+2A(17−1)=52−417+217 A−2A,16\,\theta_0^{2}=\bigl(18-2\sqrt{17}\bigr)+\bigl(34-2\sqrt{17}\bigr)+2A(\sqrt{17}-1) =52-4\sqrt{17}+2\sqrt{17}\,A-2A,

Divide both sides by 44:

4 θ02=13−17+17 A2−A2.(6a)4\,\theta_0^{2}=13-\sqrt{17}+\frac{\sqrt{17}\,A}{2}-\frac{A}{2}. \tag{6a}

On the other side, from (3) we have 4θ′=−1−17+B4\theta'=-1-\sqrt{17}+B. So 44 times the discriminant is

4(θ02−4θ′)=4θ02−4 (4θ′)=(13−17+17 A2−A2)−4(−1−17+B),4\bigl(\theta_0^{2}-4\theta'\bigr)=4\theta_0^{2}-4\,(4\theta') =\Bigl(13-\sqrt{17}+\tfrac{\sqrt{17}\,A}{2}-\tfrac{A}{2}\Bigr)-4\bigl(-1-\sqrt{17}+B\bigr),

Combine the constant and 17\sqrt{17} terms (13+4=1713+4=17, −17+417=317-\sqrt{17}+4\sqrt{17}=3\sqrt{17}):

4(θ02−4θ′)=17+317+17 A2−A2−4B.(6b)4\bigl(\theta_0^{2}-4\theta'\bigr)=17+3\sqrt{17}+\frac{\sqrt{17}\,A}{2}-\frac{A}{2}-4B. \tag{6b}

At this point we have not yet reached DD: (6b) contains an annoying mixed term 17 A2\dfrac{\sqrt{17}\,A}{2} (that is, 17⋅34−217\sqrt{17}\cdot\sqrt{34-2\sqrt{17}}, a doubly nested radical), which on the surface cannot be eliminated. The real key lies in this step - it rests on an explicit radical identity that “welds” the AA branch and the BB branch together:

  (17+1) A=4B,i.e.(17+1)34−217=434+217.  (†)\boxed{\;(\sqrt{17}+1)\,A=4B,\qquad\text{i.e.}\quad (\sqrt{17}+1)\sqrt{34-2\sqrt{17}}=4\sqrt{34+2\sqrt{17}}.\;}\tag{$\dagger$}

Proof of (†)(\dagger). Both sides are positive, so it suffices to compare squares. The square of the left-hand side is

(17+1)2(34−217)=(18+217)(34−217)=612−3617+6817−4⋅17=544+3217,(\sqrt{17}+1)^2(34-2\sqrt{17})=(18+2\sqrt{17})(34-2\sqrt{17})=612-36\sqrt{17}+68\sqrt{17}-4\cdot17=544+32\sqrt{17},

and the square of the right-hand side is 16(34+217)=544+321716(34+2\sqrt{17})=544+32\sqrt{17}; the two are equal, so (†)(\dagger) holds. (QED)

From (†)(\dagger), solve 17 A2=(4B−A)2=2B−A2\dfrac{\sqrt{17}\,A}{2}=\dfrac{(4B-A)}{2}=2B-\dfrac{A}{2} (substituting 17 A=4B−A\sqrt{17}\,A=4B-A), and substitute back into the mixed term in (6b):

17 A2−A2−4B=(2B−A2)−A2−4B=−A−2B.\frac{\sqrt{17}\,A}{2}-\frac{A}{2}-4B=\Bigl(2B-\frac{A}{2}\Bigr)-\frac{A}{2}-4B=-A-2B.

So (6b) collapses cleanly into

4(θ02−4θ′)=17+317−34−217−234+217=D.(6)\boxed{\begin{aligned}4\bigl(\theta_0^{2}-4\theta'\bigr)&=17+3\sqrt{17}-\sqrt{34-2\sqrt{17}}-2\sqrt{34+2\sqrt{17}}\\&=D.\end{aligned}}\tag{6}

(6) is the answer, and it was derived symbolically all the way: the mixed term 17 A\sqrt{17}\,A was neither ignored nor “matched numerically by luck”, but was rewritten exactly by the identity (†)(\dagger) as a combination of AA and BB and then cancelled naturally. Conclusion: the innermost radicand DD was not cobbled together - it is exactly the discriminant of the quadratic equation that “separates α,α′\alpha,\alpha'”, (⋆)(\star), namely (θ02−4θ′)(\theta_0^2-4\theta'), multiplied by 44. So

D=2θ02−4θ′,\sqrt{D}=2\sqrt{\theta_0^{2}-4\theta'},

Substitute back into (4), use 16cos⁡2π17=8α=4θ0+4θ02−4θ′16\cos\dfrac{2\pi}{17}=8\alpha=4\theta_0+4\sqrt{\theta_0^{2}-4\theta'}, and substitute 4θ0=−1+17+A4\theta_0=-1+\sqrt{17}+A from (5) and 4θ02−4θ′=2D4\sqrt{\theta_0^2-4\theta'}=2\sqrt{D}:

16cos⁡2π17= −1+17+34−217+217+317−34−217−234+217 .(7)\boxed{\begin{aligned}16\cos\frac{2\pi}{17}=\ &-1+\sqrt{17}+\sqrt{34-2\sqrt{17}}\\&+2\sqrt{17+3\sqrt{17}-\sqrt{34-2\sqrt{17}}-2\sqrt{34+2\sqrt{17}}}\,.\end{aligned}}\tag{7}

This is exactly the Gauss-style explicit closed form. The four nested levels correspond one to one to the four cuts: 17\sqrt{17} (first cut, §3), 34−217\sqrt{34-2\sqrt{17}} (second cut, §4), and on to that outermost 2D2\sqrt{D} (third and fourth cuts written out together, this section). Throughout, only square roots appear, with no cube roots or roots of any higher degree - this is the whole algebraic meaning of “constructible with straightedge and compass”.

Why this step is the “load-bearing check” that v0 had to fill in: the v0 draft wrote (6) as “obtained by simplification”, silently handing the only really difficult cancellation (the elimination of the mixed term 17 A\sqrt{17}\,A) over to a numerical check. But if DD and the discriminant were only equal by numerical coincidence, the closed form would become a “magic number that happens to match”, and readers could not believe it really comes from Gauss’s layer-by-layer method. Now (6) is nailed down by (†)(\dagger), a

radical identity that can be verified by hand

: the identity of DD is the discriminant of (⋆)(\star) ×4\times 4, with no second interpretation, and no step hidden in code.

5.5 P2: why “each cut raises only one square root” - the degree of the intersection of two circles

All four cuts above are quadratic equations, and behind this is a hard constraint of straightedge-and-compass construction, which is left to be used formally in Wantzel’s degree criterion in §7; here we first point out its geometric root. Each straightedge-and-compass step is nothing more than “line meets line / line meets circle / circle meets circle”. The first two clearly solve at most a quadratic equation. The intersection of two circles seems to require solving a quartic, but in fact does not. Let

x2+y2+D1x+E1y+F1=0,x2+y2+D2x+E2y+F2=0,x^{2}+y^{2}+D_1x+E_1y+F_1=0,\qquad x^{2}+y^{2}+D_2x+E_2y+F_2=0,

Subtract the two equations, and the quadratic part x2+y2x^2+y^2 is eliminated entirely, leaving only a line (called the radical axis of the two circles):

(D1−D2)x+(E1−E2)y+(F1−F2)=0.(D_1-D_2)x+(E_1-E_2)y+(F_1-F_2)=0.

So “circle ∩\cap circle” degenerates into “circle ∩\cap line”, which is still quadratic. Conclusion: at each intersection point of straightedge and compass, the coordinates add at most one square root to the existing number field - never introducing a cube root in one step. This is exactly the geometric counterpart of (7) being all square roots, and hence of cos⁡2π17\cos\dfrac{2\pi}{17} being constructible; conversely, whatever requires a cube root (such as doubling the cube, 23\sqrt[3]{2}, or trisecting 60∘60^\circ), straightedge and compass are powerless against (proved in detail in §7).

5.6 Worked example: numerical values layer by layer, confirming that every radicand is always positive

Substituting numerical values layer by layer: the innermost layer \approx 11.295, and finally \cos\frac{2\pi}{17}=14.920/16=0.9325, agreeing with \cos(21.176^\circ). — Abel (Manim)

Substituting numerical values layer by layer: the innermost layer ≈11.295\approx 11.295, and finally cos⁡2π17=14.920/16=0.9325\cos\frac{2\pi}{17}=14.920/16=0.9325, agreeing with cos⁡(21.176∘)\cos(21.176^\circ). — Abel (Manim)

Compute (7) once from the inside out, checking along the way that the number under each layer of radical is >0>0 (otherwise the closed form would fall into the complex numbers, and the construction would be impossible):

QuantityExpressionValue
first layer17\sqrt{17}4.123114.12311
second layerA=34−217A=\sqrt{34-2\sqrt{17}}5.074825.07482
auxiliaryB=34+217B=\sqrt{34+2\sqrt{17}}6.499716.49971
innermostD=17+317−A−2BD=17+3\sqrt{17}-A-2B11.29508  (>0)11.29508\;(>0)
outermost2D2\sqrt{D}2(3.36082)=6.721632(3.36082)=6.72163
total16cos⁡2π17=−1+4.12311+5.07482+6.7216316\cos\dfrac{2\pi}{17}=-1+4.12311+5.07482+6.7216314.9195614.91956
resultcos⁡2π17=14.91956/16\cos\dfrac{2\pi}{17}=14.91956/160.9324720.932472

This agrees completely with the direct computation cos⁡2π17=cos⁡(21.176∘)=0.932472\cos\dfrac{2\pi}{17}=\cos(21.176^\circ)=0.932472. Note D≈11.30>0D\approx 11.30>0: this is not a coincidence, but is guaranteed by (6) - it equals the discriminant ×4\times4, and since α≠α′\alpha\neq\alpha' are two different real numbers, the discriminant θ02−4θ′>0\theta_0^2-4\theta'>0 must hold.

Example 5.1 (self-check of the partner relation).

α≈1.8649\alpha\approx 1.8649, α′≈0.1845\alpha'\approx 0.1845; the sum α+α′≈2.0495=θ0\alpha+\alpha'\approx 2.0495=\theta_0 ✓, the product αα′≈0.3442=θ′\alpha\alpha'\approx 0.3442=\theta' ✓. So α,α′\alpha,\alpha' are indeed the two roots of (⋆)(\star).

Example 5.2 (numerical witness of the welding identity (†)(\dagger)).

(17+1) A≈5.1231×5.0748≈25.999(\sqrt{17}+1)\,A\approx 5.1231\times 5.0748\approx 25.999; 4B≈4×6.4997≈25.9994B\approx 4\times 6.4997\approx 25.999 ✓. It is exactly this equality that reduces the mixed term 17 A\sqrt{17}\,A of (6b) to a simple combination of A,BA,B.

Example 5.3 (discriminant =D/4=D/4).

θ02−4θ′≈2.04952−4(0.3442)≈4.2005−1.3766=2.8238\theta_0^2-4\theta'\approx 2.0495^2-4(0.3442)\approx 4.2005-1.3766=2.8238; multiplying by 44 gives 11.2951=D11.2951=D ✓. This is the numerical witness of (6).

# §5 verification (pure stdlib: cmath + math). Confirms the closed form (7),
# the partner relations (1)(2)(3), the welding identity (dagger), and the
# CORE claim (6):  inner == 4 * (theta0^2 - 4*theta')  [discriminant of x^2 - theta0 x + theta']
import cmath, math

z = cmath.exp(2j * math.pi / 17)               # zeta_17

# Target and its partner (two-term periods inside theta_0):
alpha  = (z**1  + z**16).real                  # = 2 cos(2pi/17)
alphap = (z**4  + z**13).real                  # = 2 cos(8pi/17)

# The 4-term periods:
theta0 = sum(z**k for k in (1, 4, 13, 16)).real
thetap = sum(z**k for k in (3, 5, 12, 14)).real   # = theta'  (indices {3,5,12,14})

# (1) sum = theta0 ; (2) product = theta'
assert abs(alpha + alphap - theta0) < 1e-12,  "(1) alpha + alpha' = theta_0"
assert abs(alpha * alphap - thetap) < 1e-12,  "(2) alpha * alpha' = theta'"

s17 = math.sqrt(17)
A = math.sqrt(34 - 2 * s17)                    # second-layer radical
B = math.sqrt(34 + 2 * s17)                    # eta_1-branch radical

# (5) theta0 closed form ; (3) theta' closed form (both in K_2)
assert abs(theta0 - (-1 + s17 + A) / 4) < 1e-12, "(5) theta_0 closed form"
assert abs(thetap - (-1 - s17 + B) / 4) < 1e-12, "(3) theta' closed form"

# (dagger) the welding identity that collapses the mixed term sqrt(17)*A:
assert abs((s17 + 1) * A - 4 * B) < 1e-12,     "(dagger) (sqrt17+1)*A = 4B"

# ---- CORE (6): innermost radicand == 4 * discriminant of (star) ----
disc  = theta0**2 - 4 * thetap                 # discriminant of x^2 - theta0 x + theta'
inner = 17 + 3 * s17 - A - 2 * B               # the printed innermost radicand
assert abs(4 * disc - inner) < 1e-10,  "(6) inner == 4*(theta0^2 - 4 theta')"
assert inner > 0,                      "innermost radicand is positive (alpha != alpha')"

# (4)+(7): rebuild 16 cos(2pi/17) from the nested closed form
alpha_from_disc = (theta0 + math.sqrt(disc)) / 2          # (4), larger root
sixteen_cos     = -1 + s17 + A + 2 * math.sqrt(inner)     # (7)
assert abs(8 * alpha_from_disc - sixteen_cos) < 1e-10
assert abs(sixteen_cos - 16 * math.cos(2 * math.pi / 17)) < 1e-10

print(f"sqrt17={s17:.4f}  A=sqrt(34-2sqrt17)={A:.4f}  B=sqrt(34+2sqrt17)={B:.4f}")
print(f"(dagger): (sqrt17+1)*A = {(s17+1)*A:.6f}  ==  4B = {4*B:.6f}")
print(f"inner = 4*(theta0^2-4 theta') = {inner:.6f}  (>0)")
print(f"16 cos(2pi/17) = {sixteen_cos:.6f}  =>  cos = {sixteen_cos/16:.6f}"
      f"  = cos({math.degrees(2*math.pi/17):.4f} deg)   [closed form (7) OK]")

5.7 Modern significance

This chain of “relaying quadratic equations” - each step solving only a quadratic and taking only one square root - is not just a clever trick for drawing a 17-gon; it is the oldest and most concrete example of the modern main line of Galois theory, “solvability == solvability of the group”:

Gauss held this result close to his heart and asked for it to be carved on his tombstone (the regular 17-gon, see Disquisitiones Arithmeticae §365, 1801); Wantzel 1837 (J. Math. Pures Appl. 2, 366–372) completed “constructible   ⟺  \iff the degree is a power of 22” into a necessary and sufficient condition; Lindemann 1882 (Math. Annalen 20) used the transcendence of π\pi to close the great door of squaring the circle; Richmond 1893 (Quarterly J. Pure Appl. Math. 26, 206–207) translated the closed form of this section into the compass steps of §6 that one can really hold in one’s hand. A complete chain from the radicals of (7) to a regular 17-gon on paper is thereby closed.

— End of §5.


§6 — Richmond 1893: twenty steps to draw cos⁡2π17\cos\tfrac{2\pi}{17} on paper

The previous three sections (§3–§5) have already turned cos⁡2π17\cos\tfrac{2\pi}{17} into a string of nested square roots. But “can be written with square roots” is still only constructible algebraically; to convince people that it really can be drawn geometrically with an unmarked straightedge plus a compass, each square root still has to be made real as an actual line, an actual circle, an actual intersection point. In 1893, H. W. Richmond of Cambridge gave a surprisingly concise scheme (Richmond 1893, Quarterly Journal of Pure and Applied Mathematics 26, 206–207) - it does not even need to draw explicitly that long string of radicals from §5, but uses two clever angles and one circle to directly fix the projections of the vertices V3V_3, V5V_5 on the xx-axis, and then fills in all 17 vertices.

This section breaks Richmond’s original construction into 20 “single-stroke” stages (honest count: each stage adds exactly one line, one circle or one intersection point, plus the erasing of a few auxiliary lines). Every step diagram is paired with the geometric/algebraic grounds behind that step - diagram and derivation are one inseparable unit. Readers starting from zero can get all the way through by looking only at the diagrams and the plain words of each step; for readers who want to be strict, the coordinates given at each step have all been independently verified numerically to 10−510^{-5} (verification script in §6.7).

Additional notation for this section

NotationMeaning
OOthe center of the circle, taken as the coordinate origin (0,0)(0,0)
A=V0A=V_0the intersection (1,0)(1,0) of the horizontal radius with the circle, by convention the 00-th vertex
BBthe intersection (0,1)(0,1) of the vertical radius with the circle
IIthe quarter point of OBOB, (0,14)(0,\tfrac14) (OI=14 OBOI=\tfrac14\,OB)
E, FE,\,Ftwo points on the line of OAOA fixed by two angles; key: FF is on the negative xx-half-axis
KKthe intersection of the circle with diameter AFAF with OBOB
N3, N5N_3,\,N_5the two intersections of the circle with center EE and radius EKEK with OAOA (projections of vertices)
V3, V5V_3,\,V_5the points on the circle where the perpendiculars through N3,N5N_3,N_5 to OAOA land = the true 33rd and 55th vertices

The route in one sentence: first use angles to fix EE at x≈0.0860x\approx 0.0860 and FF at x≈−0.1220x\approx -0.1220; then use a circle to “translate” the information of E,FE,F into the radius EKEK; this radius makes the two points that the circle (E,EK)(E,EK) cuts on the xx-axis exactly cos⁡6π17\cos\tfrac{6\pi}{17} and cos⁡10π17\cos\tfrac{10\pi}{17} - that is, the horizontal coordinates of the vertices V3,V5V_3,V_5. With V3V_3 in hand, the remaining vertices can be stepped off with the compass by equal arcs.


6.1 Intuition first: why “two angles + one circle” is enough

The whole process of Richmond's 1893 twenty-step straightedge-and-compass construction (circle, two radii, quarter point, two key angles, translating circle, raising the vertices step by step). — Animation: Abel (Manim)

The whole process of Richmond’s 1893 twenty-step straightedge-and-compass construction (circle, two radii, quarter point, two key angles, translating circle, raising the vertices step by step). — Animation: Abel (Manim)

In the closed form given by §5, cos⁡2π17\cos\tfrac{2\pi}{17} is four layers of nested radicals. If one insisted on drawing every layer of radical with straightedge and compass (each  \sqrt{\ } corresponding to one “intersection of a circle and a line”), the steps would be very long-winded. Richmond’s cleverness lies in this: he does not draw cos⁡2π17\cos\tfrac{2\pi}{17} itself, but draws the cosines corresponding to a pair of “second-level Gauss periods” - cos⁡6π17\cos\tfrac{6\pi}{17} and cos⁡10π17\cos\tfrac{10\pi}{17}.

This pair of numbers has an excellent property (§6.6 will compute it for you): their sum and difference are both quantities of very simple structure, which can be caught at one stroke by quartering an angle (fixing EE) and one 45∘45^\circ deflection (fixing FF). So:

One circle (center EE, radius EKEK) encodes the “half-sum” and the “half-difference” at the same time, and its two intersections with the xx-axis, Ex±EKE_x\pm EK, are exactly these two cosines. This is why “two angles + one circle” is enough to fix the vertices - all the information of the four layers of radicals is compressed by Richmond into the quartering of ∠OIE\angle OIE, the 45∘45^\circ deflection, and that one circle.


6.2 Getting started: the circle, two radii, the quarter point II (stages 1–5)

Stage 1: draw the circle, center O

Stage 1 (draw the circle, center OO). Fix the unit circle and its center O=(0,0)O=(0,0). The whole construction is done on this one circle, and the final regular 17-gon is inscribed in it.

Stage 2: draw the horizontal diameter, fixing the vertex A=V₀

Stage 2 (draw the horizontal diameter → vertex A=V0A=V_0). Through OO draw the horizontal diameter, meeting the circle on the right at A=(1,0)A=(1,0). By convention AA is the 00-th vertex V0V_0 - the angles of all vertices are counted from here, and the kk-th vertex is at angle 2πk17\tfrac{2\pi k}{17}.

Stage 3: draw the vertical radius OB

Stage 3 (draw the vertical radius OBOB). Through OO draw the radius perpendicular to OAOA, meeting the circle above at B=(0,1)B=(0,1). OBOB will provide the vertical scale used later to fix II. A perpendicular only needs “the line joining the intersections of two circles”, which is a legitimate straightedge-and-compass operation.

Stage 4: bisect OB, giving the midpoint M

Stage 4 (bisect OBOB → midpoint MM). Draw the perpendicular bisector of OBOB, giving the midpoint M=(0,12)M=(0,\tfrac12). Bisecting a segment is the most basic straightedge-and-compass operation (draw two circles of equal radius centered at the two endpoints, and join their intersections). This step prepares for bisecting once more in the next step.

Stage 5: bisect OM, giving the quarter point I

Stage 5 (bisect OMOM → quarter point II). Bisect OMOM once more, giving I=(0,14)I=(0,\tfrac14), that is, OI=14 OB=14OI=\tfrac14\,OB=\tfrac14. Two bisections give “one quarter” - this is the only specific ratio used in Richmond’s construction, and the angles of the next section are all generated from it.


6.3 Two key angles: fixing EE and FF (stages 6–9)

This is the “algebraic heart” of the whole construction: using two angles at II, catch the half-sum and half-difference information of that pair of cosines at one go.

Stage 6: join the segment IA

Stage 6 (join IAIA). Join I=(0,14)I=(0,\tfrac14) and A=(1,0)A=(1,0). In the right triangle OIAOIA, tan⁡∠OIA=OAOI=11/4=4\tan\angle OIA=\dfrac{OA}{OI}=\dfrac{1}{1/4}=4, so

∠OIA=arctan⁡4=75.964∘.\angle OIA=\arctan 4=75.964^\circ.

This arctan⁡4\arctan 4 is the “mother angle” of all the later angles.

Stage 7: quarter the angle OIA, fixing E

Stage 7 (bisect ∠OIA\angle OIA twice → fix EE). Quarter ∠OIA\angle OIA (two successive angle bisections, both legitimate straightedge-and-compass operations), and take the part next to OAOA, ∠OIE=14∠OIA\angle OIE=\tfrac14\angle OIA. The ray IEIE meets OAOA at EE. So

∠OIE=14arctan⁡4=18.991∘,Ex=OI⋅tan⁡∠OIE=14tan⁡ ⁣(14arctan⁡4)=0.08604.\angle OIE=\tfrac14\arctan 4=18.991^\circ,\qquad E_x=OI\cdot\tan\angle OIE=\tfrac14\tan\!\big(\tfrac14\arctan 4\big)=0.08604.

This Ex≈0.0860E_x\approx 0.0860 is exactly the half-sum of that pair of cosines mentioned in §6.1 (verified in §6.6).

Stage 8: at I, turn 45 degrees from IE; F lands on the negative x-half-axis

Stage 8 (at II, from IEIE turn 45∘45^\circ → FF lands on the negative xx-half-axis). With II as vertex, from the ray IEIE, in the direction opposite to AA, turn out 45∘45^\circ (a 45∘45^\circ angle can be constructed with straightedge and compass: first construct a right angle, then bisect it); the ray meets the line of OAOA at FF. The key detail: FF is not on the side of AA, but on the other side of OO - the negative xx-half-axis. Check: the angle on the side of FF is then ∠OIF=45∘−∠OIE=26.009∘\angle OIF=45^\circ-\angle OIE=26.009^\circ, so

OF=OI⋅tan⁡∠OIF=0.12198,F=(−0.12198, 0),∠EIF=18.991∘+26.009∘=45.000∘ ✓.OF=OI\cdot\tan\angle OIF=0.12198,\qquad F=(-0.12198,\,0),\qquad \angle EIF=18.991^\circ+26.009^\circ=45.000^\circ\ \checkmark.

A step often drawn wrong in history: early retellings often put FF on the side of AA (positive xx). Once the sign is reversed, the later intersection point lands at the wrong horizontal coordinate (rather than the true value N3=0.4457N_3=0.4457), and all the vertices are wrong.

FF being on the negative half-axis

is the lifeline of this construction’s correctness.

Stage 9: erase the auxiliary lines of the angles (E, F fixed)

Stage 9 (erase the auxiliary lines of the angles). Once E,FE,F are fixed, the three rays IAIA, IEIE, IFIF have done their job, and are erased to keep the picture clean. Keep the two points EE, FF and II.


6.4 One circle translates E,FE,F into a radius (stages 10–14)

Stage 10: bisect AF, giving the midpoint

Stage 10 (bisect AFAF → midpoint). Take the midpoint of A=(1,0)A=(1,0) and F=(−0.12198,0)F=(-0.12198,0), (1+(−0.12198)2,0)=(0.439,0)\big(\tfrac{1+(-0.12198)}{2},0\big)=(0.439,0). This is the center of the circle of the next step.

Stage 11: draw the circle with AF as diameter

Stage 11 (draw the circle with AFAF as diameter). With the midpoint of the previous step as center and 12∣AF∣=1+0.121982=0.561\tfrac12|AF|=\tfrac{1+0.12198}{2}=0.561 as radius, draw a circle. By Thales’s semicircle theorem, every point KK lying on this circle satisfies ∠AKF=90∘\angle AKF=90^\circ - this is exactly the geometric device used in the next step to “take a square root”.

Stage 12: mark K = the intersection of circle(AF) with OB

Stage 12 (mark K=K= circle(AF)∩OB(AF)\cap OB). This circle meets the vertical radius OBOB at K=(0,Ky)K=(0,K_y). Since ∠AKF=90∘\angle AKF=90^\circ and OK⊥AFOK\perp AF, the projection theorem (geometric mean) for right triangles gives OK2=OA⋅OFOK^2=OA\cdot OF, that is,

Ky=OA⋅OF=1×0.12198=0.34926.K_y=\sqrt{OA\cdot OF}=\sqrt{1\times 0.12198}=0.34926.

This step uses a circle to draw “the square root of the product of two lengths” - this is the standard method of taking square roots with straightedge and compass.

Stage 13: draw the circle with center E and radius EK

Stage 13 (draw the circle with center EE and radius EKEK). Take the distance from E=(0.08604,0)E=(0.08604,0) to K=(0,0.34926)K=(0,0.34926) as the radius:

EK=Ex2+Ky2=0.086042+0.349262=0.35970.EK=\sqrt{E_x^{2}+K_y^{2}}=\sqrt{0.08604^{2}+0.34926^{2}}=0.35970.

With EE as center and EKEK as radius, draw a circle. This radius EK≈0.3597EK\approx 0.3597 is exactly the half-difference of that pair of cosines in §6.1 (verified in §6.6).

Stage 14: mark N₃, N₅ = the intersections of circle(E,EK) with OA

Stage 14 (mark N3,N5=N_3,N_5= circle(E,EK)∩OA(E,EK)\cap OA). The circle (E,EK)(E,EK) meets the horizontal axis OAOA at two points Ex±EKE_x\pm EK:

N3=Ex+EK=0.08604+0.35970=0.44574,N5=Ex−EK=0.08604−0.35970=−0.27366.N_3=E_x+EK=0.08604+0.35970=0.44574,\qquad N_5=E_x-EK=0.08604-0.35970=-0.27366.

The key fact (verified both numerically and symbolically, see §6.6–6.7):

N3=cos⁡6π17=0.44574,N5=cos⁡10π17=−0.27366.N_3=\cos\tfrac{6\pi}{17}=0.44574,\qquad N_5=\cos\tfrac{10\pi}{17}=-0.27366.

Because ExE_x is the half-sum of this pair of cosines and EKEK is the half-difference, “half-sum ±\pm half-difference” restores exactly the two cosines themselves - this is the whole secret of how Richmond uses one circle to fix the projections of two vertices at the same time.


6.5 Raising the vertices, stepping off the rest (stages 15–20)

Seventeen equally spaced vertices joined into a complete regular 17-gon; the whole figure rotates once to bring out the symmetry. — Animation: Abel (Manim)

Seventeen equally spaced vertices joined into a complete regular 17-gon; the whole figure rotates once to bring out the symmetry. — Animation: Abel (Manim)

Stage 15: erase the auxiliary circles and the used-up labels

Stage 15 (erase the auxiliary circles and the used-up labels). With N3,N5N_3,N_5 now fixed on the xx-axis, the circle (AF)(AF), the circle (E,EK)(E,EK) and intermediate elements such as K,M,BK,M,B leave the stage, and the picture keeps only two vertical lines still to be drawn.

Stage 16: through N₃ draw the perpendicular to OA, giving V₃ on the circle

Stage 16 (through N3N_3 draw the perpendicular to OAOA → V3V_3). At N3=(0.44574,0)N_3=(0.44574,0) draw the perpendicular to OAOA, meeting the circle above at

V3=(0.44574, 1−0.445742)=(0.44574, 0.89516).V_3=\big(0.44574,\ \sqrt{1-0.44574^2}\big)=(0.44574,\ 0.89516).

Its polar angle =arctan⁡0.895160.44574=63.529∘=3×360∘17=\arctan\tfrac{0.89516}{0.44574}=63.529^\circ=3\times\tfrac{360^\circ}{17} - exactly the 33rd vertex. Because the polar angle of the point on the unit circle with horizontal coordinate cos⁡θ\cos\theta is exactly θ\theta, and N3=cos⁡6π17=cos⁡(3⋅2π17)N_3=\cos\tfrac{6\pi}{17}=\cos\big(3\cdot\tfrac{2\pi}{17}\big).

Stage 17: through N₅ draw the perpendicular to OA, giving V₅ on the circle

Stage 17 (through N5N_5 draw the perpendicular to OAOA → V5V_5). Likewise raise a perpendicular at N5=(−0.27366,0)N_5=(-0.27366,0), giving

V5=(−0.27366, 0.96182),polar angle=105.882∘=5×360∘17,V_5=(-0.27366,\ 0.96182),\quad \text{polar angle}=105.882^\circ=5\times\tfrac{360^\circ}{17},

that is, the 55th vertex (N5=cos⁡10π17=cos⁡(5⋅2π17)N_5=\cos\tfrac{10\pi}{17}=\cos\big(5\cdot\tfrac{2\pi}{17}\big)). At this point the three true vertices V0,V3,V5V_0,V_3,V_5 are in hand.

Stage 18: erase the auxiliary lines (V₀, V₃, V₅ fixed)

Stage 18 (erase the auxiliary lines). The two perpendiculars and projection elements such as N3,N5,I,E,FN_3,N_5,I,E,F have done their job and are erased, keeping only the three points V0,V3,V5V_0,V_3,V_5 on the circle.

Stage 19: step with a fixed-length chord (arc 3), giving all 17 vertices

Stage 19 (step with a fixed-length chord → all 17 vertices). Take the chord spanning an arc of 317\tfrac{3}{17} of a turn, V0V3V_0V_3, as the “compass opening”, and starting from V0V_0 step along the circle continuously, crossing 33 vertices each time: V0→V3→V6→⋯V_0\to V_3\to V_6\to\cdots. Because

gcd⁡(3,17)=1,\gcd(3,17)=1,

stepping with step length 33 modulo 1717 traverses all 1717 vertices with no repeats and no omissions ({3k mod 17:k=0,…,16}={0,1,…,16}\{3k\bmod 17:k=0,\dots,16\}=\{0,1,\dots,16\}, verified). So the repeated “pacing” of this one fixed-length chord alone fills in all the vertices - with no need to reconstruct the angles one by one.

Stage 20: join in order, giving the regular 17-gon

Stage 20 (join in order → the regular 17-gon). Join the 1717 vertices into chords in adjacent order, completing the regular 17-gon. Every stroke throughout is an actual line, an actual circle or an actual intersection point, strictly satisfying the definition of a straightedge-and-compass construction. This is the discovery of that morning of Gauss in 1796 (Disquisitiones Arithmeticae §365), made real by Richmond in 1893 as twenty steps that can be drawn by hand.

Honest count: the above is

20 stages, not 21. Of these, 33 are clean-up steps of “erasing auxiliary lines” (stages 9,15,189,15,18), which add no geometric element but are listed separately for the clarity of the picture; the real “construction primitives” (line/circle/intersection) number about 1717. Any retelling that calls it “21 steps” counts one step too many.


6.6 Worked example: why ExE_x is the half-sum and EKEK the half-difference

What this section most deserves to have checked by hand is the core claim of stage 14, “half-sum ±\pm half-difference restores the cosines”. Nail it down with numbers:

Example 6.1 (half-sum).

The sum of this pair of cosines

cos⁡6π17+cos⁡10π17=0.44574+(−0.27366)=0.17208,\cos\tfrac{6\pi}{17}+\cos\tfrac{10\pi}{17}=0.44574+(-0.27366)=0.17208,

half of it =0.08604=0.08604, which, with the Ex=14tan⁡(14arctan⁡4)=0.08604E_x=\tfrac14\tan\big(\tfrac14\arctan 4\big)=0.08604 computed in stage 7,

agrees

. That is, Ex=12(cos⁡6π17+cos⁡10π17)E_x=\tfrac12\big(\cos\tfrac{6\pi}{17}+\cos\tfrac{10\pi}{17}\big).

Example 6.2 (half-difference).

Half the difference of this pair of cosines

12(cos⁡6π17−cos⁡10π17)=12(0.44574−(−0.27366))=0.35970,\tfrac12\big(\cos\tfrac{6\pi}{17}-\cos\tfrac{10\pi}{17}\big)=\tfrac12\big(0.44574-(-0.27366)\big)=0.35970,

with the EK=Ex2+Ky2=0.35970EK=\sqrt{E_x^2+K_y^2}=0.35970 of stage 13,

agrees

. That is, EK=12(cos⁡6π17−cos⁡10π17)EK=\tfrac12\big(\cos\tfrac{6\pi}{17}-\cos\tfrac{10\pi}{17}\big).

Example 6.3 (restoring).

So

N3=Ex+EK=half-sum+half-difference=cos⁡6π17,N5=Ex−EK=half-sum−half-difference=cos⁡10π17.N_3=E_x+EK=\text{half-sum}+\text{half-difference}=\cos\tfrac{6\pi}{17},\qquad N_5=E_x-EK=\text{half-sum}-\text{half-difference}=\cos\tfrac{10\pi}{17}.

This is exactly the elementary identity of “turning sum and difference into the two numbers”: given the sum SS and the difference DD of two numbers, the two numbers are S2±D2\tfrac{S}{2}\pm\tfrac{D}{2}. Richmond encodes SS into the position of EE and DD into the radius of the circle, and the two intersections of one circle with the xx-axis are automatically those two numbers.

Example 6.4 (stepping traversal).

Step length 33, modulo 1717: 0,3,6,9,12,15,1,4,7,10,13,16,2,5,8,11,140,3,6,9,12,15,1,4,7,10,13,16,2,5,8,11,14 - stepping exactly once on each of 00 to 1616, and at the 1717th step returning to 00. Only a step length not coprime to 1717 would get stuck (1717 is prime, and the only nonzero step lengths not coprime to it are multiples of 1717, that is 00); for the prime 1717, any 1≤s≤161\le s\le 16 can traverse everything, and s=3s=3 is taken only because V3V_3 is already at hand.

6.7 Verification script

The pure Python below (using only the standard library math) starts from I=(0,14)I=(0,\tfrac14), recomputes each key point following Richmond’s twenty steps, and checks the landing points against the true vertices, the half-sum and half-difference, and the stepping traversal - all assertions pass.

# Richmond 1893 — re-derive every key point from scratch, verify to 1e-5.
import math
from math import atan, tan, sqrt, cos, pi, gcd

OI = 0.25                                  # I = (0, 1/4); OB = 1
# stage 6-7: angle OIA = arctan(OA/OI) = arctan 4, quartered -> E
ang_OIA = atan(1.0 / OI)                   # = arctan 4
ang_OIE = ang_OIA / 4.0
Ex = OI * tan(ang_OIE)                      # E_x
# stage 8: turn 45 deg from IE at I, F on the NEGATIVE-x side
ang_OIF = math.radians(45.0) - ang_OIE     # F-side angle
OF = OI * tan(ang_OIF)
Fx = -OF                                    # F is on negative x  (the sign-flip guard)
assert abs(math.degrees(ang_OIE + ang_OIF) - 45.0) < 1e-9      # angle EIF = 45 exactly
assert abs(Ex - 0.08604) < 1e-4 and abs(Fx - (-0.12198)) < 1e-4

# stage 10-12: circle on diameter AF meets OB at K; OK^2 = OA*OF (geometric mean)
Ky = sqrt(1.0 * OF)                          # = sqrt(OA * OF)
assert abs(Ky - 0.34926) < 1e-4

# stage 13-14: circle(center E, radius EK) meets OA at E_x +/- EK
EK = sqrt(Ex**2 + Ky**2)
N3, N5 = Ex + EK, Ex - EK
assert abs(N3 - cos(6 * pi / 17)) < 1e-5     # N3 = cos(6 pi/17), vertex 3 foot
assert abs(N5 - cos(10 * pi / 17)) < 1e-5    # N5 = cos(10 pi/17), vertex 5 foot

# half-sum / half-difference identity (the heart of 6.6)
assert abs(Ex - 0.5 * (cos(6*pi/17) + cos(10*pi/17))) < 1e-5    # E_x = half-sum
assert abs(EK - 0.5 * (cos(6*pi/17) - cos(10*pi/17))) < 1e-5    # EK  = half-diff

# stage 16-17: perpendiculars land on the TRUE vertices 3 and 5
for N, k in [(N3, 3), (N5, 5)]:
    theta = math.degrees(math.atan2(sqrt(1 - N*N), N))
    assert abs(theta - k * 360.0 / 17) < 1e-3

# stage 19: gcd(3,17)=1  =>  stepping by 3 visits all 17 vertices
assert gcd(3, 17) == 1
assert sorted({(3 * k) % 17 for k in range(17)}) == list(range(17))

print(f"E_x={Ex:.5f}  F_x={Fx:.5f}(neg)  EK={EK:.5f}")
print(f"N3={N3:.5f}=cos6pi/17   N5={N5:.5f}=cos10pi/17   [all asserts OK]")
E_x=0.08604  F_x=-0.12198(neg)  EK=0.35970
N3=0.44574=cos6pi/17   N5=-0.27366=cos10pi/17   [all asserts OK]

6.8 Modern significance

Richmond’s twenty steps look like no more than a small piece of classical geometry, but the ideas it embodies can be seen everywhere today:

A twenty-step procedure used in 1893 to draw a 17-gon packages three mathematical tastes that continue to this day: compression and decoding, traversal of cyclic groups, and verifiable construction.

— End of §6.


§7 — Necessity: why most figures cannot be drawn (Wantzel 1837 + Lindemann 1882)

The previous six sections have all been doing the positive thing: how Gauss cut ζ17\zeta_{17}, cut by cut, down to ground that straightedge and compass can reach. But ”1717 can be drawn” is only half of the story. What is really astonishing is its reverse side - the vast majority of things you would like to draw can never be drawn. The regular heptagon cannot be drawn, doubling the cube cannot be drawn, trisecting an ordinary angle cannot be drawn, and turning a circle into a square of equal area cannot be drawn either. This section gives the key that closes these great doors: a degree criterion. Pierre Wantzel proved it on one page in 1837, cleanly killing two of these ancient Greek problems of more than two thousand years; the remaining “squaring the circle” had to wait until Lindemann 1882 proved π\pi transcendental to be finally sealed off.

This section also answers the question that runs through the whole article: why is it exactly 1717 that survives? The answer will fall out naturally - because [Q(cos⁡2π17):Q]=8=23[\mathbb{Q}(\cos\tfrac{2\pi}{17}):\mathbb{Q}]=8=2^3 is exactly a power of 22, and its arithmetic root is exactly that 17=F217=F_2 is a Fermat prime (§1).

Additional notation for this section

NotationReading / meaning
constructible numbera real number (coordinate) that can be fixed, starting from the unit length, by finitely many straightedge-and-compass steps
[Q(x):Q][\mathbb{Q}(x):\mathbb{Q}]the degree of the number xx over Q\mathbb{Q}: the degree of the lowest-degree equation with rational coefficients that it satisfies
2t2^ta power of 22 (1,2,4,8,16,…1,2,4,8,16,\dots); the “pass” that Wantzel’s criterion requires
23\sqrt[3]{2}the cube root of 22, the side length that the problem of doubling the cube requires constructing
algebraic number / transcendental numbera number satisfying some equation with rational coefficients / a number satisfying no such equation (such as π\pi)
Eisenstein criteriona sufficient condition that uses a prime pp to decide at a glance that a polynomial is irreducible

7.1 Intuition: each move of straightedge and compass only “takes one square root”

Leave formulas aside for now, and think about what straightedge and compass can actually do. You have only two tools in hand:

Where do new points come from? There are only three kinds of intersection: line meets line, line meets circle, circle meets circle. Translate them into coordinate equations: a line is a linear equation, a circle is a quadratic equation.

In one sentence: each stroke of straightedge and compass adds at most one more layer of square roots to the coordinates. All the numbers you can construct are nothing more than what is piled up, starting from the rational numbers, by repeatedly taking square roots and doing rational operations. This is the entire intuitive source of the criterion that follows - constructible = a string of square roots stacked up.

7.2 Formalization: the degree of a constructible number must be a power of 22 (Wantzel’s degree criterion)

Put the intuition of 7.1 into the language of fields. A field is a set of numbers closed under addition, subtraction, multiplication and division (such as Q\mathbb{Q}, R\mathbb{R}). “Taking one square root over the known quantities” corresponds to enlarging the current field FF into F(d)F(\sqrt{d}) (d∈Fd\in F) - this is called one quadratic extension; its “dimension” (as a vector space over FF) is 22, written [F(d):F]=2[F(\sqrt d):F]=2.

Notation reminder: the tower below uses the letters FiF_i; it is a “general-purpose scaffold” put up temporarily for

any one

constructible number xx, and it is a different thing from the tower K0⊂K1⊂⋯⊂K4K_0\subset K_1\subset\cdots\subset K_4 belonging specifically to the regular 17-gon in §3–§5 (K3=Q(cos⁡2π17)K_3=\mathbb{Q}(\cos\tfrac{2\pi}{17}), K4=Q(ζ17)K_4=\mathbb{Q}(\zeta_{17})); do not mix them up.

So “each step takes at most one square root” from 7.1, translated, is: every constructible number xx lies at the top of a tower of quadratic extensions

Q=F0⊂F1⊂F2⊂⋯⊂Fm,[Fi+1:Fi]=2,x∈Fm.\mathbb{Q}=F_0\subset F_1\subset F_2\subset\cdots\subset F_m,\qquad [F_{i+1}:F_i]=2,\qquad x\in F_m.

(The purely rational steps that introduce no new radical can be merged, so we may assume every layer is a genuine quadratic extension.) Next, use a basic fact that is like a “multiplication table” - the tower multiplication formula (degree multiplicativity): if Q⊂L⊂M\mathbb{Q}\subset L\subset M, then

[M:Q]=[M:L]⋅[L:Q].[M:\mathbb{Q}]=[M:L]\cdot[L:\mathbb{Q}].

(Intuitively: the “size of the basis” of MM over Q\mathbb{Q} equals the product of the basis sizes of the two stages, first to LL, then from LL to MM - like the number of squares in an a×ba\times b grid.) Multiply layer by layer up the whole tower:

[Fm:Q]=∏i=0m−1[Fi+1:Fi]=2⋅2⋯2⏟m factors=2m.[F_m:\mathbb{Q}]=\prod_{i=0}^{m-1}[F_{i+1}:F_i]=\underbrace{2\cdot 2\cdots 2}_{m\ \text{factors}}=2^{m}.

Finally, use the tower multiplication once more: because Q⊂Q(x)⊂Fm\mathbb{Q}\subset\mathbb{Q}(x)\subset F_m, [Q(x):Q][\mathbb{Q}(x):\mathbb{Q}] divides [Fm:Q]=2m[F_m:\mathbb{Q}]=2^m. And the divisors of 2m2^m can only be powers of 22 again. So we obtain

Wantzel’s degree criterion (1837).

If the real number xx can be constructed with straightedge and compass, then [Q(x):Q][\mathbb{Q}(x):\mathbb{Q}] must be a power of 22:

x constructible  ⟹  [Q(x):Q]=2t (for some integer t≥0).x\ \text{constructible} \;\Longrightarrow\; [\mathbb{Q}(x):\mathbb{Q}]=2^{t}\ \text{(for some integer } t\ge 0\text{)}.

This is a pass check: any number that wants to be constructed with straightedge and compass must first pass the gate “the degree is a power of 22”. Note the direction - it is a necessary condition (constructible ⇒\Rightarrow power of 22). If a number’s degree is not a power of 22, it is out on the spot, and there is no need to start drawing at all. The three ancient Greek problems below are exactly the ones blocked dead by this gate (or by its strengthened version with transcendental numbers).

A historical note:

Pierre Wantzel

(1814–1848) published this result in his early twenties (2222–2323 years old; the paper appeared in the 1837 volume, and his age differs depending on whether it is taken before or after his birthday in month 66, June), and was the first person in history to prove rigorously that these classical constructions are

impossible

. Before him, people already strongly suspected they could not be drawn, but “cannot be drawn” and “proving it can never be drawn” are worlds apart - the latter requires translating “the power of straightedge and compass” into algebraic degree, which is exactly what Wantzel did.

7.3 Doubling the cube: why 23\sqrt[3]{2} is out (degree 33)

Wantzel 1837: doubling the cube (\sqrt[3]{2}, degree 3) and the general trisection of an angle (60^\circ, degree 3) are both out. — Abel (Manim)

Wantzel 1837: doubling the cube (23\sqrt[3]{2}, degree 3) and the general trisection of an angle (60∘60^\circ, degree 3) are both out. — Abel (Manim)

The problem (said to originate in a plague on Delos, when an oracle demanded that the volume of a cubical altar be doubled): given a cube of edge 11 (volume 11), construct a cube of volume 22 - that is, construct the new edge length 23\sqrt[3]{2}.

Proof. 23\sqrt[3]{2} is a root of x3−2=0x^3-2=0. To compute its degree, first prove that x3−2x^3-2 is irreducible over Q\mathbb{Q} (it cannot be further decomposed into factors of lower degree with rational coefficients). Use the Eisenstein criterion with the prime p=2p=2, and check the coefficients of x3−2x^3-2 (from the leading term to the constant term, in order, 1,0,0,−21,0,0,-2) one by one:

The three conditions hit Eisenstein’s hypotheses exactly, so x3−2x^3-2 is irreducible. Therefore it is the minimal polynomial of 23\sqrt[3]{2},

[Q(23):Q]=3.[\mathbb{Q}(\sqrt[3]{2}):\mathbb{Q}]=3.

33 is not a power of 22. By Wantzel’s criterion (7.2), 23\sqrt[3]{2} is not constructible. Doubling the cube is impossible. (QED)

7.4 Trisecting a general angle: why trisecting 60∘60^\circ is out (degree 33)

The problem: trisect an arbitrary given angle with straightedge and compass. Note that some special angles can be trisected (90∘→30∘90^\circ\to30^\circ is easy), so to prove “impossible”, it suffices to give one angle that cannot be trisected. The most classic counterexample is 60∘60^\circ (which is itself constructible - the interior angle of the equilateral triangle).

Proof. Let t=cos⁡20∘t=\cos 20^\circ (that is, a third of 60∘60^\circ). Use the triple-angle formula cos⁡3α=4cos⁡3α−3cos⁡α\cos 3\alpha=4\cos^3\alpha-3\cos\alpha, taking α=20∘\alpha=20^\circ, cos⁡60∘=12\cos 60^\circ=\tfrac12:

4t3−3t=12⟹8t3−6t−1=0.4t^3-3t=\tfrac12 \quad\Longrightarrow\quad \boxed{8t^3-6t-1=0.}

To prove that cos⁡20∘\cos 20^\circ has degree 33, it suffices to prove that 8t3−6t−18t^3-6t-1 is irreducible over Q\mathbb{Q}. A cubic polynomial is reducible over Q\mathbb{Q}   ⟺  \iff it has a rational root (because if it can be factored at all, it must contain a linear factor). So it suffices to prove that it has no rational root. Use the rational root theorem: if the fraction in lowest terms p/qp/q is a root, then p∣(constant term=−1)p\mid(\text{constant term}=-1) and q∣(leading coefficient=8)q\mid(\text{leading coefficient}=8). So the only candidates are

±1, ±12, ±14, ±18.\pm 1,\ \pm\tfrac12,\ \pm\tfrac14,\ \pm\tfrac18.

Substitute them one by one (worked example 7.6 below + the python block give the values of all 88), and not one makes the polynomial zero. So 8t3−6t−18t^3-6t-1 has no rational root ⇒\Rightarrow it is irreducible ⇒\Rightarrow

[Q(cos⁡20∘):Q]=3,[\mathbb{Q}(\cos 20^\circ):\mathbb{Q}]=3,

again not a power of 22. By Wantzel’s criterion, cos⁡20∘\cos 20^\circ is not constructible. 60∘60^\circ cannot be trisected, so the trisection of a general angle is impossible. (QED)

The echo of §1: this also explains why the regular 99-gon cannot be drawn. Constructing the regular 99-gon   ⟺  \iff constructing cos⁡2π9=cos⁡40∘\cos\tfrac{2\pi}{9}=\cos 40^\circ, and 40∘=2×20∘40^\circ=2\times20^\circ (doubling an angle is constructible), 20∘=60∘/320^\circ=60^\circ/3, which drags us back to the same cubic obstacle of trisecting 60∘60^\circ (degree 33, consistent with this section’s argument for trisecting 60∘60^\circ). Arithmetically, 9=329=3^2 contains the

repeated

Fermat prime 33 - this is exactly the case where “mutually distinct” in the criterion of §1, ”n=2ap1⋯pkn=2^a p_1\cdots p_k, pip_i

mutually distinct

”, is violated. A repeated Fermat prime factor = a residual cubic obstacle = cannot be drawn.

7.5 Squaring the circle: this one Wantzel cannot lock out; it takes Lindemann

Lindemann 1882: \pi is transcendental \Rightarrow constructible \subset algebraic \not\ni \pi \Rightarrow squaring the circle is closed. — Abel (Manim)

Lindemann 1882: π\pi is transcendental ⇒\Rightarrow constructible ⊂\subset algebraic ∌π⇒\not\ni \pi \Rightarrow squaring the circle is closed. — Abel (Manim)

Ferdinand von Lindemann (1852–1939), who proved in 1882 that \pi is transcendental. Wikimedia Commons, PD (the only low-resolution portrait on Commons).

Ferdinand von Lindemann (1852–1939), who proved in 1882 that π\pi is transcendental. Wikimedia Commons, PD (the only low-resolution portrait on Commons).

The problem: given a circle of radius 11 (area π\pi), construct a square of equal area - that is, construct the side length π\sqrt{\pi}.

This is the deepest of the three problems. Wantzel’s degree criterion has no purchase here: it deals with problems internal to algebraic numbers, such as “is the degree a power of 22”, while π\pi is not an algebraic number at all. What really seals it off is a result of a completely different order:

Lindemann’s theorem (1882).

π\pi is a

transcendental number

  • it does not satisfy

any

nonzero polynomial equation with rational coefficients.

Proof. With this key, the argument is done in one step. All constructible numbers are algebraic numbers (by 7.2: a constructible number lies in a finite extension of Q\mathbb{Q}, and naturally satisfies some equation with rational coefficients). Suppose π\sqrt{\pi} were constructible; then π\sqrt{\pi} would be an algebraic number; but algebraic numbers are closed under multiplication, so (π)2=π(\sqrt{\pi})^2=\pi would also be an algebraic number - contradicting Lindemann. So π\sqrt{\pi} is not constructible. Squaring the circle is impossible. (QED)

Please keep this division of labor firmly in mind; it is the point on which §1 and this section must agree:

ProblemObstacleWho sealed it off
doubling the cube[Q(23):Q]=3[\mathbb{Q}(\sqrt[3]2):\mathbb{Q}]=3, not a power of 22Wantzel 1837
trisecting the angle[Q(cos⁡20∘):Q]=3[\mathbb{Q}(\cos 20^\circ):\mathbb{Q}]=3, not a power of 22Wantzel 1837
squaring the circleπ\pi is transcendental (not even an algebraic number)Lindemann 1882

Wantzel’s degree criterion closed the first two at one stroke; the third lies beyond what “degree” can describe, and had to wait for Lindemann to prove the transcendence of π\pi. Crediting squaring the circle to Wantzel is a common historical error - this article does not make it.

A historical note:

Ferdinand von Lindemann

(1852–1939) built his proof on the method by which Hermite in

1873

proved ee transcendental, generalizing it to π\pi. From ancient Greece to this point,

a span of about two thousand three hundred years

(the earliest explicit attempt at squaring the circle can be traced back to Anaxagoras around 450450 BC; it was sealed off in 18821882).

7.6 Worked example: closing the door of trisection by hand with the rational root theorem

Substitute, one by one, into 8t3−6t−18t^3-6t-1 all 88 candidate rational roots, and see how far from zero they are (not one hits):

Candidate tt8t3−6t−18t^3-6t-1A root?
118−6−1=18-6-1=1No
−1-1−8+6−1=−3-8+6-1=-3No
12\tfrac121−3−1=−31-3-1=-3No
−12-\tfrac12−1+3−1=1-1+3-1=1No
14\tfrac1418−32−1=−198\tfrac18-\tfrac32-1=-\tfrac{19}{8}No
−14-\tfrac14−18+32−1=38-\tfrac18+\tfrac32-1=\tfrac38No
18\tfrac18164−34−1=−11164\tfrac{1}{64}-\tfrac34-1=-\tfrac{111}{64}No
−18-\tfrac18−164+34−1=−1764-\tfrac{1}{64}+\tfrac34-1=-\tfrac{17}{64}No

No rational root ⇒\Rightarrow the cubic is irreducible ⇒\Rightarrow [Q(cos⁡20∘):Q]=3[\mathbb{Q}(\cos 20^\circ):\mathbb{Q}]=3. Numerically, verify that cos⁡20∘≈0.939693\cos 20^\circ\approx 0.939693 really is a root: 8(0.939693)3−6(0.939693)−1≈08(0.939693)^3-6(0.939693)-1\approx 0.

Contrast with the survival of 1717: the regular 1717-gon   ⟺  \iff constructing cos⁡2π17\cos\tfrac{2\pi}{17}, whose degree is [Q(cos⁡2π17):Q]=17−12=8=23[\mathbb{Q}(\cos\tfrac{2\pi}{17}):\mathbb{Q}]=\tfrac{17-1}{2}=8=2^3 - exactly a power of 22, passing Wantzel’s pass check. This is the essential divide between 1717 and 23\sqrt[3]2, cos⁡20∘\cos 20^\circ: it is not that ”1717 is especially hard”; quite the opposite, its degree is especially tame (it is 232^3, not 33 or some odd composite), so it can be taken level by level by the four layers of square roots of §3–§6.

7.7 Verification (pure Python / stdlib)

# Section 7: the necessity side — Wantzel's degree criterion at work.
# (1) doubling the cube, (2) trisecting 60 deg, (3) why 17 survives.
from fractions import Fraction as F
import math

# ---- (1) Doubling the cube: x^3 - 2 has NO rational root -> irreducible (deg 3).
def cube(x): return x**3 - 2
# rational-root candidates: p | 2 (const), q | 1 (leading) -> +-1, +-2
cube_cands = [F(1), F(-1), F(2), F(-2)]
assert all(cube(c) != 0 for c in cube_cands), "x^3-2 has no rational root"
print(f"[doubling cube] cbrt(2) ~= {2**(1/3):.6f}, deg 3 (not a power of 2) -> impossible")

# ---- (2) Trisecting 60 deg: cos20 satisfies 8 t^3 - 6 t - 1 = 0.
def p3(x): return 8*x**3 - 6*x - 1
t = math.cos(math.radians(20))
assert abs(p3(t)) < 1e-9, "cos20 is a root of 8t^3-6t-1"
# rational-root theorem: p | 1 (|const|), q | 8 (leading) -> +-1, +-1/2, +-1/4, +-1/8
tri_cands = [F(s, d) for d in (1, 2, 4, 8) for s in (1, -1)]
assert all(p3(c) != 0 for c in tri_cands), "no rational root -> 8t^3-6t-1 irreducible"
print("[trisect 60] candidate -> value:")
for c in tri_cands:
    print(f"    t={str(c):>4}:  8t^3-6t-1 = {p3(c)}")
print(f"    cos20 ~= {t:.6f}, deg 3 (not a power of 2) -> impossible")

# ---- (3) Why 17 survives: [Q(cos 2pi/17):Q] = (17-1)/2 = 8 = 2^3 IS a power of 2.
deg17 = (17 - 1) // 2
assert deg17 == 8 == 2**3, "[Q(cos 2pi/17):Q] = 8 = 2^3"
print(f"[regular 17-gon] [Q(cos 2pi/17):Q] = {deg17} = 2^3 (a power of 2) -> CONSTRUCTIBLE")

# ---- bonus: regular 9-gon fails for the SAME deg-3 reason (9 = 3^2, repeated Fermat prime)
def p9(x): return 8*x**3 - 6*x + 1   # cos(2pi/9)=cos40 solves 4c^3-3c=cos120=-1/2
c9 = math.cos(2*math.pi/9)
assert abs(p9(c9)) < 1e-9 and all(p9(c) != 0 for c in tri_cands), \
    "cos(2pi/9) also deg 3 -> regular 9-gon impossible (repeated Fermat prime 3)"
print("[regular 9-gon] cos(2pi/9) deg 3 -> impossible (9=3^2 repeats Fermat prime 3)")
print("all section-7 necessity checks pass")

Run output (checked): doubling the cube / trisecting 60∘60^\circ / the regular 99-gon are all out because their degree =3=3, and only the regular 1717-gon passes, because its degree =8=23=8=2^3.

7.8 Modern significance

The family of Fermat primes (3 / 5 / 17 / 257 / 65537) corresponds to five constructible polygons; the 65537 sides grow denser step by step, until to the naked eye it is no different from a circle. — Animation: Abel (Manim)

The family of Fermat primes (3 / 5 / 17 / 257 / 65537) corresponds to five constructible polygons; the 65537 sides grow denser step by step, until to the naked eye it is no different from a circle. — Animation: Abel (Manim)

The real weight of Wantzel’s one page of 1837 lies not in “solving three more ancient problems”, but in its demonstrating a completely new way of thinking:

Back to the main line that runs through the whole article: the three great ancient Greek problems trapped humanity for about two thousand three hundred years, and the construction of regular polygons also stalled for over two thousand years (from Euclid around 300300 BC to Gauss’s breakthrough in 1796; see Disquisitiones Arithmeticae §365 for details). That 1717 could survive in this wilderness of “impossible” is not luck, but a precise arithmetic condition protecting it: 17=F217=F_2 is a Fermat prime ⇒\Rightarrow [Q(cos⁡2π17):Q]=8[\mathbb{Q}(\cos\tfrac{2\pi}{17}):\mathbb{Q}]=8 is a power of 22 ⇒\Rightarrow it passes Wantzel’s criterion ⇒\Rightarrow it is reachable by four layers of square roots (§3–§5) ⇒\Rightarrow a straightedge and a compass really can draw it (§6, the elegant construction of Richmond 1893). The positive “constructible” and the negative “not constructible” share the same degree criterion - this is exactly the unified viewpoint that algebra gave to geometry after Gauss.

— End of §7.

7.9 Historical sources: Wantzel and Lindemann, the men and their work

In the Disquisitiones Arithmeticae of 1801, Gauss proved the sufficient direction of the constructibility criterion: as long as n=2a⋅p1⋯pkn = 2^a \cdot p_1 \cdots p_k (the pip_i distinct Fermat primes), the regular nn-gon can be constructed with straightedge and compass. But he did not prove the necessary direction (conversely: if this condition is not satisfied, it certainly cannot be constructed) - Gauss himself asserted necessity, but gave no proof.

The one who completed this step was the French mathematician Pierre Laurent Wantzel** (1814–1848)**. In 1837 he published the paper “Research on the means of recognizing whether a problem of geometry can be solved with straightedge and compass” (Recherches sur les moyens de reconnaître si un Problème de Géométrie peut se résoudre avec la règle et le compas), in the Journal of Pure and Applied Mathematics (Journal de Mathématiques Pures et Appliquées), volume 2, pages 366–372. This paper proved necessity rigorously for the first time, completing what is today called the Gauss–Wantzel theorem.

The same paper also, in passing, put an end to two ancient Greek problems that had troubled the mathematical world for more than two thousand years: doubling the cube (the minimal polynomial of 23\sqrt[3]{2} has degree 3, and cannot fit into a tower of extensions of degree a power of 2) and the trisection of an arbitrary angle (the general case comes down to an equation of degree 3). Wantzel died young, at only 33, and this foundational paper was seriously underestimated for a long time after his death.

The last of the three problems to fall was squaring the circle - what it requires is not only “the degree is not a power of 2”, but that π\pi is not an algebraic number at all. In 1882, Ferdinand von Lindemann proved that π\pi is transcendental (the paper “On the number π” Über die Zahl π, in the Mathematical Annals, Mathematische Annalen, volume 20, pages 213–225); his proof was built on Hermite’s 1873 result on the transcendence of ee and on Euler’s identity eiπ=−1e^{i\pi} = -1. A number constructible with straightedge and compass must be algebraic; since π\pi is transcendental, it is not constructible, and squaring the circle is therefore impossible. Counting from when the ancient Greeks (Anaxagoras, around the 5th century BC) posed it, it took about two thousand three hundred years, and with this all three great problems were brought to a full stop.


§8 History and significance

8.1 1796-03-30: the first entry in the diary

On the morning of March 30, 1796, Gauss wrote the first entry in his mathematical diary (Mathematisches Tagebuch), in Latin:

“Principia quibus innititur sectio circuli, ac divisibilitas eiusdem geometrica in septemdecim partes etc.”

(The principles on which the division of the circle rests, and its geometric divisibility into seventeen parts, etc.)

This diary, kept from 1796 to 1814, has 146 entries in all; it was only rediscovered in 1897, first published by Felix Klein in 1903 in the Mathematical Annals (Mathematische Annalen), and later included in volume 11 of Gauss’s collected works (Werke). When he wrote this first entry, Gauss was not yet 19 - he was born on April 30, 1777, and this day was still exactly one month short of his 19th birthday.

8.2 1801: Disquisitiones Arithmeticae §365–§366

The title page of the Disquisitiones Arithmeticae, Leipzig 1801 - Chapter VII, §365–§366, gives the constructibility criterion. Wikimedia Commons, PD.

The title page of the Disquisitiones Arithmeticae, Leipzig 1801 - Chapter VII, §365–§366, gives the constructibility criterion. Wikimedia Commons, PD.

Five years later, in 1801, Gauss published the Arithmetical Investigations (Disquisitiones Arithmeticae, completed in 1798 and sent to press in 1801; the link is a digitized scan of the first Latin edition of 1801), a book of 366 articles in all. Among them, §365–§366 of Chapter VII (the theory of the division of the circle, cyclotomy) - which are also the last two articles of the whole book - give the sufficient condition for a regular polygon to be constructible with straightedge and compass:

n=2a⋅p1⋅p2⋯pk,pi mutually distinct Fermat primesn = 2^a \cdot p_1 \cdot p_2 \cdots p_k,\quad p_i \text{ mutually distinct Fermat primes}

The 17=F217 = F_2 corresponding to the regular 17-gon is exactly the first “new” constructible regular polygon after Euclid.

8.3 Fermat primes and the later 257-gon and 65537-gon

The first page of the manuscript of J. G. Hermes's Diary of the Division of the Circle (Diarium Kreisteilung) - he spent about ten years calculating the construction of the regular 65537-gon by hand; it is kept in Göttingen. Wikimedia Commons, PD.

The first page of the manuscript of J. G. Hermes’s Diary of the Division of the Circle (Diarium Kreisteilung) - he spent about ten years calculating the construction of the regular 65537-gon by hand; it is kept in Göttingen. Wikimedia Commons, PD.

The Fermat numbers Fn=22n+1F_n = 2^{2^n} + 1. Only five Fermat primes are known:

F0=3,F1=5,F2=17,F3=257,F4=65537F_0 = 3,\quad F_1 = 5,\quad F_2 = 17,\quad F_3 = 257,\quad F_4 = 65537

After Gauss’s 17-gon of 1796: an explicit construction of the regular 257-gon was given by Richelot in 1832; the regular 65537-gon was completed by Johann Gustav Hermes in 1894 - he spent ten years on it, leaving about 200 pages of manuscript; the paper “On the division of the circle into 65537 equal parts” (Über die Teilung des Kreises in 65537 gleiche Teile) was published in the proceedings of the Göttingen Society of Sciences (Nachrichten, 1894, pages 170–186), and the manuscript is kept at the University of Göttingen to this day (digitized).

From F5F_5 on, all those known at present are composite - Euler as early as 1732 found that F5=641×6700417F_5 = 641 \times 6700417 is not prime. Whether a sixth Fermat prime exists is still an unsolved mystery to this day.

8.4 The three great problems of two thousand years

The 1482 Ratdolt printing of Euclid's Elements, with construction diagrams in the margins - the source of the tradition of straightedge-and-compass construction. Wikimedia Commons, PD.

The 1482 Ratdolt printing of Euclid’s Elements, with construction diagrams in the margins - the source of the tradition of straightedge-and-compass construction. Wikimedia Commons, PD.

The three ancient Greek straightedge-and-compass construction problems - squaring the circle, doubling the cube, trisecting the angle - troubled the mathematical world for more than two thousand years. Book IV of Euclid’s Elements gives only the constructions of the regular 3-, 4-, 5-, 6- and 15-gons; for over two thousand years afterward, the construction of regular polygons made almost no progress at all - until Gauss’s 17-gon of 1796, the first breakthrough after Euclid.

Gauss’s real contribution was not “drawing it”, but his proving “why it can be drawn”: the boundary of straightedge-and-compass construction is ultimately decided by the algebraic symmetry of number fields (whether it can be reached layer by layer through a chain of square roots). This viewpoint translated a two-thousand-year-old geometric problem into a problem about the symmetric structure of numbers - this is exactly the forerunner of later Galois theory.

8.5 Background: the patronage of the Duke of Brunswick

Gauss came from humble origins, and his education benefited from the patronage of the Duke of Brunswick (Duke of Brunswick, Carl Wilhelm Ferdinand). He studied at the University of Göttingen in 1795–1798 - the breakthrough of the 17-gon happened right at the beginning of this period of sponsored study.

A widely circulated anecdote (hard to verify from primary sources; best regarded as legend): it is said that Gauss once wished to have a regular 17-gon carved on his tombstone, and the stonemason politely declined on the grounds that “once carved, it would be mistaken for a circle”, so a seventeen-pointed star was carved instead.


§9 Closing

As was said at the beginning of the video, Gauss had such astonishing insight when he was young that it filled me, then in high school, with deep admiration.

This blog post writes down all the derivations that there was no time to unfold in the video. The video version (with animation and narration) is here: YouTube · timeobserver137.

If you find an error in the video or the blog post, or are interested in what I do, you are also welcome to leave a message in the comments below the video or by email.

Thank you for watching.


timeobserver137 · timeobserver137.cyou · mathematical derivations: Abel | historical fact-checking: Gauss | logic review: Socrates | composition and media: Escher | publication: Euler