AP Macroeconomics • Basic Economic Concepts

Market Equilibrium, Disequilibrium, and Changes in Equilibrium

How supply and demand interact to determine prices, quantities, and the economy's response to shocks.

A rising economic chart with an institution and coins.
Inside this lesson 9 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The question of how prices are determined in markets is one of the oldest in economics. Before the development of formal supply-and-demand analysis, mercantilist thinkers believed governments should fix prices to ensure national prosperity, while physiocrats argued that natural economic laws governed trade. The breakthrough came when economists recognized that market equilibrium arises not from any single actor's intentions but from the decentralized interactions of buyers and sellers. Understanding how markets reach, deviate from, and adjust toward equilibrium is fundamental to macroeconomic analysis—it underpins everything from price-level determination to labor market dynamics.

1776 • Adam Smith's Invisible Hand

In The Wealth of Nations, Smith argued that self-interested behavior in competitive markets leads to socially beneficial outcomes, laying the groundwork for equilibrium thinking.

1890 • Marshall's Supply-and-Demand Framework

Alfred Marshall formalized the supply-and-demand cross diagram in Principles of Economics, introducing the concept of equilibrium price determined by the intersection of the two curves.

1936 • Keynes and Macroeconomic Disequilibrium

John Maynard Keynes challenged the assumption that markets always clear, arguing that aggregate economies can remain in disequilibrium—particularly in the labor market—for extended periods.

1954 • Arrow-Debreu General Equilibrium

Kenneth Arrow and Gérard Debreu proved mathematically that a competitive economy with many markets can reach a simultaneous general equilibrium, formalizing the conditions under which markets clear.

The central question this topic addresses is straightforward yet powerful: At what price and quantity will a market settle, what happens when it does not, and how does the equilibrium shift when underlying conditions change? Answering this question is essential for analyzing real-world macroeconomic phenomena, from inflation and unemployment to the effects of government policy on aggregate markets.

SECTION 2

Core Principles & Definitions

Market equilibrium analysis rests on a set of foundational concepts that connect individual behavior to market-wide outcomes. These principles apply whether we are analyzing a single product market or the macroeconomy as a whole. Mastering the definitions and relationships below is the first step toward graphical and mathematical analysis of equilibrium.

1

Market Equilibrium

The price-quantity combination at which quantity demanded equals quantity supplied (QD = QS). No tendency for the price to change exists at this point.
2

Surplus (Excess Supply)

Occurs when the market price is above equilibrium, so QS > QD. Unsold inventories accumulate, putting downward pressure on price.
3

Shortage (Excess Demand)

Occurs when the market price is below equilibrium, so QD > QS. Buyers compete for limited goods, pushing the price upward.
4

Shifts vs. Movements

A change in price causes movement along a curve. A change in a non-price determinant (income, input costs, expectations, etc.) shifts the entire curve.
5

Self-Correcting Mechanism

In competitive markets, surpluses and shortages create price signals that guide the market back toward equilibrium—a process economists call the invisible hand or market adjustment mechanism.

SECTION 3

Visual Explanation — The Supply-and-Demand Diagram

Quantity (Q)Price (P)DSE (Equilibrium)P*Q*P₁ (high)SurplusQ_DQ_SP₂ (low)ShortageQ_DQ_S
The downward-sloping demand curve (D) intersects the upward-sloping supply curve (S) at the equilibrium point E, determining P* and Q*. At a price above equilibrium (P₁, amber), a surplus exists. At a price below equilibrium (P₂, violet), a shortage exists.

The diagram above is the workhorse of microeconomic and macroeconomic analysis. At the equilibrium point E, every unit that consumers wish to buy at price P* is exactly matched by a unit that producers wish to sell. There is no unsold inventory (surplus) and no unmet demand (shortage), so there is no pressure for the price to move. When the price deviates from P*, market forces generate corrective pressure. At P₁, producers supply more than consumers demand, creating a surplus that leads sellers to cut prices. At P₂, consumers demand more than producers supply, creating a shortage that bids the price upward. In both cases, the market converges back to equilibrium—a process that the AP exam frequently tests.

SECTION 4

Mathematical Framework

While the AP Macroeconomics exam emphasizes graphical analysis, understanding the algebraic structure of supply and demand deepens your ability to solve equilibrium problems and predict directional changes. Linear supply and demand functions are the standard framework.

DEMAND FUNCTION

QD=a−bPQ_D = a − bP

where a = autonomous demand (quantity demanded when price is zero), b = responsiveness of quantity demanded to price (slope magnitude), and P = price.

SUPPLY FUNCTION

QS=c+dPQ_S = c + dP

where c = autonomous supply (can be negative if a minimum price is needed to induce production), and d = responsiveness of quantity supplied to price.

EQUILIBRIUM CONDITION

QD=QS→a−bP∗=c+dP∗→P∗=(a−c)/(b+d)Q_D = Q_S → a − bP* = c + dP* → P* = (a − c) / (b + d)

Set quantity demanded equal to quantity supplied and solve for the equilibrium price P*. Substitute P* back into either equation to find equilibrium quantity Q*.

SURPLUS / SHORTAGE

ExcessSupply=QS−QD(whenP>P∗);ExcessDemand=QD−QS(whenP<P∗)Excess Supply = Q_S − Q_D (when P > P*) ; Excess Demand = Q_D − Q_S (when P < P*)

At any disequilibrium price, calculate the horizontal distance between the supply and demand curves to determine the magnitude of the surplus or shortage.

SECTION 5

Determinants of Shifts & Changes in Equilibrium

The AP exam places heavy emphasis on distinguishing between movements along a curve and shifts of the entire curve. A change in a good's own price causes a movement along the demand or supply curve, while a change in any non-price determinant shifts the curve. The table below organizes the key demand shifters and supply shifters you need to know.

Demand ShiftersDirectionSupply ShiftersDirection
↑ Consumer income (normal good)D shifts right↓ Input / resource costsS shifts right
↑ Price of substitute goodD shifts right↑ Technology / productivityS shifts right
↓ Price of complement goodD shifts right↑ Number of sellersS shifts right
↑ Consumer expectations of future priceD shifts right↓ Government regulation / taxesS shifts right
↑ Number of buyers / populationD shifts rightFavorable weather (agriculture)S shifts right

Key non-price determinants and their effect on curve position (reverse each for the opposite shift)

Effects of a Demand Increase on EquilibriumQuantity (Q)Price (P)D₁D₂SE₁E₂P₁Q₁P₂Q₂Shift effect
When demand increases from D₁ to D₂ (rightward shift), the new equilibrium E₂ features both a higher price (P₂ > P₁) and a higher quantity (Q₂ > Q₁). The supply curve does not shift—producers simply move along S to a new quantity supplied at the higher price.

When only one curve shifts, the directional effects on price and quantity are unambiguous. An increase in demand raises both P* and Q*; a decrease in demand lowers both. An increase in supply lowers P* and raises Q*; a decrease in supply raises P* and lowers Q*. However, when both curves shift simultaneously, one of the two variables (price or quantity) becomes indeterminate—its direction depends on the relative magnitude of the shifts. This is a commonly tested concept on the AP exam: for instance, if both supply and demand increase, equilibrium quantity rises unambiguously, but the change in price is indeterminate without knowing which shift is larger.

ℹ
AP Exam Tip

SECTION 6

Worked Example

Worked example

  1. 1

    Step 1 — Identify the Given Functions

    Suppose demand is QD = 200 − 4P and supply is QS = −40 + 6P. We need to find the equilibrium price and quantity.
  2. 2

    Step 2 — Set QDQ_D = QSQ_S and Solve for P*

    200 − 4P = −40 + 6P → 240 = 10P → P* = 24. The equilibrium price is $24.
    P* = $24
  3. 3

    Step 3 — Substitute P* to Find Q*

    Q* = 200 − 4(24) = 200 − 96 = 104. Verify: QS = −40 + 6(24) = −40 + 144 = 104. ✓ Both equations yield Q* = 104.
    Q* = 104 units
  4. 4

    Step 4 — Disequilibrium Analysis at P = $30

    At P = $30: QD = 200 − 4(30) = 80, and QS = −40 + 6(30) = 140. Since QS > QD, there is a surplus of 140 − 80 = 60 units. The price will tend to fall.
    Surplus = 60 units; price falls toward $24
  5. 5

    Step 5 — Analyze a Demand Increase

    Suppose consumer income rises, shifting demand to QD₂ = 260 − 4P. New equilibrium: 260 − 4P = −40 + 6P → 300 = 10P → P = 30. Q = 260 − 4(30) = 140. Both equilibrium price and quantity increase, consistent with a rightward demand shift along an upward-sloping supply curve.
    New Equilibrium: P = $30, Q = 140 units

SECTION 7

Strengths and Limitations of the Equilibrium Model

StrengthsLimitations
Provides clear, testable predictions about the direction of price and quantity changes when curves shift.Assumes perfectly competitive markets; real-world markets often have market power, asymmetric information, or externalities.
Universal framework applicable across product, labor, financial, and foreign-exchange markets.Linear models oversimplify; actual demand and supply curves may be nonlinear with variable elasticities.
Self-correcting mechanism illustrates how markets allocate resources efficiently without central planning.The speed of adjustment is not specified—markets may take seconds (financial) or years (housing) to reach equilibrium.
Double-shift analysis teaches the importance of relative magnitudes and indeterminate outcomes.Does not account for government interventions (price ceilings, floors, taxes) unless explicitly modeled as modifications.

SECTION 8

Connection to Aggregate Supply and Demand

The equilibrium framework you have learned in individual markets extends directly to the macroeconomy through the Aggregate Demand–Aggregate Supply (AD-AS) model. In the AD-AS framework, the price axis becomes the aggregate price level and the quantity axis becomes real GDP. The same logic of equilibrium, surplus, shortage, and shifts applies, but at the economy-wide scale.

ConceptIndividual MarketAD-AS Macro Model
Price variablePrice of a single good (P)Aggregate price level (PL)
Quantity variableQuantity of a single good (Q)Real GDP (Y)
Demand curveDownward-sloping market demandDownward-sloping AD (wealth, interest-rate, exchange-rate effects)
Supply curveUpward-sloping market supplyUpward-sloping SRAS; vertical LRAS at full-employment output
DisequilibriumSurplus or shortage of a goodRecessionary gap (below full employment) or inflationary gap (above)
AdjustmentPrice rises or fallsSRAS shifts as input costs and expectations adjust in the long run

Individual market equilibrium concepts mapped to the macroeconomic AD-AS model

Understanding the individual-market equilibrium model thoroughly prepares you for more advanced macroeconomic topics, including fiscal and monetary policy analysis. When the government increases spending, it shifts AD rightward—exactly analogous to a rightward demand shift in an individual market. When oil prices spike, it shifts SRAS leftward—analogous to a leftward supply shift. The analytical tools are identical; only the scale changes.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

If the market price of a good is currently above the equilibrium price, which of the following will occur?
  • A. A shortage will develop, putting upward pressure on the price.
  • B. A surplus will develop, putting downward pressure on the price.
  • C. The demand curve will shift to the right to restore equilibrium.
  • D. The supply curve will shift to the left to restore equilibrium.
Show answer (B)
B is correct. When the price exceeds the equilibrium price, quantity supplied exceeds quantity demanded, creating a surplus. Sellers with unsold inventory lower their prices, putting downward pressure on the market price until equilibrium is restored. A is wrong because a shortage occurs when price is below equilibrium, not above. C is wrong because a surplus does not cause the demand curve itself to shift—it causes a movement along the existing curves as price adjusts. D is wrong for the same reason: equilibrium is restored by price adjustment (movement along curves), not by shifts of the curves themselves.

Question 2: BASIC CALCULATION

Given QD = 150 − 3P and QS = −30 + 5P, what is the equilibrium price?
  • A. $18.75
  • B. $22.50
  • C. $25.00
  • D. $30.00
Show answer (B)
B is correct. Set QD = QS: 150 − 3P = −30 + 5P → 180 = 8P → P* = $22.50. A ($18.75) is incorrect—this would result from an arithmetic error such as dividing 150 by 8. C ($25.00) is incorrect and would arise from incorrectly setting up the equation, perhaps solving 150 − 3P = 5P without adding 30. D ($30.00) is incorrect and likely results from mistakenly solving 150 − 3P = 30 + 5P or a similar miscalculation.

Question 3: INTERMEDIATE

In a market, both the number of consumers and the cost of a key production input increase simultaneously. Which of the following best describes the effect on equilibrium?
  • A. Price increases; quantity increases
  • B. Price increases; the change in quantity is indeterminate
  • C. Price is indeterminate; quantity increases
  • D. Price decreases; quantity is indeterminate
Show answer (B)
B is correct. More consumers shift demand rightward (D↑), which by itself raises both P and Q. Higher input costs shift supply leftward (S↓), which by itself raises P and lowers Q. Both shifts push price up, so the price increase is determinate. However, D↑ pushes Q up while S↓ pushes Q down, so the net change in quantity is indeterminate without knowing the relative magnitudes. A is wrong because Q increasing is not guaranteed. C is wrong because price is not indeterminate—both shifts raise it. D is wrong because price does not decrease under these combined shifts.

Question 4: APPLIED

The market for electric vehicles (EVs) is in equilibrium. The government announces a new subsidy for EV purchases, and simultaneously, a major lithium supplier experiences a mine collapse that significantly reduces lithium supply (lithium is a key input in EV batteries). (a) Draw a correctly labeled supply-and-demand diagram for the EV market, showing the initial equilibrium (E₁) and the new equilibrium (E₂). (b) Explain the effect on the equilibrium price of EVs. (c) Explain why the effect on equilibrium quantity is indeterminate. (d) Identify one condition under which the equilibrium quantity would definitely decrease.
Show answer
(a) The diagram should show an initial downward-sloping D₁ and upward-sloping S₁ intersecting at E₁. The subsidy shifts demand rightward to D₂. The lithium mine collapse shifts supply leftward to S₂. The new intersection E₂ is at a higher price. (b) Price unambiguously increases because D↑ pushes price up and S↓ also pushes price up—both forces work in the same direction. (c) Quantity is indeterminate because D↑ pushes quantity up while S↓ pushes quantity down. Without knowing which shift is larger, the net effect on Q cannot be determined. (d) If the supply shift exceeds the demand shift in magnitude—for example, the lithium disruption is severe while the subsidy is modest—the equilibrium quantity would definitely decrease, as the supply contraction would dominate.

Question 5: CRITICAL THINKING

Consider the aggregate economy modeled with Aggregate Demand (AD) and Short-Run Aggregate Supply (SRAS). (a) Suppose the economy is initially at long-run equilibrium. A global recession reduces foreign demand for domestically produced goods. On a correctly labeled AD-AS diagram, show the short-run effect on the price level and real GDP. (b) Identify the type of gap that results and explain how it relates to unemployment. (c) Explain the long-run self-correction mechanism that would return the economy to full employment without government intervention. Specifically identify what happens to input prices and the SRAS curve. (d) A critic argues that the self-correction mechanism is too slow and that the government should use expansionary fiscal policy instead. Explain how expansionary fiscal policy would close the gap and identify one potential drawback of this approach. (e) Compare the final long-run price level under self-correction versus under expansionary fiscal policy.
Show answer
(a) The diagram starts with AD₁, SRAS₁, and LRAS all intersecting at YfY_f and PL₁. The decline in foreign demand reduces net exports, shifting AD leftward to AD₂. Short-run equilibrium moves to a point with lower PL and lower Y. (b) Since Y < YfY_f, a recessionary gap exists. Actual unemployment exceeds the natural rate as firms lay off workers due to reduced demand—this additional unemployment is cyclical. (c) Self-correction: with high unemployment and excess capacity, workers accept lower wages and firms face lower input costs. This reduces production costs, shifting SRAS rightward over time. The economy moves along AD₂ to a new long-run equilibrium at YfY_f but at a price level lower than the original PL₁. (d) Expansionary fiscal policy—such as increased government spending—shifts AD rightward from AD₂, increasing real GDP and restoring YfY_f more quickly. A drawback is that this increases the budget deficit, potentially crowding out private investment via higher interest rates and adding to national debt. (e) Self-correction yields a lower long-run price level because the adjustment occurs via falling costs (rightward SRAS shift). Fiscal policy yields a price level closer to (or at) the original PL₁ because the adjustment occurs via restoring demand (rightward AD shift). The trade-off is price stability versus speed of recovery.

Varsity Tutors • AP Macroeconomics • Market Equilibrium, Disequilibrium, and Changes in Equilibrium