Skip to content

Commit e49b404

Browse files
jstacclaude
andcommitted
Improve cake eating lecture clarity and mathematical notation
- Simplify language in introductory paragraphs - Add formal note on intertemporal elasticity of substitution (IES = 1/γ) - Improve mathematical notation with explicit constraints in argmax - Enhance formatting of multi-line explanations - Clarify definitions and conditions throughout 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4d82554 commit e49b404

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

lectures/cake_eating.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ In this lecture we introduce a simple "cake eating" problem.
2222
The intertemporal problem is: how much to enjoy today and how much to leave
2323
for the future?
2424

25-
Although the topic sounds trivial, this kind of trade-off between current
26-
and future utility is at the heart of many savings and consumption problems.
25+
This trade-off between current and future rewards is at the heart of many savings and consumption problems.
2726

28-
Once we master the ideas in this simple environment, we will apply them to
29-
progressively more challenging---and useful---problems.
27+
Once we master the ideas in a simple environment, we will apply them to
28+
progressively more challenging problems.
3029

3130
The main tool we will use to solve the cake eating problem is dynamic programming.
3231

@@ -105,7 +104,7 @@ subject to
105104

106105
for all $t$.
107106

108-
A consumption path $\{c_t\}$ satisfying {eq}`cake_feasible` where $x_0 = \bar x$ is called **feasible**.
107+
A consumption path $\{c_t\}$ satisfying {eq}`cake_feasible` and $x_0 = \bar x$ is called **feasible**.
109108

110109
In this problem, the following terminology is standard:
111110

@@ -131,10 +130,19 @@ The reasoning given above suggests that the discount factor $\beta$ and the curv
131130

132131
Here's an educated guess as to what impact these parameters will have.
133132

134-
1. Higher $\beta$ implies less discounting, and hence the agent is more patient, which should reduce the rate of consumption.
135-
2. Higher $\gamma$ implies that marginal utility $u'(c) = c^{-\gamma}$ falls faster with $c$.
133+
1. Higher $\beta$ implies less discounting, and hence the agent is more patient,
134+
which should reduce the rate of consumption.
135+
2. Higher $\gamma$ implies more curvature in $u$,
136+
more desire for consumption smoothing, and hence a lower rate of consumption.
136137

137-
This suggests more smoothing, and hence a lower rate of consumption.
138+
```{note}
139+
More formally, higher $\gamma$ implies a lower intertemporal elasticity of substitution, since
140+
IES = $1/\gamma$.
141+
142+
This means the consumer is less willing to substitute consumption between periods.
143+
144+
This stronger preference for consumption smoothing results in a lower consumption rate.
145+
```
138146

139147
In summary, we expect the rate of consumption to be decreasing in both parameters.
140148

@@ -256,16 +264,16 @@ Now that we have the value function, it is straightforward to calculate the opti
256264
We should choose consumption to maximize the right hand side of the Bellman equation {eq}`bellman-cep`.
257265

258266
$$
259-
c^* = \arg \max_{c} \{u(c) + \beta v(x - c)\}
267+
c^* = \argmax_{0 \leq c \leq x} \{u(c) + \beta v(x - c)\}
260268
$$
261269

262-
We can think of this optimal choice as a function of the state $x$, in which case we call it the **optimal policy**.
270+
We can think of this optimal choice as a *function* of the state $x$, in which case we call it the **optimal policy**.
263271

264272
We denote the optimal policy by $\sigma^*$, so that
265273

266274
$$
267275
\sigma^*(x) := \arg \max_{c} \{u(c) + \beta v(x - c)\}
268-
\quad \text{for all } x
276+
\quad \text{for all } \; x \geq 0
269277
$$
270278

271279
If we plug the analytical expression {eq}`crra_vstar` for the value function
@@ -330,7 +338,7 @@ The Euler equation for the present problem can be stated as
330338
u^{\prime} (c^*_{t})=\beta u^{\prime}(c^*_{t+1})
331339
```
332340

333-
This is a necessary condition for the optimal path.
341+
This is a necessary condition for an optimal consumption path $\{c^*_t\}_{t \geq 0}$.
334342

335343
It says that, along the optimal path, marginal rewards are equalized across time, after appropriate discounting.
336344

@@ -342,8 +350,7 @@ We can also state the Euler equation in terms of the policy function.
342350
A **feasible consumption policy** is a map $x \mapsto \sigma(x)$
343351
satisfying $0 \leq \sigma(x) \leq x$.
344352

345-
The last restriction says that we cannot consume more than the remaining
346-
quantity of cake.
353+
(The last restriction says that we cannot consume more than the remaining quantity of cake.)
347354

348355
A feasible consumption policy $\sigma$ is said to **satisfy the Euler equation** if, for
349356
all $x > 0$,

0 commit comments

Comments
 (0)