Is the set of all real symmetric matrices all of whose eigenvalues satisfy $|λ| \le 2 $ compact?
Let $S$ be the set of all real symmetric matrices all of whose eigenvalues satisfy $|λ| \le 2 $.
Define $f:M_n(\Bbb R)\to M_n(\Bbb R)$ by $f(A)=A-A^T$ which is continuous .
Then $S=f^{-1}(0)$ and hence is closed.
Also any $A\in S$ is diagonalisable and hence $A=PDP^T$ where $D$ is a diagonal matrix and its diagonal entries are the eigen values of $A$.
But the diagonal entries of $D$ are $\le 2$ and hence bounded.
How can we conclude that $S$ is bounded from here?
Please help.
Such matrices are $U^TDU$ where $U\in O(n)$ and $D\in \mathcal A$ where $\mathcal A$ is the set of diagonal matrices with entries in $[-2,2]$. Both $O(n)$ and $\mathcal A$ are compact sets. The set of your matrices is the image of a compact set under a continuous map, so compact.