7

Suppose that a regular $n$-gon has integer side length $m$. Is the lengths of its diagonals always algebraic numbers? If yes and if $n,m$ are given, is there an easy way to compute the diagonal lengths as a root of some polynomial?

2 Answers2

8

All diagonals are either diameters, or sides of a triangle whose other two legs are segments uniting the center of the polygon to the diagonal's two extremities. As such, their lengths can be computed using the generalized Pythagorean theorem, also known as the law of cosines. The angle between these two sides is a rational multiple of π, hence its sine and cosine are both algebraic, being the real and imaginary part of the n complex roots of unity, per de Moivre's and Euler's formula. Now all that's left to show is that these radii are themselves algebraic: Indeed, $r^2+r^2$$-2rr\cos\dfrac{2\pi}n=m^2$ implying $r=\dfrac m{\sqrt{2\Big(1-\cos\frac{2\pi}n\Big)}}\in\mathbb{A}$. Then $d_j=r\sqrt{2\bigg(1-\cos\dfrac{2k\pi}n\bigg)}\in\mathbb{A}$. QED.

Lucian
  • 48,334
  • 2
  • 83
  • 154
  • and in fact, if $r$ is an algebraic integer (such as 1) then so are the diagonals for by the same principle! – Thiago Dec 27 '19 at 21:28
0

To find the shortest diagonal of a regular $n$-gon, it's
$$ s\sqrt{\frac{n}{2}} $$ For a triangle you'll just get the side length.

  • 1
    This is not correct; it fails for all $n$ other than $n=4$ and $n=6$. For instance, when $n=5$ all diagonals of a unit regular pentagon have length $\frac{1+\sqrt{5}}2\neq \sqrt{\frac52}$. – RavenclawPrefect Feb 23 '21 at 23:47