# Envelope theorem

(Redirected from Envelope Theorem)

The Envelope Theorem is a result about the differentiability properties of the objective function of a parameterized optimization problem. As we change parameters of the objective, the Envelope Theorem shows that, in a certain sense, changes in the optimizer of the objective do not contribute to the change in the objective function.

## Envelope theorems for arbitrary choice sets

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

$V(t) =\sup_{x\in X}f(x,t)$ (1)
$X^{\ast }(t) =\{x\in X:f(x,t)=V(t)\}$ (2)

"Envelope theorems" describe sufficient conditions for the value function $V$ to be differentiable in the parameter $t$ and describe its derivative as

$V^{\prime }\left( t\right) =f_{t}\left( x,t\right) \text{ for each }x\in X^{\ast }\left( t\right) .(f_{t} \text{ denotes partial derivative of } f \text{ w.r.t to } t)$ (3)

Namely, the derivative of the value function with respect to the parameter equals the partial derivative of the objective function with respect to $t$ holding the maximizer fixed at its optimal level. (The term derives from describing the graph of $V$ as the "upper envelope" of the graphs of the parameterized family of functions $\left\{ f\left( x,\cdot \right) \right\} _{x\in X}$.)

Traditional envelope theorem derivations use the first-order condition for (1), which requires that the choice set $X$ have the convex and topological structure, and the objective function $f$ be differentiable in the variable $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, provided that the objective function is differentiable in the parameter:

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

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

$\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 $s=t$, and the first-order condition for this maximization is exactly (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 $V$ to be absolutely continuous, which means that it is differentiable almost everywhere and can be represented as an integral of its derivative:

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

$V(t)=V(0)+\int_{0}^{t}f_{t}(x^{\ast }(s),s)ds.$ (4)

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

$|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 $V$ is absolutely continuous. Therefore, $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 $t=t_{0}$ and hence satisfy the envelope formula (3) when the family $\left\{ f\left( x,\cdot \right) \right\} _{x\in X}$ is equi-differentiable at $t_{0}\in \left( 0,1\right)$ and $f_{t}\left( X^{\ast }\left( t\right) ,t_{0}\right)$ is single-valued and continuous at $t=t_{0}$, even if the maximizer is not differentiable at $t_{0}$ (e.g., if $X$ is described by a set of inequality constraints and the set of binding constraints changes at $t_{0}$).

## Applications of Envelope Theorems

### 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 $\pi \left( p\right)$ denote the profit function of a price-taking firm with production set $X\subseteq \mathbb{R}^{L}$ facing prices $p\in \mathbb{R}^{L}$, and let $x^{\ast }\left( p\right)$ denote the firm's supply function, i.e.,

$\pi (p)=\max_{x\in X}p\cdot x=p\cdot x^{\ast }\left( p\right) \text{.}$

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

$\pi (t,p_{-i})-\pi (0,p_{-i})=\int_{0}^{p_{i}}x_{i}^{\ast }(s,p_{-i})ds,$

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

### Applications to Mechanism design and Auction Theory

Consider an agent whose utility function $f(x,t)$ over outcomes $x\in \bar{X}$ depends on his type $t\in \lbrack 0,1]$. Let $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 $V(t)$ in the mechanism is then given by (1), and the set $X^{\ast }(t)$ of the mechanism's equilibrium outcomes is given by (2). Any selection $x^{\ast }(t)\in X^{\ast }(t)$ is a choice rule implemented by the mechanism. Suppose that the agent's utility function $f(x,t)$ is differentiable and absolutely continuous in $t$ for all $x\in Y$, and that $\sup_{x\in \bar{X}}|f_{t}(x,t)|$ is integrable on $[0,1]$. Then Theorem 2 implies that the agent's equilibrium utility $V$ in any mechanism implementing a given choice rule $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 $x=\left( y,z\right)$, where $y$ is the bidder's probability of receiving the object and $z$ is his expected payment, and the bidder's expected utility takes the form $f\left( \left( y,z\right) ,t\right) =ty-z$. In this case, letting $\underline{t}$ denote the bidder's lowest possible type, the integral condition (4) for the bidder's equilibrium expected utility $V$ takes the form

$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 $z$ into probability $y$ of winning the object is defined by the auction and which resells the object at a fixed price $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 $y^{\ast }\left( t\right)$ of getting the object for all types $t$ as well as by the expected payoffs $V(\underline{t})$ of the bidders' lowest types. Finally, this condition is a key step in Myerson's (1981) of optimal auctions.

For other applications of the envelope theorem to mechanism design see Mirrlees (1971), Holmstrom (1979), Laffont and Maskin (1980), Riley and Samuelson (1981), Fudenberg and Tirole (1991), and Williams (1999). 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).) Note that the integral condition (3) still holds in this setting and implies such important results as Holmstrom's lemma (Holmstrom, 1979), Myerson's lemma (Myerson, 1981), the revenue equivalence theorem (for auctions), the Green-Laffont-Holmstrom theorem (Green and Laffont, 1979; Holmstrom, 1979), the Myerson-Satterthwaite inefficiency theorem (Myerson and Satterthwaite,1983), the Jehiel-Moldovanu impossibility theorems (Jehiel and Moldovanu, 2001), the McAfee-McMillan weak-cartels theorem (McAfee and McMillan, 1992), and Weber's martingale theorem (Weber, 1983), etc. The details of these applications are provided in Chapter 3 of Milgrom (2004), 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 $T\subseteq \mathbb{R}^{K}$, Theorem 1 can be applied to partial and directional derivatives of the value function. If both the objective function $f$ and the value function $V$ are (totally) differentiable in $t$, Theorem 1 implies the envelope formula for their gradients: $\nabla V\left( t\right) =\nabla _{t}f\left( x,t\right)$ for each $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 $t_{0}$ and $t$. Namely, suppose that functions $f(x,\cdot )$ are differentiable for all $x\in X$ with $|\nabla _{t}f(x,t)|\leq B$ for all $x\in X,$ $t\in T$. A smooth path from $t_{0}$ to $t$ is described by a differentiable mapping $\gamma :\left[ 0,1\right] \rightarrow T$ with a bounded derivative, such that $\gamma \left( 0\right) =t_{0}$ and $\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 $\nabla _{t}f(x^{\ast }(t),t)$ of the objective function along the path:

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

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

$\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 $x^{\ast }$ can be sustained by mechanism-induced menus $X\subseteq \bar{X}$. In application to producer theory, with $x\in X\subseteq \mathbb{R}^{L}$ being the firm's production vector and $t\in \mathbb{R}^{L}$ being the price vector, $f\left( x,t\right) =t\cdot x$, and the integrability condition says that any rationalizable supply function $x^{\ast }$ must satisfy

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

When $x^{\ast }$ is continuously differentiable, this integrability condition is equivalent to the symmetry of the substitution matrix $\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 $X\left( t\right)$ depends on the parameter, i.e.,

$V(t) =\sup_{x\in X\left( t\right) }f(x,t)$
$X^{\ast }(t) =\{x\in X\left( t\right) :f(x,t)=V(t)\}\text{, }$

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

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

$V(t)=V(0)+\int_{0}^{t}L_{t}(x^{\ast }(s),y^{\ast }\left( s\right) ,s)ds.$

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

### Other Applications

Milgrom and Segal (2002) demonstrate that the generalized version of the envelope theorems can also be applied to convex programming, continuous optimization problems, saddle-point problems, and optimal stopping problems.

## References

• Fudenberg, Drew and Jean Tirole (1991). Game Theory. Cambridge, MIT Press.
• Green, J. and Laffont, J. J. (1979). Incentives in Public Decision Making. Amsterdam: North-Holland.
• Holmstrom, Bengt (1979). "Groves Schemes on Restricted Domains". Econometrica 47: 1137–1144. doi:10.2307/1911954.
• Jehiel, Philippe and Benny Moldovanu (2001). "Efficient Design with Interdependent Valuations". Econometrica 69 (5): 1237–1259. doi:10.1111/1468-0262.00240.
• Laffont, Jean-Jacques and Eric Maskin (1980). "A Differentiable Approach to Dominant Strategy Mechanisms". Econometrica 48: 1507–1520. doi:10.2307/1912821.
• Luenberger, D. G. (1969). Optimization by Vector Space Methods. New York: John Wiley & Sons.
• McAfee, R. Preston and John McMillan (1992). "Bidding Rings". American Economic Review 82 (3): 579–599.
• Milgrom, Paul (2004). Putting Auction Theory to Work. Cambridge University Press.
• Milgrom, Paul and Ilya Segal (2002). "Envelope Theorems for Arbitrary Choice Sets". Econometrica 70 (2): 583–601. doi:10.1111/1468-0262.00296.
• Mirrlees, James (2002). "An Exploration in the Theory of Optimal Taxation". Review of Economic Studies 38: 175–208.
• Myerson, Roger (1981). "Optimal Auction Design". Mathematics of Operations Research 6: 58–73. doi:10.1287/moor.6.1.58.
• Myerson, Roger (1991). Game Theory. Cambridge, Harvard University Press.
• Myerson, R. and M. Satterthwaite (1983). "Efficient Mechanisms for Bilateral Trading". Journal of Economic Theory 29: 265–281. doi:10.1016/0022-0531(83)90048-0.
• Riley, John G. and William S. Samuelson (1981). "Optimal Auctions". American Economic Review 71 (3): 381–392.
• Rockafellar, R. T. (1970). Convex Analysis. Princeton: Princeton University Press.
• Weber, Robert (1983). "Multiple-Object Auctions" in Auctions, Bidding, and Contracting: Uses and Theory. R. Engelbrecht-Wiggans, M. Shubik and R. M. Stark. New York, New York University Press. pp. 165–191.
• Williams, Steven (1999). "A Characterization of Efficient, Bayesian Incentive Compatible Mechanism". Economic Theory 14: 155–180. doi:10.1007/s001990050286.