Sequential & Recursive Problems#

Exercises from the Class Notes#

Exercise 1.1#

Show that the objective function of the cake-eating problem is strictly concave when the per-period utility is strictly concave.

Solution

If \(U\left(c\right)\) is strictly concave, then \(\forall c_{1}, c_{2}, \forall \alpha\in\left(0,1\right)\),

\[\begin{equation*} U\left(\left(1-\alpha\right)c_{1}+\alpha c_{2}\right)>\left(1-\alpha\right)U\left(c_{1}\right) + \alpha U\left(c_{2}\right). \end{equation*}\]

Due to subadditivity of a concave function,

\[\begin{equation*} \sum_{t=0}^{\infty}\beta^{t}U\left(\left(1-\alpha\right)c_{1}+\alpha c_{2}\right)>\sum_{t=0}^{\infty}\beta^{t}\left(1-\alpha\right)U\left(c_{1}\right) + \sum_{t=0}^{\infty}\beta^{t}\alpha U\left(c_{2}\right). \end{equation*}\]

Therefore the objective function of the cake-eating problem is strictly concave when the per-period utility is strictly concave.

Exercise 1.2#

Generalize Theorem 1.1 without assuming that a maximum exists. Instead let the solution of (SP) be defined as a supremum and prove that it satisfies (FE).

Solution

See Proof of Theorem 4.2 in SLP.

Exercise 1.4#

Consider the Estate Planning problem when \(U(c)=c\), \(\beta=1/(1+r)\) and modify the savings technology so that

\(\Gamma(x)= \begin{cases} -x/\beta, \text{ if } x>0 \\ x/\beta, \text{ if } x \leq 0 \end{cases}\)

Show that \(V(x)=(1+r)x\) solves the Bellman equation although \(V^*(x)\neq (1+r)x\).

Solution

Since the feasibility set is always a singleton, the agent has no control over his action. Considering first cases where \(x<0\), we have

\[\begin{align*} V^*(x_0) & = (1+r)x_0-x_1+\beta V^*(x_1) \\ & = (1+r)x_0 -\frac{x_0}{\beta}+\beta V^*\left(\frac{x_0}{\beta}\right) \\ & = \beta V^*\left(\frac{x_0}{\beta}\right). \end{align*}\]

The second equality follows from \(\beta=1/(1+r)\). Iterating the computation above, one finds that \(V^*(x_0)=0\) when \(x_0<0\).

Consider now cases where \(x>0\). Then we have

\[\begin{align*} V^*(x_0) & = (1+r)x_0-x_1+\beta V^*(x_1) \\ & = (1+r)x_0 +\frac{x_0}{\beta}+\beta V^*\left(-\frac{x_0}{\beta}\right) \\ & = 2(1+r)x_0+\beta V^*\left(-\frac{x_0}{\beta}\right)\\ & = 2(1+r)x_0. \end{align*}\]

The last equality follows from the fact that \(V^*\left(-\frac{x_0}{\beta}\right)=0\) because \(-x_0/\beta\) is negative.

Putting together the two solutions, we find that \(V^*(x)=\max\{2(1+r)x,0\}\). The optimal solution to the sequential problem satisfies the trensversality condition since \(\lim_{t\rightarrow \infty}\beta^tV^*(x^*_t)=0\).

We now compute the solution of the Functional Equation \(V(x)=\max_{x' \in \Gamma(x)}\left\{(1+r)x-x'+\beta V(x')\right\}.\)

We try the following guess \(V(x)=(1+r)x\). Reinserting it into the Functional Equation, we get

\[\begin{align*} V(x) & = \max_{x' \in \Gamma(x)}\left\{(1+r)x-x'+\beta (1+r)(x')\right\} \\ & = \max_{x' \in \Gamma(x)}\left\{(1+r)x\right\}\\ & = (1+r)x,\\ \end{align*}\]

The second equality follows from \(\beta=1/(1+r)\). Hence \(V(x)=(1+r)x\) is indeed a solution of the Functional Equation. However, \(V(x) \neq V^*(x)\) even though \(V^*(x^*)\) satisfies the transversality condition. By contrast, \(V(x)\) does not satsfy the condition of Theorem 1.5 in the class notes since

\[ \lim_{t\rightarrow \infty}\beta^tV(x^*_t)=x_0<0, \text{when } x_0<0.\]

Additional Exercises#

Exercise 1.5 (Lagrangian)#

  1. Consider the Estate Planning problem in Exercice 1.1. Let the horizon \(T\) go to infinity and use the Lagrangian to derive the transversality condition.

  2. Under what condition on the value function is the transversality condition for the Lagrangian problem implied by that of the recursive problem?

Solution
  1. We introduce the Lagrange multiplier \((\lambda)\) for the intertemporal constraint that govern the evolution of assets, and a terminal multiplier \(( \mu_T \geq 0 )\) for the no Ponzi condition \(( a_{T+1} \geq 0 )\).

    The Lagrangian for this problem with finite horizon \(T\) can be written as follows

    \( \mathcal{L} = \sum_{t=0}^T \beta^t U(c_t) + \lambda \left[a_0 - \sum_{t=0}^T c_t - a_{T+1}\right] + \mu_T a_{T+1}. \)

    Focusing on the terminal condition, we find that

    \( \frac{\partial \mathcal{L}}{\partial a_{T+1}} = 0 \rightarrow \lambda = \mu_T . \)

    Since \(\lambda = \beta^t u'(c_t) >0\), we have \(\mu_T >0\) and the Kuhn-Tucker condition \(\mu_T a_{T+1} = 0\) implies that \(a_{T+1} = 0\).

    Letting the horizon go to infinity, we obtain the transversality condition

    \( \lim_{T\rightarrow \infty} \mu_T a_{T+1} = \lim_{T\rightarrow \infty} \beta^T u'(c_T) a_{T+1} = 0.\)

  2. The FOC of the Bellman equation is given by \(\beta V'(a_{t+1})= u'(c_t)\). Hence, if the value function is concave, we have

    \( u'(c_T) a_{T+1}=\beta V'(a_{T+1})a_{T+1} \leq \beta V(a_{T+1})\),

    which implies that \( \beta^T u'(c_T) a_{T+1} \leq \beta^{T+1} V(a_{T+1})\). Remember that the transversality condition of the Bellman equation reads \(\lim_{T\rightarrow \infty} \beta^TV(a_T) =0\). Hence we indeed have \(\lim_{T\rightarrow \infty} \beta^T u'(c_T) a_{T+1} = 0\), whenever the transversality condition of the recursive problem holds and the value function is concave.

    We will show in lecture 2 that concavity of the value function holds true because the value function inherits the concavity of the per-period utility function \(u(c)\). In other words, the transversality condition of the recrusive problem is more stringent than that of the Lagrangian problem.

Exercise 1.6 (Unbounded Rewards)#

Show that the transversality condition of Theorem 1.3 is violated in the cake-eating problem when \(U(c)=ln(c)\).

Solution

Consider the path where \(c_0=(1+r)a_0\) and \(c_t=0\) for all \(t>0\). This consumption profile is obviously feasible. Hence \(\underline{a}=\{(1+r)a_0,0,0,...\}\in \Pi(a_0)\). Given that \(\Gamma(0)=0\), the value function must satisfy

\( V(0) = U(0) + \beta V(0),\)

and so \(V(0) = U(0)/(1-\beta)=-\infty\) since \(U(c)=ln(c)\). In particular, we have \(V(0)<-\beta^{-T}\), which implies in turn that \(\beta^TV(a_T)<-1\) for all \(T\). It follows that \(\underline{a}\) violates the transversality condition \(\lim_{T\rightarrow \infty} \beta^TV(a_T)=0\).

Exercise 1.7 (Bubbles)#

Consider a deterministic version of the Lucas (1978) asset pricing model. There are many homogeneous agents, a single good and a single asset that pays a dividend of \(d_t\) units of the good in each period \(t\). The asset supply is normalized to one. The agent solves

\[\begin{align*} \max_{\{c_t,x_t\}_{t=0}^\infty} & \sum_{t=0}^\infty \beta^t u(c_t) \\ s.t. \text{ } & x_0 = 1, \\ \text{ } & c_t + p_tx_{t+1} =(p_t+d_t)x_t, x_{t+1} \geq 0, t=0,1,2,\dots \end{align*}\]
  1. Show that the fundamental price

    \[\begin{equation*} p^*_t =\sum_{i=0}^\infty \beta^i \frac{u'(d_{t+i})}{u'(d_t)}d_{t+i} \end{equation*}\]

    satisfies the Euler equation of the agent.

  2. The sequence \(\{p^*_t+b_t\}\) also satisfies the Euler equation as long as the bubbly component \(b_t\) obeys the following law of motion

    \[\begin{equation*} u'(d_{t})b_t=\beta u'(d_{t+1})b_{t+1}. \end{equation*}\]

    Explain why the bubble is ruled out by the transversality condition of the Lagrangian problem.

Solution
  1. Since The Euler equation is given by

    \[\begin{equation*} u'(d_{t})p_t=\beta u'(d_{t+1})(p_{t+1}+d_{t+1}), \end{equation*}\]

    it is indeed satisfied replacing \(p_t\) with \(p^*_t\).

  2. The transversality condition of the Lagrangian problem reads \(\lim_{T\rightarrow \infty} \beta^Tu'(d_t)p_T=0\). However, when \(b_0\) is positive, we have \(\beta^t u'(d_t)b_t = u'(d_0)b_0 >0\) for all \(t\), and so the transversality condition is violated. Hence, the transversality condition is not only sufficient but also necessary to ensure that the bubble component of asset prices vanishes. See Kamihigashi (2001, Econometrica) for more details on the necessity of transversality conditions.

Exercise 1.8 (Sufficiency of the Euler Equation and TVC)#

Let \(X\subseteq\mathbb{R}_+\) and let \(F(x,x')\) be concave and continuously differentiable, with \(F_1>0\), where \(F_1\) and \(F_2\) denote the partial derivatives with respect to the first and second arguments. Suppose that a feasible plan \(\{x^*_t\}_{t=0}^{\infty}\in\Pi(x_0)\) satisfies the Euler equation

\[F_2(x^*_t,x^*_{t+1})+\beta F_1(x^*_{t+1},x^*_{t+2})=0,\quad t=0,1,2,\dots\]

and the transversality condition (TVC) \(\lim_{t\rightarrow\infty}\beta^t F_1(x^*_t,x^*_{t+1})\,x^*_t=0\). Show that \(\{x^*_t\}_{t=0}^{\infty}\) is optimal.

Hint: use concavity to bound \(D_T=\sum_{t=0}^{T}\beta^t\left[F(x^*_t,x^*_{t+1})-F(x_t,x_{t+1})\right]\) for any \(\underline{x}\in\Pi(x_0)\).

Solution

Take any \(\underline{x}\in\Pi(x_0)\). By concavity of \(F\),

\[D_T\geq\sum_{t=0}^{T}\beta^t\left[F_1(x^*_t,x^*_{t+1})(x^*_t-x_t)+F_2(x^*_t,x^*_{t+1})(x^*_{t+1}-x_{t+1})\right].\]

Since \(x^*_0=x_0\), regrouping the terms in \(x^*_{t+1}-x_{t+1}\) gives

\[D_T\geq\sum_{t=0}^{T-1}\beta^t\left[F_2(x^*_t,x^*_{t+1})+\beta F_1(x^*_{t+1},x^*_{t+2})\right](x^*_{t+1}-x_{t+1})+\beta^T F_2(x^*_T,x^*_{T+1})(x^*_{T+1}-x_{T+1}).\]

The Euler equation sets each bracket to zero and gives \(F_2(x^*_T,x^*_{T+1})=-\beta F_1(x^*_{T+1},x^*_{T+2})\). Since \(F_1>0\) and \(x_{T+1}\geq 0\),

\[D_T\geq-\beta^{T+1}F_1(x^*_{T+1},x^*_{T+2})(x^*_{T+1}-x_{T+1})\geq-\beta^{T+1}F_1(x^*_{T+1},x^*_{T+2})\,x^*_{T+1}.\]

By the TVC, the right-hand side converges to zero, so \(\lim_{T\rightarrow\infty}D_T\geq 0\), i.e. \(\mathcal{U}(\underline{x}^*)\geq\mathcal{U}(\underline{x})\) for all \(\underline{x}\in\Pi(x_0)\). See SLP, Theorem 4.15.

Exercise 1.9 (Principle of Optimality)#

An investor lives over three dates, \(t = 0, 1, 2\), and cares only about terminal wealth \(W_2\). At date 0 the investor evaluates any plan with the mean-variance criterion

\[J_0 = \mathbb{E}_0[W_2] - \frac{\gamma}{2}\,\mathrm{Var}_0(W_2), \qquad \gamma > 0.\]

Date 1. Nature draws a state \(s \in \{H, L\}\), each with probability \(1/2\). Wealth becomes \(W_1 = +a\) in state \(H\) and \(W_1 = -a\) in state \(L\), with \(a > 0\).

Between dates 1 and 2. After seeing \(s\), the investor chooses an amount \(\theta_s \in \mathbb{R}\) to put in a risky asset. Its excess return \(\varepsilon\) is independent of \(s\), with \(\mathbb{E}[\varepsilon] = \mu > 0\) and \(\mathrm{Var}(\varepsilon) = \sigma^2\). Terminal wealth is \(W_2 = W_1 + \theta_s\,\varepsilon\).

At date 1 the investor uses the same criterion, conditioned on what they now know:

\[J_1(s) = \mathbb{E}_1[W_2 \mid s] - \frac{\gamma}{2}\,\mathrm{Var}_1(W_2 \mid s).\]

Numerical case: \(\mu = \sigma^2 = \gamma = a = 1\).

  1. Date-1 problem. For each state \(s\), find the \(\theta_s\) that maximizes \(J_1(s)\). Does it depend on \(s\)?

  2. Date-0 problem (commitment). Suppose that at date 0 the investor can commit to a state-contingent plan \((\theta_H, \theta_L)\).

    (a) Use the law of total variance to show that

    \[\mathrm{Var}_0(W_2) = \underbrace{\tfrac{\sigma^2}{2}\big(\theta_H^2 + \theta_L^2\big)}_{\mathbb{E}[\mathrm{Var}(W_2\mid s)]} + \underbrace{\tfrac14\big(2a + \mu(\theta_H - \theta_L)\big)^2}_{\mathrm{Var}(\mathbb{E}[W_2\mid s])}.\]

    (b) Find the plan \((\theta_H^*, \theta_L^*)\) that maximizes \(J_0\).

  3. Compare your answers to questions 1 and 2. Is the restriction of the date-0 optimal plan to the subgame that starts in state \(H\) optimal in that subgame? What does this tell you about Bellman’s principle of optimality here?

  4. Using the numerical values, compute \(J_0\) under (i) the committed plan and (ii) the plan the investor actually follows without commitment. Compute \(J_1(H)\) under both plans as well.

  5. Explain in words why the principle fails. Which term in \(J_0\) has no counterpart in \(J_1\)? Why does this problem not come up with expected utility \(\mathbb{E}[u(W_2)]\)?

Solution
  1. We have \(J_1(s) = W_1 + \theta\mu - \frac{\gamma}{2}\theta^2\sigma^2\), so

    \[\hat\theta_H = \hat\theta_L = \frac{\mu}{\gamma\sigma^2} \;(=1).\]

    The choice does not depend on the state: the date-1 self treats \(W_1\) as a constant.

  2. (a) The law of total variance gives \(\mathrm{Var}(W_2) = \mathbb{E}[\mathrm{Var}(W_2\mid s)] + \mathrm{Var}(\mathbb{E}[W_2\mid s])\). We compute the two terms in turn.

    Expected conditional variance. In state \(s\), \(W_1\) is known and only \(\theta_s\varepsilon\) is random, so \(\mathrm{Var}(W_2\mid s) = \theta_s^2\sigma^2\). Averaging over the two equally likely states,

    \[\mathbb{E}[\mathrm{Var}(W_2\mid s)] = \tfrac12\,\theta_H^2\sigma^2 + \tfrac12\,\theta_L^2\sigma^2 = \tfrac{\sigma^2}{2}\big(\theta_H^2 + \theta_L^2\big).\]

    Variance of the conditional mean. Before date 1, \(\mathbb{E}[W_2\mid s]\) is a random variable that takes two equally likely values,

    \[m_H \equiv \mathbb{E}[W_2\mid H] = a + \mu\theta_H, \qquad m_L \equiv \mathbb{E}[W_2\mid L] = -a + \mu\theta_L .\]

    Its mean is \(\bar m = \tfrac12(m_H + m_L)\), and each value lies at the same distance from it:

    \[m_H - \bar m = \tfrac12(m_H - m_L), \qquad m_L - \bar m = -\tfrac12(m_H - m_L).\]

    Hence

    \[\begin{split}\begin{aligned} \mathrm{Var}(\mathbb{E}[W_2\mid s]) &= \tfrac12(m_H - \bar m)^2 + \tfrac12(m_L - \bar m)^2 \\ &= \tfrac12\Big[\tfrac12(m_H - m_L)\Big]^2 + \tfrac12\Big[-\tfrac12(m_H - m_L)\Big]^2 \\ &= \tfrac12\cdot\tfrac14(m_H - m_L)^2 + \tfrac12\cdot\tfrac14(m_H - m_L)^2 \\ &= \tfrac14(m_H - m_L)^2 . \end{aligned}\end{split}\]

    Since \(m_H - m_L = 2a + \mu(\theta_H - \theta_L)\), adding the two terms yields the expression in the question.

    (b) The two first-order conditions are

    \[\frac{\mu}{2} - \frac{\gamma}{2}\Big[\sigma^2\theta_H + \frac{\mu}{2}\big(2a + \mu\Delta\big)\Big] = 0,\qquad \frac{\mu}{2} - \frac{\gamma}{2}\Big[\sigma^2\theta_L - \frac{\mu}{2}\big(2a + \mu\Delta\big)\Big] = 0,\]

    where \(\Delta = \theta_H - \theta_L\). Adding them gives \(\theta_H + \theta_L = 2\mu/(\gamma\sigma^2)\), and subtracting them gives \(\Delta = -2a\mu/(\sigma^2 + \mu^2)\). Hence

    \[\theta_H^* = \frac{\mu}{\gamma\sigma^2} - \frac{a\mu}{\sigma^2+\mu^2} \;\big(=\tfrac12\big), \qquad \theta_L^* = \frac{\mu}{\gamma\sigma^2} + \frac{a\mu}{\sigma^2+\mu^2} \;\big(=\tfrac32\big).\]
  3. The date-0 self wants to take less risk after a gain and more risk after a loss. The date-1 self wants the same position, \(\theta = 1\), in both states. So the restriction of the optimal plan to state \(H\), which is \(\theta_H^* = \tfrac12\), is not optimal in the subgame starting at \(H\). That is exactly what the principle of optimality rules out. The plan is time-inconsistent: without commitment, the date-1 self deviates.

  4. The two plans compare as follows:

    Plan

    \(\mathbb{E}_0[W_2]\)

    \(\mathrm{Var}_0(W_2)\)

    \(J_0\)

    \(J_1(H)\)

    Committed \((\tfrac12, \tfrac32)\)

    1

    \(1.25 + 0.25 = 1.5\)

    0.25

    1.375

    Without commitment \((1, 1)\)

    1

    \(1 + 1 = 2\)

    0

    1.5

    Each self ranks the two plans differently. The date-0 self prefers the committed plan, but once state \(H\) is reached the date-1 self prefers to switch to \(\theta_H = 1\). Backward induction delivers \((1,1)\), which gives \(J_0 = 0 < 0.25\).

  5. The term \(\mathrm{Var}(\mathbb{E}[W_2 \mid s])\) is the culprit: the date-0 self dislikes how much the conditional means differ across states, and they can shrink that spread by choosing different positions in each state. At date 1 the state is already known, so this term no longer exists, and nothing makes the date-1 self care about it.

    Variance is not an expectation of a function of \(W_2\). Because of the squared-mean term, it does not satisfy the tower property: \(\mathrm{Var}_0 \neq \mathbb{E}_0[\mathrm{Var}_1]\). With expected utility, \(\mathbb{E}_0[u(W_2)] = \mathbb{E}_0\big[\mathbb{E}_1[u(W_2)]\big]\), so the date-0 objective is the average of the date-1 objectives and the Bellman recursion holds.