Lesson 7.3742 words

Constrained Optimization

Maximizing a quadratic form xᵀAx over the unit sphere has an exact answer: the maximum is the largest eigenvalue of A, attained at its eigenvector, and the minimum is the smallest eigenvalue. Adding orthogonality constraints peels off the eigenvalues in order, characterizing the whole spectrum by optimization.

╌╌╌╌

A quadratic form has no finite maximum on all of : scaling by scales by , so an unbounded input makes an unbounded output. The question becomes well posed once is confined to a bounded set, and the natural choice is the unit sphere. This constrained problem has an exact solution in terms of the eigenvalues, with no calculus of Lagrange multipliers required.

The constraint that be a unit vector has several equivalent forms:

The expanded version is the one that appears in most applications.

The diagonal case

When has no cross-terms the answer can be read off directly.

The general theorem

For a general symmetric , orthogonal diagonalization reduces the problem to the diagonal case. Write the extreme values as

The set of attainable values is a closed interval on the real axis, and its endpoints are eigenvalues.

Geometrically, the level sets of are nested conics, and on the unit circle reaches its largest value where the circle is tangent to the widest level curve it touches, in the direction of the top eigenvector.

On the unit circle, xᵀAx is largest where the circle meets the level curve tangent along u₁ and smallest along u₂; the tangency directions are the eigenvectors and the tangent values are the extreme eigenvalues.

The Rayleigh quotient

For nonzero that is not required to be a unit vector, dividing by normalizes the form. The result is the Rayleigh quotient

which is scale-invariant: , so its values over all nonzero match those of over the unit sphere. The extreme-values theorem then reads , with the bounds hit at the extreme eigenvectors. Traversing the unit circle, oscillates between and , peaking each time the direction lines up with an eigenvector.

The Rayleigh quotient traced around the unit circle for a 2×2 form swings between the two eigenvalues, reaching M at the u₁ direction and m at the u₂ direction.

Successive constrained maxima

Restricting to directions orthogonal to removes the top eigenvalue from contention and exposes the next one.

The constraint deletes the term from the decoupled sum (it forces ), leaving , whose maximum on the remaining unit sphere is now . Continuing to constrain against in turn peels the eigenvalues off one at a time.

The whole spectrum is thus recoverable by a sequence of constrained maximizations, each carried out on the subspace orthogonal to the eigenvectors already found. This deflation viewpoint is the idea behind the power method and its numerical descendants.

Each orthogonality constraint removes the eigenvector already found, so the successive constrained maxima descend through the spectrum λ₁ ≥ λ₂ ≥ λ₃.

Allocating a budget

Constrained maximization of a quadratic form arises whenever a decision variable is bounded by resource limits.

The budget curve 4x²+9y²=36 and the indifference curve xy=3 meet tangentially at the optimal schedule; there the resource limit is fully used and the utility is maximized.

The largest singular value of a matrix is this constrained maximum applied to , the starting point for the singular value decomposition.

╌╌ END ╌╌