# Envelope theorem (1931)

Originally proposed by Canadian economist Jacob Viner (1892-1970) and later developed by American economist Paul Samuelson (1915- ), envelope theorem refers to a curve that encloses an entire family of curves, each of which contributes at least one point to the envelope.

The primary use of the envelope curve is in relating long-run to short-run cost curves.

It has become a fundamental analytical tool in modern economics.

Source:
J Viner, ‘Cost Curves and Supply Curves’, Readings in Price Theory (Homewood, III., 1952)

## Statement

Let {\displaystyle f(x,\alpha )} and {\displaystyle g_{j}(x,\alpha ),j=1,2,\ldots ,m} be real-valued continuously differentiable functions on {\displaystyle \mathbb {R} ^{n+l}}, where {\displaystyle x\in \mathbb {R} ^{n}} are choice variables and {\displaystyle \alpha \in \mathbb {R} ^{l}} are parameters, and consider the problem of choosing {\displaystyle x}, for a given {\displaystyle \alpha }, so as to:

{\displaystyle \max _{x}f(x,\alpha )} subject to {\displaystyle g_{j}(x,\alpha )\geq 0,j=1,2,\ldots ,m} and {\displaystyle x\geq 0}.

The Lagrangian expression of this problem is given by

{\displaystyle {\mathcal {L}}(x,\lambda ,\alpha )=f(x,\alpha )+\lambda \cdot g(x,\alpha )}

where {\displaystyle \lambda \in \mathbb {R} ^{m}} are the Lagrange multipliers. Now let {\displaystyle x^{\ast }(\alpha )} and {\displaystyle \lambda ^{\ast }(\alpha )} together be the solution that maximizes the objective function f subject to the constraints (and hence are saddle points of the Lagrangian),

{\displaystyle {\mathcal {L}}^{\ast }(\alpha )\equiv f(x^{\ast }(\alpha ),\alpha )+\lambda ^{\ast }(\alpha )\cdot g(x^{\ast }(\alpha ),\alpha ),}

and define the value function

{\displaystyle V(\alpha )\equiv f(x^{\ast }(\alpha ),\alpha ).}

Then we have the following theorem.[3][4]

Theorem: Assume that {\displaystyle V} and {\displaystyle {\mathcal {L}}} are continuously differentiable. Then

{\displaystyle {\frac {\partial V(\alpha )}{\partial \alpha _{k}}}={\frac {\partial {\mathcal {L}}^{\ast }(\alpha )}{\partial \alpha _{k}}}={\frac {\partial {\mathcal {L}}(x^{\ast }(\alpha ),\lambda ^{\ast }(\alpha ),\alpha )}{\partial \alpha _{k}}},k=1,2,\ldots ,l}

where {\displaystyle \partial {\mathcal {L}}/\partial \alpha _{k}=\partial f/\partial \alpha _{k}+\lambda \cdot \partial g/\partial \alpha _{k}}.

## For arbitrary choice sets

Let {\displaystyle X} denote the choice set and let the relevant parameter be {\displaystyle t\in \lbrack 0,1]}. Letting {\displaystyle f:X\times \lbrack 0,1]\rightarrow R} denote the parameterized objective function, the value function {\displaystyle V} and the optimal choice correspondence (set-valued function) {\displaystyle X^{\ast }} are given by:

{\displaystyle V(t)=\sup _{x\in X}f(x,t)}
(1)
{\displaystyle X^{\ast }(t)=\{x\in X:f(x,t)=V(t)\}}
(2)

“Envelope theorems” describe sufficient conditions for the value function {\displaystyle V} to be differentiable in the parameter {\displaystyle t} and describe its derivative as

{\displaystyle V^{\prime }\left(t\right)=f_{t}\left(x,t\right){\text{ for each }}x\in X^{\ast }\left(t\right),}
(3)

where {\displaystyle f_{t}} denotes the partial derivative of {\displaystyle f} with respect to {\displaystyle t}. Namely, the derivative of the value function with respect to the parameter equals the partial derivative of the objective function with respect to {\displaystyle t} holding the maximizer fixed at its optimal level.

Traditional envelope theorem derivations use the first-order condition for (1), which requires that the choice set {\displaystyle X} have the convex and topological structure, and the objective function {\displaystyle f} be differentiable in the variable {\displaystyle x}. (The argument is that changes in the maximizer have only a “second-order effect” at the optimum and so can be ignored.) However, in many applications such as the analysis of incentive constraints in contract theory and game theory, nonconvex production problems, and “monotone” or “robust” comparative statics, the choice sets and objective functions generally lack the topological and convexity properties required by the traditional envelope theorems.

Paul Milgrom and Segal (2002) observe that the traditional envelope formula holds for optimization problems with arbitrary choice sets at any differentiability point of the value function,[5] provided that the objective function is differentiable in the parameter:

Theorem 1: Let {\displaystyle t\in \left(0,1\right)} and {\displaystyle x\in X^{\ast }\left(t\right)}. If both {\displaystyle V^{\prime }\left(t\right)} and {\displaystyle f_{t}\left(x,t\right)} exist, the envelope formula (3) holds.

Proof: Equation (1) implies that for {\displaystyle x\in X^{\ast }\left(t\right)},

{\displaystyle \max _{s\in \left[0,1\right]}\left[f\left(x,s\right)-V\left(s\right)\right]=f\left(x,t\right)-V\left(t\right)=0.}

Under the assumptions, the objective function of the displayed maximization problem is differentiable at {\displaystyle s=t}, and the first-order condition for this maximization is exactly equation (3). Q.E.D.

While differentiability of the value function in general requires strong assumptions, in many applications weaker conditions such as absolute continuity, differentiability almost everywhere, or left- and right-differentiability, suffice. In particular, Milgrom and Segal’s (2002) Theorem 2 offers a sufficient condition for {\displaystyle V} to be absolutely continuous,[5] which means that it is differentiable almost everywhere and can be represented as an integral of its derivative:

Theorem 2: Suppose that {\displaystyle f(x,\cdot )} is absolutely continuous for all {\displaystyle x\in X}. Suppose also that there exists an integrable function {\displaystyle b:[0,1]} {\displaystyle \rightarrow } {\displaystyle \mathbb {R} _{+}} such that {\displaystyle |f_{t}(x,t)|\leq b(t)} for all {\displaystyle x\in X} and almost all {\displaystyle t\in \lbrack 0,1]}. Then {\displaystyle V} is absolutely continuous. Suppose, in addition, that {\displaystyle f(x,\cdot )} is differentiable for all {\displaystyle x\in X}, and that {\displaystyle X^{\ast }(t)\neq \varnothing } almost everywhere on {\displaystyle [0,1]}. Then for any selection {\displaystyle x^{\ast }(t)\in X^{\ast }(t)},

{\displaystyle V(t)=V(0)+\int _{0}^{t}f_{t}(x^{\ast }(s),s)ds.}
(4)

Proof: Using (1)(1), observe that for any {\displaystyle t^{\prime },t^{\prime \prime }\in \lbrack 0,1]} with {\displaystyle t^{\prime }<t^{\prime \prime }},

{\displaystyle |V(t^{\prime \prime })-V(t^{\prime })|\leq \sup _{x\in X}|f(x,t^{\prime \prime })-f(x,t^{\prime })|=\sup _{x\in X}\left\vert \int _{t^{\prime }}^{t^{\prime \prime }}f_{t}(x,t)dt\right\vert \leq \int _{t^{\prime }}^{t^{\prime \prime }}\sup _{x\in X}|f_{t}(x,t)|dt\leq \int _{t^{\prime }}^{t^{\prime \prime }}b(t)dt.}

This implies that {\displaystyle V} is absolutely continuous. Therefore, {\displaystyle V} is differentiable almost everywhere, and using (3) yields (4). Q.E.D.

This result dispels the common misconception that nice behavior of the value function requires correspondingly nice behavior of the maximizer. Theorem 2 ensures the absolute continuity of the value function even though the maximizer may be discontinuous. In a similar vein, Milgrom and Segal’s (2002) Theorem 3 implies that the value function must be differentiable at {\displaystyle t=t_{0}} and hence satisfy the envelope formula (3) when the family {\displaystyle \left\{f\left(x,\cdot \right)\right\}_{x\in X}} is equi-differentiable at {\displaystyle t_{0}\in \left(0,1\right)} and {\displaystyle f_{t}\left(X^{\ast }\left(t\right),t_{0}\right)} is single-valued and continuous at {\displaystyle t=t_{0}}, even if the maximizer is not differentiable at {\displaystyle t_{0}} (e.g., if {\displaystyle X} is described by a set of inequality constraints and the set of binding constraints changes at {\displaystyle t_{0}}).[5]

## Applications

### Applications to producer theory

Theorem 1 implies Hotelling’s lemma at any differentiability point of the profit function, and Theorem 2 implies the producer surplus formula. Formally, let {\displaystyle \pi \left(p\right)} denote the profit function of a price-taking firm with production set {\displaystyle X\subseteq \mathbb {R} ^{L}} facing prices {\displaystyle p\in \mathbb {R} ^{L}}, and let {\displaystyle x^{\ast }\left(p\right)} denote the firm’s supply function, i.e.,

{\displaystyle \pi (p)=\max _{x\in X}p\cdot x=p\cdot x^{\ast }\left(p\right){\text{.}}}

Let {\displaystyle t=p_{i}} (the price of good {\displaystyle i}) and fix the other goods’ prices at {\displaystyle p_{-i}\in \mathbb {R} ^{L-1}}. Applying Theorem 1 to {\displaystyle f(x,t)=tx_{i}+p_{-i}\cdot x_{-i}} yields {\displaystyle {\frac {\partial \pi (p)}{\partial p_{i}}}=x_{i}^{\ast }(p)} (the firm’s optimal supply of good {\displaystyle i}). Applying Theorem 2 (whose assumptions are verified when {\displaystyle p_{i}} is restricted to a bounded interval) yields

{\displaystyle \pi (t,p_{-i})-\pi (0,p_{-i})=\int _{0}^{p_{i}}x_{i}^{\ast }(s,p_{-i})ds,}

i.e. the producer surplus {\displaystyle \pi (t,p_{-i})-\pi (0,p_{-i})} can be obtained by integrating under the firm’s supply curve for good {\displaystyle i}.

### Applications to mechanism design and auction theory

Consider an agent whose utility function {\displaystyle f(x,t)} over outcomes {\displaystyle x\in {\bar {X}}} depends on his type {\displaystyle t\in \lbrack 0,1]}. Let {\displaystyle X\subseteq {\bar {X}}} represent the “menu” of possible outcomes the agent could obtain in the mechanism by sending different messages. The agent’s equilibrium utility {\displaystyle V(t)} in the mechanism is then given by (1), and the set {\displaystyle X^{\ast }(t)} of the mechanism’s equilibrium outcomes is given by (2). Any selection {\displaystyle x^{\ast }(t)\in X^{\ast }(t)} is a choice rule implemented by the mechanism. Suppose that the agent’s utility function {\displaystyle f(x,t)} is differentiable and absolutely continuous in {\displaystyle t} for all {\displaystyle x\in Y}, and that {\displaystyle \sup _{x\in {\bar {X}}}|f_{t}(x,t)|} is integrable on {\displaystyle [0,1]}. Then Theorem 2 implies that the agent’s equilibrium utility {\displaystyle V} in any mechanism implementing a given choice rule {\displaystyle x^{\ast }} must satisfy the integral condition (4).

The integral condition (4) is a key step in the analysis of mechanism design problems with continuous type spaces. In particular, in Myerson’s (1981) analysis of single-item auctions, the outcome from the viewpoint of one bidder can be described as {\displaystyle x=\left(y,z\right)}, where {\displaystyle y} is the bidder’s probability of receiving the object and {\displaystyle z} is his expected payment, and the bidder’s expected utility takes the form {\displaystyle f\left(\left(y,z\right),t\right)=ty-z}. In this case, letting {\displaystyle {\underline {t}}} denote the bidder’s lowest possible type, the integral condition (4) for the bidder’s equilibrium expected utility {\displaystyle V} takes the form

{\displaystyle V(t)-V({\underline {t}})=\int _{0}^{t}y^{\ast }(s)ds.}

(This equation can be interpreted as the producer surplus formula for the firm whose production technology for converting numeraire {\displaystyle z} into probability {\displaystyle y} of winning the object is defined by the auction and which resells the object at a fixed price {\displaystyle t}). This condition in turn yields Myerson’s (1981) celebrated revenue equivalence theorem: the expected revenue generated in an auction in which bidders have independent private values is fully determined by the bidders’ probabilities {\displaystyle y^{\ast }\left(t\right)} of getting the object for all types {\displaystyle t} as well as by the expected payoffs {\displaystyle V({\underline {t}})} of the bidders’ lowest types. Finally, this condition is a key step in Myerson’s (1981) of optimal auctions.[6]

For other applications of the envelope theorem to mechanism design see Mirrlees (1971),[7] Holmstrom (1979),[8] Laffont and Maskin (1980),[9] Riley and Samuelson (1981),[10] Fudenberg and Tirole (1991),[11] and Williams (1999).[12] While these authors derived and exploited the envelope theorem by restricting attention to (piecewise) continuously differentiable choice rules or even narrower classes, it may sometimes be optimal to implement a choice rule that is not piecewise continuously differentiable. (One example is the class of trading problems with linear utility described in chapter 6.5 of Myerson (1991).[13]) Note that the integral condition (3) still holds in this setting and implies such important results as Holmstrom’s lemma (Holmstrom, 1979),[8] Myerson’s lemma (Myerson, 1981),[6] the revenue equivalence theorem (for auctions), the Green–Laffont–Holmstrom theorem (Green and Laffont, 1979; Holmstrom, 1979),[14][8] the Myerson–Satterthwaite inefficiency theorem (Myerson and Satterthwaite, 1983),[15] the Jehiel–Moldovanu impossibility theorems (Jehiel and Moldovanu, 2001),[16] the McAfee–McMillan weak-cartels theorem (McAfee and McMillan, 1992),[17] and Weber’s martingale theorem (Weber, 1983),[18] etc. The details of these applications are provided in Chapter 3 of Milgrom (2004),[19] who offers an elegant and unifying framework in auction and mechanism design analysis mainly based on the envelope theorem and other familiar techniques and concepts in demand theory.

### Applications to multidimensional parameter spaces

For a multidimensional parameter space {\displaystyle T\subseteq \mathbb {R} ^{K}}, Theorem 1 can be applied to partial and directional derivatives of the value function. If both the objective function {\displaystyle f} and the value function {\displaystyle V} are (totally) differentiable in {\displaystyle t}, Theorem 1 implies the envelope formula for their gradients: {\displaystyle \nabla V\left(t\right)=\nabla _{t}f\left(x,t\right)} for each {\displaystyle x\in X^{\ast }\left(t\right)}. While total differentiability of the value function may not be easy to ensure, Theorem 2 can be still applied along any smooth path connecting two parameter values {\displaystyle t_{0}} and {\displaystyle t}. Namely, suppose that functions {\displaystyle f(x,\cdot )} are differentiable for all {\displaystyle x\in X} with {\displaystyle |\nabla _{t}f(x,t)|\leq B} for all {\displaystyle x\in X,} {\displaystyle t\in T}. A smooth path from {\displaystyle t_{0}} to {\displaystyle t} is described by a differentiable mapping {\displaystyle \gamma :\left[0,1\right]\rightarrow T} with a bounded derivative, such that {\displaystyle \gamma \left(0\right)=t_{0}} and {\displaystyle \gamma \left(1\right)=t}. Theorem 2 implies that for any such smooth path, the change of the value function can be expressed as the path integral of the partial gradient {\displaystyle \nabla _{t}f(x^{\ast }(t),t)} of the objective function along the path:

{\displaystyle V(t)-V(t_{0})=\int _{\gamma }\nabla _{t}f(x^{\ast }(s),s)\cdot ds.}

In particular, for {\displaystyle t=t_{0}}, this establishes that cyclic path integrals along any smooth path {\displaystyle \gamma } must be zero:

{\displaystyle \int \nabla _{t}f(x^{\ast }(s),s)\cdot ds=0.}

This “integrability condition” plays an important role in mechanism design with multidimensional types, constraining what kind of choice rules {\displaystyle x^{\ast }} can be sustained by mechanism-induced menus {\displaystyle X\subseteq {\bar {X}}}. In application to producer theory, with {\displaystyle x\in X\subseteq \mathbb {R} ^{L}} being the firm’s production vector and {\displaystyle t\in \mathbb {R} ^{L}} being the price vector, {\displaystyle f\left(x,t\right)=t\cdot x}, and the integrability condition says that any rationalizable supply function {\displaystyle x^{\ast }} must satisfy

{\displaystyle \int x^{\ast }(s)\cdot ds=0.}

When {\displaystyle x^{\ast }} is continuously differentiable, this integrability condition is equivalent to the symmetry of the substitution matrix {\displaystyle \left(\partial x_{i}^{\ast }\left(t\right)/\partial t_{j}\right)_{i,j=1}^{L}}. (In consumer theory, the same argument applied to the expenditure minimization problem yields symmetry of the Slutsky matrix.)

### Applications to parameterized constraints

Suppose now that the feasible set {\displaystyle X\left(t\right)} depends on the parameter, i.e.,

{\displaystyle V(t)=\sup _{x\in X\left(t\right)}f(x,t)}
{\displaystyle X^{\ast }(t)=\{x\in X\left(t\right):f(x,t)=V(t)\}{\text{, }}}

where {\displaystyle X\left(t\right)=\left\{x\in X:g\left(x,t\right)\geq 0\right\}} for some {\displaystyle g:X\times \left[0,1\right]\rightarrow \mathbb {R} ^{K}.}

Suppose that {\displaystyle X} is a convex set, {\displaystyle f} and {\displaystyle g} are concave in {\displaystyle x}, and there exists {\displaystyle {\hat {x}}\in X} such that {\displaystyle g\left({\hat {x}},t\right)>0} for all {\displaystyle t\in \left[0,1\right]}. Under these assumptions, it is well known that the above constrained optimization program can be represented as a saddle-point problem for the Lagrangian {\displaystyle L\left(x,\lambda ,t\right)=f(x,t)+\lambda \cdot g\left(x,t\right)}, where {\displaystyle \lambda \in \mathbb {R} _{+}^{K}} is the vector of Lagrange multipliers chosen by the adversary to minimize the Lagrangian.[20][page needed][21][page needed] This allows the application of Milgrom and Segal’s (2002, Theorem 4) envelope theorem for saddle-point problems,[5] under the additional assumptions that {\displaystyle X} is a compact set in a normed linear space, {\displaystyle f} and {\displaystyle g} are continuous in {\displaystyle x}, and {\displaystyle f_{t}} and {\displaystyle g_{t}} are continuous in {\displaystyle \left(x,t\right)}. In particular, letting {\displaystyle \left(x^{\ast }(t),\lambda ^{\ast }\left(t\right)\right)} denote the Lagrangian’s saddle point for parameter value {\displaystyle t}, the theorem implies that {\displaystyle V} is absolutely continuous and satisfies

{\displaystyle V(t)=V(0)+\int _{0}^{t}L_{t}(x^{\ast }(s),\lambda ^{\ast }\left(s\right),s)ds.}

For the special case in which {\displaystyle f\left(x,t\right)} is independent of {\displaystyle t}{\displaystyle K=1}, and {\displaystyle g\left(x,t\right)=h\left(x\right)+t}, the formula implies that {\displaystyle V^{\prime }(t)=L_{t}(x^{\ast }(t),\lambda ^{\ast }\left(t\right),t)=\lambda ^{\ast }\left(t\right)} for a.e. {\displaystyle t}. That is, the Lagrange multiplier {\displaystyle \lambda ^{\ast }\left(t\right)} on the constraint is its “shadow price” in the optimization program

### One thought on “Envelope theorem (1931)”

1. Kia Sterry says:

An impressive share, I just given this onto a colleague who was doing a little analysis on this. And he in fact bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to discuss this, I feel strongly about it and love reading more on this topic. If possible, as you become expertise, would you mind updating your blog with more details? It is highly helpful for me. Big thumb up for this blog post!