Construct an orthonormal matrix in $\Bbb{R}^n$ in the following manner:
- Choose a point uniformly on the unit sphere in $n$ dimensional space (can be done by sampling from an $n$ dimensional isotropic Gaussian and then normalizing the vector).
- Take the plane orthogonal to this vector. This intersects the sphere in a lower dim sphere.
- Choose a point uniformly at random on this lower dim sphere.
- Repeat until you get to 1-d.
Now we have a set of orthonormal vectors (the position vectors of the points we chose). They could form a rotation matrix or another kind of matrix. What is the probability we'll get a rotation matrix? And what are the other kinds of matrices that this algorithm can give us?
Per the question linked above, we know for two dimensions, this probability is 50%.