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

density in the special linear group

#special linear group#transvections#density

Statement

Show that SLn(Q)SL_n(\mathbb{Q}) is dense in SLn(R)SL_n(\mathbb{R}).

Hint

SLn(R)SL_n(\mathbb{R}) is generated by the transvections I+tEijI+tE_{ij} (i≠ji\ne j, t∈Rt\in\mathbb{R}).

Show solutionHide solution

Solution

Fact used. Over a field, SLnSL_n is generated by elementary matrices Tij(t)=I+tEijT_{ij}(t)=I+tE_{ij}, i≠ji\ne j (Gauss elimination: any matrix of determinant 11 is reduced to II by elementary row operations of this type, with the last diagonal entry fixed by the determinant being 11).

Approximation. Let g∈SLn(R)g\in SL_n(\mathbb{R}) and write g=T1T2⋯Tmg=T_1T_2\cdots T_m with Tl=I+tlEiljlT_l=I+t_lE_{i_lj_l}. Choose rationals tl(k)→tlt_l^{(k)}\to t_l (k→∞k\to\infty) and set
g(k)=∏l=1m(I+tl(k)Eiljl).g^{(k)}=\prod_{l=1}^m\bigl(I+t_l^{(k)}E_{i_lj_l}\bigr).
- Each factor has determinant 11 and rational entries, so g(k)∈SLn(Q)g^{(k)}\in SL_n(\mathbb{Q}).
- Matrix multiplication is continuous, so g(k)→gg^{(k)}\to g.

Therefore SLn(Q)SL_n(\mathbb{Q}) is dense in SLn(R)SL_n(\mathbb{R}).

Remark. The naive attempt (approximate gg entrywise by a rational matrix) gives a rational matrix with determinant close to, but not exactly, 11; fixing the determinant by dividing by an nn-th root is not possible over Q\mathbb{Q}. The generation argument bypasses this. Lesson. To approximate within a group, use generators.