Skip to content

Commit e782f28

Browse files
Tom's Feb 15 edits of demand-supply lecture
1 parent 11f22f7 commit e782f28

File tree

1 file changed

+48
-28
lines changed

1 file changed

+48
-28
lines changed

in-work/quantecon_undergrad_notes_tom_3.md

Lines changed: 48 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@ $$ \int_0^q (d_0 - d_1 x) dx - pq = d_0 q -.5 d_1 q^2 - pq $$
5959

6060
**Producer surplus** equals $p q$ minus the area under an inverse supply curve:
6161

62-
+++
62+
6363

6464
$$ p q - \int_0^q (s_0 + s_1 x) dx $$
6565

66-
+++
6766

6867
Intimately associated with a competitive equilibrium is the following:
6968

@@ -79,7 +78,10 @@ $$ \textrm{Welf} = (d_0 - s_0) q - .5 (d_1 + s_1) q^2 $$
7978

8079
The quantity that maximizes welfare criterion $\textrm{Welf}$ is
8180

82-
$$ q = \frac{ d_0 - s_0}{s_1 + d_1} \tag{1}$$
81+
$$
82+
q = \frac{ d_0 - s_0}{s_1 + d_1}
83+
$$ (eq:old1)
84+
8385
8486
+++
8587
@@ -89,9 +91,9 @@ A competitive equilibrium quantity equates demand price to supply price:
8991
9092
$$ p = d_0 - d_1 q = s_0 + s_1 q , $$
9193

92-
which implies (1).
94+
which implies {eq}`eq:old1`.
9395

94-
The outcome that the quantity determined by equation (1) equates
96+
The outcome that the quantity determined by equation {eq}`eq:old1` equates
9597
supply to demand brings us the following important **key finding:**
9698

9799
* a competitive equilibrium quantity maximizes our welfare criterion
@@ -134,30 +136,36 @@ Let $\Pi$ be an $n\times n$ matrix, $c$ be $n \times 1$ vector of consumptions o
134136

135137
A consumer faces $p$ as a price taker and chooses $c$ to maximize
136138

137-
$$ -.5 (\Pi c -b) ^\top (\Pi c -b ) \tag{0} $$
139+
$$
140+
-.5 (\Pi c -b) ^\top (\Pi c -b )
141+
$$ (eq:old0)
138142
139143
subject to the budget constraint
140144
141-
$$ p ^\top (c -e ) = 0 \tag{2}$$
145+
$$
146+
p ^\top (c -e ) = 0
147+
$$ (eq:old2)
142148
143149
+++
144150
145151
## Digression: Marshallian and Hicksian Demand Curves
146152
147-
**Remark:** We'll use budget constraint (2) in situations in which a consumers's endowment vector $e$ is his **only** source of income. But sometimes we'll instead assume that the consumer has other sources of income (positive or negative) and write his budget constraint as
153+
**Remark:** We'll use budget constraint {eq}`eq:old2` in situations in which a consumers's endowment vector $e$ is his **only** source of income. But sometimes we'll instead assume that the consumer has other sources of income (positive or negative) and write his budget constraint as
148154
149155
+++
150156
151-
$$ p ^\top (c -e ) = W \tag{2'}$$
157+
$$
158+
p ^\top (c -e ) = W
159+
$$ (eq:old2p)
152160
153161
where $W$ is measured in "dollars" (or some other **numeraire**) and component $p_i$ of the price vector is measured in dollars per good $i$.
154162
155-
Whether the consumer's budget constraint is (2) or (2') and whether we take $W$ as a free parameter or instead as an endogenous variable to be solved for will affect the consumer's marginal utility of wealth.
163+
Whether the consumer's budget constraint is {eq}`eq:old2` or {eq}`eq:old2p` and whether we take $W$ as a free parameter or instead as an endogenous variable to be solved for will affect the consumer's marginal utility of wealth.
156164
157165
How we set $\mu$ determines whether we are constucting
158166
159-
* a **Marshallian** demand curve, when we use (2) and solve for $\mu$ using equation (4) below, or
160-
* a **Hicksian** demand curve, when we treat $\mu$ as a fixed parameter and solve for $W$ from (2').
167+
* a **Marshallian** demand curve, when we use {eq}`eq:old2` and solve for $\mu$ using equation {eq}`eq:old4` below, or
168+
* a **Hicksian** demand curve, when we treat $\mu$ as a fixed parameter and solve for $W$ from {eq}`eq:old2p`.
161169
162170
Marshallian and Hicksian demand curves describe different mental experiments:
163171
@@ -176,7 +184,7 @@ We'll discuss these distinct demand curves more below.
176184
177185
## Demand Curve as Constrained Utility Maximization
178186
179-
For now, we assume that the budget constraint is (2).
187+
For now, we assume that the budget constraint is {eq}`eq:old2`.
180188
181189
So we'll be deriving a **Marshallian** demand curve.
182190
@@ -194,15 +202,19 @@ $$ \frac{\partial L} {\partial c} = - \Pi^\top \Pi c + \Pi^\top b - \mu p = 0 $$
194202

195203
so that, given $\mu$, the consumer chooses
196204

197-
$$ c = \Pi^{-1} b - \Pi^{-1} (\Pi^\top)^{-1} \mu p \tag{3} $$
205+
$$
206+
c = \Pi^{-1} b - \Pi^{-1} (\Pi^\top)^{-1} \mu p
207+
$$ (eq:old3)
198208
199-
Substituting (3) into budget constraint (2) and solving for $\mu$ gives
209+
Substituting {eq}`eq:old3` into budget constraint {eq}`eq:old2` and solving for $\mu$ gives
200210
201-
$$ \mu(p,e) = \frac{p^\top (\Pi^{-1} b - e)}{p^\top (\Pi^\top \Pi )^{-1} p}. \tag{4} $$
211+
$$
212+
\mu(p,e) = \frac{p^\top (\Pi^{-1} b - e)}{p^\top (\Pi^\top \Pi )^{-1} p}.
213+
$$ (eq:old4)
202214
203-
Equation (4) tells how marginal utility of wealth depends on the endowment vector $e$ and the price vector $p$.
215+
Equation {eq}`eq:old4` tells how marginal utility of wealth depends on the endowment vector $e$ and the price vector $p$.
204216
205-
**Remark:** Equation (4) is a consequence of imposing that $p (c - e) = 0$. We could instead take $\mu$ as a parameter and use (3) and the budget constraint (2') to solve for $W.$ Which way we proceed determines whether we are constructing a **Marshallian** or **Hicksian** demand curve.
217+
**Remark:** Equation {eq}`eq:old4` is a consequence of imposing that $p (c - e) = 0$. We could instead take $\mu$ as a parameter and use {eq}`eq:old3` and the budget constraint {eq}`eq:old2p` to solve for $W.$ Which way we proceed determines whether we are constructing a **Marshallian** or **Hicksian** demand curve.
206218
207219
+++
208220
@@ -220,7 +232,7 @@ This implies that the equilibrium price vector must satisfy
220232
221233
$$ p = \mu^{-1} (\Pi^\top b - \Pi^\top \Pi e)$$
222234

223-
In the present case where we have imposed budget constraint in the form (2), we are free to normalize the price vector by setting the marginal utility of wealth $\mu =1$ (or any other value for that matter).
235+
In the present case where we have imposed budget constraint in the form {eq}`eq:old2`, we are free to normalize the price vector by setting the marginal utility of wealth $\mu =1$ (or any other value for that matter).
224236

225237
This amounts to choosing a common unit (or numeraire) in which prices of all goods are expressed.
226238

@@ -230,9 +242,9 @@ We'll set $\mu=1$.
230242

231243
+++
232244

233-
**Exercise:** Verify that $\mu=1$ satisfies formula (4).
245+
**Exercise:** Verify that $\mu=1$ satisfies formula {eq}`eq:old4`.
234246

235-
**Exercise:** Verify that setting $\mu=2$ also implies that formula (4) is satisfied.
247+
**Exercise:** Verify that setting $\mu=2$ also implies that formula {eq}`eq:old4` is satisfied.
236248

237249
+++
238250

@@ -258,13 +270,17 @@ $$ e_1 + e_2 = \Pi^{-1} (b_1 + b_2) - (\Pi^\top \Pi)^{-1} (\mu_1 + \mu_2) p $$
258270

259271
which after a line or two of linear algebra implies that
260272

261-
$$ (\mu_1 + \mu_2) p = \Pi^\top(b_1+ b_2) - (e_1 + e_2) \tag{6} $$
273+
$$
274+
(\mu_1 + \mu_2) p = \Pi^\top(b_1+ b_2) - (e_1 + e_2)
275+
$$ (eq:old6)
262276
263277
We can normalize prices by setting $\mu_1 + \mu_2 =1$ and then deducing
264278
265279
+++
266280
267-
$$ \mu_i(p,e) = \frac{p^\top (\Pi^{-1} bi - e_i)}{p^\top (\Pi^\top \Pi )^{-1} p} \tag{7} $$
281+
$$
282+
\mu_i(p,e) = \frac{p^\top (\Pi^{-1} bi - e_i)}{p^\top (\Pi^\top \Pi )^{-1} p}
283+
$$ (eq:old7)
268284
269285
for $\mu_i, i = 1,2$.
270286
@@ -302,7 +318,7 @@ $$ - .5 [(c_1 - b_1)^2 + \beta (c_2 - b_2)^2] $$
302318

303319
where $\beta \in (0,1)$ is a discount factor, $c_1$ is consumption at time $1$ and $c_2$ is consumption at time 2.
304320

305-
To capture this with our quadratic utility function (0), set
321+
To capture this with our quadratic utility function {eq}`eq:old0`, set
306322

307323
$$ \Pi = \begin{bmatrix} 1 & 0 \cr
308324
1 & \sqrt{\beta} \end{bmatrix}$$
@@ -423,9 +439,11 @@ $$ p = h + H c = \Pi^\top b - \Pi^\top \Pi c $$
423439

424440
which implies the equilibrium quantity vector
425441

426-
$$ c = (\Pi^\top \Pi + H )^{-1} ( \Pi^\top b - h) \tag{5} $$
442+
$$
443+
c = (\Pi^\top \Pi + H )^{-1} ( \Pi^\top b - h)
444+
$$ (eq:old5)
427445
428-
This equation is the counterpart of equilbrium quantity (1) for the scalar $n=1$ model with which we began.
446+
This equation is the counterpart of equilbrium quantity {eq}`eq:old1` for the scalar $n=1$ model with which we began.
429447
430448
### General $\mu\neq 1$ case
431449
@@ -439,7 +457,9 @@ $$ p = \mu^{-1} [\Pi^\top b - \Pi^\top \Pi c] $$
439457
Equating this to the inverse supply curve and solving
440458
for $c$ gives
441459

442-
$$ c = [\Pi^\top \Pi + \mu H]^{-1} [ \Pi^\top b - \mu h] \tag{5'} $$
460+
$$
461+
c = [\Pi^\top \Pi + \mu H]^{-1} [ \Pi^\top b - \mu h]
462+
$$ (eq:old5p)
443463
444464
## Multi-good social welfare maximization problem
445465
@@ -458,7 +478,7 @@ The first-order condition with respect to $c$ is
458478

459479
$$ - \mu^{-1} \Pi^\top \Pi c + \mu^{-1}\Pi^\top b - h - .5 H c = 0 $$
460480

461-
which implies (5').
481+
which implies {eq}`eq:old5p`.
462482

463483
Thus, in the multiple case as for the single-good case, a competitive equilibrium quantity solves a planning problem.
464484

0 commit comments

Comments
 (0)