Show that if $A$ and $B$ are two $n \times n$ matrices, then the matrices $A B$ and $B A$ have the same characteristic polynomial, and thus the same eigenvalues (matrices $A B$ and $B A$ need not be similar though; see Exercise 55 ). Hint:
\[
\left[\begin{array}{cc}
A B & 0 \\
B & 0
\end{array}\right]\left[\begin{array}{cc}
I_{n} & A \\
0 & I_{n}
\end{array}\right]=\left[\begin{array}{cc}
I_{n} & A \\
0 & I_{n}
\end{array}\right]\left[\begin{array}{cc}
0 & 0 \\
B & B A
\end{array}\right]
\].