Proof (order of dihedral group)

Lemma (kite lemma) open_in_new

Let $x_1, x_2, y_1, y_2\in\mathbb C$. If $$\begin{align*} |y_1 - x_1| &= |y_1 - x_2| \\ |y_2 - x_1| &= |y_2 - x_2|, \end{align*}$$ then $x_2-x_1$ is perpendicular to $y_2-y_1$.

Proof (kite lemma) open_in_new

Using geometry

$\Delta x_1 x_2 y_1\cong\Delta x_1x_2y_2$ by SSS, and so $\angle y_1 x_1 x_2 = \angle y_2x_1x_2$. Since $|x_1-y_2| = |x_1-y_1|$, we have $x_1x_2\perp y_1y_2$.

Lemma (three-point lemma for isometries) open_in_new

Let $X\subseteq\mathbb C$ and $f\in\mathrm{Isom}(X)$. If there exists not collinear $x_1,x_2,x_3\in X$ such that $$ f(x_i) = x_i\quad\text{for all }i=1,2,3,$$ then $f = \mathrm{Id}_X$.

Proof (three-point lemma for isometries) open_in_new

Suppose $f\neq\text{Id}_X$ and so $f(y)\neq y$ for some $y\in X$.

Note that for all $i=1,2,3$, $$ |f(y) - x_i| = |f(y) - f(x_i)| = |y - x_i|. $$ By the kite lemma, the case for $i=1$ and for $i=2$ gives $$ x_2 - x_1 \perp f(y) - y \neq 0,$$ while the case for $i=1$ and for $i=3$ gives $$ x_3 - x_1 \perp f(y) - y.$$

Since $x_1,x_2,x_3$ are not collinear, $f(y)-y$ is perpendicular to two non-collinear vectors, which is impossible.

First, we will show that $$ \mathrm D_{2n} \supseteq \{e,r,r^2,\ldots, r^{n-1},s,rs,r^2s, \ldots, r^{n-1}s\}. $$ Since for all $x,y\in\mathbb C$, $$\begin{align*} |r(x) - r(y)| &= |e^{2\pi i/n}x-e^{2\pi i/n}y| \\ &= |e^{2\pi i/n}||x-y| \\ &= |x-y|, \end{align*}$$ $r$ is an isometry. Also since $$ r(e^{2\pi ik/n}) = e^{2\pi i(k+1)/n}, $$ $r$ is closed in $X$. So $r\in \mathrm D_{2n}$.

Similarly checking the same things for $s$, we have $s\in \mathrm D_{2n}$.

Therefore the group generated by $r$ and $s$, namely $\{e,r,r^2,\ldots, r^{n-1},s,rs,r^2s, \ldots, r^{n-1}s\}$, is a subgroup of $\mathrm D_{2n}$.

Now we will show that $\mathrm D_{2n}$ is a subset of this set. For all $f\in\mathrm D_{2n}$, we will consider what $f$ does to three non-collinear points $$ x = 1,\quad y=e^{2\pi i/n},\quad z=e^{-2\pi i/n}. $$

Let $f(x) = e^{2\pi ik/n}$ for some $k = 0,1,2,\ldots,n-1$. Therefore $$ r^{-k}\circ f(x) = 1 = x. $$

Since $r^{-k}\circ f\in\mathrm D_{2n}$, it is an isometry, so $$ r^{-k}\circ f(y) \in \{y,z\}, $$ and also $$ r^{-k}\circ f(z) \in \{y,z\}. $$ But since $r^{-k}\circ f$ is a bijection, $r^{-k}\circ f(y)\neq r^{-k}\circ f(z)$.

So we have two cases:

  1. $r^{-k}\circ f(y) = y$ and $r^{-k}\circ f(z) = z$; or

  2. $r^{-k}\circ f(y) = z$ and $r^{-k}\circ f(z) = y$.

Hence $\mathrm D_{2n} = \{e,r,r^2,\ldots, r^{n-1}, s,rs,r^2s, \ldots, r^{n-1}s \}$.

To show that $|\mathrm D_{2n}| = 2n$, we need to check that all the elements on our list are distinct. For all $k,l=0,1,2,\ldots,n-1$,