Given $X, Y \in \Bbb C^{n \times n}$ and $XY+2YX=3I$, show that $[X,Y]$ is nilpotent.
I tried with Jacobson Theorem but it does not work. Trying to calculate traces of powers by induction to see if we get all eigenvalues by Newton system equal to $0$ I don't think it is a right idea. Maybe we can get to the characteristic polynomial since $XY$ and $YX$ have the same characteristic polynomial and same eigenvalues. If someone can help me I would like to know if there exists any generalization for this type of problems.
In general, suppose that $I-XY=k(I-YX)$ for some complex number $k$ that is not a root of unity. (In your case, $k=-2$.) Since $I-XY$ and $I-YX$ have the same spectrum $S$, we have $S=kS$. As $k$ is not a root of unity, we must have $S=\{0\}$, or else $S$ would be infinite. Hence $I-XY$ and $I-YX$ are nilpotent. In turn, $[X,Y]=(I-YX)-(I-XY)=(1-k)(I-YX)$ is nilpotent too.