Let $x,x' \in \mathbb{R}^n$. If $|x| = |x'|$ there exists an orthogonal matrix $A$ such that $x' = Ax$ ($|\cdot|$ denotes the usual euclidean norm).
I think it is pictorially clear. However, I do not quite see the existence in terms of a explicit matrix. Is there an easy way to find this matrix $A$? I mean in $2$ dimensions it is pretty clear. Also if the construction is too complicated, is there a nice theorem in linear algebra which implies this?
Because of the assumption $|x|=|x'|$, we may assume without loss of generality (other than the trivial case $x=x'=0$) that $|x|=|x'|=1$. Now extend $x$ to an orthonormal basis $e_1,\ldots,e_n$, with $e_1=x$. And extend $x'$ to an orthonormal basis $f_1,\ldots,f_n$, with $f_1=x'$. Now the matrix defined by $Ae_j=f_j$, $j=1,\ldots,n$ is orthogonal and satifies $Ax=x'$.