Lemma (three-point lemma for isometries)

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.