Operations · Simulator 080
A market has a demand curve (how much buyers want at each price) and a supply curve (how much sellers offer). Shift and tilt the curves, then add a tax, a price cap, a price floor or a quota. See where the market settles, who gains, who loses, and how much value simply disappears.
Class 11–12CollegeClass 12 Economics: Introductory Microeconomics (demand, supply, market equilibrium)
The model uses straight lines. Demand: P = a − bQ. Supply: P = c + dQ. They cross at the equilibrium
Q* = (a − c) / (b + d) P* = a − bQ*
Consumer surplus (CS) is the area between the demand curve and the price buyers pay: what buyers would have paid minus what they did pay. Producer surplus (PS) is the area between the price sellers receive and the supply curve. At equilibrium with no intervention their total is as large as possible.
A per-unit tax t drives a wedge between the buyers' price and the sellers' price. Buyers bear the share b / (b + d) of the tax, so the side with the steeper (less elastic) curve pays more. A price ceiling below P* causes a shortage, a price floor above P* a surplus, and a quota below Q* raises the price. Each cuts the quantity traded, and the lost trades form the deadweight loss (DWL) triangle.
Press Play to watch the price adjust: it rises when buyers want more than sellers offer and falls when there is excess supply.
An illustrative model with straight-line curves and no income effects. Under a ceiling, the scarce units are assumed to go to the buyers who value them most; in practice queues and black markets make the loss larger.
With demand P = 100 − Q and supply P = 20 + Q, a quota limits trade to 30 units. What price do buyers pay, what is the deadweight loss, and who gets the extra money compared with a tax of 20?
At Q = 30 buyers are willing to pay 100 − 30 = 70, and sellers would supply that amount for 50. Buyers pay 70; the deadweight loss is ½ × 10 × 20 = 100, the same as the tax. The 20-per-unit gap (600 in total) goes to whoever holds the quota licences instead of the government.
Start: demand P = 100 − Q and supply P = 20 + Q, so Q* = 40 and P* = 60.
Elasticity at equilibrium: along this demand line ΔQ / ΔP = −1, so elasticity = −1 × 60 / 40 = −1.5. A 1% price rise cuts the quantity bought by 1.5%.
Demand rises to P = 120 − Q: 120 − Q = 20 + Q gives Q = 50 and P = 70. Consumer surplus becomes ½ × 50 × (120 − 70) = 1 250.
Price floor of 70 on the original curves: buyers want 30 units, sellers offer 50, a surplus of 20 unsold. Only 30 are traded, so the deadweight loss is ½ × (40 − 30) × (70 − 50) = 100.
Set the demand intercept to 120, then go back to 100 and choose a price floor of 70.
The price where the quantity buyers want equals the quantity sellers offer. Above it there is a surplus that pushes the price down; below it a shortage that pushes it up.
The value of trades that would have benefited both buyer and seller but no longer happen because of a tax, price control or quota. It is lost to everyone.
Whichever side is less able to change its behaviour. If buyers have few alternatives (inelastic demand), most of the tax shows up in the price they pay.