I have $2$ square matrices $A_m$ and $B_m$ which are symmetric and of size $m\times m$. And the 3rd matrix is
$$C = \begin{bmatrix} 0 & A \\ B & 0\end{bmatrix}$$
Now, I would like to calculate the eigenvalues and eigenvectors of matrix $C$. How can I get it? Or how does it related to the eigenvalues and eigenvectors of $A$ and $B$?
Thank you very much in advance!
@A.G. idea is a good start:
If we assume that $A,B$ commute, then we get an easy result.
$C^2$ is symmetric, so it is diagonalisable. Let $P$ be a matrix which is the change to the diagonal basis.
$(PC^2 P^{-1}) = (PCP^{-1})^2 = D$, where $D$ some diagonal matrix, so $PCP^{-1} = D^{1/2}$, which you can compute by taking the square roots of the entries of $D$.