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.

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.

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.

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.

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.

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 − 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 + 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)
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 (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.

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 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.

Double-shift outcomes — one variable is always indeterminate unless relative magnitudes are specified
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 ↓

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 − 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
Step 1 — Solve for Equilibrium PriceSet Qd = Qs: 200 − 10P = −40 + 20P. Combine like terms: 240 = 30P. Divide both sides by 30.
P* = $8 per pound
2
Step 2 — Solve for Equilibrium QuantitySubstitute P* = 8 into either equation. Using demand: Qd = 200 − 10(8) = 200 − 80.
Q* = 120 pounds per week
3
Step 3 — Calculate the Surplus at P = $10If 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
Step 4 — Shift in Demand: New EquilibriumSuppose 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↑)

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.

Key pitfalls on the AP Microeconomics exam
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.
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.

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.

From disequilibrium analysis to welfare economics
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

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.

Practice Problems

1
If the current market price of a good is above the equilibrium price, which of the following will occur in a free market?
2
The demand for widgets is Qd = 100 − 2P and the supply is Qs = −20 + 4P. What is the equilibrium price?
3
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?
PROBLEM 4APPLIED
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)
PROBLEM 5CRITICAL THINKING
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)

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