Market equilibrium and shocks
Learning goals
After this page, you can:
- Predict the direction of price and quantity after a shock to one curve.
- Solve two straight lines for the equilibrium price and quantity (spreadsheet level).
- Explain why a price ceiling below equilibrium creates a shortage, and a price floor above it creates a surplus.
Video
Read the script
Hello, this is Peter Zou. In this video we put the two curves on one picture. And we learn to read a shock. Here is demand. Here is supply. They cross once. At that price, the amount buyers want equals the amount sellers offer. Economists call it the equilibrium. A manager might call it the price that clears.
Why does the market go there? Suppose the price is below the crossing point. Buyers want more than sellers offer. That gap is a shortage. Some buyers cannot get the good. They offer to pay more. Sellers notice. They raise price, and they produce more. The gap closes.
Now suppose the price is above the crossing point. Sellers offer more than buyers want. That gap is a surplus. Inventory piles up. Sellers discount. The gap closes from the other side. Nobody is in charge of this. It is what happens when many buyers and sellers each look after themselves. And here is a test you can use on any news story. If the price is not moving toward the crossing point, something is stopping it. Usually that something is a rule, a contract, or a posted price.
A shock is anything that shifts one curve. Three steps, every time. Step one: which curve? Ask who is hit directly. Weather, input costs, technology, and rules on producers hit supply. Income, tastes, rivals’ prices, and the number of buyers hit demand. Step two: which way? More at every price is right. Less is left. Step three: read the new crossing point.
There are only four cases. Demand right: price up, quantity up. Demand left: price down, quantity down. Supply right: price down, quantity up. Supply left: price up, quantity down. Look at the pattern. When demand moves, price and quantity move together. When supply moves, they move apart. This is how you diagnose a real market from data. Price up and sales up? Demand shifted. Price up and sales down? Supply shifted. Remember that pattern. It is on the self-check, and it is in your Playbook page.
Now the algebra. Do not worry. In this course, Excel does it. Write demand as Q equals the demand intercept plus the demand slope times P. The demand intercept is the quantity at a price of zero. The demand slope is negative. It is the quantity you lose per dollar of price. Write supply as Q equals the supply slope times P, plus the supply intercept. At the crossing point the two quantities are equal. So the demand line equals the supply line. Solve for P. P star equals a fraction. On top: the demand intercept minus the supply intercept. On the bottom: the supply slope minus the demand slope. Then Q star is the supply slope times P star, plus the supply intercept. In the Week 1 Excel Lab, these four numbers sit in four cells. P star is one formula.
Let us try the coffee cart. Demand is 1,110 minus 220 P. Supply is 170 P minus 50. Set them equal. 1,110 minus 220 P equals 170 P minus 50. Move things around. 1,160 equals 390 P. P star is $2.97. Quantity: 170 times P star, minus 50. Use all the decimals of P star, as Excel does. About 456 cups. Check it on the demand line. Same number. Always check. Now a new dorm opens. Demand rises by 100 cups at every price. The demand intercept becomes 1,210. P star becomes 1,260 divided by 390. $3.23. Quantity about 499. Demand shifted right. Price up, quantity up. First row of the table.
Last topic: when the price is not allowed to move. A price ceiling is a legal maximum. If it sits above the equilibrium, it does nothing. We say it is not binding. If it sits below the equilibrium, buyers want more than sellers offer. And the shortage never clears. Rent control in a city where many people want to live. A gasoline price cap after a storm. You get lines, waiting lists, side payments. A price floor is a legal minimum. Above the equilibrium, sellers offer more than buyers take. A minimum wage above the market wage. Farm support prices. The surplus shows up as unsold stock, or unemployed workers.
One more case: a concert sells out in minutes at $80. The same afternoon, tickets resell for $300. Same picture, no law. The promoter posted a price below the crossing point. A shortage appeared. The resale market is simply the price finding its way to equilibrium.
Here is what to do now. Open the tool in this idea. Shift demand right. Move the slider back to zero. Then shift supply left. Both raise the price. Only one raises the quantity. Then, under Price control, choose price ceiling. Set the controlled price below the crossing point. The gap you see is the shortage. Do the self-check. Then Lab questions two, three, and four in Moodle use the coffee cart again. The steps are the same, with new numbers. See you in the next idea, where we ask: by how much?
The idea
A concert sells out in minutes at $80. The same afternoon, tickets resell for $300. Nobody broke a rule. The posted price was simply below the point where the two curves cross.
Where price settles. Put the demand curve and the supply curve on one picture. They cross once. At that price, the amount buyers want equals the amount sellers offer. This is the equilibrium. A manager might call it “the price that clears the market.”
Why does the market go there? Suppose the price is below the crossing point. Buyers want more than sellers offer. This is a shortage. Some buyers offer to pay more. Sellers raise price and output. The gap closes. Now suppose the price is above the crossing point. Sellers offer more than buyers want. This is a surplus. Inventory piles up, sellers discount, and the gap closes from the other side. Nobody is in charge of this.
A quick test for any news story: if the price is not moving toward the crossing point, something is stopping it. Usually it is a rule, a contract, or a posted price that is costly to change.
Reading a shock. A shock is anything that shifts one curve. Use three steps every time:
- Which curve? Ask who is hit directly. Weather, input costs, technology and rules on producers hit supply. Income, tastes, rivals’ prices and the number of buyers hit demand.
- Which way? More at every price = right. Less = left.
- Read the new crossing point.
| Shock | Price | Quantity |
|---|---|---|
| Demand shifts right | up | up |
| Demand shifts left | down | down |
| Supply shifts right | down | up |
| Supply shifts left | up | down |
The pattern: when demand moves, price and quantity move together. When supply moves, they move apart. Use this to read real data. Price up and sales up? Demand shifted. Price up and sales down? Supply shifted.
Solving it with straight lines. Write demand as Q = a + b·P (b is negative). Write supply as Q = s·P + c. At equilibrium the two quantities are equal. One line of algebra gives the answer in the box below. In the Excel lab, a, b, s and c sit in four cells and P* is one formula.
Price controls. A price ceiling is a legal maximum. If it sits above the equilibrium, it does nothing (it is “non-binding”). If it sits below the equilibrium — rent control in a hot city, a gasoline price cap after a storm — buyers want more than sellers offer. The shortage never clears. You see lines, waiting lists, and resale markets.
A price floor is a legal minimum. Above the equilibrium — a minimum wage above the market wage, a farm support price — sellers offer more than buyers take. The surplus shows up as unsold stock or unemployed workers.
The sold-out concert is the same picture without a law. The promoter set a price below the crossing point. The resale market is the price finding its way to equilibrium.
Demand Q = a + b·P, supply Q = s·P + c
\[ P^* = \frac{a - c}{s - b} \qquad Q^* = s \cdot P^* + c \]
Shortage at a ceiling Pc = Qd(Pc) − Qs(Pc)
Try it
The chart shows cups of coffee from a campus coffee cart. Try these:
- Make price rise and quantity fall with one slider. Which curve did you move, and which way?
- Make price and quantity both rise with one slider.
- Choose “price ceiling” and set it 50 cents below P*. Read the shortage. Now shift demand right by 100. Does the shortage grow or shrink?
Worked example
Problem. A campus coffee cart. Demand is Q = 1,110 − 220·P. Supply is Q = 170·P − 50. Find the equilibrium. Then a new dorm opens and demand rises by 100 cups at every price. Then student government caps the price at $2.50.
Step 1. Set the two quantities equal. 1,110 − 220P = 170P − 50, so 1,160 = 390P and P* = $2.97.
Step 2. Find the quantity. Use P* before rounding: 1,160 ÷ 390 = 2.974. Q* = 170 × 2.974 − 50 ≈ 456 cups. Check with the demand line: 1,110 − 220 × 2.974 ≈ 456. Same number.
Step 3. The dorm opens. a becomes 1,210. P* = (1,210 + 50) ÷ 390 = $3.23, and Q* ≈ 499. Demand shifted right: price up, quantity up — the first row of the table.
Step 4. The $2.50 cap (in the original market, before the dorm). Buyers want 1,110 − 220 × 2.50 = 560. Sellers offer 170 × 2.50 − 50 = 375. The shortage is 185 cups a day. (After the dorm opens, buyers want 660 at $2.50, so the shortage grows to 285.)
Check with Excel. Put a, b, s, c in cells B1:B4. Then =(B1-B4)/(B3-B2) gives P*.
Check yourself
Used-car prices rose sharply in 2021 while the number of used cars sold also rose. Which single shift explains both facts?
P and Q together → demand moved; P and Q apart → supply moved.
Demand is Q = 800 − 100P and supply is Q = 100P − 200. The equilibrium price is:
P* = (a − c)/(s − b) = (800 + 200)/(100 + 100) = 5.
A city caps rents at $900 when the market rent is $1,300. The predictable result is:
Ceiling below equilibrium → shortage.
A downtown parking garage charges a flat $10 on game days. By noon it is always full and cars circle the block looking for a space. Which statement is correct?
Full with people still looking = price below the crossing point.
The minimum wage is raised above the market wage for entry-level restaurant jobs. In that labor market we expect:
Floor above equilibrium → surplus.