Let $\mathfrak{g}$ be a matrix Lie algebra of dimension $n$ containing elements $x,y,z$ such that: $z=[x,y], [x,z]=[y,z]=0$. Show that $z$ only has $0$ as an eigenvalue.
Immediately from $z=[x,y]=xy-yx$ we get that $tr(z)=0$ but I don't know how to proceed. I tried assuming $zu=\lambda u$ for some $\lambda\ne 0$ and $u\in\mathbb{F}^n$ but I don't see how to obtain something from this.