Lagrange Multiplier
Interpretation
Understand what \(\lambda\) really means: the rate at which the optimal value changes when you loosen or tighten a constraint.
What is Constrained Optimization?
In many real problems you want to maximize or minimize a function \(f(x,y)\) subject to a constraint \(g(x,y) = c\). For example: maximize profit given a fixed budget, or minimize cost given a required output level.
Level Curves Meet the Constraint
Enter \(\lambda\): The Lagrange Multiplier
The Lagrange method introduces a scalar \(\lambda\) that links the two gradients. At the optimum:
But \(\lambda\) has a deeper meaning beyond being a proportionality constant. It measures sensitivity: how the optimal value \(f^*\) responds to changes in the constraint.
The Core Interpretation of \(\lambda\)
In words: \(\lambda\) equals the rate of change of the optimal value with respect to the constraint constant. If you relax the constraint by a tiny amount \(\Delta c\), the best achievable value changes by approximately \(\lambda \cdot \Delta c\).
Visualizing \(f^*\) as a Function of \(c\)
\(\lambda\) as Proportionality vs. Sensitivity
| Proportionality View | Sensitivity View | |
|---|---|---|
| Equation | \(\nabla f = \lambda \, \nabla g\) | \(\lambda = df^*/dc\) |
| Tells you | How the gradients relate at the optimum | How the optimal value changes with the constraint |
| Focus | Solving the system | Interpreting the result |
| Use case | Finding the optimal point | Decision-making and what-if analysis |
What the Sign of \(\lambda\) Tells You
How to Interpret \(\lambda\) Step-by-Step
Example 1: Budget Allocation
Problem: Maximize \(f(x,y) = xy\) subject to \(g(x,y) = x + y = 100\).
Example 2: Cost Minimization
Problem: Minimize \(f(x,y) = x^2 + y^2\) subject to \(x + 2y = 10\).
Example 3: Production with Two Inputs
Problem: Maximize production \(f(L, K) = L^{1/2} K^{1/2}\) subject to total cost \(2L + 5K = 200\).
The Units of \(\lambda\)
Since \(\lambda = df^*/dc\), the units of \(\lambda\) are always:
\(\lambda\) = units per dollar
\(\lambda\) = m² per m
\(\lambda\) as the Shadow Price
In economics, \(\lambda\) is called the shadow price of the constraint. It answers a crucial managerial question:
Common Mistakes
Summary Table
| Concept | Meaning | Key Formula |
|---|---|---|
| Lagrange Condition | Gradients are parallel at optimum | \(\nabla f = \lambda \nabla g\) |
| \(\lambda\) Interpretation | Rate of change of \(f^*\) w.r.t. \(c\) | \(\lambda = df^*/dc\) |
| Approximation | Predict new optimum after constraint shift | \(\Delta f^* \approx \lambda \cdot \Delta c\) |
| Shadow Price | Value of relaxing the constraint by one unit | \(\lambda\) in units of \(f/c\) |
| Sign of \(\lambda\) | Direction of effect | \(\lambda > 0\): relaxing helps |
Question 1 of 5
You solve a Lagrange multiplier problem and find \(\lambda = 12\). The constraint is a budget of $500. What does \(\lambda = 12\) mean?
Question 2 of 5
A factory maximizes output with a labor constraint of 200 hours and finds \(\lambda = -3\). What does the negative sign tell you?
Question 3 of 5
Maximize \(f(x,y) = xy\) subject to \(x + y = 80\). You find the optimal value is \(f^* = 1600\) with \(\lambda = 40\). If the constraint changes to \(x + y = 82\), approximately what is the new \(f^*\)?
Question 4 of 5
A company has \(\lambda = 5\) for its energy constraint (in units of revenue per kWh). Overtime energy costs $7 per kWh. Should the company purchase an additional kWh?
Question 5 of 5
If \(f\) is measured in square meters and the constraint constant \(c\) is measured in meters, what are the units of \(\lambda\)?