Suppose $L$ is a Lie Algebra and $x \in L'=\left[L,L\right]$. As a homework problem, I need to show that $\operatorname{tr}(\operatorname{ad} \, x)=0$. I assumed $\dim(L)<\infty$ (not sure if this is necessary) and tried explicitly computing $\operatorname{tr}(\operatorname{ad} \, x)$. I expressed $x$ as a linear combination of commutators, expanded the brackets in terms of structure coefficients, and ended up with a very nasty sum.
There must be a better way to do this. Hints?