Maximize the generic bivariate quadratic form constrained to the unit circle.
$$\begin{array}{ll} \text{maximize} & f(x_1, x_2) := ax_1^2 + 2bx_1 x_2 + cx_2^2\\ \text{subject to} & g(x_1, x_2) := x_1^2 + x_2^2 - 1 = 0\end{array}$$
Using the standard Lagrange Method with the Lagrange multiplier $\lambda$, we have:
\begin{align*} \nabla f &= \lambda \nabla g \\ f_x &= \lambda g_x \\ f_y &= \lambda g_y \\ a x_1 + b x_2 &= \lambda x_1 \\ b x_1 + c x_2 &= \lambda x_2 \\ \end{align*}
This translates to solving for eigenvalues and eigenvectors for
\begin{align*} A &= \begin{pmatrix} a & b \\ b & c \end{pmatrix} \\ Ax &= \lambda x \\ \end{align*}
The maximum and minimum coordinates of $f(x_1, x_2)$ are the eigenvectors that are scaled to fit on the unit circle. My textbook states the following:
Show that the maximum and minimum values of $f(x_1, x_2)$ are the eigenvalues themselves.
But is it true? Can someone demonstrate that?
Multiply the Lagrange conditions as follows: \begin{align} x_1 \times (a x_1 + b x_2 = \lambda x_1)\\ x_2 \times (b x_1 + c x_2 = \lambda x_2)\\ \end{align} and sum them up. Now use the fact that $(x_1,x_2)$ is on the unit circle and you would easily get: $f(x_1,x_2) = a x_1^2 + 2bx_1x_2 + cx_2^2 = \lambda$.