Sub topic 3
Why markets overproduce goods with external costs
This chapter explains the mechanism behind overproduction. It uses a worked linear example and then covers the edge cases and common errors. It assumes you know supply and demand equilibrium, marginal cost and marginal benefit, consumer and producer surplus, and basic linear algebra. It also assumes you have met the terms external cost and social cost. The next chapters build the measurement and policy tools on this result.
The core claim
A competitive market picks the quantity where marginal private benefit (MPB) equals marginal private cost (MPC). Those are the benefit to the buyer and the cost to the seller. When producing or consuming the good also harms third parties, the cost to society is larger than the cost the seller pays:
- MSC = MPC + MEC, where MEC is the marginal external cost.
- Efficiency requires MSB = MSC. Here MSB is marginal social benefit, which equals MPB when there is no external benefit.
The market ignores MEC, so it keeps producing units whose social cost exceeds their benefit. The result is overproduction relative to the efficient quantity.
Why the market ignores the external cost
Prices carry information, and they only carry the costs and benefits of the people who trade. A seller decides whether to produce one more unit by comparing the price with their own marginal cost. A buyer compares the price with their own marginal benefit. Neither side faces the cost that lands on a neighbor, a downstream fishery, or the atmosphere.
The failure is not that anyone is irrational. Each trade is voluntary and beneficial to both parties. The failure is that the price signal is missing one cost, so the individually sensible decision is socially wrong.
A worked example
Use the linear model from the topic plan.
- Inverse demand: P = 100 − Q, so MPB = 100 − Q.
- Supply (private marginal cost): P = 20 + Q, so MPC = 20 + Q.
- Constant marginal external cost: MEC = 10 per unit.
Step 1: the market quantity
Set MPB = MPC:
100 − Q = 20 + Q, so Q = 40 and the price is 60.
Step 2: the social cost curve
Add the external cost to the private cost:
MSC = 20 + Q + 10 = 30 + Q.
Because the external cost is constant, MSC is MPC shifted up by 10. The supply curve is the private cost curve, and the social cost curve lies above it.
Step 3: the efficient quantity
Set MSB = MSC. With no external benefit, MSB = MPB:
100 − Q = 30 + Q, so Q = 35.
The market produces 40 units and the efficient quantity is 35. The market overproduces by 5 units.
Step 4: check the last units
At Q = 40, the buyer's marginal benefit is 60 and the seller's marginal cost is 60, so the trade looks fine to both. Society's marginal cost is 70. The 40th unit destroys 10 of value.
The table shows the margin at several quantities.
| Quantity | MPB (demand) | MPC (supply) | MSC | MPB − MSC |
|---|---|---|---|---|
| 30 | 70 | 50 | 60 | +10 |
| 35 | 65 | 55 | 65 | 0 |
| 40 | 60 | 60 | 70 | −10 |
| 45 | 55 | 65 | 75 | −20 |
Up to 35 units, each extra unit adds more benefit than total social cost. Beyond 35, each extra unit subtracts value. The market does not stop at 35, because at 36 through 40 buyers still value the good above the seller's private cost.
Verifying the loss unit by unit
Net social value of an extra unit is MPB − MSC. Summing it over units 36 to 40 gives the surplus the market destroys by overproducing. The code evaluates each unit at its midpoint to approximate the continuous curves.
a, b = 100, 1 # MPB = a - b*Q
c, d = 20, 1 # MPC = c + d*Q
e = 10 # constant marginal external cost
total = 0.0
for unit in range(36, 41):
q = unit - 0.5 # midpoint of the unit
mpb = a - b * q
mpc = c + d * q
msc = mpc + e
net = mpb - msc
total += net
print(unit, mpb, mpc, msc, net)
print("net social value of units 36-40:", total)
# 36 64.5 55.5 65.5 -1.0
# 37 63.5 56.5 66.5 -3.0
# 38 62.5 57.5 67.5 -5.0
# 39 61.5 58.5 68.5 -7.0
# 40 60.5 59.5 69.5 -9.0
# net social value of units 36-40: -25.0Each unit loses 2 more than the one before. This is the triangle shape that the deadweight loss chapter measures: base 5 units, height 10, area 0.5 × 5 × 10 = 25. The code confirms the same figure by summation.
What drives the size of the overproduction
The gap between the market and efficient quantities depends on two things. The general formula for linear curves is:
Qmarket − Qefficient = e / (b + d)
In the example, 10 / 2 = 5.
- The size of the external cost. A larger MEC widens the gap in proportion. Doubling e to 20 doubles the overproduction to 10 units.
- The slopes of demand and supply. Steep curves, meaning b + d is large, are unresponsive to a cost shift, so quantity moves little. Flat curves mean a given external cost causes a large quantity distortion.
The loss itself grows with the square of e, because both the height and the base of the triangle grow with e. A small external cost on a market with steep curves causes a trivial loss, and a large one on flat curves can be huge.
Edge cases
The external cost may not be constant
The example uses a constant MEC, so MSC runs parallel to MPC. In many real cases MEC rises with output. Pollution damage often grows faster than emissions, for example when a river's capacity to dilute waste is exhausted. Then MSC fans away from MPC, and the efficient quantity must be found where MSB meets the rising MSC. The logic is unchanged, but the algebra needs the full MEC function. The efficient tax later in the tutorial is then the MEC evaluated at the efficient quantity, not at the market quantity.
Some overproduction can be efficient
The efficient quantity is not zero. In the example, 35 units remain worth producing even though each causes 10 of external harm. Eliminating all pollution is not the goal. The goal is to stop units where harm exceeds net private benefit.
The external cost can fall on the consumption side
A negative externality can arise in production (a factory's smoke) or consumption (secondhand smoke, noise from a car). In the consumption case, the cost shifts the marginal social benefit curve down: MSB = MPB − MEC. The efficient quantity is the same, and the market still overconsumes. Only the drawing differs, and it is easy to shift the wrong curve.
Zero price and open access
If the harmed resource has no owner, such as open fisheries or air, every user ignores the cost they impose on others. This is the same mechanism. The external cost is simply the whole depletion cost.
Common errors
- Treating the external cost as part of the market outcome. The market equilibrium is where MPB = MPC. MSC is not what sellers or buyers face unless a policy makes them face it.
- Finding the efficient quantity from the wrong curve. Intersect MSC with demand, not with MPC. Shifting supply up by e and finding the new intersection is correct. Intersecting demand with MPC gives the market quantity again.
- Reading the gap as the whole external cost. The overproduction is 5 units, not 10. The vertical gap between MSC and MPC is e, but the quantity gap is e / (b + d) because quantity adjusts along both curves.
- Computing the loss on all 40 units. Only units 36 to 40 destroy value. The first 35 create net social value, even after accounting for external costs.
- Assuming the market price is the right price. The price of 60 undercharges buyers. The price consistent with the efficient quantity is 65, as the table shows at Q = 35.
Summary of the mechanism
- Buyers and sellers trade where MPB = MPC.
- A third party bears MEC per unit, which no price reflects.
- MSC = MPC + MEC lies above the supply curve.
- At the market quantity, MSC exceeds MPB, so the last units cost more than they are worth.
- The efficient quantity is where MSB = MSC. It is lower than the market quantity.
Correcting the outcome means making the decision-makers face the missing cost. The Pigouvian tax chapter does exactly that.
Exercise
Keep the same demand (MPB = 100 − Q) and supply (MPC = 20 + Q), but raise the constant marginal external cost to 20. Find the market quantity, the efficient quantity, the overproduction, and the deadweight loss.
Show answer
The market quantity does not depend on the external cost: 100 − Q = 20 + Q gives Q = 40. MSC = 40 + Q, so the efficient quantity solves 100 − Q = 40 + Q, giving Q = 30. Overproduction is 40 − 30 = 10 units, which matches e / (b + d) = 20 / 2. The deadweight loss is 0.5 × 20 × 10 = 100. Doubling e quadrupled the loss from 25 to 100.
Exercise
A student shifts the demand curve down by 10 and finds the intersection with the original supply curve, then calls that quantity the efficient quantity. Is the answer right for the example in this chapter? Explain why.
Show answer
Yes, in this case. If external harm falls on consumption, MSB = MPB − MEC is the demand curve shifted down by 10, and its intersection with MPC (100 − Q − 10 = 20 + Q) gives Q = 35. A downward shift of demand by e and an upward shift of supply by e give the same quantity here because the external cost is constant. The method is only correct if the curve shifted matches where the external cost actually arises, and with a non-constant MEC the two approaches can differ in what they describe, so the shift must be justified by where the harm falls.