Shadow Price in Constrained Optimization¶
Definition¶
In a constrained optimization problem, a shadow price is the marginal change in the optimal value when a constraint is relaxed slightly. Under the usual regularity assumptions and sign conventions, this marginal change is represented by the associated Lagrange multiplier.
For a constraint written as , one commonly has
or the corresponding sign-adjusted version determined by the Lagrangian convention.
For a linear program the same quantity is the shadow price in linear programming, read off the optimal simplex tableau and valid over a right-hand-side range.
Interpretation¶
A shadow price measures how valuable a little extra room in a constraint would be at the optimum: the rate at which the optimal value changes when the right-hand side increases.
The curve is the value function , the optimal value for each resource level , and the red line is its tangent at . The slope of the tangent is the shadow price, written in the figure and in the Definition. A step raises the tangent by , while , which bends downward here, rises a little less: the shadow price is a rate, exact only for small changes of .
Change : the optimal value (right) rises with slope , the value of one more unit of the constrained resource.
To see why the multiplier gives this rate, take one equality constraint with the convention , and suppose the optimizer depends differentiably on . The chain rule gives . The Lagrange condition turns this into , and differentiating shows that . So , as in the envelope theorem.
The sign depends on how the constraint is written: with the same derivative is . For an inequality in a maximization problem the multiplier is nonnegative, because extra room can never lower the maximum, and a slack constraint has shadow price , as in linear programming.
A common slip is to differentiate the objective with the decision variables held fixed. For subject to , the objective does not even contain ; the shadow price , from at , comes from reoptimizing.
Key Results¶
- A positive shadow price means relaxing the constraint raises the optimal value under the chosen convention.
- A zero shadow price often corresponds to a nonbinding inequality constraint.
- The sign depends on whether the constraint is written as a resource, residual, or equality condition.
Examples¶
- If one more unit of a resource increases maximum profit by , the shadow price of that resource is .
- If a budget constraint is slack, its shadow price is typically because a small increase in the budget does not improve the optimum.
Prerequisites¶
Related Concepts¶
- Envelope Theorem for Constrained Optimization
- Binding and Nonbinding Constraints
- Method of Lagrange for Equality Constraints
Sources¶
- Math IV: Multivariate Calculus · Week 6, Lecture 1
Keywords: shadow price, marginal value of a constraint, multiplier interpretation Symbols: delta, lambda, mu, nabla gradient
Last updated: 20 October 2026 03:02
Shadow Price in Constrained OptimizationLagrange MultiplierValue FunctionEnvelope Theorem for Constrained OptimizationBinding and Nonbinding ConstraintsMethod of Lagrange for Equality Constraints