Sub topic 2
The efficient quantity: the sum of marginal benefits equals marginal cost
This chapter assumes you know supply and demand curves, marginal benefit (MB) and marginal cost (MC), and how to read a simple payoff table. A public good is non-excludable and non-rivalry: no one can be kept from using it, and one person's use does not reduce what others get.
Adding demand vertically
With a private good, the market demand curve adds quantities horizontally, because each unit goes to one buyer. A public good works differently. Everyone consumes the same unit, so you add each person's marginal benefit at a given quantity. The efficient quantity q satisfies the condition that the sum of MB equals MC.
# Two people with marginal benefit MB_i(q) = a_i - q, constant marginal cost c.
a = [10, 6]
c = 8
# Efficient quantity: sum of MBs equals MC, so (a1 + a2) - 2q = c.
efficient = (sum(a) - c) / len(a)
print(efficient) # 4.0The free-rider problem
A free rider gets the benefit of a good without paying for it. Because a public good cannot be withheld from anyone, a person who pays nothing still enjoys it. Each person therefore has a reason to let others pay.
The public goods game and its equilibrium
In a public goods game, each player picks how much of an endowment of 10 to contribute. Each unit contributed is multiplied by 1.6 and split equally among the four players.
def payoff(contribs, i, endowment=10, multiplier=1.6):
n = len(contribs)
return endowment - contribs[i] + multiplier * sum(contribs) / n
print(payoff([10, 10, 10, 10], 0)) # 16.0
print(payoff([0, 10, 10, 10], 0)) # 22.0
print(payoff([0, 0, 0, 0], 0)) # 10.0Each player gains 0.4 for every unit contributed, which is less than the 1 they keep by withholding. Withholding is therefore the dominant strategy, and the equilibrium is that nobody contributes.
flowchart TD
A[Each player chooses a contribution] --> B[Withholding gains more than contributing]
B --> C[Everyone withholds]
C --> D[Payoff 10 each, below the 16 from full cooperation]Why voluntary provision falls short
In the example above, the efficient quantity is 4 units, but a person acting alone provides only up to the point where their own MB equals MC. Using the code from earlier, the person with the higher valuation provides 2 units, and the other person adds nothing.
a = [10, 6]
c = 8
voluntary = max(max(ai - c for ai in a), 0)
print(voluntary) # 2The gap between 2 and 4 is underprovision. Each provider counts only their own benefit, and the rest of the benefit goes to others for free.
> Quick check: at the efficient quantity, the sum of MBs equals MC, so society gains more from one more unit than it costs.
Exercise
Exercise
With a = [10, 6] and c = 8, the efficient quantity is 4. If c rises to 10, what is the efficient quantity, and how many units does voluntary provision yield?
Show answer
Efficient: (16 - 10) / 2 = 3. Voluntary: max(10 - 10, 6 - 10, 0) = 0, so no one provides the good.