Maximum Value Functions and The Envelope Theorem
Maximum Value Functions and The Envelope Theorem
Kevin Wainwright
if second-order conditions are met, these two equations implicitly define the solutions
If we substitute these solutions into the objective function, we obtain a new function
where this function is the value of f when the values of x and y are those that maximize f (x, y, φ).
Therefore, V (φ) is the maximum value function (or indirect objective function). If we differentiate V with
respect to φ
∂V ∂x∗ ∂y ∗
= fx + fy + fφ (5)
∂φ ∂φ ∂φ
However, from the first-order conditions we know fx = fy = 0. Therefore, the first two terms disappear
and the result becomes
∂V
= fφ (6)
∂φ
This result says that, at the optimum, as φ varies, with x∗ and y ∗ allowed to adjust optimally gives the
same result as if x∗ and y ∗ were held constant! Note that φ enters maximum value function (equation
4) in three places: one direct and two indirect (through x∗ and y ∗ ). Equations 5 and 6 show that, at the
optimum, only the direct effect of φ on the objective function matters. This is the essence of the envelope
theorem.
The envelope theorem says only the direct effects of a change in an exogenous variable need be considered,
even though the exogenous variable may enter the maximum value function indirectly as part of the solution
to the endogenous choice variables.
π = pf (K, L) − wL − rK (7)
where p is the output price and w and r are the wage rate and rental rate respectively.
1
The first-order conditions are
π L = fL (K, L) − w = 0
(8)
π K = fK (K, L) − r = 0
which respectively define the factor demand equations
L = L∗ (w, r, p)
(9)
K = K ∗ (w, r, p)
π ∗ (w, r, p) is the profit function (or indirect objective function). The profit function gives the maximum
profit as a function of the exogenous variables w, r, and p.
Now consider the effect of a change in w on the firm’s profits. If we differentiate the original profit
function (equation 7) with respect to w,
∂π
= −L (11)
∂w
However, this result does not take into account the profit maximizing firms ability to make a substitution
of capital for labour and adjust the level of output in accordance with profit maximizing behavior.
Since π∗ (w, r, p) is the maximum value of profits for any values of w, r, and p, changes in π∗ from a
change in w takes all capital for labour substitutions into account. To evaluate a change in the maximum
profit function from a change in w, we differentiate π ∗ (w, r, p) with respect to w yielding
∂π ∗ ∂L∗ ∂K ∗
= [pfL − w] + [pfK − r] − L∗ (12)
∂w ∂w ∂w
From the first-order conditions, the two bracketed terms are equal to zero. Therefore, the resulting
equation becomes
∂π ∗
= −L∗ (w, r, p) (13)
∂w
This result says that, at the profit maximizing position, a change in profits with respect to a change in
the wage is the same whether or not the factors are held constant or allowed to vary as the factor price
changes.
The derivative of the profit function with respect to w is the negative of L∗ (w, r, p).
Following the above procedure, we can also show the additional comparative statics results
∂π ∗ (w, r, p)
= −K ∗ (r, w, p) (14)
∂r
and
∂π ∗ (w, r, p)
= f (K ∗ , L∗ ) = q ∗ (15)
∂p
This is known as ”Hotelling’s Lemma”.
2
The Lagrangian for this problem is
where V (φ) is the indirect objective function, or maximum value function. This is the maximum value
of y for any φ and xi ’s that satisfy the constraint.
∂V ∂x∗ ∂y ∗
= fx + fy + fφ (22)
∂φ ∂φ ∂φ
Where Zφ is the partial derivative of the Lagrangian function with respect to φ, ceterus parabus.1
3
where c is a constant. The Lagrangian for this problem is
fx fy
λ= = (30)
gx gy
which gives us the condition that the slope of the level curve of the objective function must equal the slope
of the constraint at the optimum.
Equations (29) implicitly define the solutions
substituting (31) back into the Lagrangian yields the maximum value function
V (c) = Z ∗ (c) = f (x∗ (c), y ∗ (c)) + λ∗ (c) (c − g(x∗1 (c), y ∗ (c))) (32)
∂c = fx ∂x ∗
∂c + fy ∂c∗ + (c − g(x (c), y ∗ (c))) ∂λ
∂c
∂y ∗ (33)
−λ (c)gx ∂c − λ (c)gy ∂c + λ∗ (c) ∂c
∗ ∂x ∗
∂c
by rearranging we get
∂Z ∗ ∂x∗ ∂y ∗ ∂λ∗
= (fx − λ∗ gx ) + (fy − λ∗ gy ) + (c − g(x∗ , y ∗ )) + λ∗ (34)
∂c ∂c ∂c ∂c
Note that the three terms in brackets are nothing more than the first-order equations and, at the optimal
values of x, y and λ, these terms are all equal to zero. Therefore this expression simplifies to
∂V (c) ∂Z ∗
= = λ∗ (35)
∂c ∂c
Therefore equals the rate of change of the maximum value of the objective function when c changes (λ is
sometimes referred to as the ”shadow price” of c).Note that, in this case, c enters the problem only through
the constraint; it is not an argument of the original objective function.
requires constrained maximization, the other problem will require constrained minimization. The structure and solution of
either problem can provide information about the structure and solution of the other problem.
4
The first-order conditions are
Zx = Ux − λPx = 0
Zy = Uy − λPy = 0 (37)
Zλ = B − Px X − Py Y = 0
This system of equations implicitly defines a solution for xM , y M and λM as a function of the exogenous
variables B, Px , Py .
xM = xM (Px , Py , B)
y M = y M (Px , Py , B) (38)
λM = λM (Px , Py , B, φ)
The solutions to xM and y M are the consumer’s ordinary demand functions, sometimes called the ”Mar-
shallian” demand functions.
Substituting the solutions to x∗ and y ∗ into the utility function yields
U ∗ = U ∗ (xM (B, Px , Py ), y M (B, Px , Py )) = V (B, Px , Py ) (39)
Where V is the maximum value function, or indirect utility function.
Now consider the alternative, or dual, problem.
The Lagranian for this problem is
Z = Px x + Py y + λ(U ∗ − U (x, y)) (40)
The first-order conditions are
Zx = Px − λUx = 0
Zy = Py − λUy = 0 (41)
Zλ = U ∗ − U (x, y; φ) = 0
This system of equations implicitly define the solutions to xh , y h and λh
xh = xh (U ∗ , Px , Py )
y h = y h (U ∗ , Px , Py ) (42)
λh = λh (U ∗ , Px , Py )
xh and y h are the compensated, or ”real income” held constant demand functions.
If we compare the first two equations from the first-order conditions in both utility maximization problem
and expenditure minimization problem, we see
Px Ux
= (= M RS) (43)
Py Uy
for both
The tangency condition is identical for both problems. If the target level of utility in the minimization
problem is set equal to the value of the utility obtained in the solution to the maximization problem, namely
U ∗ , we obtain the following
xM (B, Px , Py ) = xh (U ∗ , Px , Py )
(44)
y M (B, Px , Py ) = y h (U ∗ , Px , Py )
However, the solutions are functions of different exogenous variables so any comparative statics exercises
will produce different results.
Substituting xh and y h into the objective function of the minimization problem yields
Px xh (Px , Py , U ∗ ) + Py y h (Px , Py , U ∗ ) = E(Px , Py , U ∗ ) (45)
where E is the minimum value function or expenditure function. The duality relationship in this case is
E(Px , Py , U ∗ , φ) = B (46)
where B is the exogenous budget from the maximization problem.
Finally, it can be shown from the first-order conditions of the two problems that
1
λM = (47)
λh
5
Roy’s Identity
One application of the envelope theorem is the derivation of Roy’s identity. Roy’s identity states that
the individual consumer’s Marshallian demand function is equal to the ratio of partial derivatives of the
maximum value function. Substituting the optimal values of xM , y M and λM into the Lagrangian gives us
∂V ∂xM ∂y M ∂λM
= (0) + (0) + (0) − λM xM = −λM xM (50)
∂Px ∂Px ∂Px ∂Px
Next, differentiate the value function with respect to B
M M
∂V
∂B = (Ux − λM Px ) ∂x M ∂y
∂B + (Uy − λ Py ) ∂B
∂λM M
(51)
+B − Px xM − Py y M ) ∂B + λ
∂V ∂xM ∂y M ∂λM
= (0) + (0) + (0) + λM = λM (52)
∂B ∂B ∂B ∂B
Finally, taking the ratio of the two partial derivatives
∂V
∂Px −λM xM
= = xM (53)
∂V
∂B λM
Shephard’s Lemma
Earlier in the chapter an application of the envelope theorem was the derivation of Hotelling’s Lemma,
which states that the partial derivatives of the maximum value of the profit function yields the firm’s factory
demand functions and the supply functions. A similar approach applied to the expenditure function yields
Shephard’s Lemma.
Consider the consumer’s minimization problem. The Lagrangian is
xh = xh (Px , Py , U ∗ )
y h = y h (Px , Py , U ∗ ) (55)
λh = λh (Px , Py , U ∗ )
Substituting these solutions into the Lagrangian yields the minimum value function
The partial derivatives of the value function with respect to Px and Py are the consumer’s conditional,
or Hicksian, demands:
h h h
∂V
∂Px = (Px − λh Ux ) ∂P
∂x
+ (Py − λh Uy ) ∂P
∂y ∂λ
+ (U ∗ − U (xh , y h )) ∂P + xh
∂V ∂x h ∂y
x
h
∂λ h
x x (57)
∂Px = (0) ∂P x
+ (0) ∂P x
+ (0) ∂P x
+ xh = xh
6
and h h h
∂V
∂Py = (Px − λh Ux ) ∂P
∂x
+ (Py − λh Uy ) ∂P
∂y ∂λ
+ (U ∗ − U (xh , y h )) ∂P + yh
∂V ∂xh ∂y
y
h h
y y
(58)
∂Py = (0) ∂P y
+ (0) ∂P y
+ (0) ∂λ h
∂Py + y = y
h
Differentiating V with respect to the constraint U∗ yields λh , the marginal cost of the constraint
h h
∂V
∂U ∗ = (Px − λh Ux ) ∂U
∂x h ∂y
∗ + (Py − λ Uy ) ∂P
y
h h
∂λ
+(U ∗ − U (xh , y h )) ∂U ∗ + λ
h h h
∂y
∂V
∂U ∗
∂x
= (0) ∂U ∂λ
∗ + (0) ∂U ∗ + (0) ∂U ∗ + y
h
= λh
where xM and y M are the consumer’s Marshallian demand functions. Checking second order conditions,
the bordered Hessian is ¯ ¯
¯ −Px ¯¯
¯ ¯ ¯ 0 1
¯H ¯ = ¯ 1 0 −Py ¯¯ = 2Px Py > 0 (64)
¯
¯ −Px −Py 0 ¯
Therefore the solution does represent a maximum . Substituting xM and y M into the utility function
yields the indirect utility function
µ ¶µ ¶
B B B2
V (Px , Py , B) = = (65)
2Px 2Py 4Px Py
If we denote the maximum utility by U0 and re-arrange the indirect utility function to isolate B
B2
= U0 (66)
4Px Py
1 1 1
1
B = (4Px Py U0 ) 2 = 2Px2 Py2 U02 = E(Px , Py , U0 ) (67)
We have the expenditure function
7
Roy’s Identity Let’s verify Roy’s identity which states
∂V
xM = − ∂P
∂V
x
(68)
∂B
∂V B2
=− 2 (69)
∂Px 4Px Py
and
∂V B
=− (70)
∂B Px Py
Taking the negative of the ratio of these two partials
³ 2 ´
∂V B
∂Px 4Px2 Py B
− ∂V
=−³ ´ = = xM (71)
∂B
B 2Px
Px Py
where xh and y h are the consumer’s compensated (Hicksian) demand functions. Checking the second
order conditions for a minimum
¯ ¯
¯ ¯
¯ ¯ ¯ 0 −λ −y ¯
¯H ¯ = ¯ −λ 0 −x ¯ = −2xyλ < 0 (77)
¯ ¯
¯ −y −x 0 ¯
8
³ ´ 12 ³ ´ 12
Py U0 Px U0
Px xh + Py y h = Px Px + Py Py
1
= (Px Py U0 ) 2 + (Px Py U0 ) 2
1
(78)
1 1 1
2
= 2Px Py U0
2 2
Note that the expenditure function derived here is identical to the expenditure function obtained by
re-arranging the indirect utility function from the maximization problem.
Shephard’s Lemma We can now test Shephard’s Lemma by differentiating the expenditure function
directly.
First, we derive the conditional demand functions
µ 1 ¶ 1 1
∂E(Px , Py , U0 ) ∂ 1 1 Py2 U02
= 2
2Px Py U0 =
2 2
1 = xh (79)
∂Px ∂Px Px2
and
µ 1 ¶ 1 1
∂E(Px , Py , U0 ) ∂ 1 1 Py2 U02
= 2
2Px Py U0 =
2 2
1 = yh (80)
∂Py ∂Py Py 2
Next, we can find the marginal cost of utility (the Lagrange multiplier)
µ 1 ¶ 1 1
∂E(Px , Py , U0 ) ∂ 1 1 Px2 Py2
= 2Px2 Py2 U02 = 1 = λh (81)
∂U 0 ∂U 0 U0 2
xM = xM (Px , Py , B)
(82)
y M = y M (Px , Py , B)
Substituting these solutions into the utility function yielded the indirect utility function (or maximum
value function)
U ∗ = U (xM (Px , Py , B), y M (Px , Py , B)) = U ∗ (Px , Py , B) (83)
which could be rewritten as
M ax U (x, y) + λ(B − Px x − Py y)
9
is the same value as the exogenous level of utility found in the constrained minimization problem
the values of x and y that satisfy the first-order conditions of both problems will be identical, or
at the optimum we substitute the expenditure function into xM in place of the budget, B, we get
∂B(Px , Py, U0 )
= xc (91)
∂Px
substituting equation 91 in to equation 90 we get
If we compare equation (93) to equation 12.42’ we see that we have arrived at the identical result. The
method of deriving the Slutsky decomposition through the application of duality and the envelope theorem
is sometimes referred to as the ”instant Slutsky”.
10