I have the following question in hand.
If $\lambda_1,\cdots,\lambda_n$ are the eigenvalues of a given matrix $A \in M_n$, then prove that the matrix equation $AB - BA = \lambda B$ has a nontrivial solution $B \neq 0 \in M_n$, if and only if $\lambda = \lambda_i - \lambda_j$ for some $i,j$.
Consider the operator $B\mapsto [A,B]$. What are its eigenvalues?