Skip to content

Commit 92f949a

Browse files
committed
misc
1 parent d411623 commit 92f949a

File tree

4 files changed

+606
-617
lines changed

4 files changed

+606
-617
lines changed

lectures/_toc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ parts:
88
- file: long_run_growth
99
- file: business_cycle
1010
- file: inequality
11+
- caption: Supply and Demand
12+
numbered: true
13+
chapters:
14+
- file: intro_supply_demand
15+
- file: supply_demand_multiple_goods
16+
- file: supply_demand_heterogeneity
1117
- caption: Tools & Techniques
1218
numbered: true
1319
chapters:
@@ -29,7 +35,6 @@ parts:
2935
chapters:
3036
- file: schelling
3137
- file: solow
32-
- file: sd_foundations
3338
- file: cobweb
3439
- file: olg
3540
- caption: Other

lectures/intro_supply_demand.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Introduction to Supply and Demand
2+
3+
This lecture is about some linear models of equilibrium prices and
4+
quantities, one of the main topics of elementary microeconomics.
5+
6+
Our approach is first to offer a scalar version with one good and one price.
7+
8+
## Outline
9+
10+
We shall describe two classic welfare theorems:
11+
12+
* **first welfare theorem:** for a given a distribution of wealth among consumers, a competitive equilibrium allocation of goods solves a social planning problem.
13+
14+
* **second welfare theorem:** An allocation of goods to consumers that solves a social planning problem can be supported by a competitive equilibrium with an appropriate initial distribution of wealth.
15+
16+
Key infrastructure concepts that we'll encounter in this lecture are
17+
18+
* inverse demand curves
19+
* marginal utilities of wealth
20+
* inverse supply curves
21+
* consumer surplus
22+
* producer surplus
23+
* social welfare as a sum of consumer and producer surpluses
24+
* competitive equilibrium
25+
26+
## Supply and Demand
27+
28+
We study a market for a single good in which buyers and sellers exchange a quantity $q$ for a price $p$.
29+
30+
Quantity $q$ and price $p$ are both scalars.
31+
32+
We assume that inverse demand and supply curves for the good are:
33+
34+
$$
35+
p = d_0 - d_1 q, \quad d_0, d_1 > 0
36+
$$
37+
38+
$$
39+
p = s_0 + s_1 q , \quad s_0, s_1 > 0
40+
$$
41+
42+
We call them inverse demand and supply curves because price is on the left side of the equation rather than on the right side as it would be in a direct demand or supply function.
43+
44+
45+
46+
We define **consumer surplus** as the area under an inverse demand curve minus $p q$:
47+
48+
$$
49+
\int_0^q (d_0 - d_1 x) dx - pq = d_0 q -.5 d_1 q^2 - pq
50+
$$
51+
52+
We define **producer surplus** as $p q$ minus the area under an inverse supply curve:
53+
54+
$$
55+
p q - \int_0^q (s_0 + s_1 x) dx = pq - s_0 q - .5 s_1 q^2
56+
$$
57+
58+
Sometimes economists measure social welfare by a **welfare criterion** that equals consumer surplus plus producer surplus
59+
60+
$$
61+
\int_0^q (d_0 - d_1 x) dx - \int_0^q (s_0 + s_1 x) dx \equiv \textrm{Welf}
62+
$$
63+
64+
or
65+
66+
$$
67+
\textrm{Welf} = (d_0 - s_0) q - .5 (d_1 + s_1) q^2
68+
$$
69+
70+
To compute a quantity that maximizes welfare criterion $\textrm{Welf}$, we differentiate $\textrm{Welf}$ with respect to $q$ and then set the derivative to zero.
71+
72+
We get
73+
74+
$$
75+
\frac{d \textrm{Welf}}{d q} = d_0 - s_0 - (d_1 + s_1) q = 0
76+
$$
77+
78+
which implies
79+
80+
$$
81+
q = \frac{ d_0 - s_0}{s_1 + d_1}
82+
$$ (eq:old1)
83+
84+
Let's remember the quantity $q$ given by equation {eq}`eq:old1` that a social planner would choose to maximize consumer plus producer surplus.
85+
86+
We'll compare it to the quantity that emerges in a competitive equilibrium equilibrium that equates
87+
supply to demand.
88+
89+
Instead of equating quantities supplied and demanded, we'll can accomplish the same thing by equating demand price to supply price:
90+
91+
$$
92+
p = d_0 - d_1 q = s_0 + s_1 q ,
93+
$$
94+
95+
96+
It we solve the equation defined by the second equality in the above line for $q$, we obtain the
97+
competitive equilibrium quantity; it equals the same $q$ given by equation {eq}`eq:old1`.
98+
99+
The outcome that the quantity determined by equation {eq}`eq:old1` equates
100+
supply to demand brings us a **key finding:**
101+
102+
* a competitive equilibrium quantity maximizes our welfare criterion
103+
104+
It also brings a useful **competitive equilibrium computation strategy:**
105+
106+
* after solving the welfare problem for an optimal quantity, we can read a competitive equilibrium price from either supply price or demand price at the competitive equilibrium quantity
107+
108+
Soon we'll derive generalizations of the above demand and supply
109+
curves from other objects.
110+
111+
Our generalizations will extend the preceding analysis of a market for a single good to the analysis
112+
of $n$ simultaneous markets in $n$ goods.
113+
114+
In addition
115+
116+
* we'll derive **demand curves** from a consumer problem that maximizes a **utility function** subject to a **budget constraint**.
117+
118+
* we'll derive **supply curves** from the problem of a producer who is price taker and maximizes his profits minus total costs that are described by a **cost function**.
119+
<!-- #endregion -->

0 commit comments

Comments
 (0)