Andromeda
Note

Lagrange Multipliers Method

Definition

Lagrange multipliers find the extrema of a function ff subject to one or more constraints g=0g = 0.

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 ff must be tangent to the constraint curve gg. This means their gradients are parallel: f=λg\nabla f = \lambda \nabla g

    • 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 ff—gradients must point the same way (scaled by λ\lambda).
  • The System: Solve f=λg\nabla f = \lambda \nabla g along with the constraint equation g=0g = 0.

  • λ\lambda: 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.

Connected Concepts