Lagrange Applied to Quadratics — Eigenvalues Appear
Let us apply the Lagrange theorem to a beautiful constrained quadratic: minimize subject to (the unit sphere), where is a symmetric matrix.
The Jacobians are (using symmetry of ) and . The Lagrange condition becomes .
Transposing: . But this is exactly the definition of an eigenvector equation! The constrained minimum must be an eigenvector of , with Lagrange multiplier as its eigenvalue.
So to solve this constrained quadratic, look at the eigenvectors of . The minimum value of on the sphere is the smallest eigenvalue of divided by 2: .
Formal View
Why This Matters
This shows that eigenvalue problems are naturally constrained optimization problems. PCA, spectral clustering, and many other algorithms are instances of this.
- Principal Component Analysis: first PC maximizes variance on the unit sphere — eigenvector of the covariance matrix
- Google PageRank: finding the dominant eigenvector of a stochastic matrix
- Quantum mechanics: energy eigenstates are constrained minimizers of the Hamiltonian
- Spectral graph algorithms: eigenvectors of graph Laplacians solve clustering problems
Quiz
In the constrained quadratic problem s.t. , a constrained minimum must be:
What does the Lagrange multiplier represent in the quadratic constrained problem?
The Jacobian of (with symmetric) is .
The minimum value of on the unit sphere is:
In Principal Component Analysis (PCA), what plays the role of ?
Common Mistakes
- Forgetting to use the symmetry of when computing — symmetry is what makes work.
- Confusing the Lagrange multiplier (an eigenvalue) with the minimum value of ().
- Thinking this shows symmetric matrices always have real eigenvalues — we still need to argue existence (next section).