QR code to these slides
microeconomics · lecture 3 · open on your laptop
can't come?
microeconomics
040184 · ws 2026/27 · lecture 3
demand and supply

before we start

QR code to the survey
anonymous · about 3 minutes · open the survey

your answers

the survey you just did · anonymous ·

last class
understood now · average, 1 not at all … 5 very well
allocation mechanisms–
perfect competition–
barriers to entry–
today
known already · average, 1 nothing … 5 know it well
demand–
inverse demand–
law of demand–
supply–
inverse supply–
equilibrium–
shortage and surplus–
the interface
how useful · average, 1 not useful … 5 very useful
the chat–
the pulse–
reading material for each topic (up to 10 pages)?
% of you
yes–
maybe–
no–
problem set 1: have you looked at it?
% of you · Wednesday next to today
Wednesday today
not yet––
looked at it––
started––
done––
problem set 1: how hard was each question?
average, 1 easy … 5 very hard · and how many of you tried it · Wednesday next to today
Wednesday today
Q1 musical ticket (a)––
Q2 musical ticket (b)––
Q3 Mr Schmidt (a)––
Q4 Mr Schmidt (b)––
Q5 course average––
Q6 Tom's boats (a)––
Q7 Tom's boats (b)––
Q8 the car from your parents––

today

1 demand
2 inverse demand
3 supply
4 synthetic market
5 equilibrium
6 shortage and surplus

demand for a single person

your streaming subscriptions · each costs €10 a month

subscription1st2nd3rd4th
worth to you (a month)€16€12€8€4
how many do you keep?

demand for a single person

€161€122€83€44subscriptionsP = 20 − 4Q

your reservation prices for ChatGPT Plus

reservation price: the most you would pay a month · 41 of you (lecture 1), sorted from the highest

rank1234567891011121314
€10060505040403530302928252525
rank1516171819202122232425262728
€2020202020201513121010101010
rank29303132333435363738394041
€101098855555100
€50at €50: 4 of you buyeach bar = one of you

how many of you buy?

the rule · at a price, everyone whose reservation price is at least the price buys
€50at €50: 4 of you buyeach bar = one of you
€0€50€60
at €25 a month, how many of you buy?

your demand curve

€0€20€40€60010203040at €20: 20 of you buyhow many of you buy
€0€20€60

demand

Demand: what quantity do consumers want to buy at a given price?
formula · Q = 40 − P
at €20, 20 of you buy
PQ€4040demand€2020→
the line is drawn through your reservation prices (the faded bars)

inverse demand

Inverse demand: what price are consumers willing to pay for a given quantity?
formula · P = 40 − Q
for 20 subscriptions, €20
PQ€4040demand20€20↑
another way to read it: the 20th buyer, the marginal buyer, is willing to pay €20: the marginal willingness to pay

law of demand

price ↑ → quantity ↓
demand form
price ↑ → quantity demanded ↓ (all else equal)
inverse form
the marginal willingness to pay decreases as the quantity increases: to sell one more, the price must fall to the next buyer in line, whose reservation price is lower (the marginal buyer)
the picture
a downward-sloping curve

demand function

QD = f(P) for an AI subscription
price per month, thousand subscribers

demand
Q = 120 − 4P
120
if it were free, 120,000 would subscribe
− 4P
each €1 more a month: 4,000 fewer subscribers
at €20
120 − 4·20 = 40 → 40,000 subscribers

inverse demand function

1 / 7
demand · Q = 120 − 4P (Q in thousands of subscribers)
what is the inverse demand? then draw it

draw the demand curve

demand · Q = a − bP
price axis · Q = 0 → P = a/b (the choke price)
quantity axis · P = 0 → Q = a

supply

price ↑ → quantity ↑
any firm
producing more needs overtime, extra staff, new machines: each extra unit costs more (rising marginal cost)
miners
when the price is low, it barely pays the electricity: fewer miners mine

supply: ten miners

each miner has one machine · what differs is the electricity bill

miner (cheapest first)12345678910
cost of mining (€)200250300350400450500550600650
the price is €460: how many miners switch on their machines and mine?

supply

Supply: what quantity do sellers want to sell at a given price?
formula · Q = P/50 − 3 (for P ≥ €150)
at €450, 6 miners mine
PQ€150supply€4506→
Q = the number of miners who mine

inverse supply

1 / 7
Inverse supply: what price do sellers need to offer a given quantity?
supply · Q = P/50 − 3
what is the inverse supply? then draw it

inverse supply

Inverse supply: what price do sellers need to offer a given quantity?
formula · P = 150 + 50Q
for 6 miners to mine, the price must be €450
PQ€150supply6€450↑
another way to read it: the 6th miner, the marginal miner, needs €450 to switch on

draw the supply curve

supply · Q = dP − c
price axis · Q = 0 → P = c/d: below this price nobody sells

a synthetic market

10 buyers and 10 sellers · each buyer wants one unit · each seller has one unit

12345678910
buyers: the most they'd pay€100€90€80€70€60€50€40€30€20€10
sellers: the least they'd accept€10€20€30€40€50€60€70€80€90€100
the question
who should trade with whom, and at what price?
gain of a trade
buyer's value − seller's cost

matching rule 1: same with same

rule: each buyer trades with the seller whose cost equals her value, at that price

buyer€100€90€80…€20€10
seller€100€90€80…€20€10
gain000…00
how much value do these 10 trades create?

matching rule 2: best with best

rule: the buyer who values it most trades with the cheapest seller, the second with the second, …

buyer€100€90€80€70€60€50€40€30€20€10
seller€10€20€30€40€50€60€70€80€90€100
gain9070503010−10−30−50−70−90
how many of these pairs should trade?

price rule 1: all gain to the sellers

the 5 best pairs trade · rule: every pair trades at the buyer's value

pair100–1090–2080–3070–4060–50
price€100€90€80€70€60
seller gains9070503010
buyer gains00000
what is the total value created by these trades?

price rule 2: all gain to the buyers

rule: every pair trades at the seller's cost

pair100–1090–2080–3070–4060–50
price€10€20€30€40€50
seller gains00000
buyer gains9070503010
what is the total value created by these trades?

price rule 3: any price in between

rule: each pair agrees on some price between the seller's cost and the buyer's value

one pair
buyer €100 and seller €10 agree on €40
how much do the two gain together?

the price splits the gain

the total gain is the same at any price
rule 1 (buyer's value)
sellers get all €250, buyers 0
rule 2 (seller's cost)
buyers get all €250, sellers 0
any price in between
the €250 is shared
so
the price does not change how much value trade creates; it decides how much goes to the sellers and how much to the buyers

one price for everyone: who buys, who sells?

at each price: buyers with value ≥ price want to buy, sellers with cost ≤ price want to sell · the most eager buyers and the cheapest sellers trade · at exactly €50 the €50 buyer, and at exactly €60 the €60 seller, doesn't care whether to trade: counted in here (6); if they stay out, 5 buy and 5 sell

price€30€40€50€55€58€60€70€80
buyers who want to buy (value ≥ price)87655543
sellers who want to sell (cost ≤ price)34555678
trades (the smaller number)34555543
total value created (€)210240250250250250240210

one price for everyone

in a market, everyone pays the same price

buyers (blue) from the highest value down · sellers (orange) from the lowest cost up · at a price in the shaded band, the 5 buyers above it trade with the 5 sellers below it
PQ€50€60€0€10012345678910buyerssellers5 buyers and 5 sellers trade (solid steps)
at which prices do buyers = sellers?

a trading floor

20 AI traders, the same synthetic market

the traders · 10 AI buyers (values €10 … €100) and 10 AI sellers (costs €10 … €100); each knows only its own number
the floor · they post bids and asks in one chat, 4 rounds
what happened · round 1: prices from €40 to €70 · round 4: €60–65 · nobody knew the curves, yet the prices narrowed

equilibrium

Equilibrium: demand and supply give the same quantity and the same price.
where demand and supply cross, both give the same Q and the same P
demand P = 750 − 50Q · supply P = 150 + 50Q
PQ€750€150demandsupply

find the equilibrium

1 / 5
curve 1 · P = 750 − 50Q
curve 2 · P = 150 + 50Q
what are Q* and P*?

shortage

Shortage (excess demand): at a price below P*, buyers want more than sellers offer.
the story · the government caps the price at €350 (below P* = €450)
buyers want · 750 − 50Q = 350 → Qd = 8
miners mine · 150 + 50Q = 350 → Qs = 4
shortage · Qd − Qs = 8 − 4 = 4 · only 4 are sold (the short side)
demand P = 750 − 50Q · supply P = 150 + 50Q

surplus

Surplus (excess supply): at a price above P*, sellers offer more than buyers want.
the story · the government sets a minimum price of €550 (above P* = €450)
buyers want · 750 − 50Q = 550 → Qd = 4
miners mine · 150 + 50Q = 550 → Qs = 8
surplus · Qs − Qd = 8 − 4 = 4 · only 4 are sold (the short side)
demand P = 750 − 50Q · supply P = 150 + 50Q

summary

demand / inverse demand
price → quantity wanted · quantity → price buyers would pay
supply / inverse supply
price → quantity offered · quantity → price sellers need
the price splits the gain
the total gain is the same at any price; the price decides who gets it
equilibrium
the same Q and P for demand and supply · the marginal buyer and seller pin down the price
shortage / surplus
price below / above P* · the short side is sold

before you go

how well do you know it now? 1 · not at all … 5 · very well
demand
inverse demand
law of demand
supply
inverse supply
equilibrium
shortage and surplus

in your own words · 1/4

1 · what is inverse demand?

(English, 1–2 sentences, without looking at the slides)

2 · how well do you think you described inverse demand?

in your own words · 2/4

1 · what is inverse supply?

(English, 1–2 sentences, without looking at the slides)

2 · how well do you think you described inverse supply?

in your own words · 3/4

1 · what is equilibrium?

(English, 1–2 sentences, without looking at the slides)

2 · how well do you think you described equilibrium?

in your own words · 4/4

1 · what is a shortage?

(English, 1–2 sentences, without looking at the slides)

2 · how well do you think you described a shortage?