Suppose that one has two matrices $A$, $B$. Then
Prove that $$|AB - \lambda I| = |BA - \lambda I|,$$ where $|\cdot|$ denotes the determinant, $I$ - identity matrix and $\lambda \in \mathbb{C}$.
Note that $A$ and $B$ are not necessary invertible. For invertible matrices I easily found $$|AB - \lambda I| = |B(AB - \lambda I)B^{-1}| = |BA - \lambda I|.$$