I've been trying to improve my Linear algebra skills lately and I've run into this problem without not knowing where to start. Any suggestions/answers?
Suppose a $4\times 4$ matrix of integers has four distinct real eigenvalues, $\lambda_1 > \lambda_2 > \lambda_3 > \lambda_4.$ Prove that $\lambda_1^2 +\lambda_2^2 +\lambda_3^2 +\lambda_4^2 \in \mathbb Z$