Macroeconomics · Equilibrium Algebra

Macroeconomics · Supplementary lesson

Equilibrium Algebra

Find market equilibrium with equations alone, and measure the gap at any other price. Write both curves as P = b + mQ, then set the two prices equal.

12 min read5 sections

Start with the picture

1Equilibrium appears at the intersection

Demand from $10 and supply from $3 crossing at E: P = $5, Q = 100
Demand meets the price axis at $10 (the highest price any buyer will pay). Supply meets it at $3 (below that, no seller supplies a unit).

Those two intercepts become the b terms of the equations below.

Price Relationship Result
Below $5 Qd > Qs Excess demand (a shortage): price pushed up
Exactly $5 Qd = Qs = 100 Equilibrium: no pressure on price
Above $5 Qs > Qd Excess supply (a surplus): price pushed down

The algebra

2A demand curve is just y = mx + b

Economists put price on the vertical axis, so price plays y and quantity plays x.

In algebra class In this course Demand curve above
y P, the price P
x Q, the quantity Q
b Price where the line meets the vertical axis 10
m Change in price per additional unit −0.05
y = mx + b P = b + mQ P = 10 − 0.05Q
Demand line with intercept b = 10 and slope m = −0.05 marked
Intercept b and slope m on the demand line.

A negative m tilts the line down (demand); a positive m tilts it up (supply). The sign of m tells you which curve you have.

3A six-step method

  1. Write both curves in price form: P = b + mQ.
  2. Set the two price expressions equal.
  3. Collect the Q terms on one side and the constants on the other.
  4. Solve for the equilibrium quantity.
  5. Substitute that quantity into either equation to find the price.
  6. Verify in the other equation, and check the answer makes economic sense.

Solving for Q instead of P

A line can be solved for either variable. Solving P = 10 − 0.05Q for Q gives Qd = 200 − 20P, still a line in y = mx + b form, with quantity now playing y.

Curve Price form Quantity form
General form P = b + mQ Q = b + mP
Demand P = 10 − 0.05Q Qd = 200 − 20P
Supply P = 3 + 0.02Q Qs = −150 + 50P

Away from equilibrium

4Measure the gap at any other price

Don’t set anything equal. Substitute the price into each quantity equation and subtract.

Excess demand of 70 units at $4 and excess supply of 70 units at $6
The gap is a horizontal distance between the curves at the given price.
Price Qd Qs Gap and pressure
$4 120 50 Excess demand of 70: price rises
$5 100 100 No gap: equilibrium
$6 80 150 Excess supply of 70: price falls

5Why the gap closes

Start at $4: buyers want 120 units, sellers offer 50. Unserved buyers bid price up. As price rises, quantity demanded falls (20 units per dollar) and quantity supplied rises (50 units per dollar), so the gap closes from both ends, 70 units per dollar. A 70-unit gap at $4 needs exactly one dollar of adjustment, so equilibrium is $5. Above $5 the logic runs in reverse.

Starting point What happens Effect on gap
Excess demand at $4 Unserved buyers bid the price up Qd falls, Qs rises, gap shrinks
Excess supply at $6 Unsold sellers cut the price Qd rises, Qs falls, gap shrinks
Equilibrium at $5 Neither side has a reason to move Gap is zero

Practice

Final self-check

Question A complete solution shows
Are both curves in the same form? Two price equations or two quantity equations, never one of each
Did I set the two prices equal? Demand expression = supply expression
Did I solve for quantity first? One equilibrium quantity, in units
Did I substitute for price? One equilibrium price, in dollars
Did I verify in both equations? Demand and supply give the same price
Is the answer economically possible? Price and quantity both positive
Was a price given instead? Quantity form: evaluate Qd and Qs separately, then subtract