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
1890 • Marshall's Supply and Demand Framework
1941 • Samuelson's Stability Analysis
1970s • Price Controls and Disequilibrium in Practice
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.
Surplus (Excess Supply)
Shortage (Excess Demand)
Demand Shifters
Supply Shifters
Comparative Statics
KEY TAKEAWAY
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.
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
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
Where Qs is quantity supplied, c is the supply intercept, and d is the slope of supply.
EQUILIBRIUM CONDITION
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
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.
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 Shift | Supply Shift | Equilibrium Price | Equilibrium Quantity |
|---|---|---|---|
| Increase (D→) | Increase (S→) | Indeterminate | Increases ↑ |
| Increase (D→) | Decrease (S←) | Increases ↑ | Indeterminate |
| Decrease (D←) | Increase (S→) | Decreases ↓ | Indeterminate |
| Decrease (D←) | Decrease (S←) | Indeterminate | Decreases ↓ |
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
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 Price
Set 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 Quantity
Substitute 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 = $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
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 Mistake | Correct 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
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.
| Concept | This Lesson (Free-Market Disequilibrium) | Advanced Topic (Price Controls / Welfare) |
|---|---|---|
| Source of disequilibrium | Temporary: market price has not yet adjusted to equilibrium | Persistent: government policy prevents price from reaching equilibrium |
| Self-correction | Yes—competitive forces push price toward P* | No—legal restrictions block price adjustment, requiring rationing or government purchases |
| Efficiency | Moves toward allocative efficiency as price adjusts | Creates deadweight loss; reduces total surplus below the efficient level |
| Tools of analysis | Supply and demand curves, surplus/shortage measurement | All 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
- 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)
Question 2: BASIC CALCULATION
- A. $10
- B. $15
- C. $20
- D. $25
Show answer (C)
Question 3: INTERMEDIATE
- 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)
Question 4: APPLIED
4 ptsShow answer
Question 5: CRITICAL THINKING
5 ptsShow answer
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.