I have that $SL(n,\mathbb{R})$ is an embedded submanifold of dimension $n^2-1$ in $GL(n,\mathbb{R})$, and I know that $T_XGL(n,\mathbb{R})$ is isomorphic to $M(n,\mathbb{R})$ for all $X \in GL(n , \mathbb R)$.
Is there a way I can use this to show that $SL(n,\mathbb{R})$ is a smooth submanifold of $M(n,\mathbb{R})$ and get is dimension? Otherwise, how could I go about it?
Thanks!