Skip to content

Commit f266850

Browse files
jstacSmit-create
authored andcommitted
misc
1 parent fe5d5f8 commit f266850

File tree

1 file changed

+90
-62
lines changed

1 file changed

+90
-62
lines changed

lectures/olg.md

Lines changed: 90 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,38 @@ plt.rcParams["figure.figsize"] = (11, 5) #set default figure size
5858

5959
## Environment
6060

61-
TODO add timing and basic ideas of OLG
61+
We assume that time is discrete, so that $t=0, 1, \ldots$,
6262

63-
We assume that
63+
An individual born at time $t$ lives for two periods: $t$ and $t + 1$.
6464

65-
- time is discrete, so that $t=0, 1, \ldots$,
66-
- individuals born at time $t$ live for two periods: $t$ and $t + 1$,
67-
- capital depreciates fully after one period (TODO to be checked)
65+
We call an agent
6866

67+
- "young" during the first period of their lives and
68+
- "old" during the second period of their lives
6969

70-
First let's consider the household side.
70+
Young agents work, supplying labor and earning labor income.
71+
72+
73+
They also decide how much to save.
74+
75+
Their savings and the prevailing rate of interest determine their second
76+
period income.
7177

78+
Old agents do not work, so all income is financial.
79+
80+
The wage and interest rates are determined in equilibrium by supply and
81+
demand.
82+
83+
To make the algebra slightly easier, we are going to assume a constant
84+
population size.
85+
86+
We normalize the constant population size in each period to 1.
7287

7388

7489
## Supply of capital
7590

91+
First let's consider the household side.
92+
7693
### Consumer's problem
7794

7895
Suppose that utility for individuals born at time $t$ take the form
@@ -84,114 +101,103 @@ Suppose that utility for individuals born at time $t$ take the form
84101
```
85102

86103
Here
87-
- $u: \mathbb R_+ \to \mathbb R$ is the flow utility function satisfying some properties
104+
105+
- $u: \mathbb R_+ \to \mathbb R$ is the flow utility function, which is
106+
strictly increasing
88107
- $\beta \in (0, 1)$ is the discount factor
89108
- $c^1_t$ is time $t$ consumption of the individual born at time $t$
90109
- $c^2_{t+1}$ is time $t+1$ consumption of the same individual (born at time $t$)
91110

92-
Savings by an individual of generation $t$, $s_t$, is determined as a
93-
solution to:
111+
Their savings behavior is determined by the optimization problem
112+
94113

95114
```{math}
96115
:label: max_sav_olg
97-
\begin{aligned}
98-
\max_{c^1_t, c^2_{t+1}, s_t} \ & \left \{ u(c^1_t) + \beta u(c^2_{t+1}) \right \} \\
99-
\mbox{subject to } \ & c^1_t + s_t \le w_t \\
100-
& c^2_{t+1} \le R_{t+1}s_t\\
101-
\end{aligned}
116+
\max_{c^1_t, c^2_{t+1}}
117+
\, \left \{ u(c^1_t) + \beta u(c^2_{t+1}) \right \}
102118
```
103119

104-
where
105-
- $w_t$ is the wage rate at time
106-
- $R_{t+1}$ is time $t+1$ rental rate of capital.
120+
subject to
121+
122+
$$
123+
c^1_t + s_t \le w_t
124+
\quad \text{and} \quad
125+
c^2_{t+1} \le R_{t+1} s_t
126+
$$
127+
128+
Here
129+
130+
- $s_t$ is savings by an individual born at time $t$
131+
- $w_t$ is the wage rate at time $t$
132+
- $R_{t+1}$ is the interest rate on savings invested at time $t$, paid at time $t+1$
133+
134+
Since $u$ is strictly increasing, both of these constraints will hold as equalities.
107135

108-
The second constraint incorporates the notion that individuals only spend
109-
money on their own end of life consumption. Also, Since $u$ is strictly increasing, both constraints will hold as equalities.
110136

111-
Substituting $s_t$ from the first constraint into the second we get $c^2_{t+1}$ in terms of $c^1_t$, i.e.,
137+
Substituting $s_t$ from the first constraint into the second we get
112138

113139
```{math}
114140
:label: c_2_olg
115141
c^2_{t+1} = R_{t+1}(w_t - c^1_t)
116142
```
117-
Thus first-order condition for a maximum can be written in the
118-
familiar form of the consumption Euler equation by plugging $c^2_{t+1}$ into the objective function and taking derivative with respect to $c^1_t$
143+
Thus first-order condition for a maximum can be obtained
144+
by plugging $c^2_{t+1}$ into the objective function, taking the derivative
145+
with respect to $c^1_t$, and setting it to zero.
146+
147+
This leads to
119148

120149
```{math}
121150
:label: euler_1_olg
122151
u'(c^1_t) = \beta R_{t+1} u'( R_{t+1} (w_t - c^1_t))
123152
```
124153

125-
From the first constraint we get
126-
```{math}
127-
:label: c_1_olg
128-
c^1_{t} = w_t - s_t
129-
```
154+
This restriction is called the **Euler equation**
155+
156+
From the first constraint we get $c^1_{t} = w_t - s_t$,
157+
so the Euler equation can also be expressed as
130158

131-
With it the Euler equation (4) becomes
132159
```{math}
133160
:label: euler_2_olg
134161
u'(w_t - s_t) = \beta R_{t+1} u'( R_{t+1} s_t)
135162
```
136163

164+
This implies that savings can be written as a fixed function of $w_t$ and
165+
$R_{t+1}$.
137166

167+
We write this as
138168

139-
From this we can solve for savings analytically or, if necessary, numerically
140169
```{math}
141170
:label: saving_1_olg
142171
s_t = s(w_t, R_{t+1})
143172
```
144173

174+
Since the population size is normalized to 1, this is also total savings in
175+
the economy at time $t$.
145176

146177

147-
Let $L_t$ be the time $t$ labor.
148-
149-
Furthermore let's assume a constant population size, i.e., $L_{t+1}=L_t=L$ for all $t$.
150-
151-
Total savings in the economy will be equal to
152-
```{math}
153-
:label: total_savings_1_olg
154-
S_t = s_t L
155-
```
178+
### Example: log preferences
156179

157-
In our closed economy, net saving this period will be equal to supply next period, i.e.,
180+
In the special case $u(c) = \log c$, the Euler equation simplifies to
158181

159-
```{math}
160-
:label: aggregate_supply_capital_1_olg
161-
K_{t+1} = K^S(w_t, R_{t+1}) = S_t = L s_t = L s(w_t, R_{t+1})
162-
```
163-
164-
Here $K^S$ is a time-invariant function mapping wage $w_t$ and capital return rate $R_{t+1}$ to aggregate capital supply $K_{t+1}$.
165-
166-
167-
168-
### Special case: log preference
169-
170-
Assume $u(c) = \log c$.
171-
172-
The Euler equation simplifies to
173182
```{math}
174183
:label: saving_log_1_olg
175184
s_t= \beta (w_t - s_t)
176185
```
177186

178-
Solving for saving,
187+
Solving for saving, we get
188+
179189
```{math}
180190
:label: saving_log_2_olg
181191
s_t = s(w_t, R_{t+1}) = \frac{\beta}{1+\beta} w_t
182192
```
183193

184194

185195

186-
And hence
187-
```{math}
188-
:label: aggregate_supply_capital_log_olg
189-
K_{t+1} = K^s(R_{t+1}) = Ls_t = L \frac{\beta}{1+\beta} w_t
190-
```
191196

197+
## Demand for capital
192198

199+
Now let's pin down the demand for capital.
193200

194-
## Demand for capital
195201

196202
### Firm's problem
197203

@@ -205,15 +211,19 @@ For each integer $t \geq 0$, output $Y_t$ in period $t$ is given by
205211
Here $K_t$ is capital, $L_t$ is labor, and $\alpha$ is the output elasticity of capital in the **Cobb-Douglas production function**.
206212

207213

208-
Demand for labor $L$ and capital $K_t$ is determined by the profit maximization problem
214+
Demand for labor $L$ and capital $K_t$ is determined by the profit
215+
maximization problem
216+
209217
```{math}
210218
:label: opt_profit_olg
211219
\max_{K_t, L} \{ K^{\alpha}_t L^{1-\alpha} - R_t K_t - L w_t \}
212220
```
213221

214222
### Demand for capital
215223

216-
The first-order conditions for a maximum can be obtained by taking the derivative of the objective function with respect to capital and labor respectively and setting it to zero:
224+
The first-order conditions for a maximum can be obtained by taking the
225+
derivative of the objective function with respect to capital and labor
226+
respectively and setting it to zero:
217227

218228
```{math}
219229
:label: wage
@@ -238,6 +248,24 @@ Rearranging [](interest_rate) gives the aggregate demand for capital
238248

239249
## Equilibrium
240250

251+
In our closed economy, net saving this period will be equal to supply next period, i.e.,
252+
253+
```{math}
254+
:label: aggregate_supply_capital_1_olg
255+
K_{t+1} = K^S(w_t, R_{t+1}) = S_t = L s_t = L s(w_t, R_{t+1})
256+
```
257+
258+
Here $K^S$ is a time-invariant function mapping wage $w_t$ and capital return rate $R_{t+1}$ to aggregate capital supply $K_{t+1}$.
259+
260+
261+
And hence
262+
```{math}
263+
:label: aggregate_supply_capital_log_olg
264+
K_{t+1} = K^s(R_{t+1}) = Ls_t = L \frac{\beta}{1+\beta} w_t
265+
```
266+
267+
268+
241269
The equality of aggregate demand [](aggregate_demand_capital_olg) and aggregate supply [](aggregate_supply_capital_log_olg) for capital yields the equalibrium.
242270

243271
Specifically we have

0 commit comments

Comments
 (0)