Mathwords logoMathwords

Gauss–Wantzel Theorem — Definition, Formula & Example

The Gauss–Wantzel Theorem is the rule that tells you exactly which regular polygons can be drawn using only a compass and an unmarked straightedge. It does this by checking the prime factors of the number of sides.

For an integer n≥3n \ge 3, a regular nn-gon is constructible with compass and straightedge if and only if n=2kp1p2⋯pmn = 2^k p_1 p_2 \cdots p_m, where k≥0k \ge 0, m≥0m \ge 0, and the pip_i are distinct Fermat primes. Equivalently, Euler's totient φ(n)\varphi(n) is a power of 2. Gauss proved the condition is sufficient (1801). Wantzel proved it is necessary (1837).

Key Formula

n=2k p1p2⋯pm,pi=22j+1 prime, all distinctn = 2^k \, p_1 p_2 \cdots p_m, \qquad p_i = 2^{2^{j}} + 1 \text{ prime, all distinct}
Where:
  • nn = Number of sides of the regular polygon (n≥3n \ge 3)
  • kk = Any whole number k≥0k \ge 0; the factor 2k2^k may be any power of 2
  • pip_i = Distinct Fermat primes. The only ones known are 3, 5, 17, 257, and 65537
  • jj = Whole number j≥0j \ge 0 that generates the Fermat number 22j+12^{2^j} + 1

Worked Example

Problem: Decide whether a regular 51-gon and a regular 45-gon can each be constructed with compass and straightedge.
Step 1: Factor 51. Both prime factors are Fermat primes, and they are different. The totient confirms this, because 32 is a power of 2.
51=3⋅17=(220+1)(222+1),φ(51)=2⋅16=32=2551 = 3 \cdot 17 = (2^{2^0}+1)(2^{2^2}+1), \qquad \varphi(51) = 2 \cdot 16 = 32 = 2^5
Step 2: Factor 45. The Fermat prime 3 appears twice, so 45 does not fit the required form. The totient is not a power of 2.
45=32⋅5,φ(45)=6⋅4=24=23⋅345 = 3^2 \cdot 5, \qquad \varphi(45) = 6 \cdot 4 = 24 = 2^3 \cdot 3
Answer: The regular 51-gon is constructible. The regular 45-gon is not, because the Fermat prime 3 is repeated in its factorization.

Why It Matters

The theorem settled a question the ancient Greeks left open for 2,000 years. It also shows that the 9-gon cannot be constructed, which means a 40° angle cannot be constructed and a 120° angle cannot be trisected. Its proof is a standard application of field extensions in an undergraduate abstract algebra or Galois theory course.

Common Mistakes

Mistake: Assuming every Fermat number 22j+12^{2^j}+1 is prime, so any of them can serve as a factor.
Correction: Fermat guessed this, but Euler showed 232+1=4294967297=641⋅67004172^{32}+1 = 4294967297 = 641 \cdot 6700417. Only five Fermat primes are known: 3, 5, 17, 257, and 65537. No one knows whether more exist, so check primality before you apply the theorem.

Related Terms

  • Euclidean Geometry — Defines the compass-and-straightedge rules this theorem limits
  • Fermat Number — Numbers of the form 2^(2^k) + 1, the source of the Fermat primes
  • Analytic Geometry — Coordinates turn constructions into the algebra the proof uses
  • Geometry — Parent field that contains regular polygon constructions
  • Fermat Prime — Odd prime factors must be distinct Fermat primes
  • Regular Polygon — Shapes whose constructibility the theorem decides