SECTION 1
Historical Context & Motivation
For most of human history, people could not explain why prices rose or fell. Ancient Greek philosophers like Aristotle discussed the idea of a "just price," but they had no framework to explain how buyers and sellers together determined what something was worth. It was not until economists began studying patterns in markets that two powerful ideas emerged: the law of demand and the law of supply. These two laws became the foundation of modern economics and remain essential tools for understanding how markets work today.
1776 • Adam Smith's The Wealth of Nations
1817 • David Ricardo Refines Value Theory
1890 • Alfred Marshall's Supply-and-Demand Graph
1936 • Keynes Extends Market Theory
The central question these thinkers tried to answer was simple yet profound: What determines the price and quantity of goods exchanged in a market? The laws of demand and supply provide the answer by describing the predictable behavior of buyers and sellers when prices change.
SECTION 2
Core Principles & Definitions
Before diving into the laws themselves, you need to understand a few building blocks. A market is any arrangement that brings buyers and sellers together to exchange a good or service. Price is the amount of money a buyer pays per unit, while quantity refers to the number of units bought or sold. The law of demand and the law of supply each describe a relationship between price and quantity, but from opposite sides of the market.
Law of Demand
Law of Supply
Ceteris Paribus
Inverse vs. Direct Relationship
KEY TAKEAWAY
SECTION 3
Visual Explanation — The Demand Curve
The most powerful way to see the law of demand in action is through a demand curve. This graph places price on the vertical axis and quantity demanded on the horizontal axis. Because of the inverse relationship, the demand curve slopes downward from left to right.
Why does the curve slope downward? There are two key reasons. First, the substitution effect: when a good's price rises, consumers switch to cheaper alternatives. Second, the income effect: a higher price effectively reduces your purchasing power, so you buy less. Together, these effects guarantee that the demand curve almost always slopes downward.
SECTION 4
Mathematical Framework
While the laws of demand and supply are primarily conceptual, economists often express them as simple equations so they can calculate specific quantities. A demand function shows quantity demanded as a function of price, and a supply function does the same for quantity supplied.
LINEAR DEMAND FUNCTION
Qd = quantity demanded; P = price; a = maximum quantity demanded when price is zero; b = the rate at which quantity demanded falls as price rises (always positive, so the minus sign creates the inverse relationship).
LINEAR SUPPLY FUNCTION
Qs = quantity supplied; P = price; c = base level of supply (can be zero or negative in some models); d = the rate at which quantity supplied rises as price rises. The plus sign shows the direct relationship.
EQUILIBRIUM CONDITION
Equilibrium occurs where the quantity that buyers want to purchase exactly equals the quantity that sellers want to offer. Solving for P gives the equilibrium price.
Why the Minus Sign Matters
SECTION 5
The Supply Curve & Determinants
Just as we graphed demand, we can graph supply. The supply curve slopes upward from left to right because sellers are willing to produce and sell more units when the price is higher. Higher prices cover higher production costs and make it profitable to expand output. The diagram below shows both curves on the same set of axes, which is how economists identify the equilibrium point where supply and demand intersect.
| Factor | Affects Demand? | Affects Supply? |
|---|---|---|
| Consumer income | Yes — shifts the demand curve | No direct effect |
| Price of inputs (raw materials) | No direct effect | Yes — shifts the supply curve |
| Consumer tastes/preferences | Yes — shifts the demand curve | No direct effect |
| Technology improvements | No direct effect | Yes — shifts the supply curve right |
| Number of buyers or sellers | Yes — more buyers shift demand right | Yes — more sellers shift supply right |
Key determinants that shift the demand or supply curve (as opposed to movement along the curve)
SECTION 6
Worked Example — Reading a Demand & Supply Schedule
Suppose a local bakery sells cupcakes. The demand and supply functions for cupcakes are:
CUPCAKE DEMAND
Qd = cupcakes demanded per day, P = price per cupcake in dollars
CUPCAKE SUPPLY
Qs = cupcakes supplied per day, P = price per cupcake in dollars
Find the Equilibrium Price and Quantity
- 1
Step 1 — Set Demand Equal to Supply
At equilibrium, Qd = Qs. So: 50 − 10P = −10 + 20P. - 2
Step 2 — Solve for Price (P)
Add 10P to both sides: 50 = −10 + 30P. Then add 10 to both sides: 60 = 30P. Finally, divide both sides by 30: P = 2.Equilibrium price = $2.00 per cupcake - 3
Step 3 — Solve for Quantity (Q)
Substitute P = 2 into either equation. Using demand: Qd = 50 − 10(2) = 50 − 20 = 30. Check with supply: Qs = −10 + 20(2) = −10 + 40 = 30. ✓ Both match.Equilibrium quantity = 30 cupcakes per day - 4
Step 4 — Interpret the Result
At $2.00, consumers want to buy exactly 30 cupcakes and the bakery wants to sell exactly 30 cupcakes. There is no surplus (unsold cupcakes) and no shortage (unmet demand). The market clears.
SECTION 7
Strengths & Limitations of the Model
The supply-and-demand model is one of the most widely used tools in economics, but like any model, it simplifies reality. Understanding where it excels and where it falls short will help you think critically about the conclusions you draw from it.
| Strengths | Limitations |
|---|---|
| Clearly illustrates how price coordinates buyers and sellers in a market | Assumes rational, well-informed consumers and producers — people don't always behave rationally |
| Predicts the direction of price changes when demand or supply shifts | Assumes ceteris paribus — in reality, many factors change simultaneously |
| Applies to almost any market: goods, services, labor, currencies | Does not account for externalities (costs or benefits to third parties), such as pollution |
| Provides a foundation for more advanced economic analysis | Works best in competitive markets; less accurate for monopolies or oligopolies |
Strengths and limitations of the basic supply-and-demand model
KEY TAKEAWAY
SECTION 8
Connection to Advanced Theory
The basic laws of demand and supply are a gateway to much deeper economic analysis. As you move into more advanced courses, you will encounter ideas that extend and refine what you have learned here. The table below previews some of these connections.
| Concept in This Lesson | Advanced Extension |
|---|---|
| Movement along the demand curve | Price Elasticity of Demand — measures how sensitive quantity demanded is to price changes (percentage change approach) |
| Equilibrium price and quantity | Consumer & Producer Surplus — measures the benefits buyers and sellers gain from trading at the equilibrium price |
| Shifts in supply and demand | Comparative Statics — a formal method for comparing one equilibrium to another after a shift |
| Ceteris paribus assumption | General Equilibrium Theory — analyzes how all markets in an economy interact simultaneously, relaxing ceteris paribus |
If you continue to AP Economics or college-level microeconomics, you will also study how governments intervene in markets through price floors (like the minimum wage) and price ceilings (like rent control). These policies prevent the market from reaching its natural equilibrium and create predictable surpluses or shortages—concepts that build directly on the laws you learned today.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
The law of demand states that, ceteris paribus, price and quantity demanded have an inverse relationship: when price rises, quantity demanded falls, and vice versa. This is driven by the substitution effect and the income effect, and it produces a downward-sloping demand curve. The law of supply states that price and quantity supplied have a direct relationship: when price rises, quantity supplied rises, producing an upward-sloping supply curve.
Where the two curves intersect is the equilibrium point, which gives the equilibrium price and equilibrium quantity. Changes in non-price factors—such as income, tastes, technology, or input costs—shift the curves, creating a new equilibrium. Mastering these two laws gives you a powerful lens for analyzing virtually any market in the world.