Proof (spectrum of Hermitian operators is real)

We need to show that $λ \id - T$ is invertible for any $λ\in \C\setminus \R$. Let $δ = |\op{Im}(λ)| > 0$.

Note $\langle Tx, x\rangle\in \R$ since $$ \begin{align*} \langle Tx, x\rangle = \langle x, T^\ast x\rangle = \langle x, Tx\rangle = \overline{\langle Tx, x\rangle} \end{align*} $$ so by Cauchy-Schwarz, for $\|x\|=1$, $$ \begin{align*} \|(λ\id - T)x\| \geq |\langle (λ \id - T)x, x\rangle| = |λ - \underbrace{\langle Tx, x\rangle}_{\in \R}| \geq δ. \end{align*} $$

Then $λ\id - T: H\to Y := \im(λ\id - T)$ is an isomorphism. Since $H$ is complete, $Y$ is complete and thus closed in $H$.

Therefore $H = Y \oplus Y^\perp$. If $y\in Y^\perp$, then $\langle (λ\id - T)y, y\rangle = 0$. But we showed above that $|\langle (λ \id - T)y, y\rangle| \geq δ\|y\|^2$, so $y = 0$. Thus $Y = H$ and $T: H\to H$ is an isomorphism.

Special case if $T$ is compact

We showed $\partial σ(T)$${}\subseteq{}$$σ_\text{ap}(T)$${}\subseteq{}$$σ_p(T) \cup \set{0}$. Since eigenvalues of $T$ are real, $\partial σ(T) \subseteq \R$. Thus $σ(T) \subseteq \R$.