Sub topic 9
The deadweight loss triangle
This chapter assumes you can read supply and demand graphs, compute consumer and producer surplus as areas, and find the monopoly quantity from MR = MC. Here you will see where the welfare loss of monopoly comes from, derive its size in general, and check the result numerically.
What the triangle measures
A monopolist picks the quantity where marginal revenue equals marginal cost. It then charges the highest price consumers will pay for that quantity. Compared with the competitive benchmark, where price equals marginal cost, output is lower and price is higher.
Total surplus is consumer surplus plus producer surplus. Under monopoly it is smaller than under competition. The difference is the deadweight loss (DWL): surplus that existed in the competitive outcome and now goes to nobody.
Between the monopoly quantity and the competitive quantity, there are units where:
- a buyer values the unit at more than its marginal cost, since the demand curve lies above MC there, and
- the monopolist does not produce it, because selling it would push down the price on every other unit and so lower profit.
Each such unit is a trade that would make someone better off without making anyone else worse off. The unit's marginal value is the height of the demand curve, and its marginal cost is the height of MC. The gap between them is the surplus lost on that unit. Add up the gaps across the missing units and you get the DWL.
Transfer versus loss
Moving from competition to monopoly changes surplus in three ways.
| Piece of surplus | Direction | Who gets it |
|---|---|---|
| Rectangle between the monopoly price and marginal cost, over the monopoly quantity | Moves from consumers to the monopolist | The monopolist |
| Triangle between demand and MC, from the monopoly quantity to the competitive quantity | Disappears | Nobody |
| Consumer surplus on units still sold, at the lower remaining area | Stays with consumers | Consumers |
The rectangle is a transfer. Consumers lose it and the producer gains it, so it does not change total surplus. Whether the transfer is fair is a separate question from efficiency. The triangle is the only part that counts as an efficiency loss.
Deriving the area for linear demand and constant MC
Let inverse demand be P = a − bQ, with constant marginal cost c, where a > c and b > 0.
- Competitive quantity: set P = MC, so a − bQ = c and Q_c = (a − c) / b.
- Monopoly quantity: marginal revenue is a − 2bQ. Setting it equal to c gives Qm = (a − c) / (2b). This is half of Qc.
- Monopoly price: Pm = a − bQm = (a + c) / 2. This is halfway between the demand intercept and marginal cost.
The triangle has its corners at three points: the monopoly point on the demand curve, the point on the MC line directly below it, and the competitive point where demand meets MC.
- Its height (measured along the quantity axis) is Qc − Qm = (a − c) / (2b).
- Its base (measured along the price axis) is P_m − c = (a − c) / 2.
So the area is:
DWL = ½ × (Pm − c) × (Qc − Q_m) = ½ × (a − c)/2 × (a − c)/(2b) = (a − c)² / (8b)
Two consequences follow from this formula.
- DWL grows with the square of the gap a − c. Doubling the gap between the highest willingness to pay and marginal cost quadruples the loss.
- A flatter demand curve (smaller b) makes DWL larger, because a small markup then removes many units of output.
The following code computes the outcomes and checks them against the formula.
def monopoly_vs_competition(a, b, c):
"""Inverse demand P = a - b*Q, constant marginal cost c (requires a > c, b > 0)."""
# Competition: P = MC -> a - b*Q = c
q_comp = (a - c) / b
p_comp = c
# Monopoly: MR = a - 2*b*Q = c
q_mono = (a - c) / (2 * b)
p_mono = a - b * q_mono
# Surplus (areas of triangles and rectangles)
cs_comp = 0.5 * (a - p_comp) * q_comp
cs_mono = 0.5 * (a - p_mono) * q_mono
ps_mono = (p_mono - c) * q_mono
dwl = 0.5 * (p_mono - c) * (q_comp - q_mono)
return {
"q_comp": q_comp, "p_comp": p_comp,
"q_mono": q_mono, "p_mono": p_mono,
"cs_comp": cs_comp, "cs_mono": cs_mono,
"ps_mono": ps_mono, "dwl": dwl,
}
result = monopoly_vs_competition(a=100, b=1, c=20)
for name, value in result.items():
print(name, value)
# The surplus accounting must balance:
# competitive total surplus = monopoly CS + monopoly PS + DWL
total_comp = result["cs_comp"] # producer surplus is zero when P = constant MC
total_mono = result["cs_mono"] + result["ps_mono"]
print(total_comp - total_mono, result["dwl"])
print((100 - 20) ** 2 / (8 * 1)) # closed form (a - c)^2 / (8b)With a = 100, b = 1 and c = 20, competitive surplus is 3200. Under monopoly, consumers keep 800 and the monopolist earns 1600, so 800 is lost. The closed form gives 80² / 8 = 800, which matches. The next chapter works through these numbers in more detail. Here the point is that the three routes (the area, the surplus accounting, and the formula) agree.
The general definition: an integral
The triangle is a special case. The general definition is the area between the demand curve and the marginal cost curve over the units that are not produced:
DWL = ∫ from Qm to Qc of [P(Q) − MC(Q)] dQ
Here P(Q) is the inverse demand curve, which gives the marginal value of the Q-th unit. This form works for any shape of demand and cost. When both curves are straight lines, the region is a triangle and the area collapses to ½ × base × height. When either curve bends, the region is no longer a triangle, but the same integral still applies.
The code below approximates the integral with a midpoint sum. It confirms the constant-MC result and handles a rising marginal cost.
def dwl_numeric(inverse_demand, mc, q_mono, q_comp, steps=100_000):
"""Midpoint-rule approximation of the integral of (P(Q) - MC(Q)) from q_mono to q_comp."""
width = (q_comp - q_mono) / steps
total = 0.0
for i in range(steps):
q = q_mono + (i + 0.5) * width
total += (inverse_demand(q) - mc(q)) * width
return total
# Case 1: P = 100 - Q, MC = 20 (the triangle above)
print(dwl_numeric(lambda q: 100 - q, lambda q: 20, 40, 80))
# Case 2: P = 100 - Q, MC = 20 + 0.5*Q (rising marginal cost)
# MR = 100 - 2Q equals MC = 20 + 0.5Q at Q = 32, so P_m = 68
# Competition: 100 - Q = 20 + 0.5Q at Q = 160/3
q_m = 32.0
q_c = 160 / 3
print(dwl_numeric(lambda q: 100 - q, lambda q: 20 + 0.5 * q, q_m, q_c))The first call prints about 800. The second prints about 341.33, which matches the triangle area ½ × 32 × 21.33. Here the gap at the monopoly quantity is 68 − 36 = 32, since MC at Q = 32 is 36. The width is 160/3 − 32 = 21.33.
Edge cases and common errors
- Using the wrong base. The triangle's price-axis side is Pm − MC at the monopoly quantity. It is not Pm − P_c when MC is rising, and it is not the full monopoly markup over zero. Always measure the gap to the marginal cost curve.
- Counting the rectangle as loss. The markup rectangle moves from consumers to the monopolist. Including it overstates the DWL.
- Assuming DWL is half the surplus. The triangle is one quarter of competitive surplus in the linear, constant-MC case (800 of 3200). With other shapes the share differs.
- Assuming no loss from a small markup. DWL scales with the square of the quantity gap, so small distortions cost little and large ones cost a lot. A 10 percent output cut costs far less than a 50 percent cut.
- Ignoring the cost side. If the monopolist has lower costs than competing firms would have, the benchmark changes. The comparison in this chapter assumes the same cost curve under both market structures.
Why the loss exists
The monopolist ignores a cost of expanding output: the price cut on all earlier units reduces its own revenue, which is why MR sits below demand. That part is a real private cost. The monopolist also ignores a benefit: buyers on the extra units get surplus above what the firm collects. A competitive firm cannot influence price, so it does not weigh this cost. The monopolist weighs the cost but not the full benefit, so it stops short of the efficient quantity.
Exercise
Inverse demand is P = 60 − 2Q and constant marginal cost is 10. Find the monopoly quantity and price, the competitive quantity, and the deadweight loss. Check your answer with the formula (a − c)² / (8b).
Show answer
Here a = 60, b = 2 and c = 10. Competitive quantity: Qc = (60 − 10) / 2 = 25. Monopoly quantity: MR = 60 − 4Q = 10 gives Qm = 12.5, and Pm = 60 − 2 × 12.5 = 35. The triangle has base Pm − c = 25 and height Qc − Qm = 12.5, so DWL = ½ × 25 × 12.5 = 156.25. The formula gives 50² / (8 × 2) = 2500 / 16 = 156.25, which matches.
Exercise
A student computes the loss of monopoly in the example P = 100 − Q, MC = 20 as the markup rectangle (60 − 20) × 40 = 1600. Explain what this number actually measures and give the correct deadweight loss.
Show answer
The 1600 is the monopolist's producer surplus, which is the transfer from consumers. It is not an efficiency loss, because the monopolist gains what consumers lose. The deadweight loss is only the triangle for the units not produced: ½ × (60 − 20) × (80 − 40) = 800.
Exercise
Suppose demand is unchanged at P = 100 − Q but marginal cost rises to MC = 20 + 0.5Q. Why is the DWL smaller than 800, and what is its value?
Show answer
Rising marginal cost raises the cost of the units between the two quantities and brings the monopoly quantity closer to the competitive one. The monopoly quantity is 32 and the competitive quantity is 160/3, about 53.33. The gap between demand and MC at Q = 32 is 68 − 36 = 32, and the width is about 21.33, so DWL = ½ × 32 × 21.33, about 341.33. This is smaller than 800 because both the gap and the range of missing units are smaller.