Let $A$ be an 4×4 symmetric real matrix. Then show that the trace of $A^2+A+I$ cannot be less than $3$.
I know that for a real symmetric matrix, trace is equal to sum of its eigenvalues that are present as the diagonal entries. Also, the sum of matrices $A^2+A+I$ is also a symmetric one but this logic is not helping me to prove the result.
Hint: real symmetric matrices have real eigenvalues, and: $$ \lambda^2+\lambda+1=\Big(\lambda+\frac{1}{2}\Big)^2+\frac{3}{4}\geq\frac{3}{4} $$