SimuVeda/ Operations

Operations · Simulator 080

Market Supply and Demand

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)

Experiments 0 of 0 Challenge not tried

How the model works

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.

Guided experiments

  1. Equilibrium. Demand P = 100 − Q, supply P = 20 + Q. Prediction: Q* = 40 and P* = 60. Consumer and producer surplus are both 800.
  2. A tax of 20 per unit. Prediction: trade falls to 30 units. Buyers pay 70, sellers keep 50, so each side bears 10. Tax revenue is 600 and the deadweight loss is 100.
  3. Who really pays? Same tax, but demand is steeper: P = 100 − 3Q. Prediction: equilibrium moves to Q = 20, P = 40. With the tax, buyers pay 55 (+15) and sellers keep 35 (−5): buyers bear three-quarters because their demand is less elastic.
  4. Price ceiling at 50. Prediction: buyers want 50 units but sellers offer only 30, a shortage of 20. Deadweight loss is 100, and consumer surplus rises to 1050 at sellers' expense (if the right buyers get the goods).

Challenge

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?

Reveal the explanation

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.

References

  • Mankiw, N. G., Principles of Economics, 9th ed. (2020), ch. 4, 6–8.
  • Marshall, A., Principles of Economics (1890), book V.
  • Walras, L., Éléments d'économie politique pure (1874) (price adjustment, tâtonnement).

Related simulators

Worked example

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.

Common questions

What is market equilibrium?

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.

What is deadweight loss?

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.

Who pays a tax on a product?

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.

Keyboard shortcuts

Space
Play or pause
S
Step
R
Reset
F
Full screen
?
Show this list