Sub topic 2
A per-unit tax drives a wedge between prices
This chapter assumes you know supply and demand curves, how to find a market equilibrium, and how to solve linear equations. A per-unit tax is a fixed amount the government collects on each unit sold.
The wedge
Before a tax, buyers and sellers agree on one price. A tax of $t per unit splits that price in two. Buyers pay a price $t$ higher than before, and sellers keep $t$ less than the buyer pays. The gap between the two prices is the wedge.
Use demand $P = 100 - Q$ and supply $P = 20 + Q$. With no tax, the equilibrium is $Q = 40$ and $P = 60$.
Who bears the tax: incidence and elasticity
Tax incidence describes who actually pays the tax. The side that cannot easily walk away from the market bears more of it. When demand is inelastic (buyers keep buying), buyers pay more. When supply is inelastic (sellers keep selling), sellers pay more. With the slopes above, the curves are equally steep, so the tax splits evenly: buyers pay $5 more and sellers receive $5 less.
The deadweight loss triangle
Fewer units trade after the tax. The surplus lost on those trades is the deadweight loss (DWL), shown as a triangle between the demand and supply curves. The formula is $\text{DWL} = \tfrac{1}{2} \times t \times (Q^ - Q_t)$, where $Q^$ is the original quantity and $Q_t$ is the quantity after the tax.
def equilibrium(a, b, c, d):
q = (a - c) / (b + d)
p = a - b * q
return q, p
def tax_effects(a, b, c, d, t):
q_star, _ = equilibrium(a, b, c, d)
q_t = (a - c - t) / (b + d)
p_buyer = a - b * q_t
p_seller = p_buyer - t
return {
"q_tax": q_t,
"p_buyer": p_buyer,
"p_seller": p_seller,
"revenue": t * q_t,
"dwl": 0.5 * t * (q_star - q_t),
}
for t in (10, 20):
print(t, tax_effects(a=100, b=1, c=20, d=1, t=t))Running this prints a $10 tax with 35 units traded, buyers paying 65, sellers receiving 55, revenue of 350, and a DWL of 25. A $20 tax gives 30 units, prices of 70 and 50, revenue of 600, and a DWL of 100.
Why elastic markets lose more
When buyers or sellers respond strongly to price, the quantity falls more for each tax dollar. A larger quantity drop enlarges the triangle. The loss is largest when both demand and supply are elastic.
Doubling the tax quadruples the loss
The triangle's height is the tax, and its base shrinks as the tax grows. Both effects scale with $t$, so the DWL scales with $t^2$. In the example, doubling the tax from $10 to $20 raised the loss from 25 to 100. Revenue rises with the tax too, but more slowly than the loss does at high rates.
> Note: the code above uses linear curves. Real markets rarely match this exactly, so treat the numbers as approximations.
Exercise
In the example, a $10 tax yields a DWL of 25. If the tax is $30, what is the DWL, and by what factor does it change from the $10 case?
Show answer
At $30, Q = (100 - 20 - 30) / 2 = 25, so DWL = 0.5 × 30 × (40 - 25) = 225. That is 9 times the $10 loss, which matches the square of the tax ratio (3²).