I'm studying for a upcoming exam and have found the following problem:
Let $\phi$ be a self adjoint operator in an $n$-dimensional Hermitian space $(V, \left \langle\space , \space\right \rangle)$. If the eigenvalues of $\phi$ are $\lambda_1 \leq ... \leq \lambda_n$, show that $$\lambda_1 \leq \frac{\left \langle\phi(a),a \right \rangle}{\left \langle a,a \right \rangle} \leq \lambda_n$$ for every non zero $a \in V$.
I have zero ideas on how to proceed. I'm especially interested in hints for this question, but any help would be deeply appreciated.
Since you requested a hint, I'll provide a modest one, then put a spoiler of the solution at the end (hover your cursor over the block).
Hint: Write $a$ in terms of the orthonormal eigenbasis guaranteed by $\phi$, then just see what pops out when you compute $\frac{\langle \phi(a),a\rangle}{\langle a,a\rangle}$.
Spoiler: