Definition
Lagrange multipliers find the extrema of a function subject to one or more constraints .
Why It Matters
Optimization in the real world always happens under constraints (budget, time, physics). Lagrange multipliers provide the “surgical” math needed to find the best possible outcome without violating the rules of the system.
Core Concepts
-
Geometric Principle: At an extreme point, the level curve of must be tangent to the constraint curve . This means their gradients are parallel:
- How to read: “The gradient of f equals lambda times the gradient of g.”
- Meaning / when to use: At a constrained extremum, you cannot move along the constraint in a direction that changes —gradients must point the same way (scaled by ).
-
The System: Solve along with the constraint equation .
-
: The scalar multiplier represents the “shadow price” or the rate of change of the optimal value with respect to the constraint.
- How to read: “The multiplier lambda.”
- Meaning: How much the optimal objective value changes per unit relaxation of the constraint—marginal value of loosening the bound.