Spectrum of bounded self-adjoint operator Suppose $A$ is a bounded self-adjoint operator on the Hilbert space $\mathcal{H}$. How do I prove that $\sigma(A) \subseteq \overline{\{\langle Ax,x\rangle: x\in \mathcal{H},\; \lVert x\rVert = 1\}}$?
 A: If $\lambda$ is real and $\lambda \notin \overline{\{ \langle Ax,x\rangle : x\in\mathcal{H},\;\|x\|=1 \}}$, then the distance of $\lambda$ to the given set is some $\epsilon > 0$, which leads to the following for all non-zero $x\in\mathcal{H}$:
$$
          \epsilon \le\left|\frac{\langle Ax,x\rangle}{\|x\|^2}-\lambda\right|, \\
       \epsilon \|x\|^2 \le |\langle (A-\lambda I)x,x\rangle| \\
         \epsilon \|x\|^2 \le \|(A-\lambda I)x\|\|x\| \\
            \epsilon \|x\| \le \|(A-\lambda I)x\|.
$$
Therefore, $A-\lambda I$ has a bounded inverse on its range. The range of $A-\lambda I$ is dense because
$$
        \mathcal{R}(A-\lambda I)^{\perp}=\mathcal{N}((A-\lambda I)^*)=\mathcal{N}(A-\lambda I)=\{0\}.
$$
The range of $A-\lambda I$ is closed because if $(A-\lambda I)x_n$ converges to $y$, then $\{ x_n \}$ is a Cauchy sequence by the last inequality given above, which means $(A-\lambda I)x_n$ converges to some $y$ and $\{ x_n\}$ converges to some $x$ and, finally, 
$$
   (A-\lambda I)x=(A-\lambda I)\lim_n x_n = \lim_n (A-\lambda I)x_n = y.
$$
Therefore $A-\lambda I$ is continuously invertible for such $\lambda$, which proves that $\lambda$ is in the resolvent set. All spectrum of $A$ is real, which forces
$$
         \sigma(A)\subseteq \overline{\{\langle Ax,x\rangle : x\in\mathcal{H}, \|x\|=1 \}}.
$$
