Optimising Under Constraint
Most economic decisions are constrained: maximise utility subject to a budget, minimise cost subject to an output target, maximise profit subject to a production capacity. Lagrange multipliers solve these problems systematically.
The setup: maximise (or minimise) subject to the constraint .
Form the Lagrangian:
First-order conditions (set all partials to zero):
The first two conditions say — at the optimum, the marginal rate of return per unit of constraint cost is equalised across all choice variables. The third condition enforces the constraint itself.
The economic meaning of : it is the shadow price of the constraint — the rate at which the optimal value of changes if the constraint is relaxed by one unit. If and the constraint is a budget, then one more euro of budget buys approximately 5 units of the objective. This is the single most useful number in applied optimisation.
Geometric intuition: at the constrained optimum, the gradient of is proportional to the gradient of — the objective's level curves are tangent to the constraint curve. Moving along the constraint in either direction reduces the objective; you're at the best feasible point.
The Lagrange recipe
| Step | Action |
|---|---|
| 1 | Write |
| 2 | Set , |
| 3 | Set (recovers the constraint) |
| 4 | Solve the system; read as the bonus |
Tip: The geometric heart: at the constrained optimum, the level curve of and the constraint curve are tangent — their gradients align, and is precisely the proportionality factor between them.
The Shadow Price in Action
The multiplier is not just a mathematical by-product — it is the answer to the most important practical question in constrained optimisation: how much is the constraint costing me?
Example: a firm maximises output subject to a cost constraint . The Lagrangian gives as the marginal product of budget — one more euro of spending buys units of output. If is large, the firm is severely constrained (it has high-return investments it can't afford); if is near zero, the constraint isn't binding much (extra budget would add little).
Utility maximisation: a consumer maximises subject to . The first-order conditions give the tangency condition:
This says: at the optimum, the marginal utility per euro spent is equalised across all goods — and that common ratio is , the marginal utility of income. If you equalise bang-for-buck across goods, you've maximised total bang.
In practice: linear programming, cost-benefit analysis, engineering design, and portfolio optimisation all use shadow prices. When a government asks "how much is this environmental regulation costing us in GDP?", the answer is a Lagrange multiplier — the shadow price of the constraint.
Tip: Always report alongside the optimum — it prices the constraint. In a budget problem it answers "what would one more euro buy?"; in a capacity problem, "what is one more machine-hour worth?" That number is the business case for relaxing the constraint.
Common pitfall: Paying more than to relax a constraint. If overtime capacity costs 40€/hour but the shadow price is 25€/hour, the expansion destroys value — the multiplier is the ceiling on what relaxation is worth.