Lagrange multipliers theorem

Constrained extrema give critical points of a Lagrangian under a regularity hypothesis.
Lagrange multipliers theorem

Lagrange multipliers theorem: Let URnU\subseteq\mathbb R^n be an , let f:URf:U\to\mathbb R and g:URmg:U\to\mathbb R^m be continuously differentiable with m<nm<n, and let S={xU:g(x)=0}S=\{x\in U: g(x)=0\}. Assume xSx^\ast\in S is a local extremum of ff on SS and that Dg(x)Dg(x^\ast) has rank mm. Define the Lagrangian

L(x,λ)=f(x)i=1mλigi(x). L(x,\lambda)=f(x)-\sum_{i=1}^m \lambda_i g_i(x).

Then there exists λRm\lambda^\ast\in\mathbb R^m such that

DxL(x,λ)=0andg(x)=0. D_xL(x^\ast,\lambda^\ast)=0 \quad\text{and}\quad g(x^\ast)=0.

Equivalently, xx^\ast must satisfy the . Solving these equations produces candidate points for constrained extrema on the given .