3. (10%) Let $A$ be a symmetric matrix of order $n \times n$. Show that

$$\lambda{(1)} \leq \frac{x^T A x}{x^T x} \leq \lambda{(n)}$$

for any nonzero vector $x$, where $\lambda{(1)}$ and $\lambda{(n)}$ denote the smallest and largest eigenvalues of $A$, respectively.