Orthogonal mapping $f$ which preserves angle between $x$ and $f(x)$ Let $f: \mathbf{R}^n \rightarrow \mathbf{R}^n$ be a linear orthogonal mapping such that 
$\displaystyle\frac{\langle f(x), x\rangle}{\|fx\| \|x\|}=\cos \phi$, where $\phi \in [0, 2 \pi)$.
Are there such mapping besides $id$, $-id$ in case whe $n$ is odd?
Is it true that if $n=2k$ then then there exists an orthogonal basis $e_1,\ldots,e_{2k}$ in $\mathbf{R}^{2k}$
such that the matrix $F$ of $f$ in that basis is of the form
$$
F=\left [ \begin{array}{rrrrrrrr}
A_1 & & &\\
 & A_2 & &\\
 & & \ddots \\
  & &  & A_{k}\\
 \end{array} \right  ],
$$
where
$$
A_1=A_2=\cdots=A_{k}=\left [ \begin{array}{rr}
\cos \phi & -\sin \phi \\
\sin \phi & \cos \phi \\
\end{array} \right  ] ?
$$
Thanks.

Your orthogonal transformation $f$ can be "complexified" to a unitary transformation $U$ on ${\mathbb C}^n$ such that $U(x + i y) = f(x) + i f(y)$ for $x, y \in {\mathbb R}^n$.  Being normal, $U$ can be diagonalized, and its eigenvalues have absolute value 1. 
The only possible real eigenvalues are $\pm 1$, in which case the eigenvectors can be chosen to be real as well; this corresponds to $\cos \phi = \pm 1$, and your cases $id$ and $-id$.
If $v = x + i y$ is an eigenvector for a non-real eigenvalue $\lambda = a + b i$, then $\overline{v} = x - i y$ is an eigenvector for $\overline{\lambda} = a - b i$.  Thus the eigenspaces for complex 
eigenvalues pair up.
Now $Uv = \lambda v = (a x - b y) + i (a y + b x)$, so $f(x) = a x - b y$ and $f(y) = a y + b x$.  Then 
$x^T f(x) = a \|x\|^2 - b x^T y = (\cos \phi) \|x\|^2$ and 
$y^T f(y) = a \|y\|^2 + b x^T y = (\cos \phi) \|y\|^2$. Therefore
$b x^T y = (a - \cos \phi) \|x\|^2 = -(a - \cos \phi) \|y\|^2$.  Since $b \ne 0$, $\|x\|>0$ and $\|y\|>0$, we must have $x^T y = 0$ and $a = \cos \phi$.  Since $|\lambda\|=\sqrt{a^2 + b^2} = 1$, $b = \pm \sin \phi$.  This gives you your $2 \times 2$ block $\pmatrix{\cos \phi & -\sin \phi \cr \sin \phi & \cos \phi\cr}$ or 
$\pmatrix{\cos \phi & \sin \phi \cr -\sin \phi & \cos \phi\cr}$ (but you don't need both of them). 
