econ.studio
Supply and Demand
Section 5 of 9
Section 5

Shifts and Comparative Statics

Every news headline about prices is a supply and demand graph shifts question. A late frost in Brazil destroys coffee crops — the supply curve moves. A viral trend makes a product fashionable overnight — the demand curve moves. The skill these headlines test is comparative statics — comparing the equilibrium before and after a change — and it is the one skill every introductory economics exam comes back to.

The model here uses Qd=abPQ_d = a - bP for demand and Qs=c+dPQ_s = c + dP for supply. At the defaults — a=100a = 100, b=2b = 2, c=20c = -20, d=4d = 4 — the market clears at P=20P^* = 20 and Q=60Q^* = 60. When you shift a parameter, you are asking: where does the market clear now?

The four shifts and what they do

There are four canonical shifts. Two move the demand curve; two move the supply curve. Each shifts the equilibrium in a predictable direction.

ShiftWhat happens to PP^*What happens to QQ^*Everyday example
Demand shifts rightRisesRisesIncomes rise — normal good
Demand shifts leftFallsFallsA substitute gets cheaper
Supply shifts rightFallsRisesBetter production technology
Supply shifts leftRisesFallsInput costs spike

Notice the pattern: demand shifts move PP^* and QQ^* in the same direction, while supply shifts move them in opposite directions. That pairing is the fastest exam check — if you can remember one rule, remember that one.

Drag the curves yourself

A static diagram can show you one equilibrium. What it cannot do is let you move the curve and watch the equilibrium chase it in real time. Use the parameter controls below to do exactly that — the graph updates as you drag.

Supply and demand — live

No scalar found for key: equilibrium_price
No scalar found for key: equilibrium_quantity

Shift of the curve vs movement along the curve

Students sometimes confuse two things: the curve moving, and a point travelling along a curve that stays fixed. They are not the same event.

Shift of the curve

Caused by something outside the good's own price — a change in income, the price of a related good, input costs, technology, or consumer tastes. The entire line relocates: every price-quantity pair on it is different from before.

In the demand equation Qd=abPQ_d = a - bP, a change in aa shifts the curve. In the supply equation Qs=c+dPQ_s = c + dP, a change in cc shifts the curve. These are the levers that represent outside economic forces.

Movement along the curve

Caused by a change in the good's own price — which, in a supply-and-demand model, happens because the other curve shifted. The curve itself stays fixed; you are sliding along a line that has not moved.

When the supply curve shifts right and drives the price down, buyers respond by purchasing more — that response is a movement along the demand curve, not a new shift of it. Only one curve shifted; the other curve held still and answered via the price.