Let $A$ be an $n\times n$ symmetric positive semidefinite matrix. Let $X \in \mathbb{R}^n$
Show that if $\langle X, AX\rangle = 0,$ then $AX = 0$.
This seems like it's really simple, but I must be missing a trick.
We have $\operatorname{tr}(X^TAX) = 0$. The trace is just the sum of the eigenvalues, so could I say something about the eigenvalues all having to be zero? Would that help with the proof?