Skip to content

Commit e7f0cc5

Browse files
Tom's edtis of two demand-supply lectures
1 parent 6030b83 commit e7f0cc5

File tree

2 files changed

+46
-24
lines changed

2 files changed

+46
-24
lines changed

lectures/intro_supply_demand.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,26 @@ the main topics of elementary microeconomics.
1818

1919
Throughout the lecture, we focus on models with one good and one price.
2020

21-
({doc}`Later <supply_demand_multiple_goods>` we will investigate settings with
22-
many goods.)
21+
22+
In a {doc}`subsequent lecture <supply_demand_multiple_goods>` we will investigate settings with
23+
many goods.
2324

2425
Key infrastructure concepts that we'll encounter in this lecture are
2526

2627
* inverse demand curves
27-
* marginal utilities of wealth
2828
* inverse supply curves
2929
* consumer surplus
3030
* producer surplus
31-
* social welfare as a sum of consumer and producer surpluses
32-
* competitive equilibrium
33-
34-
35-
We will provide a version of the [first fundamental welfare theorem](https://en.wikipedia.org/wiki/Fundamental_theorems_of_welfare_economics), which was formulated by
31+
* social welfare as the sum of consumer and producer surpluses
32+
* relationship between equilibrium quantity and social welfare optimum
3633

37-
* [Leon Walras](https://en.wikipedia.org/wiki/L%C3%A9on_Walras)
38-
* [Francis Ysidro Edgeworth](https://en.wikipedia.org/wiki/Francis_Ysidro_Edgeworth)
39-
* [Vilfredo Pareto](https://en.wikipedia.org/wiki/Vilfredo_Pareto)
34+
Throughout the lectures, we'll assume that inverse demand and supply curves are **affine** functions of output.
4035

41-
Important extensions to the key ideas were obtained by
36+
("Affine" means "linear plus a constant".)
4237

43-
* [Abba Lerner](https://en.wikipedia.org/wiki/Abba_P._Lerner)
44-
* [Harold Hotelling](https://en.wikipedia.org/wiki/Harold_Hotelling)
45-
* [Paul Samuelson](https://en.wikipedia.org/wiki/Paul_Samuelson)
46-
* [Kenneth Arrow](https://en.wikipedia.org/wiki/Kenneth_Arrow)
47-
* [Gerard Debreu](https://en.wikipedia.org/wiki/G%C3%A9rard_Debreu)
38+
We'll also assume affine inverse supply and demand functions when we study models with multiple consumption goods in our {doc}`subsequent lecture <supply_demand_multiple_goods>`.
4839

40+
We do this in order to simplify the exposition and enable us to use just a few tools from linear algebra, namely, matrix multiplication and matrix inversion.
4941

5042
In our exposition we will use the following imports.
5143

@@ -98,6 +90,8 @@ class Market:
9890
9991
```
10092

93+
94+
10195
Let's create an instance.
10296

10397
```{code-cell} ipython3
@@ -128,7 +122,7 @@ ax.set_ylabel('price')
128122
plt.show()
129123
```
130124

131-
125+
In the above graph, an **equilibrium** price, quantity pair occurs at the intersection of the supply and demand curves.
132126

133127
### Consumer surplus
134128

@@ -175,12 +169,12 @@ plt.show()
175169
```
176170

177171

178-
Consumer surplus gives a measure of total consumer welfare at quantity $q$.
172+
Consumer surplus provides a measure of total consumer welfare at quantity $q$.
179173

180-
The idea is that the inverse demand curve $d_0 - d_1 q$ shows willingness to
181-
pay at a given quantity $q$.
174+
The idea is that the inverse demand curve $d_0 - d_1 q$ shows a consumer's willingness to
175+
pay for an additional increment of the good at a given quantity $q$.
182176

183-
The difference between willingness to pay and the actual price is the surplus.
177+
The difference between willingness to pay and the actual price is consumer surplus.
184178

185179
The value $S_c(q)$ is the "sum" (i.e., integral) of these surpluses when the total
186180
quantity purchased is $q$ and the purchase price is $p$.
@@ -245,7 +239,7 @@ The idea is similar to that of consumer surplus.
245239
The inverse supply curve $s_0 + s_1 q$ shows the price at which producers are
246240
prepared to sell, given quantity $q$.
247241

248-
The difference between willingness to sell and the actual price is the surplus.
242+
The difference between willingness to sell and the actual price is producer surplus.
249243

250244
The value $S_p(q)$ is the integral of these surpluses.
251245

lectures/supply_demand_multiple_goods.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,44 @@ kernelspec:
1717
## Overview
1818

1919
In a {doc}`previous lecture <intro_supply_demand>` we studied supply, demand
20-
and welfare in a market with just one good.
20+
and welfare in a market with a single consumption good.
2121

2222
In this lecture, we study a setting with $n$ goods and $n$ corresponding prices.
2323

24+
Key infrastructure concepts that we'll encounter in this lecture are
25+
26+
* inverse demand curves
27+
* marginal utilities of wealth
28+
* inverse supply curves
29+
* consumer surplus
30+
* producer surplus
31+
* social welfare as a sum of consumer and producer surpluses
32+
* competitive equilibrium
33+
34+
35+
We will provide a version of the [first fundamental welfare theorem](https://en.wikipedia.org/wiki/Fundamental_theorems_of_welfare_economics), which was formulated by
36+
37+
* [Leon Walras](https://en.wikipedia.org/wiki/L%C3%A9on_Walras)
38+
* [Francis Ysidro Edgeworth](https://en.wikipedia.org/wiki/Francis_Ysidro_Edgeworth)
39+
* [Vilfredo Pareto](https://en.wikipedia.org/wiki/Vilfredo_Pareto)
40+
41+
Important extensions to the key ideas were obtained by
42+
43+
* [Abba Lerner](https://en.wikipedia.org/wiki/Abba_P._Lerner)
44+
* [Harold Hotelling](https://en.wikipedia.org/wiki/Harold_Hotelling)
45+
* [Paul Samuelson](https://en.wikipedia.org/wiki/Paul_Samuelson)
46+
* [Kenneth Arrow](https://en.wikipedia.org/wiki/Kenneth_Arrow)
47+
* [Gerard Debreu](https://en.wikipedia.org/wiki/G%C3%A9rard_Debreu)
48+
49+
2450
We shall describe two classic welfare theorems:
2551

2652
* **first welfare theorem:** for a given distribution of wealth among consumers, a competitive equilibrium allocation of goods solves a social planning problem.
2753

2854
* **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.
2955

56+
As usual, we start by importing some Python modules.
57+
3058
```{code-cell} ipython3
3159
# import some packages
3260
import numpy as np

0 commit comments

Comments
 (0)