Last week: one price-taking firm chooses how much to produce, and when to shut down or leave.
Today: put many firms and many buyers together.
key idea: the longer sellers have to adjust, the more of a shock shows up in quantity and the less in price.
Consider the following market: men’s haircuts in a mid-sized town.
Local Data Company figures: in one year more than 2,300 barbershops opened in the UK and about 1,500 closed. Over five years to 2024 the net increase was about 5,800. Lots of entry and exit is exactly what a competitive market looks like.
How much can sellers change what they sell, and how fast?
| Time frame | What sellers can change | Hotels in a festival city |
|---|---|---|
| Very short run (market period) | Nothing: quantity is fixed | Tonight: the rooms that exist |
| Short run | Existing firms change output; no new firms | This year: hire staff, open the closed wing |
| Long run | Existing firms adjust everything; firms enter or exit | Next decade: new hotels are built |
The time frames are defined by what can change, not by a number of weeks. For hotel rooms the very short run is a night; for cocoa it is several years, because new trees take years to bear fruit.
Supply is a vertical line. Quantity cannot respond, so demand alone sets the price.
During the festival, demand for rooms at every price doubles:
When Oasis announced their 2025 reunion tour, the number of seats was fixed by the stadiums. Demand was enormous.
Question: The seats were going to sell out at £148 anyway. Who gained from the higher price, and who lost? Would a £148 price have sent the tickets to the fans who valued them most?
In late 2022 Britain had its largest ever bird-flu outbreak and farmers’ feed and energy costs had soared. Egg supply fell.
A purchase limit is rationing by quantity instead of by price. Compare with the hotel graph: price held below the clearing level, a shortage, and a rule to decide who gets what.
Existing firms can change output, but no firm can enter or leave.
In the short run the number of firms is fixed. Each firm supplies where P = MC, on the rising part of MC above minimum AVC (last week’s result).
Market supply = add the quantities of all firms at each price.
| Price | Firm A: q = P − 4 (opens at £4) | Firm B: q = 2(P − 8) (opens at £8) | Market |
|---|---|---|---|
| £4 | 0 | 0 | 0 |
| £6 | 2 | 0 | 2 |
| £8 | 4 | 0 | 4 |
| £10 | 6 | 4 | 10 |
| £12 | 8 | 8 | 16 |
At £12 each firm wants to sell 8 units, so the market supplies 16. The market curve is flatter than either firm’s curve: one more pound of price brings out more output from more firms.
Each of the town’s 60 barbers has the same daily cost:
Market demand (haircuts per day): QD = 1000 − 20P.
| Per barber | |
|---|---|
| Haircuts, q = 20/2 | 10 |
| Revenue, 20 × 10 | £200 |
| Cost, 100 + 10² | £200 |
| Economic profit | £0 |
We start in a position where each barber just covers all costs, including a normal return. Keep these numbers: P = £20, Q = 600, q = 10.
At £20, every barber is happy with 10 cuts (P = MC), and every customer is happy with their number of cuts (marginal value = P).
A signal to sellers
Given the price, each barber produces where P = MC. A higher price says “the market wants more; it is worth an extra cut, even an expensive one.”
A rationing device for buyers
Given the price, each customer buys only the cuts worth at least that much to them. A higher price says “this is scarce; buy only the ones you value most.”
At the equilibrium price both sides are content: no seller wants to sell more, no buyer is turned away.
Uber’s surge pricing does both jobs in real time. When demand spikes (rain, a match ending), the higher fare pulls more drivers onto the road and persuades some riders to wait or take the bus.
Short, sharp “skin fade” cuts need a touch-up every two or three weeks. Every customer wants more cuts at any price. Market demand becomes:
QD = 1300 − 20P (was 1000 − 20P)
Still 60 barbers: nobody can open a new shop this month.
30P = 1300 − 20P → 50P = 1300 → P = £26, Q = 780.
| Per barber | Before | After the trend |
|---|---|---|
| Price | £20 | £26 |
| Cuts per day, q = P/2 | 10 | 13 |
| Revenue | £200 | £338 |
| Cost, 100 + q² | £200 | £269 |
| Profit | £0 | £69 |
Quantity rises (600 → 780) because each barber works harder, along their MC curve. Price rises because getting those extra cuts costs more.
What moves the curves, and why their slopes decide what happens to price.
| Change | Shifts | Example |
|---|---|---|
| Income rises, normal good | Demand right | More restaurant meals |
| Income rises, inferior good | Demand left | Fewer supermarket value-range meals, fewer bus trips |
| Price of a substitute rises | Demand right | Butter dearer → more demand for spreads |
| Price of a complement falls | Demand right | Cheaper consoles → more demand for games |
| Tastes change | Either | Skin fades, oat milk |
| Input price falls | Supply right | Cheaper fertiliser → more wheat at each price |
| Technology improves | Supply right | Cheaper solar panels → more electricity at each price |
A change in the good’s own price does not shift either curve; it moves us along them.
For each event, say which curve shifts in the market named, and predict the change in price and quantity.
| Event | Curve | Price | Quantity |
|---|---|---|---|
| 1. Heatwave | Demand right | ↑ | ↑ |
| 2. Coffee beans dearer | Supply left | ↑ | ↓ |
| 3. Recession (buses are inferior) | Demand right | ↑ | ↑ |
| 4. Train fares rise (substitute) | Demand right | ↑ | ↑ |
| 5. More barbers and more demand | Both right | ? | ↑ |
In 5, both shifts raise quantity, but they push price in opposite directions. Without knowing the sizes, the price change is ambiguous.
On a straight line: elasticity = (ΔQ / ΔP) × (P / Q).
| At P = £20, Q = 600 (barbers) | Slope ΔQ/ΔP | Elasticity |
|---|---|---|
| Demand, Q = 1000 − 20P | −20 | −20 × 20/600 = −0.67 |
| Short-run supply, Q = 30P | 30 | 30 × 20/600 = 1 |
A curve is relatively elastic (flat) if quantity responds a lot to price, inelastic (steep) if it responds little. On the same axes, flatter means more elastic.
Every haircut becomes £5 more expensive to produce (higher wages for assistants, say). Supply shifts up by £5: QS = 30(P − 5).
Inelastic demand: price +£3, quantity −60. Elastic demand: price +£1, quantity −120.
If demand were very elastic, what would the drought have done instead?
Demand rises from 1000 − 20P to 1300 − 20P (the skin-fade trend). How much of it shows up in price depends on supply.
Inelastic supply (elasticity 0.33): £30, 700 cuts. Our barbers (1): £26, 780. Elastic supply (3.33): £22.50, 850.
| When… | …and the other curve is elastic (flat) | …and the other curve is inelastic (steep) |
|---|---|---|
| Supply shifts | Small price change, large quantity change | Large price change, small quantity change |
| Demand shifts | Small price change, large quantity change | Large price change, small quantity change |
The curve that shifts creates the change; the curve that does not shift decides how that change is split between price and quantity.
This is why time matters so much: supply gets more elastic as sellers have longer to respond. Very short run: vertical. Short run: upward sloping. Long run: flatter still.
Firms can change all inputs, open new shops or close for good.
Two reasons:
Long-run equilibrium needs both sides to be content:
Together: P = MC = AC, which happens at the minimum of AC (MC cuts AC at its lowest point).
Each barber: MC = 2q, AC = 100/q + q.
Set MC = AC: 2q = 100/q + q → q² = 100 → q = 10, AC = 100/10 + 10 = £20.
So in the long run:
If entry and exit are free and every firm has the same costs, the long-run price is pinned down by costs alone: price = minimum average cost. Demand decides only how many firms there are.
| Situation | Signal | What firms do | Effect on market |
|---|---|---|---|
| P > min AC | Economic profit | New firms enter | Supply shifts right, price falls |
| P < min AC | Economic loss | Some firms exit | Supply shifts left, price rises |
| P = min AC | Zero profit | Nobody moves | Long-run equilibrium |
Entry and exit continue until economic profit is zero.
Recall: demand is now QD = 1300 − 20P, each barber has min AC = £20 at q = 10, and the town currently has 60 barbers making £69 a day.
Check: with 90 barbers, short-run supply is Q = 90 × P/2 = 45P, and 45P = 1300 − 20P gives P = £20. ✓
| Before | Short run | Long run | |
|---|---|---|---|
| Price | £20 | £26 | £20 |
| Cuts per barber | 10 | 13 | 10 |
| Number of barbers | 60 | 60 | 90 |
| Total cuts per day | 600 | 780 | 900 |
| Profit per barber | £0 | £69 | £0 |
A → B: short run (60 barbers, price £26). B → C: entry shifts supply right until the price is back at £20. The long-run supply curve LS joins A and C: horizontal.
In early 2020 demand for face masks exploded. China already made about half the world’s masks, about 20 million a day.
Mask making needs cheap, quick-to-install machines, so the “long run” took weeks, not years. How long the long run lasts depends on how fast new capacity can be added.
Suppose instead that a campus closes and demand falls to QD = 800 − 20P. Start from 60 barbers.
Short run: 30P = 800 − 20P → P = £16, Q = 480, q = 8. Revenue 16 × 8 = £128; cost 100 + 64 = £164; loss £36 a day. But P = £16 > AVC = £8, so every barber keeps cutting today: closing would lose the whole £100 fixed cost.
Long run: price back to £20, Q = 800 − 400 = 400, so 40 barbers: 20 shops close.
Exit brings the price back up, just as entry brought it down. With constant costs, the long-run price always returns to min AC.
So far, the 90th barber has the same costs as the first. Often entry pushes costs up for everyone:
Then each new firm raises everyone’s minimum AC, so the long-run price rises with output: long-run supply slopes up.
UK housebuilding: building more homes in one area raises the price of building land and of bricklayers’ and electricians’ time, so the cost of each new home rises as the industry grows.
Sometimes a bigger industry makes every firm’s costs fall:
Then long-run supply slopes down: a bigger industry has a lower long-run price.
Solar panels and lithium-ion batteries: as world production grew, solar module prices fell about 90% between 2010 and 2019, and battery pack prices are down over 90% since 2010, helped by a large supplier base and learning across the whole industry.
Long-run elasticity of supply = % change in quantity supplied ÷ % change in price, after entry and exit.
As the world economy grows, demand for raw materials keeps rising. Using these numbers, which resource would you expect to get much more expensive over the decades, and why does that matter for growth?
Measuring the gains from trade with consumer and producer surplus.
Five customers, each wanting one cut, and five barber slots, each with a minimum acceptable price (the cost of that slot). The market price is £20.
| Customer | Would pay up to | Buys? | Gains | Slot | Cost of slot | Sells? | Gains | |
|---|---|---|---|---|---|---|---|---|
| Ana | £40 | ✓ | £20 | 1 | £8 | ✓ | £12 | |
| Ben | £32 | ✓ | £12 | 2 | £12 | ✓ | £8 | |
| Cat | £25 | ✓ | £5 | 3 | £16 | ✓ | £4 | |
| Dev | £20 | ✓ | £0 | 4 | £20 | ✓ | £0 | |
| Eli | £14 | ✗ | – | 5 | £30 | ✗ | – | |
| £37 | £24 |
Consumer surplus = £37: what buyers would pay minus what they do pay. Producer surplus = £24: what sellers receive minus the least they would accept.
Area under demand up to Q = total value to buyers. Area under supply up to Q = the least sellers need. Total surplus = £15,000 a day.
Short run: producer surplus = revenue − variable cost = profit + fixed cost. It measures how much firms gain from operating rather than shutting down.
Barber check, at P = £20: revenue £200 − variable cost (q² = 100) £100 = £100 each. 60 barbers × £100 = £6,000, exactly the triangle. ✓ (Profit is zero; the £100 each is exactly their fixed cost.)
Long run: producer surplus = extra payments to inputs compared with an industry that produces nothing.
An allocation is economically efficient if it maximises total surplus (consumer + producer). That is the best use of society’s resources.
At the competitive equilibrium:
At the competitive quantity, the value of the last unit to buyers (the demand height) equals the cost of the last unit (the supply height). Produce less and you lose trades worth making; produce more and you make trades that destroy value.
Suppose the council caps barber licences so that only 480 cuts a day can be supplied.
At 480, a buyer would pay £26 for one more cut that costs only £16: a gain of £10 left on the table. The lost surplus (deadweight loss) is ½ × 120 × (26 − 16) = £600 a day.
The medallion’s price was the value of the producer surplus that the cap created. Once entry happened by another route, that surplus was competed away, just like the barbers’ £69.
The person who hands the tax to the government is often not the person who bears it.
Tax incidence: who bears the burden of a tax after all market reactions.
A real UK case: from April 2025, employers’ National Insurance rose from 13.8% to 15%. Legally, firms pay.
Who pays depends on elasticities, not on who writes the cheque.
Sources: Press Association via Express & Star; City AM.
The council charges barbers £5 per haircut. Start from the original market: 60 barbers, QD = 1000 − 20P, P = £20.
Write P for the price customers pay; barbers keep P − 5.
30(P − 5) = 1000 − 20P → 50P = 1150 → customers pay £23, barbers keep £18, Q = 540, q = 9 each.
Customers pay £3 more; barbers keep £2 less. Tax revenue £5 × 540 = £2,700. Deadweight loss ½ × 60 × 5 = £150.
Barbers make a loss at £18, so some leave. Exit continues until the price barbers keep is back at min AC = £20.
So customers pay £20 + £5 = £25, Q = 1000 − 20(25) = 500, and 500 / 10 = 50 barbers remain.
| No tax | Short run | Long run | |
|---|---|---|---|
| Price customers pay | £20 | £23 | £25 |
| Price barbers keep | £20 | £18 | £20 |
| Cuts per day | 600 | 540 | 500 |
| Number of barbers | 60 | 60 | 50 |
| Profit per barber | £0 | −£19 | £0 |
In a constant-cost industry the long-run supply curve is flat, so the whole tax ends up on consumers. Producers escape by leaving.
If long-run supply slopes up, exit also lowers input costs (cheaper rents, lower wages), so the price firms keep can stay below its old level.
P3 is what consumers pay, P2 what firms keep. Consumer share of the tax = εS ÷ (εS + |εD|).
A tax on beachfront hotel rooms in one resort, which has no room to build more hotels. Who pays most of it in the long run, guests or hotel owners? What if the same tax applied to all hotels in the country?
A tax on imports, in a market where the country is a price taker in the world market.
A country can import any number of washing machines at the world price, £300. Domestic market (thousands of machines per year):
At £300: buyers want 400; home firms make 200; imports = 200.
Now the government adds a £25 tariff on every imported machine.
At £325: buyers want 1000 − 650 = 350; home firms make 650 − 400 = 250; imports = 100.
Home production rises by 50 and buying falls by 50, so imports fall from 200 to 100.
| Effect (per year) | Area | £ |
|---|---|---|
| Consumers lose | A + B + C + D | −9.375m |
| Home producers gain | A | +5.625m |
| Government revenue | C | +2.5m |
| Deadweight loss | B + D | −1.25m |
A tariff transfers surplus from consumers to home producers and the government, and wastes some along the way. Consumers lose £9.4m to give producers £5.6m.
In 2018 the US put tariffs of 20–50% on imported washing machines. Economists Flaaen, Hortaçsu and Tintelnot tracked what happened:
Use the graph to explain why the domestic brands’ prices also rose, even though no tariff was paid on them.
Sources: NBER Working Paper 25767; AEA Research Highlights; published in the American Economic Review, 2020.
| Barbers: before | Fade trend, SR | Fade trend, LR | £5 tax, SR | £5 tax, LR | |
|---|---|---|---|---|---|
| Price paid | £20 | £26 | £20 | £23 | £25 |
| Barbers | 60 | 60 | 90 | 60 | 50 |
| Cuts per day | 600 | 780 | 900 | 540 | 500 |
For any market question, ask: what shifted, which curve did not, and how much time do sellers have?