What to explore
Change parameters and watch the model adjust.
- Demand and supply intercepts and slopes
- Demand and supply shifts relative to a baseline market
Intermediate price theory
A linear supply-and-demand model with demand and supply shifts, baseline comparisons, and surplus calculations.
Competitive equilibrium, comparative statics, and surplus
Track how intercepts and shocks shift equilibrium price, quantity, and total surplus in a competitive market.Interactive diagram
A competitive market settles where the quantity buyers want equals the quantity sellers offer. The downward demand line shows how much buyers will purchase at each price; the upward supply line shows how much sellers will provide. They cross at the equilibrium — the price P* and quantity Q* at which the market clears.
The two shaded triangles measure the gains from trade. Consumer surplus is the area between the demand line and the price: buyers who would have paid more get a bargain. Producer surplus is the area between the price and the supply line: sellers who would have accepted less earn extra. Together they are the total surplus the market creates.
Reshape the curves with the intercept and slope sliders, then use the shift sliders to push demand or supply. When you apply a shift, the faint baseline curves and old equilibrium stay on screen so you can read off the comparative statics — how P* and Q* respond when the market moves.
What to explore
Core ideas
Learning goals
Prerequisites
Next models to study
Intermediate price theory
See how a per-unit tax alters prices on both sides of the market and divides the burden between buyers and sellers.
Intermediate price theory
Switch between ceilings and floors to see when the policy binds, how traded quantity changes, and where welfare losses come from.
Intermediate firm theory
Compare a monopolist's price and output to the competitive benchmark, and read off profit and deadweight loss as you reshape demand and cost.