[Math] trace of symmetric matrix problems

linear algebramatricestrace

I have the two problems below from a practice exam. I can prove them on their own but am not exactly sure if/how to show that they only hold for symmetric matrices and for '3)' showing that it only holds for a matrix with only positive eigenvalues. I know that if the eigenvalues are all positive the determinant will be positive and the trace but cant see how that affects whether '3)' is true or not.

  1. Show that $\operatorname{Tr}(A^2) \leq \operatorname{Tr}(A)^2$ holds for any symmetric matrix $A$ whose eigenvalues are all non-negative.
  2. Show that $\operatorname{Tr}(AB)^2 \le \operatorname{Tr}(A^2)\operatorname{Tr}(B^2)$ holds for any symmetric matrices $A$ and $B$.

Best Answer

Question No.3 is more related to the fact that for given numbers $x_1,\dots,x_n$, the following inequality $$x_1^2+\dots+x_n^2\leq \,(x_1+\dots+x_n)^2$$ holds only if $x_i$ are non-negative. Let $A$ be any diagonalizable matrix so that $A=T\Lambda T^{-1}$ and $A^2=T\Lambda^2 T^{-1}$. Thus, if $x_1,\dots,x_n$ are the eigenvalues, then $\mathrm{trace}(A^2)=x_1^2+\dots+x_n^2 $ and $\mathrm{trace}(A)^2=(x_1+\dots+x_n)^2 $. Note that symmetric matrices are readily diagonalizable since they are normal.

Question No.4 is more related to the fact that trace is an inner product in the space of symmetric matrices. In fact, that inequality you have given is Cauchy-Schwartz indeed.

Related Question