Maths WorkshopMaths problems with full solutions
Exercise 1363Topology › Topology of Mn(ℝ) › Density and closuresL3Added 6 Nov 2026

Rational rotation matrices are dense in SO(2)

#rational points#circle#stereographic projection#Pythagorean triples

Statement

Show that SO(2)∩M2(Q)SO(2)\cap M_2(\mathbb{Q}) is dense in SO(2)SO(2).

Hint

A matrix of SO(2)SO(2) is (c−ssc)\begin{pmatrix}c&-s\\s&c\end{pmatrix} with c2+s2=1c^2+s^2=1: it is determined by a point of the unit circle. Parametrise the rational points of the circle.

Show solutionHide solution

Solution

Reduction. SO(2)∩M2(Q)SO(2)\cap M_2(\mathbb{Q}) corresponds to the points (c,s)∈Q2(c,s)\in\mathbb{Q}^2 of the unit circle, and the correspondence (c,s)↦(c−ssc)(c,s)\mapsto\begin{pmatrix}c&-s\\s&c\end{pmatrix} is a homeomorphism from the circle to SO(2)SO(2). So we must show that the rational points of the unit circle are dense.

Stereographic parametrisation. For u∈Ru\in\mathbb{R} put
φ(u)=(1−u21+u2, 2u1+u2).\varphi(u)=\left(\frac{1-u^2}{1+u^2},\ \frac{2u}{1+u^2}\right).
- (1−u21+u2)2+(2u1+u2)2=(1−u2)2+4u2(1+u2)2=1\left(\frac{1-u^2}{1+u^2}\right)^2+\left(\frac{2u}{1+u^2}\right)^2=\frac{(1-u^2)^2+4u^2}{(1+u^2)^2}=1, so φ(u)\varphi(u) lies on the circle.
- φ\varphi is a continuous bijection from R\mathbb{R} onto the circle minus the point (−1,0)(-1,0); it is the inverse of the stereographic projection from (−1,0)(-1,0) (the line through (−1,0)(-1,0) with slope uu meets the circle again at φ(u)\varphi(u)).
- If u∈Qu\in\mathbb{Q}, then φ(u)∈Q2\varphi(u)\in\mathbb{Q}^2.

Density. Let P=φ(u0)P=\varphi(u_0) be a point of the circle other than (−1,0)(-1,0). Rationals uk→u0u_k\to u_0 give rational points φ(uk)→P\varphi(u_k)\to P by continuity. For the point (−1,0)(-1,0): φ(u)→(−1,0)\varphi(u)\to(-1,0) as u→±∞u\to\pm\infty, and (−1,0)(-1,0) is also approached by φ(k)\varphi(k), k∈Nk\in\mathbb{N}, integers being rational. So every point of the circle is a limit of rational points.

Example. u=12u=\frac12 gives (35,45)\left(\frac35,\frac45\right), the 33-44-55 triple.

Remark. This is the classical parametrisation of Pythagorean triples. In particular SO(2)SO(2) contains elements of infinite order with rational entries, since 35+45i\frac35+\frac45i is not a root of unity. Lesson. Rational points on conics with one rational point are dense.