Sub topic 9
How price changes and curve shifts move surplus
This chapter assumes you can read a linear demand curve P = a − bQ and a linear supply curve P = c + dQ. It also assumes you can find the equilibrium and compute areas of triangles and trapezoids. Earlier chapters defined consumer surplus (CS) and producer surplus (PS). Here we ask what happens to them when something changes.
All examples use the same market as before: demand P = 100 − 2Q and supply P = 10 + Q. At equilibrium Q = 30 and P = 40. CS is 900, PS is 450 and total surplus is 1350.
Two different kinds of change
A change in surplus has one of two causes, and they work differently.
- Movement along a fixed curve. The price is different from before, but demand and supply have not moved. This happens when something other than the market sets the price.
- A shift of a curve. Buyers' willingness to pay or sellers' costs change. The curve moves, and the market finds a new equilibrium.
In both cases the same two effects appear:
- Price effect (a transfer). For the units that were already traded, a price change moves money between buyers and sellers. One side gains exactly what the other loses.
- Quantity effect (a size change). If the number of units traded changes, units are added or removed. Each added unit creates surplus equal to its value minus its cost. Each removed unit destroys it.
Price changes along fixed curves
Suppose the price is held at 50 instead of 40, for example by a price floor. The curves stay where they are.
At a price of 50, buyers want Qd = (100 − 50) / 2 = 25 units. Sellers would supply Qs = 50 − 10 = 40 units. Trade is limited by the short side, so only 25 units change hands.
Consumer surplus is a triangle with base 25 and height 100 − 50 = 50:
CS = 0.5 × 25 × 50 = 625
The change in CS equals the area of the trapezoid between the two prices, to the left of the demand curve. Its parallel sides are the quantities demanded at the two prices (30 and 25), and its width is the price change (10):
ΔCS = −10 × (30 + 25) / 2 = −275
That matches 900 − 625.
Producer surplus rises on the 25 units still sold, because each earns 10 more. Sellers also lose the surplus on the 5 units that no longer trade. Computing it directly:
- The supply curve at Q = 25 is at P = 35.
- The rectangle is 25 × (50 − 35) = 375.
- The triangle under it is 0.5 × 25 × (35 − 10) = 312.5.
- PS = 687.5, a gain of 237.5.
Buyers lose 275 and sellers gain 237.5. The difference of 37.5 is the triangle for the 5 lost units. Demand at Q = 25 is 50 and supply is 35, a gap of 15, so the area is 0.5 × 5 × 15 = 37.5. The transfer of 237.5 is the price effect. The 37.5 that vanishes is the quantity effect. A later chapter treats this loss properly as deadweight loss.
A general rule for a change in price from p0 to p1 with buyers on their demand curve:
- ΔCS = −(area between the prices to the left of demand).
- A price rise always lowers CS, and a price fall always raises it.
- The area is larger when demand is flatter, because quantity demanded responds more.
Shifts of demand
A demand shift changes willingness to pay. Suppose buyers' tastes improve and demand becomes P = 120 − 2Q.
- Q = (120 − 10) / 3 = 36.67
- P = 10 + 36.67 = 46.67
- CS = 0.5 × 36.67 × (120 − 46.67) = 1344.44
- PS = 0.5 × 36.67 × (46.67 − 10) = 672.22
Both surpluses rise, even though the price rose. This looks odd at first. CS is measured against the new demand curve, which sits higher at every quantity. Buyers pay 6.67 more per unit than before, but each unit is now worth 20 more to the marginal buyer. Sellers gain from both a higher price and 6.67 additional units sold.
A fall in demand does the reverse. With demand P = 80 − 2Q, the equilibrium is Q = 23.33 and P = 33.33. CS falls to 544.44 and PS falls to 272.22.
Shifts of supply
A supply shift changes costs. Suppose a cheaper input lowers every seller's cost by 10, so supply becomes P = 0 + Q.
- Q = 100 / 3 = 33.33
- P = 33.33
- CS = 0.5 × 33.33 × (100 − 33.33) = 1111.11
- PS = 0.5 × 33.33 × 33.33 = 555.56
Here the price falls, so buyers clearly gain. We can split their gain of 211.11 into the two effects:
- Price effect: the 30 units bought before now cost 6.67 less each. That gives 30 × 6.67 = 200.
- Quantity effect: the 3.33 new units give a triangle of 0.5 × 3.33 × 6.67 = 11.11.
Sellers also gain, even at a lower price, because costs fell by more than the price did and they sell more.
A cost increase reverses this. If supply becomes P = 25 + Q, then Q = 25 and P = 50. CS is 625 and PS is 312.5, so both fall.
Running all four scenarios
This script computes the equilibrium and the surpluses for each case.
def market(a, b, c, d):
"""Linear market: demand P = a - b*Q, supply P = c + d*Q."""
q = (a - c) / (b + d)
p = c + d * q
cs = 0.5 * q * (a - p)
ps = 0.5 * q * (p - c)
return q, p, cs, ps
scenarios = {
"base": (100, 2, 10, 1),
"demand up": (120, 2, 10, 1),
"demand down": (80, 2, 10, 1),
"costs down": (100, 2, 0, 1),
"costs up": (100, 2, 25, 1),
}
print(f"{'scenario':<12}{'Q':>7}{'P':>8}{'CS':>10}{'PS':>9}{'total':>10}")
for name, params in scenarios.items():
q, p, cs, ps = market(*params)
print(f"{name:<12}{q:>7.2f}{p:>8.2f}{cs:>10.2f}{ps:>9.2f}{cs + ps:>10.2f}")The output is:
scenario Q P CS PS total
base 30.00 40.00 900.00 450.00 1350.00
demand up 36.67 46.67 1344.44 672.22 2016.67
demand down 23.33 33.33 544.44 272.22 816.67
costs down 33.33 33.33 1111.11 555.56 1666.67
costs up 25.00 50.00 625.00 312.50 937.50| Change | Price | Quantity | CS | PS |
|---|---|---|---|---|
| Demand increases | Up | Up | Up | Up |
| Demand decreases | Down | Down | Down | Down |
| Supply increases (costs fall) | Down | Up | Up | Up |
| Supply decreases (costs rise) | Up | Down | Down | Down |
In a linear market that starts at equilibrium and ends at a new equilibrium, each shift moves CS and PS in the same direction. That direction matches the change in quantity. This is the quantity effect at work. A bigger market means more trades, and each trade adds surplus.
Reading the pattern
The table shows a reliable rule for free markets. When the market clears at both the old and the new equilibrium, quantity moves total surplus. Price only decides how the change is shared.
- A price rise from a demand shift gives sellers a larger share of a larger total.
- A price fall from a supply shift gives buyers a larger share of a larger total.
- A price set away from equilibrium shrinks the total, as in the price-of-50 example.
Edge cases
- Kinked or nonlinear curves. Triangles no longer apply. The principle still holds, and you integrate the curve between the two prices instead.
- Perfectly inelastic supply. If supply is vertical, a price change from a demand shift moves surplus entirely between buyers and sellers, because quantity cannot change. Total surplus is unchanged along the supply curve for a fixed number of units.
- Large shifts. If a supply shift is large enough that the intercept c rises above the demand intercept a, no trade occurs and both surpluses are zero. Formulas like (a − c) / (b + d) then give a negative quantity and should be clamped at zero.
- Binding versus non-binding prices. A price set at or beyond equilibrium in the "harmless" direction, such as a ceiling of 50 when the market price is 40, changes nothing. The short-side rule only applies when the price actually binds.
Exercise
Demand falls to P = 80 − 2Q while supply stays at P = 10 + Q. Find the new equilibrium, CS, PS and total surplus. Which of the two effects (price or quantity) explains why sellers lose?
Show answer
Q = (80 − 10) / 3 = 23.33 and P = 10 + 23.33 = 33.33. CS = 0.5 × 23.33 × (80 − 33.33) = 544.44. PS = 0.5 × 23.33 × (33.33 − 10) = 272.22. Total surplus = 816.67. Sellers lose through both effects: the price falls from 40 to 33.33 on the 23.33 units still sold, and 6.67 units are no longer traded.
Exercise
The price is held at 50 (demand P = 100 − 2Q, supply P = 10 + Q). Use the trapezoid method to confirm that CS falls by 275, then explain why sellers gain only 237.5 even though the price rose by 10 on every unit sold.
Show answer
Quantity demanded is 30 at price 40 and 25 at price 50. The trapezoid is 10 × (30 + 25) / 2 = 275, so CS falls from 900 to 625. Sellers gain 10 per unit on the 25 units still sold, which is 250. They also lose the surplus on the 5 units that no longer trade. Those units are worth a surplus of 37.5 over their cost, so the net gain is 250 − 12.5 = 237.5 when measured against producer surplus at the old price. Equivalently, PS at price 50 with 25 units is 687.5 and PS at equilibrium is 450.
Exercise
Costs rise so that supply becomes P = 25 + Q. Price rises from 40 to 50, yet producer surplus falls from 450 to 312.5. Explain why a higher price does not help sellers here.
Show answer
PS is measured against the new supply curve, and quantity falls from 30 to 25. Sellers earn 10 more per unit than before, but their costs rose by 15 at every quantity. Their margin on each unit is smaller, and they also sell 5 fewer units, so the total gap between price and cost shrinks.