Multivariable Calculus / Partial derivatives
Lagrange Multipliers
Optimize a function along a constraint by aligning its gradient with the constraint’s gradient.
Contents 4 sections
By the end you can
- Set up the Lagrange condition ∇f = λ∇g
- Solve constrained optimization problems
- Interpret the multiplier λ as a sensitivity rate
Helps to know: The Gradient, Partial Derivatives
§1Introduction
To maximize a quantity while tied to a constraint — most output for a fixed budget, least material for a fixed volume — we cannot roam freely. Lagrange multipliers handle the constraint elegantly through gradients.
§2The Method
§3Worked Example
Maximize subject to .
Example 1Solution
- Gradients: and . The condition gives and , so .
§4Summary
- At a constrained extremum, and point the same way.
- Solve alongside the constraint equation.
- The multiplier is the sensitivity of the optimum to the constraint.