Let $A \in \mathbb{R}^{n \times n}$ be a positive definite matrix.
\begin{align} &\operatorname*{minimize}_{x \in \mathbb{R}^n} & & x^T A x \\ &\text{subject to} &&x^T x = 1 \end{align}
What is the minimum which fulfills the constraints?
My thoughts
- The constraint means that all possible solutions are on a unit sphere.
- A necessary condition (if there were no constraints) would be
$$ \frac{\partial x^T A x}{\partial x} = 2 A x \overset{!}{=} 0 $$
- The Lagrange function is
\begin{align} \mathcal{L} (x, \lambda) &= x^T A x + \lambda (x^T x - 1)\\ \nabla_x \mathcal{L} &= \nabla_x (x^*)^T A x^* + \lambda \nabla_x ((x^*)^T x^* - 1) \\ &= 2 \cdot A \cdot x^* + \lambda \cdot 2 \cdot x^* \overset{!}{=} 0\\ \Leftrightarrow 0 &\overset{!}{=} A \cdot x^* + x^*\\ \Leftrightarrow 0 &\overset{!}{=} (A + \lambda I) \cdot x^*\\ \frac{\partial}{\partial \lambda} \mathcal{L} &= x^T x - 1 = 0 \end{align}
I have no idea if this is correct / how to continue.
Sketch:
Since $A$ is positive-definite, it is symmetric and hence has an orthonormal eigenbasis. Let $v_1,\cdots,v_n$ be the eigenvectors with corresponding eigenvalues $\lambda_1,\cdots,\lambda_n$.
Therefore we can write $x=\sum a_iv_i$ where $\sum a_i^2=1$. The sum condition comes from the fact that $\langle\sum a_iv_i,\sum a_iv_i\rangle=\sum a_ia_j\langle a_i,a_j\rangle=\sum a_i^2\langle a_i,a_i\rangle=\sum a_i^2$ by orthonormality.
One can easily calculate $x^TAx$ by noting that $Ax=\sum a_i\lambda_iv_i$ and then taking the inner product as above. This results in $\sum a_i^2\lambda_i$ by orthonormality, which is minimized/maximized when all but one $a_i$ is zero.
See also Raleigh Quotient.