Skip to main content

Envelope Theorem, and Euler Condition

Author
Affiliation

Department of Economics, University of Houston

Published

November 30, 2026

Part of Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics.
Main Stam4Econ site | View this section in the book | Author: Fan Wang | DOI: 10.5281/zenodo.24696926
Date: 2026-11-30 | HTML | PDF | QMD

1 Envelope Theorem, and Euler Condition

1.1 Envelope Theorem

Let \(a\in R\) and \(b\in R\), consider the solutions the the maximization problem below along with the function evaluated at the optimal choice function:

\[\begin{align} b^{\ast}(a) &= \argmax_{b} f(a, b)\\ f^{\ast}(a) = f(a, b^{\ast}(a)) &= \max_{b} f(a, b)\\ \end{align}\]

The function \(f\) is continuously differentiable over its domain. The optimal choice function, \(b^{\ast}(a)\) is continuously differentiable over \(a\).

It seems obvious that a shift in \(a\) could impact the optimal \(b^{\ast}(a)\) choice. Equally obvious is that a shift in \(a\) should also impact the objective function evaluated at the optimal choice, \(f^{\ast}(a)\). What turns out to be very interesting and perhaps surprising is that even though \(f^{\ast}(a)=f\left(a, b^{\ast}(a)\right)\) is a function of \(b^{\ast}(a)\), \(\frac{d b^{\ast}(a)}{d a}\) will not impact \(\frac{d f^{\ast}(a)}{d a}\). This idea is encapsulated in the “envelope theorem”. Specifically:

\[\begin{align} \frac{d f^{\ast}(a)}{d a} &= \frac{d f(a, b^{\ast}(a))}{d a}\\ &= \frac{\partial f(a, b^{\ast}(a))}{\partial a} + \frac{\partial f(a, b^{\ast}(a))}{\partial b}\cdot \frac{d b^{\ast}(a)}{d a}\\ &= \frac{\partial f(a, b^{\ast}(a))}{\partial a} + 0 \cdot \frac{d b^{\ast}(a)}{d a}\\ &= \frac{\partial f(a, b^{\ast}(a))}{\partial a}\\ \end{align}\]

The above derivation relies on \(\frac{\partial f(a, b^{\ast}(a))}{\partial b}=0\), which is true by the definition of optimality: given \(a\), \(b^{\ast}\) is already the optimal choice, and the slope at optimal choice is \(0\). In general, when we use the “envelope theorem”, we remind ourselves of the optimality conditions (first-order-conditions) used to derive optimal choices, and plug them in as needed to help with eliminating terms in an otherwise seemingly more complex problem with many derivative terms.

A few points to note:

  • While \(\frac{\partial f(a, b^{\ast}(a))}{\partial b} = 0\), \(\frac{\partial f(a, \widehat{b})}{\partial b} \neq 0\) if \(\widehat{b} \neq b^{\ast}(a)\).
  • While \(\frac{d f^{\ast}(a)}{d a}\) is not a function of \(\frac{d b^{\ast}(a)}{d a}\), it is a function of \(b^{\ast}(a)\). We take the partial of \(f\) with respect to \(a\), and evaluate the partial at \(b = b^{\ast}(a)\).
  • The Envelope Theorem is a “local” limiting result. The above equal does not apply if we have larger step increases in \(a\), and evaluate a change in the optimal objective function given a large step shift.

1.2 Envelope Theorem and discount factor

As an application of the envelop theorem result, consider the two period consumption and savings problem, where \(e_1\) and \(e_2\) are endowments, \(s\) is savings if it is positive and borrowing if it is negative, and \(\beta\) is the discount factor. The value function is equal to:

\[ \begin{gathered} v\left(\beta\right) = \max_{s} U(s, \beta) \end{gathered} \]

where:

\[\begin{align} U(s, \beta) = u\left( e_1 - s \right) + \beta \cdot u\left( e_2 + s\cdot\left(1+r\right) \right) \end{align}\]

The first order condition of the problem is that the marginal utility of additional savings today is equal to the marginal utility to having additional savings tomorrow, at the optimal savings choice \(s^{\ast}(\beta)\):

\[\begin{align} \frac{d U(\beta, s^{\ast}(\beta))}{d s} =0 \end{align}\]

We are interested in the marginal effect of \(\beta\) on the value function. Using first order optimality conditions, we arrive at:

\[\begin{align} \frac{d v\left(\beta\right)}{d\beta} &= \frac{d U\left(\beta, s^{\ast}\left(\beta\right)\right)}{d\beta}\\ &= \frac{\partial U\left(\beta, s^{\ast}\left(\beta\right)\right)}{\partial \beta} + \frac{\partial U\left(\beta, s^{\ast}\left(\beta\right)\right)}{\partial s}\cdot \frac{d s^{\ast}\left(\beta\right)}{d \beta} \\ &= \frac{\partial U\left(\beta, s^{\ast}\left(\beta\right)\right)}{\partial \beta} + 0\cdot \frac{d s^{\ast}\left(\beta\right)}{d \beta} \\ &= u\left( e_2 + s^{\ast}\left(\beta\right)\cdot\left(1+r\right) \right)\\ \end{align}\]

By invoking optimality condition, we have a significantly simpler derivative result than might have otherwise seemed initially. Note again we still have to solve for the optimal savings choice and plug that into the equation above.

Section correction thanks to:

  • Eden Yang, 2025-10-14 15:46:39
  • Chad Stevenson, 2025-12-03 13:20:28

1.3 Envelope theorem euler equation dynamic

Now consider a dynamic consumption-savings problem. Let \(a_t\) denote assets brought into period \(t\), let \(a_{t+1}\) denote the savings choice for the next period, and let \(y_t\) denote current income. The consumer solves:

\[\begin{align} V\left(a_t\right) = \max_{a_{t+1}}\ & u\left(c_t\right) + \beta V\left(a_{t+1}\right)\\ \mathrm{s.t.}\quad c_t &= \left(1+r\right)a_t + y_t - a_{t+1}. \end{align}\]

Substituting the budget constraint into the objective, the Bellman equation can be written as:

\[\begin{align} V\left(a_t\right) = \max_{a_{t+1}}\ & u\left( \left(1+r\right)a_t + y_t - a_{t+1} \right) + \beta V\left(a_{t+1}\right). \end{align}\]

Assume for now that the optimal choice \(a_{t+1}^{\ast}\left(a_t\right)\) is interior and that the relevant functions are differentiable. The first order condition with respect to \(a_{t+1}\) is:

\[\begin{align} 0 &= -u'\left(c_t\right) + \beta V'\left(a_{t+1}^{\ast}\right)\\ u'\left(c_t\right) &= \beta V'\left(a_{t+1}^{\ast}\right). \end{align}\]

The economic meaning is direct: saving one additional unit lowers current consumption by one unit, which costs \(u'\left(c_t\right)\) utility today. The benefit is that next period begins with one more unit of assets, which raises continuation value by \(V'\left(a_{t+1}^{\ast}\right)\), discounted by \(\beta\). At an interior optimum, these marginal cost and marginal benefit terms are equal.

The envelope theorem gives a simple expression for \(V'\left(a_t\right)\). Start from the value function evaluated at the optimal policy:

\[\begin{align} V\left(a_t\right) = u\left( \left(1+r\right)a_t + y_t - a_{t+1}^{\ast}\left(a_t\right) \right) + \beta V\left(a_{t+1}^{\ast}\left(a_t\right)\right). \end{align}\]

Taking the total derivative with respect to \(a_t\) would appear to require differentiating the policy function \(a_{t+1}^{\ast}\left(a_t\right)\). The envelope theorem says that the terms involving the derivative of the optimal policy disappear because the policy is already chosen optimally. Therefore:

\[\begin{align} V'\left(a_t\right) &= \frac{\partial}{\partial a_t} \left[ u\left( \left(1+r\right)a_t + y_t - a_{t+1}^{\ast} \right) + \beta V\left(a_{t+1}^{\ast}\right) \right]\\ &= u'\left(c_t\right)\left(1+r\right). \end{align}\]

Apply the same envelope condition one period ahead:

\[\begin{align} V'\left(a_{t+1}^{\ast}\right) = u'\left(c_{t+1}\right)\left(1+r\right). \end{align}\]

Substituting this expression into the first order condition gives the Euler equation:

\[\begin{align} u'\left(c_t\right) &= \beta V'\left(a_{t+1}^{\ast}\right)\\ &= \beta\left(1+r\right)u'\left(c_{t+1}\right). \end{align}\]

This is the intertemporal optimality condition. At the optimum, the household is indifferent at the margin between consuming one more unit today and saving that unit for next period. Consuming today gives marginal utility \(u'\left(c_t\right)\). Saving instead produces \(1+r\) units of next-period consumption, worth \(u'\left(c_{t+1}\right)\) per unit next period and discounted by \(\beta\).

If returns or income are uncertain, the same logic gives the stochastic Euler equation:

\[\begin{align} u'\left(c_t\right) = \beta E_t\left[\left(1+r_{t+1}\right)u'\left(c_{t+1}\right)\right]. \end{align}\]

The deterministic equation above is the special case where \(r_{t+1}=r\) and next-period consumption is known at time \(t\).