AP Microeconomics • Supply and Demand

Market Disequilibrium and Changes in Equilibrium

Understanding how surpluses, shortages, and shifting curves drive markets toward—or away from—equilibrium.

A market curve with a wallet and percentage symbol.
Inside this lesson 10 sections 5 questions 10 figures

SECTION 1

Historical Context & Motivation

The notion that markets possess an internal logic—a tendency to gravitate toward a price at which buyers and sellers agree—has been a cornerstone of economic thought for over two centuries. Early classical economists observed that when prices drifted too high, unsold goods accumulated; when prices fell too low, buyers scrambled to purchase scarce products. These observations laid the foundation for what we now call market disequilibrium and the mechanisms through which markets self-correct toward equilibrium. Understanding these dynamics is essential not only for AP Microeconomics but for grasping why real-world prices fluctuate, why government interventions can create persistent surpluses or shortages, and how external shocks propagate through an economy.

1776 • Adam Smith's Invisible Hand

In The Wealth of Nations, Adam Smith described how self-interested buyers and sellers, guided by market prices, allocate resources efficiently without central coordination—an early articulation of equilibrium tendencies.

1890 • Marshall's Supply and Demand Framework

Alfred Marshall formalized the supply and demand model in his Principles of Economics, introducing the famous 'scissors' diagram and the concept of equilibrium price as the intersection of supply and demand curves.

1941 • Samuelson's Stability Analysis

Paul Samuelson rigorously analyzed whether markets actually converge to equilibrium after a disturbance, establishing the formal study of comparative statics—the method of comparing one equilibrium to another after a shift.

1970s • Price Controls and Disequilibrium in Practice

The U.S. oil crisis and rent control debates provided vivid real-world examples of government-induced disequilibrium, demonstrating how price ceilings create shortages and price floors create surpluses.

The central question this lesson addresses is twofold: first, what happens when a market is not in equilibrium—how do surpluses and shortages exert pressure on price? Second, what causes the equilibrium itself to shift—how do changes in the determinants of supply and demand create a new equilibrium price and quantity? Mastering these two ideas is the key to virtually every supply-and-demand question on the AP Microeconomics exam.

SECTION 2

Core Principles & Definitions

Before diving into diagrams and analysis, it is critical to internalize the foundational concepts that underpin the supply-and-demand model. Market equilibrium occurs at the price where quantity demanded equals quantity supplied, leaving no tendency for the price to change. When the market price deviates from this equilibrium, the market enters a state of disequilibrium—either a surplus or a shortage—which generates competitive pressures that push the price back toward equilibrium, assuming no external constraints prevent adjustment.

1

Surplus (Excess Supply)

When the market price is above equilibrium, quantity supplied exceeds quantity demanded. Sellers accumulate unsold inventory and compete by lowering prices, driving the market back toward equilibrium.
2

Shortage (Excess Demand)

When the market price is below equilibrium, quantity demanded exceeds quantity supplied. Buyers compete for scarce goods, bidding up the price until the shortage is eliminated.
3

Demand Shifters

Income, tastes and preferences, prices of related goods (substitutes and complements), number of buyers, and expectations can shift the entire demand curve left or right, altering equilibrium.
4

Supply Shifters

Input costs, technology, number of sellers, expectations, government policies (taxes, subsidies), and natural conditions can shift the entire supply curve left or right, altering equilibrium.
5

Comparative Statics

The analytical method of comparing the initial equilibrium to a new equilibrium after one or more curves shift. This is the primary technique tested on AP Microeconomics free-response questions.
✦

KEY TAKEAWAY

Think of market equilibrium like water seeking its level in connected containers. If you pour extra water (excess supply) into one side, gravity pushes it toward balance. If you drain water (excess demand) from one side, the difference in height draws water from the other. In markets, price plays the role of gravity—rising prices ration scarce goods, and falling prices clear excess inventory. But if something changes the shape of the containers themselves (a shift in supply or demand), the equilibrium level changes too.

SECTION 3

Visualizing Surplus and Shortage

The standard supply-and-demand diagram is the single most important tool in introductory microeconomics. The following diagram illustrates a market in which the price is set above equilibrium, producing a surplus, and a market in which the price is set below equilibrium, producing a shortage. Pay careful attention to the horizontal distance between the supply and demand curves at each off-equilibrium price—that distance measures the magnitude of the surplus or shortage.

QuantityPriceDSP*Q*EP₁Qd₁Qs₁SURPLUSP fallsP₂Qd₂Qs₂SHORTAGEP rises
At price P₁ (above equilibrium P*), quantity supplied exceeds quantity demanded, creating a surplus that pushes price downward. At price P₂ (below equilibrium), quantity demanded exceeds quantity supplied, creating a shortage that pushes price upward. Both forces converge on the equilibrium point E.

In the diagram, the blue downward-sloping line represents demand (D) and the red upward-sloping line represents supply (S). Their intersection at point E yields the equilibrium price P* and equilibrium quantity Q*. When the price is above P* (at P₁), producers want to sell more than consumers want to buy—the horizontal distance between the two curves at P₁ is the surplus. Competitive sellers undercut one another, pushing price downward. Conversely, when the price is below P* (at P₂), consumers want to buy more than producers supply—the horizontal distance at P₂ is the shortage. Buyers outbid each other, pushing price upward. This self-correcting mechanism operates continuously in free markets.

SECTION 4

Mathematical Framework

While supply-and-demand analysis on the AP exam is predominantly graphical, many questions—especially free-response—require you to solve for equilibrium algebraically or calculate the size of a surplus or shortage. The mathematical framework is straightforward: express demand and supply as functions of price (or, equivalently, express price as a function of quantity), set them equal, and solve.

DEMAND FUNCTION

Qd=a−bPQd = a − bP

Where Qd is quantity demanded, a is the demand intercept (maximum quantity at P = 0), b is the slope of demand (responsiveness to price), and P is the market price.

SUPPLY FUNCTION

Qs=c+dPQs = c + dP

Where Qs is quantity supplied, c is the supply intercept, and d is the slope of supply.

EQUILIBRIUM CONDITION

Qd=Qs→a−bP=c+dP→P∗=(a−c)/(b+d)Qd = Qs → a − bP = c + dP → P* = (a − c) / (b + d)

Setting quantity demanded equal to quantity supplied and solving for P* (equilibrium price). Substituting P* back into either equation yields Q* (equilibrium quantity).

SURPLUS OR SHORTAGE

Surplus=Qs−Qd(whenP>P∗)∣Shortage=Qd−Qs(whenP<P∗)Surplus = Qs − Qd (when P > P*) | Shortage = Qd − Qs (when P < P*)

At any off-equilibrium price, the magnitude of disequilibrium is the absolute difference between quantity supplied and quantity demanded. A positive value when Qs > Qd indicates a surplus; a positive value when Qd > Qs indicates a shortage.

A critical distinction for the AP exam: a change in quantity demanded is a movement along a fixed demand curve caused by a change in price, while a change in demand is a shift of the entire curve caused by a change in a determinant other than price (income, tastes, etc.). The same distinction applies to supply. Shifts in either curve change the parameters a, b, c, or d in the equations above, producing a new equilibrium price and quantity.

SECTION 5

Shifts in Supply and Demand — Comparative Statics

When a determinant of supply or demand changes, the entire curve shifts, moving the market from one equilibrium to another. The method of comparative statics compares the initial equilibrium (E₁) to the new equilibrium (E₂) and identifies the direction of change in both price and quantity. The following diagram shows four canonical single-shift scenarios, and the table below summarizes the outcomes when both curves shift simultaneously.

Four Single-Shift ScenariosA: Increase in DemandQPSD₁D₂E₁E₂P↑ Q↑B: Decrease in DemandQPSD₁D₂E₁E₂P↓ Q↓C: Increase in SupplyQPDS₁S₂E₁E₂P↓ Q↑D: Decrease in SupplyQPDS₁S₂E₁E₂P↑ Q↓
Four canonical single-shift scenarios. Panel A: an increase in demand shifts D right, raising both P and Q. Panel B: a decrease in demand shifts D left, lowering both. Panel C: an increase in supply shifts S right, lowering P and raising Q. Panel D: a decrease in supply shifts S left, raising P and lowering Q. Dashed lines represent the original curve; solid colored lines represent the shifted curve.

Double Shifts: When Both Curves Move

When both supply and demand shift simultaneously, one of the two outcomes—change in equilibrium price or change in equilibrium quantity—becomes indeterminate without knowing the relative magnitudes of the shifts. The table below summarizes all four double-shift combinations. On the AP exam, if you are told both curves shift but not by how much, you must identify which variable is indeterminate and explain why.

Demand ShiftSupply ShiftEquilibrium PriceEquilibrium Quantity
Increase (D→)Increase (S→)IndeterminateIncreases ↑
Increase (D→)Decrease (S←)Increases ↑Indeterminate
Decrease (D←)Increase (S→)Decreases ↓Indeterminate
Decrease (D←)Decrease (S←)IndeterminateDecreases ↓

Double-shift outcomes — one variable is always indeterminate unless relative magnitudes are specified

SECTION 6

Worked Example: Solving for Equilibrium and Measuring Disequilibrium

Suppose the market for organic coffee in a college town is described by the following linear demand and supply functions:

GIVEN FUNCTIONS

Qd=200−10PandQs=−40+20PQd = 200 − 10P and Qs = −40 + 20P

where Q is in pounds per week and P is in dollars per pound.

Finding Equilibrium, Surplus, and the Effect of a Demand Shift

  1. 1

    Step 1 — Solve for Equilibrium Price

    Set Qd = Qs: 200 − 10P = −40 + 20P. Combine like terms: 240 = 30P. Divide both sides by 30.
    P* = $8 per pound
  2. 2

    Step 2 — Solve for Equilibrium Quantity

    Substitute P* = 8 into either equation. Using demand: Qd = 200 − 10(8) = 200 − 80.
    Q* = 120 pounds per week
  3. 3

    Step 3 — Calculate the Surplus at P = $10

    If the price is $10 (above equilibrium), find Qd and Qs separately. Qd = 200 − 10(10) = 100. Qs = −40 + 20(10) = 160. Since Qs > Qd, a surplus exists.
    Surplus = 160 − 100 = 60 pounds per week
  4. 4

    Step 4 — Shift in Demand: New Equilibrium

    Suppose a health study increases demand, and the new demand function is Qd' = 260 − 10P (the intercept increases by 60, representing a rightward shift). Set Qd' = Qs: 260 − 10P = −40 + 20P → 300 = 30P → P = $10. Then Q = 260 − 10(10) = 160. As predicted by comparative statics, both equilibrium price and quantity increased.
    New equilibrium: P = $10, Q = 160 pounds per week (P↑, Q↑)

SECTION 7

Common Errors and AP Exam Pitfalls

The supply-and-demand framework is deceptively simple, and the AP exam frequently tests subtle distinctions that trip up even well-prepared students. The following table contrasts common mistakes with the correct reasoning.

Common MistakeCorrect Understanding
Saying "demand increased" when price rose along a fixed demand curve.A movement along the curve is a change in "quantity demanded," not a change in "demand." Demand shifts only when a non-price determinant changes.
Shifting both curves when only one determinant changes.A change in consumer income shifts demand, not supply. A change in input costs shifts supply, not demand. Always identify which curve the determinant affects.
Claiming both P and Q are indeterminate in a double shift.In any double shift, exactly one variable is determinate and one is indeterminate. Consult the double-shift table to identify which.
Drawing supply or demand curves with the wrong slope direction.Demand slopes downward (law of demand); supply slopes upward (law of supply). Always label curves and check slopes before analyzing shifts.
Confusing a surplus with a leftward shift in demand.A surplus exists at a specific price above equilibrium. It does not mean demand has shifted. The surplus is eliminated by price falling, not by the curve moving.

Key pitfalls on the AP Microeconomics exam

⚡

EXAM STRATEGY

On AP free-response questions, always start by drawing a clearly labeled supply-and-demand graph. Identify the initial equilibrium (E₁), then determine which curve shifts and in which direction. Mark the new equilibrium (E₂) and explicitly state what happens to both equilibrium price and quantity. The scoring rubric typically awards separate points for the correct graph, the correct direction of the shift, and the correct identification of changes in P and Q—so precision in labeling is worth points.

SECTION 8

Connection to Price Controls and Market Efficiency

The analysis of market disequilibrium naturally extends to government-imposed price controls, which deliberately prevent the market from reaching equilibrium. A price ceiling set below the equilibrium price creates a persistent shortage, while a price floor set above the equilibrium price creates a persistent surplus. Understanding these effects requires the exact same analytical tools developed in this lesson—you simply identify where the controlled price intersects the two curves and measure the resulting gap. These topics are directly tested in subsequent AP Microeconomics units and rely heavily on the disequilibrium concepts covered here.

ConceptThis Lesson (Free-Market Disequilibrium)Advanced Topic (Price Controls / Welfare)
Source of disequilibriumTemporary: market price has not yet adjusted to equilibriumPersistent: government policy prevents price from reaching equilibrium
Self-correctionYes—competitive forces push price toward P*No—legal restrictions block price adjustment, requiring rationing or government purchases
EfficiencyMoves toward allocative efficiency as price adjustsCreates deadweight loss; reduces total surplus below the efficient level
Tools of analysisSupply and demand curves, surplus/shortage measurementAll of the above, plus consumer surplus, producer surplus, and deadweight loss areas

From disequilibrium analysis to welfare economics

Beyond price controls, the comparative statics framework also underpins the analysis of taxes and subsidies (which shift the supply curve), international trade (which introduces world prices that may differ from domestic equilibrium), and externalities (where social supply or demand curves differ from private ones). Mastering the shift-and-compare method now builds a transferable skill that you will apply across the entire AP Microeconomics curriculum.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

If the current market price of a good is above the equilibrium price, which of the following will occur in a free market?
  • A. A shortage will exist, and the price will rise.
  • B. A surplus will exist, and the price will fall.
  • C. A surplus will exist, and the demand curve will shift left.
  • D. The quantity supplied will decrease as producers exit the market.
Show answer (B)
B is correct. When price exceeds equilibrium, quantity supplied exceeds quantity demanded, creating a surplus. Sellers with unsold inventory lower their prices, pushing the market price downward toward equilibrium. A is wrong because a price above equilibrium causes a surplus, not a shortage. C is wrong because a surplus does not shift the demand curve—it causes a movement along both curves as price falls. D is wrong because the immediate market response is a price decrease along the existing supply curve, not an exit of producers (which would be a long-run structural change, not a short-run market adjustment).

Question 2: BASIC CALCULATION

The demand for widgets is Qd = 100 − 2P and the supply is Qs = −20 + 4P. What is the equilibrium price?
  • A. $10
  • B. $15
  • C. $20
  • D. $25
Show answer (C)
C is correct. Set Qd = Qs: 100 − 2P = −20 + 4P → 120 = 6P → P = $20. Verify: Qd = 100 − 2(20) = 60 and Qs = −20 + 4(20) = 60, confirming equilibrium at Q = 60. A ($10) yields Qd = 80 and Qs = 20, a shortage. B ($15) yields Qd = 70 and Qs = 40, still a shortage. D ($25) yields Qd = 50 and Qs = 80, a surplus. Only $20 equates the two quantities.

Question 3: INTERMEDIATE

In the market for taxi rides, ride-sharing apps become widely available (a substitute for taxis), and simultaneously the cost of gasoline increases. What happens to the equilibrium price and quantity of taxi rides?
  • A. Price increases; quantity is indeterminate.
  • B. Quantity decreases; price is indeterminate.
  • C. Both price and quantity decrease.
  • D. Both price and quantity are indeterminate.
Show answer (B)
B is correct. The availability of ride-sharing substitutes decreases demand for taxi rides (D shifts left). The increase in gasoline costs decreases supply (S shifts left). When both demand and supply decrease, the quantity unambiguously falls (both shifts reduce Q). However, the effect on price is indeterminate: the demand decrease puts downward pressure on P, while the supply decrease puts upward pressure on P, and without knowing relative magnitudes, we cannot determine the net effect. A is wrong because it assigns the wrong variable as indeterminate. C is wrong because price is not definitively lower. D is wrong because in a double shift, exactly one variable is indeterminate—not both.

Question 4: APPLIED

4 pts
The market for avocados is initially in equilibrium. A new study reports that avocados significantly reduce cholesterol, and simultaneously, a severe drought destroys crops in major avocado-producing regions. (a) Identify the effect on the demand curve. (1 point) (b) Identify the effect on the supply curve. (1 point) (c) What is the effect on the equilibrium price of avocados? Explain. (1 point) (d) What is the effect on the equilibrium quantity of avocados? Explain. (1 point)
Show answer
Point-by-point rubric: (a) 1 point: The positive health study increases consumer demand for avocados. The demand curve shifts to the right (increases). (b) 1 point: The severe drought reduces the supply of avocados. The supply curve shifts to the left (decreases). (c) 1 point: The equilibrium price of avocados increases. Both the increase in demand (which puts upward pressure on price) and the decrease in supply (which also puts upward pressure on price) work in the same direction to raise the equilibrium price. (d) 1 point: The effect on equilibrium quantity is indeterminate. The increase in demand tends to increase quantity, while the decrease in supply tends to decrease quantity. Without information about the relative magnitudes of the two shifts, we cannot determine whether equilibrium quantity rises, falls, or stays the same.

Question 5: CRITICAL THINKING

5 pts
The market for electric scooters in a city is described by: Qd = 500 − 5P and Qs = −100 + 10P, where Q is in units per month and P is in dollars. (a) Calculate the equilibrium price and quantity. Show your work. (2 points) (b) The city government sets a price ceiling of $30 per scooter rental. Calculate the size of the resulting shortage. (1 point) (c) Draw a correctly labeled supply-and-demand graph showing the equilibrium, the price ceiling, and the shortage. (1 point) (d) Explain one real-world consequence of this shortage that is not captured by the simple supply-and-demand model. (1 point)
Show answer
Point-by-point rubric: (a) 2 points (1 for price, 1 for quantity): Set Qd = Qs: 500 − 5P = −100 + 10P → 600 = 15P → P* = $40. Substituting back: Q* = 500 − 5(40) = 300 units per month. (Award 1 point for correct P* = $40, 1 point for correct Q* = 300.) (b) 1 point: At P = $30: Qd = 500 − 5(30) = 350. Qs = −100 + 10(30) = 200. Shortage = Qd − Qs = 350 − 200 = 150 units per month. (c) 1 point: The graph must include: (i) a downward-sloping demand curve labeled D, (ii) an upward-sloping supply curve labeled S, (iii) axes labeled Price and Quantity, (iv) the equilibrium point identified at P* = $40 and Q* = 300, (v) a horizontal line at P = $30 labeled as the price ceiling, and (vi) the shortage of 150 units shown as the horizontal distance between Qs (200) and Qd (350) at the ceiling price. (d) 1 point: Accept any well-explained real-world consequence, such as: long wait times or queuing (consumers waste time instead of money), the emergence of a black market where scooters are rented above $30 illegally, seller discrimination where providers allocate scooters based on personal connections rather than willingness to pay, or a reduction in product quality since sellers have no competitive incentive to improve service when demand exceeds supply at the controlled price.

SUMMARY

Summary

Summary

Market equilibrium occurs where quantity demanded equals quantity supplied, yielding a stable price (P*) and quantity (Q*). When the market price deviates from P*, disequilibrium results: a price above P* creates a surplus (excess supply), which pushes price down, while a price below P* creates a shortage (excess demand), which pushes price up. In free markets, these competitive forces are self-correcting.

Changes in the determinants of demand (income, tastes, prices of related goods, number of buyers, expectations) shift the demand curve, while changes in the determinants of supply (input costs, technology, number of sellers, expectations, government policy) shift the supply curve. Comparative statics compares the old and new equilibria to determine the direction of change in P and Q. For double shifts, one outcome is always indeterminate unless relative magnitudes are specified. On the AP exam, always draw a labeled graph, identify which curve shifts, and state the effect on both equilibrium price and quantity.

Varsity Tutors • AP Microeconomics • Market Disequilibrium and Changes in Equilibrium