Supply-Demand Shock Simulator

equilibrium response to market shocks

Loading interactive simulation...

why slopes matter for shock impact 🖖

The shape of these two lines determines who absorbs a shock, and it is visible directly in the algebra. A pure demand shift moves the new equilibrium along the supply line; a pure supply shift moves it along the demand line. Differentiating P* = (a−c)/(b+d) shows a demand shock's quantity response divided by its price response, ΔQ/ΔP, works out to exactly d — the supply curve's own slope coefficient. A large d means quantity absorbs most of the shock while price barely moves, since supply flexes readily to meet new demand; a small d forces almost all the adjustment onto price instead. That is the algebraic reason inelastic markets like housing or oil see demand shocks slam mostly into price rather than quantity.

reading the crossing point 🖖

Equilibrium is simply where the supply and demand lines cross — the one price at which the quantity people want to buy equals the quantity producers offer. Shift a curve and that crossing slides to a new price and quantity. A rise in demand pushes both price and quantity up, while a rise in supply pushes quantity up but price down.

why raw data hides both curves 🖖

Plot real-world price and quantity points and you recover neither the supply nor the demand curve. Because both shift at once, the scatter traces a blend of the two. Elmer Working spelled this out in 1927 — untangling them needs an instrumental variable that moves only one curve, like weather that shifts supply alone.

Problem solved in full

  1. A tax of 6 per unit on Q = 120 − 2P 6 steps

    Demand is Q = 120 − 2P and supply is Q = 20 + P. Find the equilibrium, then put a tax of 6 per unit on the sellers and work out who actually pays it.

    1. Two straight lines, one falling and one rising. Equilibrium is where the quantities agree, not where the prices do — price is the variable being solved for.

    2. Set them equal and solve. Both curves must return the same quantity at that price, which is the check.

    3. Elasticity is the slope reweighted by where you are standing. The two slopes differ by a factor of two, and so do the elasticities, because both are evaluated at the same point.

    4. A tax on sellers means the price they keep is the price paid minus t, so the supply curve shifts up by exactly t. Re-solve — the constant is the only thing that moved.

    5. Split the 6. The buyer's share is the elasticity of supply over the sum of the two, which is why the inelastic side pays more: it is the side with fewer alternatives.

    6. The triangle between the curves over the lost quantity is the loss to nobody's benefit, and it grows with the square of the tax — doubling the rate quadruples the waste.

    Answer

    Buyers pay 2 of the 6 and sellers absorb 4, however the law is written. Legal incidence and economic incidence are different things: the tax is collected from sellers here, and two thirds of it still lands on them, because the split follows elasticity and demand at this equilibrium is twice as elastic as supply. Reverse the statute and charge the buyers instead — the equilibrium quantity, both net prices and the whole outcome are identical. The 12 of deadweight loss is the part nobody gets: four units of trade that were worth more to buyers than to sellers, and now do not happen.

References (1)

Example problems

  • demand boom - Demand rises by 20: price goes 33.33 to 40.00 and quantity 53.33 to 60.00, so ΔQ/ΔP = 1.0000 - exactly d, the supply slope, as the algebra above says.
  • supply crisis - Supply falls by 20 and the price lands on 40.00, the same as Demand boom. Quantity does not: it drops 13.33 where the demand shock raised it 6.67. ΔQ/ΔP = -2, which is -b.
  • dual shock - Both curves move at once and ΔQ/ΔP comes out -0.3333, which is neither d nor -b. That is the identification problem: the ratio you can observe identifies nothing.