This seems like a very silly way to control the website, because as a new user it will not let me make comments.
So apologies in advance to reference a previous question, but given the warning not to post answers that are new questions, this is my only option.
Independence of Rotation Matrix Definitions
My question is similar to this original question. I am able to understand that $O(n)$ has dimension
$$\dim(O(n)) = \frac{n(n-1)}{2}$$
but I do not understand why $SO(n)$ also has dimension
$$\dim(O(n)) = \frac{n(n-1)}{2}$$
That is, I do not understand why the extra constraint of
$$\det(A) = 1$$
$\forall{A}\in SO(n)$ does not increase the co-dimension relative to $GL(n,R)$ by $1$.
Yuan says that it simply singles out the connected component. I understand that this is the case since we cannot move smoothly from the identity element to those $\hat{A}$ $\in$ O(n) with
$$\det(\hat{A}) = -1$$
but I do not see why this does not increase the co-dimension.