Theorems from Constrained extrema
All theorems from Constrained extrema.
Lagrange multipliers
Suppose is a nonempty closed and bounded curve and and have continuous first partial derivatives on an open set containing . Then attains a maximum and a minimum on . At each constrained extremum where
there is a scalar such that
together with
The equation says that the gradients are parallel, not that they have equal length: records a scale and possibly a reversal of direction.
The regularity condition is essential. A feasible point where is a singular constraint point, where the multiplier condition is not guaranteed, so it must be checked separately along with any corners or endpoints introduced by an inequality constraint. Compactness and continuity still guarantee that the extrema exist.