$n$-dimensional rotation along a 2D arbitrary plane

Solution 1:

We may assume that $v_0$ and $v_1$ are non-parallel unit vectors. Let $u\in R^n$. Then $$\langle u,v_0\rangle v_0+\langle u,v_1\rangle v_1 $$ is the projection of $u$ in the plane. In that plane we rotate $v_0$ to $v_1$ and $v_2$ to $w=2\langle v_0,v_1\rangle v_1-v_0$. (Convince yourself that $v_1=v_0+w$ and $\|w\|=1$; it's helpful to draw a picture.)

So $$u\mapsto u-\langle u,v_0\rangle v_0-\langle u,v_1\rangle v_1 +\langle u,v_0\rangle v_1+\langle u,v_1\rangle(2\langle v_0,v_1\rangle v_1-v_0) $$ $$ =u-\langle u,v_0\rangle(v_0-v_1)-\langle u,v_1\rangle(v_1-w\rangle, $$ that is, we rotate the component of $u$ in the plane and leave the rest of $u$ unchanged.

Michael