Sub topic 6
Shortages and surpluses: quantity demanded versus quantity supplied
This chapter assumes you can read supply and demand curves, find an equilibrium price and quantity, and solve a pair of linear equations. It also assumes you understand opportunity cost. The earlier chapters defined price ceilings and floors and explained when a control binds. Here we measure what a binding control does to the quantities in the market.
The two quantities behind every gap
A shortage or a surplus is a comparison of two numbers at one price:
- Quantity demanded (Qd) is how much buyers want to buy at that price.
- Quantity supplied (Qs) is how much sellers want to sell at that price.
At the equilibrium price the two are equal. At any other price they differ, and the difference has a name:
- A shortage (excess demand) is Qd minus Qs when Qd is larger.
- A surplus (excess supply) is Qs minus Qd when Qs is larger.
Both are measured per period, such as units per month. They describe intentions at a given price, not leftover stock.
The words "shortage" and "scarcity" are not interchangeable. Scarcity exists in every market, because resources are limited. A shortage exists only when the price is too low to make buyers' plans and sellers' plans match.
Where the direction comes from
Demand slopes down and supply slopes up. A price below equilibrium therefore raises Qd and lowers Qs, and a price above equilibrium does the opposite. The direction of the gap follows from which side of equilibrium the price sits on.
A worked example
We use the same linear market as the rest of the tutorial: Qd = 100 − 2P and Qs = 20 + 2P. Setting them equal gives an equilibrium price of 20 and quantity of 60.
For any price P, the excess demand is:
Qd − Qs = (100 − 2P) − (20 + 2P) = 80 − 4P
A positive value is a shortage and a negative value is a surplus. Each dollar of distance from equilibrium adds 4 units to the gap.
Now apply a ceiling of 15. Buyers want 100 − 30 = 70 units, but sellers offer only 20 + 30 = 50. The shortage is 20 units. Next apply a floor of 25. Buyers want 50 units and sellers offer 70, so the surplus is 20 units.
The code below tabulates the gap at several prices.
# Linear market: quantity demanded Qd = 100 - 2P, quantity supplied Qs = 20 + 2P
EQ_PRICE = 20
EQ_QTY = 60
def demand(p):
return 100 - 2 * p
def supply(p):
return 20 + 2 * p
def excess_demand(p):
"""Positive means shortage, negative means surplus."""
return demand(p) - supply(p)
for p in [10, 15, 20, 25, 30]:
qd, qs = demand(p), supply(p)
ed = excess_demand(p)
label = 'shortage' if ed > 0 else 'surplus' if ed < 0 else 'balanced'
traded = min(qd, qs)
print(f"P={p:>2} Qd={qd:>3} Qs={qs:>3} {label:<8} gap={abs(ed):>2} "
f"traded={traded} lost={EQ_QTY - traded}")The output is:
P=10 Qd= 80 Qs= 40 shortage gap=40 traded=40 lost=20
P=15 Qd= 70 Qs= 50 shortage gap=20 traded=50 lost=10
P=20 Qd= 60 Qs= 60 balanced gap= 0 traded=60 lost=0
P=25 Qd= 50 Qs= 70 surplus gap=20 traded=50 lost=10
P=30 Qd= 40 Qs= 80 surplus gap=40 traded=40 lost=20| Price | Qd | Qs | Gap | Quantity traded |
|---|---|---|---|---|
| 10 | 80 | 40 | Shortage of 40 | 40 |
| 15 | 70 | 50 | Shortage of 20 | 50 |
| 20 | 60 | 60 | None | 60 |
| 25 | 50 | 70 | Surplus of 20 | 50 |
| 30 | 40 | 80 | Surplus of 40 | 40 |
The short-side rule
Look at the "traded" column. A trade needs a willing buyer and a willing seller, so the quantity actually exchanged is the smaller of Qd and Qs. This is the short-side rule.
- Under a binding ceiling, sellers are on the short side. Quantity traded equals Qs.
- Under a binding floor, buyers are on the short side. Quantity traded equals Qd.
Because of this rule, the side of the market that the control is meant to help does not set the outcome. A ceiling is meant to help buyers, yet the quantity is capped by what sellers will supply. A floor is meant to help sellers, yet the quantity is capped by what buyers will purchase.
This distinction matters for later chapters. Deadweight loss depends on the lost trade, not on the size of the gap.
Movements along curves, not shifts
Neither curve moves when a control is imposed. The ceiling changes the price at which buyers and sellers are allowed to transact, and both groups respond by moving along their existing curves. Demand did not increase by 10 units at the ceiling price. Buyers who were priced out at 20 now find the good affordable at 15, and that is a movement down the demand curve.
A common error is to draw a rightward shift of demand to show the shortage. That implies the demand curve itself changed, which would move the equilibrium. Draw the horizontal gap between the two curves at the control price instead.
What the gap does to the market
A gap that the price cannot close has to be handled some other way.
- Under a shortage, some willing buyers go without. Who gets the limited supply is decided by something other than price, such as waiting time, connections, or illegal side payments. The next chapters cover these.
- Under a surplus, some willing sellers cannot sell. Unsold goods pile up, or the government must buy them, or sellers must cut output.
The gap also tends to be self-reinforcing in the short term. In a free market, a shortage pushes the price up and removes the gap. The control forbids that adjustment, so the gap persists for as long as the control does.
Common errors
- Comparing the wrong prices. The ceiling must be below equilibrium to bind. A ceiling of 25 here leaves Qd and Qs both at 60, with no gap.
- Reading the gap off one curve. You need Qd and Qs at the same controlled price. Reading Qd at one price and Qs at another gives a meaningless number.
- Reporting the gap as the quantity traded. Quantity traded is the minimum of Qd and Qs.
- Treating a surplus as waste in every case. A surplus means sellers cannot sell all they planned. Whether goods are actually destroyed depends on what the government does with them, which the agricultural case study covers.
- Mixing signs. Keep one convention. Here, positive excess demand is a shortage and negative is a surplus.
Solving for the control price that yields a given gap
You can run the formula backwards. Since the excess demand is 80 − 4P, a target shortage of 12 units requires 80 − 4P = 12, so P = 17. A target surplus of 12 units requires 80 − 4P = −12, so P = 23. This is useful when a question gives you the gap and asks which price produced it.
Exercise
Using Qd = 100 − 2P and Qs = 20 + 2P, a price ceiling is set at 12. Find the quantity demanded, the quantity supplied, the size of the shortage, the quantity traded, and how much trade is lost compared with equilibrium.
Show answer
At P = 12, Qd = 100 − 24 = 76 and Qs = 20 + 24 = 44. The shortage is 76 − 44 = 32 units. By the short-side rule, the quantity traded is the smaller value, 44. Trade lost compared with equilibrium is 60 − 44 = 16 units. The shortage (32) is twice the lost trade (16) here, because Qd rose by 16 above the equilibrium quantity while Qs fell by 16 below it.
Exercise
A price floor is set at 28 in the same market. Is it binding? If so, what are the surplus and the quantity traded? Then find the floor price that would create a surplus of exactly 12 units.
Show answer
The floor of 28 is above the equilibrium price of 20, so it binds. Qd = 100 − 56 = 44 and Qs = 20 + 56 = 76. The surplus is 76 − 44 = 32 units and the quantity traded is the smaller value, 44. For a surplus of 12 units, set 80 − 4P = −12, which gives P = 23.
Exercise
A student says: "A price ceiling at 15 makes demand rise by 10 units, so the demand curve shifts right." What is wrong with this claim?
Show answer
Neither curve shifts. The ceiling changes only the price buyers and sellers face. Quantity demanded rises from 60 to 70 as a movement down the existing demand curve, and quantity supplied falls from 60 to 50 as a movement down the existing supply curve. The shortage is the horizontal gap between the curves at the price of 15.