Method of Lagrange Multipliers
The method of Lagrange multipliers provides an elegant and systematic approach to constrained optimization, reducing the problem of extremizing a function subject to constraints to a system of algebraic equations.
The Theorem
Let be functions with . Suppose is a local extremum of subject to the constraints , and that the gradients are linearly independent. Then there exist scalars (called Lagrange multipliers) such that
The geometric interpretation is clear: at a constrained extremum, the gradient of is a linear combination of the constraint gradients. Equivalently, is perpendicular to the constraint surface at , meaning there is no direction along the constraint surface in which can increase.
Applications
Maximize subject to .
The Lagrange condition gives: So , , . Substituting into the constraint: Maximum value: at .
To prove the AM-GM inequality, minimize subject to for . The Lagrange condition gives for each , implying all are equal: . This establishes .
The Lagrange multiplier has the interpretation where is the optimal value and is the constraint level. In economics, if represents utility and a budget constraint, then measures the marginal utility of income (the "shadow price" of relaxing the constraint by one unit).