Sub topic 10
How elasticity changes the outcome
This chapter assumes you can read supply and demand curves, find an equilibrium, and solve linear equations. It also assumes you know the earlier chapters' results: a binding control creates a shortage (ceiling) or surplus (floor), and the quantity traded is the smaller of quantity demanded and quantity supplied.
What elasticity adds
Price elasticity is the percentage change in quantity for a one percent change in price. A steep curve is inelastic: quantity barely responds. A flat curve is elastic: quantity responds a lot.
A price control forces a gap between the legal price and the equilibrium price. Elasticity decides how much quantity each side gives up in response to that gap. The same legal price can cause a small distortion in one market and a large one in another.
A general linear market
The baseline market had Qd = 100 - 2P and Qs = 20 + 2P, with equilibrium at price 20 and quantity 60. To vary elasticity while keeping the same equilibrium, write both curves around that point:
- Qd = 60 - b(P - 20), where b is the demand slope.
- Qs = 60 + d(P - 20), where d is the supply slope.
A larger b or d means quantity responds more to price, so that curve is flatter and more elastic. At the equilibrium, elasticity is slope × P/Q = slope × 20/60 = slope/3. The baseline b = d = 2 gives an elasticity of about 0.67 on each side.
Take a ceiling at 15, which is 5 below equilibrium:
- Quantity demanded is 60 + 5b.
- Quantity supplied is 60 - 5d.
- The shortage is 5(b + d).
- Quantity traded is 60 - 5d, because sellers are the short side.
Take a floor at 25, which is 5 above equilibrium:
- Quantity demanded is 60 - 5b.
- Quantity supplied is 60 + 5d.
- The surplus is 5(b + d).
- Quantity traded is 60 - 5b, because buyers are the short side.
So the gap depends on both elasticities, but the lost trade depends on one side only. Under a ceiling, supply determines how much trade disappears. Under a floor, demand does.
Computing it
This code generalizes the earlier analyze function to any slopes.
def outcome(b, d, control_price, kind, p0=20, q0=60):
"""Linear market: Qd = q0 - b*(P-p0), Qs = q0 + d*(P-p0)."""
binding = (kind == 'ceiling' and control_price < p0) or (
kind == 'floor' and control_price > p0)
if not binding:
return {'quantity': q0, 'gap': 0.0, 'dwl': 0.0}
qd = q0 - b * (control_price - p0)
qs = q0 + d * (control_price - p0)
q = min(qd, qs)
wtp = p0 + (q0 - q) / b # inverse demand at q
mc = p0 - (q0 - q) / d # inverse supply at q
dwl = 0.5 * (wtp - mc) * (q0 - q)
return {'quantity': q, 'gap': abs(qd - qs), 'dwl': dwl}
cases = [(2, 2), (2, 0.5), (2, 6), (0.5, 2), (6, 2)]
for b, d in cases:
r = outcome(b, d, 15, 'ceiling')
print(f"b={b}, d={d}: Q={r['quantity']:.1f}, "
f"shortage={r['gap']:.1f}, DWL={r['dwl']:.2f}")The results for a ceiling at 15:
| Demand slope b | Supply slope d | Quantity traded | Shortage | Deadweight loss |
|---|---|---|---|---|
| 2 | 2 | 50 | 20 | 50.00 |
| 2 | 0.5 | 57.5 | 12.5 | 7.81 |
| 2 | 6 | 30 | 40 | 300.00 |
| 0.5 | 2 | 50 | 12.5 | 125.00 |
| 6 | 2 | 50 | 40 | 33.33 |
Reading the table
Inelastic supply limits the damage from a ceiling. In row 2, sellers cut output only from 60 to 57.5, so little trade is lost and the deadweight loss is 7.81. In row 3, sellers cut output to 30, so half of the trades disappear and the loss is 300.
Demand elasticity changes the shortage but not the quantity traded. Rows 4 and 5 both trade 50 units, because supply is the same. Their shortages differ because elastic buyers (row 5) want far more at the low price, so the shortage is 40 instead of 12.5.
Inelastic demand raises the value of the trades that are lost. In row 4, the last unit trade would have been worth 40 to a buyer and cost 15 to produce. A buyer who values the good that highly and still can't buy it makes the mismatch costly, so the deadweight loss is 125. In row 5, the lost units were worth only about 21.67, so the loss is 33.33 even though the shortage is large.
The deadweight loss triangle has two dimensions, and elasticity affects both:
- Its width is the lost quantity. Under a ceiling that is 5d, set by supply elasticity.
- Its height is the gap between willingness to pay and marginal cost. That gap is 5 + 5d/b, so it grows when demand is inelastic (small b) or supply is elastic (large d).
Floors and revenue
Elasticity also decides whether sellers gain from a floor. Under a floor at 25, sellers receive 25 on the quantity buyers still purchase, which is 60 - 5b. Revenue is 25 × (60 - 5b):
- With b = 2, revenue is 25 × 50 = 1,250, up from 1,200 at equilibrium.
- With b = 6, revenue is 25 × 30 = 750, down from 1,200.
If demand is inelastic, buyers keep purchasing most of the good at the higher price, so sellers earn more in total. If demand is elastic, the lost sales outweigh the higher price. This is why floors on goods with inelastic demand are attractive to producers, and why they leave a large surplus that someone must store, destroy, or buy.
Common errors
- Saying the shortage depends only on the controlled side. The shortage depends on both slopes, 5(b + d).
- Using the larger of Qd and Qs as the quantity traded. Use the smaller.
- Assuming inelastic demand always means a smaller loss. It shrinks the shortage but raises the value of the trades that are lost.
- Comparing steepness on graphs with different axis scales. Compute elasticity instead.
Exercise
Using the general linear market with equilibrium (20, 60), a price floor is set at 25. Demand slope is b = 0.5 and supply slope is d = 2. Find the quantity traded, the surplus, and the deadweight loss. Then check your answer with outcome(0.5, 2, 25, 'floor').
Show answer
Quantity demanded is 60 - 0.5 × 5 = 57.5. Quantity supplied is 60 + 2 × 5 = 70. Buyers are the short side, so 57.5 units trade and the surplus is 70 - 57.5 = 12.5. The marginal buyer's willingness to pay is 20 + 2.5/0.5 = 25. The marginal cost at 57.5 units is 20 - 2.5/2 = 18.75. The deadweight loss is 0.5 × (25 - 18.75) × 2.5 = 7.8125. The function returns the same values (quantity 57.5, gap 12.5, dwl 7.8125). The loss is small because inelastic demand keeps buyers purchasing despite the higher price.