Sub topic 10
Short-Run Market Supply and Equilibrium
This chapter assumes you can already derive a single firm's short-run supply curve from its marginal cost (MC) and average variable cost (AVC) curves. It also assumes you can read a supply-and-demand diagram. Here we move from one firm to the whole market. We add up the firms' supply curves, find the market price, and ask what that price means for each firm's profit.
The short run for a market
In the short run, the number of firms in the industry is fixed. Each firm also has at least one fixed input, such as a factory or a lease. Firms can change how much they produce, and they can shut down temporarily. They cannot enter or leave the industry.
Every firm is a price taker, so none of them chooses the price. The market sets it, through the interaction of total demand and total supply. Each firm then reacts to that price by choosing the output where P = MC, as long as P is at least minimum AVC.
Building market supply
The market supply curve is the horizontal sum of the individual firms' supply curves. At each price, you add up the quantity each firm would supply.
Each firm's short-run supply curve is its MC curve above the minimum of AVC, and zero output below that point. For the cost function used in this tutorial, TC(q) = 50 + 10q + q², we have MC = 10 + 2q and AVC = 10 + q. Minimum AVC is 10, at q = 0. So one firm supplies:
- q = 0 if P < 10
- q = (P − 10) / 2 if P ≥ 10
With n identical firms, market supply is Q_s = n(P − 10)/2 for P ≥ 10, and zero below that.
Add quantities, not prices
Market supply is a horizontal sum, which means you add quantities at a fixed price. Adding prices at a fixed quantity is the vertical sum. That is the method for public goods, and it is wrong here.
Kinks in market supply
When firms have different costs, each firm switches on at a different price, its own minimum AVC. The market supply curve then has a kink at each of those prices, and it gets flatter as higher-cost firms join. Below the lowest minimum AVC, market supply is zero.
Finding the equilibrium
Equilibrium is the price where quantity supplied equals quantity demanded. Suppose market demand is Q_d = 200 − 4P and there are 10 identical firms. Setting supply equal to demand:
10(P − 10)/2 = 200 − 4P
5P − 50 = 200 − 4P
9P = 250, so P ≈ 27.78
Market quantity is 200 − 4(27.78) ≈ 88.89. Each firm produces 88.89 / 10 ≈ 8.89 units. You can check this with P = MC: 10 + 2(8.89) = 27.78.
The code below does the same calculation.
# Short-run market equilibrium with n identical firms.
# Each firm supplies q = (P - A) / (2*B) for P >= A, so market supply is n*(P - A)/(2*B).
# Market demand: Q = a - b*P.
FIXED, A, B = 50.0, 10.0, 1.0
a, b = 200.0, 4.0
n = 10
# Solve n*(P - A)/(2*B) = a - b*P for P.
price = (a + n * A / (2 * B)) / (b + n / (2 * B))
q_firm = (price - A) / (2 * B)
profit = price * q_firm - (FIXED + A * q_firm + B * q_firm**2)
print(round(price, 2), round(q_firm, 2), round(profit, 2))
# 27.78 8.89 29.0
# Price exceeds the long-run price of about 24.14, so profit is positive and new firms enter.The closed-form solution only works when every firm is active at the equilibrium price. That is the assumption behind the formula. Check it: here P = 27.78, which is above 10, so all firms produce.
Firms with different costs
With different cost functions, the closed form gets awkward, because firms drop in and out of the sum as the price changes. A numerical solution is more reliable. Market excess supply, S(P) − D(P), rises with price, so bisection will find the root.
# Market equilibrium with heterogeneous firms.
# Firm i has TC = F_i + A_i*q + B_i*q**2, so it supplies (P - A_i)/(2*B_i) when P >= A_i.
firms = [(10.0, 1.0), (8.0, 0.5), (12.0, 2.0)] # (A_i, B_i)
a, b = 200.0, 4.0 # demand: Q = a - b*P
def firm_supply(price, A, B):
return 0.0 if price < A else (price - A) / (2 * B)
def market_supply(price):
return sum(firm_supply(price, A, B) for A, B in firms)
def demand(price):
return max(a - b * price, 0.0)
lo, hi = 0.0, a / b # at hi demand is zero, so supply >= demand there
for _ in range(100):
mid = (lo + hi) / 2
if market_supply(mid) > demand(mid):
hi = mid
else:
lo = mid
price = (lo + hi) / 2
print(round(price, 2), [round(firm_supply(price, A, B), 2) for A, B in firms])
# 37.57 [13.78, 29.57, 6.39]At P = 37.57, all three firms are active, and the quantities sum to about 49.74. Demand at that price is 200 − 4(37.57) ≈ 49.74. The low-cost firm with the flattest MC curve (B = 0.5) produces the most.
What the price means for each firm
Equilibrium tells you the price. It does not tell you whether firms make a profit. For that you compare the price with each firm's average total cost (ATC) at its chosen output.
| Price vs. cost | Firm's position | Short-run response |
|---|---|---|
| P > ATC | Economic profit | Keeps producing |
| P = ATC | Break-even (zero economic profit) | Keeps producing |
| min AVC ≤ P < ATC | Loss smaller than fixed cost | Keeps producing, loses less than by shutting down |
| P < min AVC | Loss larger than fixed cost | Shuts down, loses only fixed cost |
In our example, ATC at q = 8.89 is 50/8.89 + 10 + 8.89 ≈ 24.51. The price of 27.78 is higher, so each firm earns about 3.27 per unit, or 29.0 in total. That matches the profit printed by the code.
The number of firms moves the equilibrium
Changing n shifts the market supply curve, so it shifts the equilibrium price. The table uses the same cost and demand functions as above.
| Firms (n) | Price | Output per firm | Profit per firm |
|---|---|---|---|
| 5 | 34.62 | 12.31 | 101.48 |
| 10 | 27.78 | 8.89 | 29.00 |
| 15 | 23.91 | 6.96 | −1.61 |
| 20 | 21.43 | 5.71 | −17.35 |
More firms mean more supply, a lower price, and lower profit for each firm. At about 14.6 firms the price falls to the minimum ATC of 24.14 and profit hits zero. The number of firms is fixed in the short run, but this pattern shows where entry and exit will push the industry later.
Common errors
- Summing prices instead of quantities. Market supply adds quantities at each price.
- Ignoring the shutdown kink. A firm below its minimum AVC supplies zero, not the quantity where P = MC. Using the MC formula at a price below 10 would give a negative quantity.
- Assuming a market with profit must see no entry. Entry is blocked only in the short run. The positive profit at P = 27.78 is exactly what attracts entrants later.
- Confusing firm demand with market demand. The market demand curve slopes down. Each firm's own demand curve is horizontal at the market price. The market price changes only when the whole industry's supply changes.
- Holding input prices fixed. Our examples assume that changes in industry output do not change input prices. When they do, each firm's cost curves shift. That case belongs to the later chapter on industry supply.
Reading the equilibrium as a signal
Short-run equilibrium also serves as a signal for the long run. The sign of per-firm economic profit tells you the direction of entry or exit:
- If P > ATC at the firm's output, profit is positive and new firms will want to enter.
- If P < ATC but P ≥ AVC, firms lose money but keep operating, and some will leave when they can adjust their fixed inputs.
- If P = ATC at minimum ATC, nothing pushes the number of firms either way.
Practice
Exercise
There are 20 identical firms, each with TC = 50 + 10q + q². Market demand is Q = 200 − 4P. (a) What is the short-run equilibrium price? (b) Does each firm earn a profit, break even or take a loss? (c) Should the firms shut down?
Show answer
(a) Market supply is 20(P − 10)/2 = 10P − 100. Setting it equal to demand: 10P − 100 = 200 − 4P, so 14P = 300 and P ≈ 21.43. Each firm produces q = (21.43 − 10)/2 ≈ 5.71. (b) Profit = 21.43(5.71) − (50 + 57.14 + 32.65) ≈ 122.45 − 139.80 ≈ −17.35. Each firm takes a loss. (c) No. P = 21.43 exceeds minimum AVC of 10, so the loss of 17.35 is smaller than the fixed cost of 50. Producing is better than shutting down.
Exercise
Two firms have supply q1 = (P − 10)/2 and q2 = (P − 20)/4 when P is at or above their minimum AVC (10 for firm 1, 20 for firm 2). Write the market supply at P = 15 and at P = 30.
Show answer
At P = 15, firm 2 is below its minimum AVC and supplies zero. Firm 1 supplies (15 − 10)/2 = 2.5. Market supply is 2.5. At P = 30, firm 1 supplies 10 and firm 2 supplies (30 − 20)/4 = 2.5. Market supply is 12.5.