Skip to content
Tutorials Center
My learning

Topics

Lesson 12 of 37 ยท Demand and Supply

Market Equilibrium

See how supply and demand meet at the equilibrium price, why shortages and surpluses push prices toward it, and how to solve for it with equations and code.

You now know that buyers want less as the price rises and sellers offer more. Put the two curves on one graph and a special point appears: the price at which what buyers want matches what sellers offer. That point is the market equilibrium, and this lesson shows why markets tend to move toward it.

Putting demand and supply together

Use the invented cinema ticket data from the earlier lessons.

Price (dollars) Quantity demanded Quantity supplied Result
4 1,000 200 Shortage of 800
6 800 400 Shortage of 400
8 600 600 Equilibrium
10 400 800 Surplus of 400
12 200 1,000 Surplus of 800

At a price of 8 dollars, buyers want to buy exactly the 600 tickets that sellers want to sell. This price is the equilibrium price and 600 is the equilibrium quantity. At equilibrium there is no pressure for the price to change. The word comes from Latin for "equal balance."

Shortages and surpluses

  • A shortage (excess demand) occurs when the quantity demanded is greater than the quantity supplied at the current price. Buyers compete for limited goods, which pushes the price up.
  • A surplus (excess supply) occurs when the quantity supplied is greater than the quantity demanded. Sellers are stuck with unsold goods and cut prices to attract buyers, which pushes the price down.

In each case price moves toward equilibrium. The market adjusts without anyone giving instructions.

flowchart TD
  A["Price above equilibrium"] --> B["Surplus: quantity supplied > quantity demanded"]
  B --> C["Sellers cut prices"]
  C --> E["Price moves toward equilibrium"]
  D["Price below equilibrium"] --> F["Shortage: quantity demanded > quantity supplied"]
  F --> G["Buyers bid prices up"]
  G --> E

Shortages push prices up and surpluses push them down, until the market clears.

Solving for equilibrium with equations

Our demand curve is Qd = 1400 - 100P and our supply curve is Qs = -200 + 100P. At equilibrium Qd = Qs:

1400 - 100P = -200 + 100P

Add 100P to both sides and add 200: 1600 = 200P, so P = 8. Put the price back into either equation: Qd = 1400 - 800 = 600, and Qs = -200 + 800 = 600. The equilibrium is price 8 dollars and quantity 600 tickets, as the table showed.

Python Find the equilibrium

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The graph

On the graph the equilibrium is where the downward-sloping demand curve crosses the upward-sloping supply curve.

Python Plot the equilibrium

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Why equilibrium is called efficient

At equilibrium the market clears: every buyer who is willing to pay the price can buy, and every seller willing to sell at that price can sell. Everyone who trades gains. In competitive markets, equilibrium also tends to make the best use of resources: the goods go to the buyers who value them most, and they are produced by the sellers with the lowest costs. Chapter 7 will return to when markets fail to be efficient.

Limits of the idea

  • Equilibrium is a tendency, not a promise. Prices may adjust slowly.
  • Markets can be in disequilibrium for a time, for example when a new product launches and there are shortages.
  • The model assumes many buyers and sellers who cannot control the price on their own.

When solving problems, set quantity demanded equal to quantity supplied, solve for price, then substitute the price into either equation to get the quantity. Always check that your answer gives the same quantity in both.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. At a price above equilibrium, there is

    A price above equilibrium leads to excess supply, so sellers cut prices.
  2. 2. With Qd = 1400 - 100P and Qs = -200 + 100P, what is the equilibrium price?

    Setting Qd = Qs gives 1600 = 200P, so P = 8.
  3. 3. At P = 6, Qd = 800 and Qs = 400. What happens?

    Quantity demanded exceeds quantity supplied by 400, so buyers bid up the price.
  4. 4. What does it mean for a market to clear?

    A market clears at the price where quantity demanded equals quantity supplied.

Summary

  • Equilibrium is the price and quantity where quantity demanded equals quantity supplied.
  • A shortage pushes the price up; a surplus pushes it down.
  • Solve by setting Qd = Qs, finding P, then Q.
  • The equilibrium is where the demand and supply curves intersect.

Next: Shifts in Demand and Supply