Supply and Demand
Supply and demand constitute the bedrock of microeconomic analysis, providing a powerful framework for understanding how prices and quantities are determined in competitive markets. Developed systematically by Alfred Marshall, this model elucidates the forces that drive resource allocation, inform business strategies, and guide public policy.
This guide covers the laws of demand and supply, market equilibrium and price determination, government interventions (price ceilings and floors), consumer and producer surplus, comparative statics, advanced topics like the Cobweb Theorem and international trade, and a 10-question practice quiz.
Impact of Increase in Input Costs (Supply Shift)
1Introduction
Supply and demand constitute the bedrock of microeconomic analysis, providing a powerful framework for understanding how prices and quantities are determined in competitive markets. The Law of Demand posits an inverse relationship between price and quantity demanded, while the Law of Supply states a direct relationship between price and quantity supplied. Their intersection establishes market equilibrium.
Understanding supply and demand is paramount for policy analysis (predicting the impact of taxes, subsidies, and price controls), business decisions (forecasting sales, setting optimal prices), and understanding resource allocation in a market economy — reflecting Adam Smith's “invisible hand” guiding individual self-interest towards collective well-being.
The Global Semiconductor Market (2020–2023): The COVID-19 pandemic triggered unprecedented shifts in both supply and demand for semiconductors. Demand for consumer electronics surged, while supply chains faced disruptions and geopolitical tensions. This led to a severe global shortage of chips, driving up prices — a textbook example of a simultaneous outward demand shift and inward supply shift.

2Key Definitions
Essential terms for understanding supply and demand at the university level.
Quantity Demanded (Qd)
The amount consumers are willing and able to purchase at a given price, ceteris paribus
Quantity Supplied (Qs)
The amount producers are willing and able to sell at a given price, ceteris paribus
Demand Curve
Downward-sloping curve showing inverse relationship between price and quantity demanded
Supply Curve
Upward-sloping curve showing direct relationship between price and quantity supplied
Market Equilibrium
Where Qd = Qs at a unique equilibrium price (P*) and quantity (Q*)
Surplus (Excess Supply)
Qs > Qd; occurs when market price is above equilibrium
Shortage (Excess Demand)
Qd > Qs; occurs when market price is below equilibrium
Ceteris Paribus
“All other things being equal” — isolates the effect of one variable
Consumer Surplus (CS)
Difference between max willingness to pay and actual market price
Producer Surplus (PS)
Difference between actual market price and minimum price producers would accept
Price Floor
Government-imposed minimum price set above equilibrium; causes surplus
Price Ceiling
Government-imposed maximum price set below equilibrium; causes shortage
3The Law of Demand
The Law of Demand states that, ceteris paribus, there is an inverse relationship between the price of a good and the quantity consumers are willing and able to purchase.
Mathematical Formulation
A linear demand curve: Qd = a - bP
- a: quantity demanded when price is zero (Q-intercept)
- b: responsiveness of Qd to price change (slope magnitude)
- The demand curve slopes downward from left to right
Substitution Effect and Income Effect
Substitution Effect
When the price of a good falls, it becomes relatively cheaper compared to substitutes. Consumers substitute towards the now cheaper good, increasing Qd.
Income Effect
When price falls, real purchasing power effectively increases. With higher real income, consumers can afford to buy more of the good (for normal goods).
Determinants of Demand (Shift Factors)
Consumer Income: Increases demand for normal goods, decreases demand for inferior goods
Prices of Related Goods: Higher price of substitutes increases demand; higher price of complements decreases demand
Tastes & Preferences: Changes in consumer preferences shift demand
Expectations: Expected future price increases raise current demand
Number of Buyers: More buyers in the market increases demand
Exceptions: Giffen Goods & Veblen Goods
Giffen Goods
Inferior goods where the income effect outweighs the substitution effect. As price rises, Qd increases. Extremely rare (e.g., staple foods for very poor consumers).
Veblen Goods
Luxury goods where demand increases with price due to status-symbol appeal (conspicuous consumption). Higher prices make them more exclusive and desirable.

4The Law of Supply
The Law of Supply states that, ceteris paribus, there is a direct relationship between the price of a good and the quantity producers are willing and able to offer for sale.
Mathematical Formulation
A linear supply curve: Qs = c + dP
- c: quantity supplied when price is zero (can be negative, indicating minimum price needed)
- d: responsiveness of Qs to price change (slope)
- The supply curve slopes upward from left to right
Determinants of Supply (Shift Factors)
Input Costs: Higher costs for labor, materials, or energy reduce profitability, decreasing supply (shifts left)
Technology: Improvements reduce costs and increase efficiency, increasing supply (shifts right)
Number of Sellers: More firms in the market increase overall supply (shifts right)
Producer Expectations: Expected higher future prices may decrease current supply (shifts left)
Government Policies: Taxes decrease supply (shifts left); subsidies increase supply (shifts right)
Short-Run vs. Long-Run Supply
Short-Run
At least one factor of production is fixed. Firms adjust output only through variable inputs. The supply curve is generally steeper (less elastic).
Long-Run
All factors of production are variable. Firms can enter/exit and adjust scale. The supply curve is typically flatter (more elastic).
5Market Equilibrium & Price Determination
Market equilibrium is the state where Qd = Qs, resulting in a stable equilibrium price (P*) and quantity (Q*) with no inherent pressure for change.
Finding Equilibrium Mathematically
Given Qd = a - bP and Qs = c + dP:
- Set Qd = Qs:
a - bP* = c + dP* - Solve:
P* = (a - c) / (d + b) - Substitute P* back to find Q*
Comparative Statics (Shifts in Demand/Supply)
Increase in Demand (shifts right): P* increases, Q* increases
Decrease in Demand (shifts left): P* decreases, Q* decreases
Increase in Supply (shifts right): P* decreases, Q* increases
Decrease in Supply (shifts left): P* increases, Q* decreases
Government Interventions: Price Floors & Ceilings
Price Ceiling
A legal maximum price set below equilibrium. Creates a shortage (Qd > Qs).
Example: Rent control leads to housing shortages and deterioration of rental properties.
Price Floor
A legal minimum price set above equilibrium. Creates a surplus (Qs > Qd).
Example: Minimum wage above equilibrium leads to unemployment (surplus of labor).

Consumer & Producer Surplus
At equilibrium in a perfectly competitive market, total surplus is maximized, indicating allocative efficiency.
Consumer Surplus
Area below demand curve and above P*, up to Q*.
CS = ½ × Q* × (P_max - P*)
Producer Surplus
Area above supply curve and below P*, up to Q*.
PS = ½ × Q* × (P* - P_min)
Total Surplus
CS + PS; maximized at equilibrium. Deviations create deadweight loss (DWL).
TS = CS + PS

6Extensions & Advanced Topics
Simultaneous Shifts in Supply and Demand
When both curves shift, the effect on either P* or Q* is determinate, but the effect on the other is ambiguous unless magnitudes are known.
| Shift in Demand | Shift in Supply | Effect on P* | Effect on Q* |
|---|---|---|---|
| Increase | Increase | Ambiguous | Increase |
| Increase | Decrease | Increase | Ambiguous |
| Decrease | Increase | Decrease | Ambiguous |
| Decrease | Decrease | Ambiguous | Decrease |
Cobweb Theorem
A dynamic model explaining price and quantity adjustments in markets with production time lags (e.g., agriculture). Producers base current supply decisions on the previous period's price.
- Convergent: Supply curve flatter than demand — oscillations decrease, converge to equilibrium
- Divergent: Demand curve flatter than supply — oscillations increase, move away from equilibrium
- Continuous: Equal slopes — perpetual oscillations of the same magnitude
International Trade Applications
Autarky Price: Equilibrium price without international trade
Imports: When world price < autarky price, domestic Qd > domestic Qs; difference is imports
Exports: When world price > autarky price, domestic Qs > domestic Qd; difference is exports
Gains from Trade: International trade increases total surplus for trading nations combined

7Memory Aids
“D for Demand = Downward-sloping. S for Supply = Slopes upward (Stock up = More at higher prices).”
“Quantity Demanded/Supplied moves ALONG the curve (own price changes). Demand/Supply SHIFTS the entire curve (non-price factors).”
“Below the ceiling is a shortage. Above the floor is a surplus.”
“CS is Consumer's Savings — what they save by paying less than their max. PS is Producer's Profit above cost.”
“Ceteris Paribus = Other things equal. The golden rule of isolating variables in any supply-and-demand analysis.”
8Common Mistakes
Saying “demand increased” when only the price changed
A change in demand (shift of the curve) is caused by non-price factors. A change in quantity demanded (movement along the curve) is caused by a change in the good's own price. The same distinction applies to supply.
Shifting the curve the wrong way
An increase in demand/supply always shifts the curve to the right. A decrease always shifts it to the left. Think: “more = right, less = left.”
Analyzing multiple changes simultaneously without isolating variables
When analyzing the effect of one variable (e.g., income on demand), you must assume all other factors remain constant. Only then can you clearly predict the direction and magnitude of change.
Mixing up which control causes which outcome
A price ceiling (set below equilibrium) causes a shortage. A price floor (set above equilibrium) causes a surplus. Also remember: a ceiling set above equilibrium or a floor set below equilibrium is non-binding and has no effect.
Getting the triangle area wrong for CS or PS
CS is the area of the triangle above P* and below the demand curve. PS is the area below P* and above the supply curve. Ensure you correctly identify the base (Q*) and height (price difference).
Thinking a price ceiling above equilibrium creates a shortage
Price controls only impact the market if they are binding. A price ceiling set above the equilibrium price has no effect. Similarly, a price floor set below equilibrium is non-binding.
Frequently Asked Questions
- What is the difference between a "change in demand" and a "change in quantity demanded"?
- A change in demand refers to a shift of the entire demand curve, caused by a change in any non-price determinant of demand (e.g., income, tastes, price of related goods, expectations, number of buyers). This means that at every price level, consumers are now willing to buy more or less of the good. A change in quantity demanded, conversely, refers to a movement along a given demand curve, caused solely by a change in the good's own price.
- How do economists use ceteris paribus in supply and demand analysis?
- Ceteris paribus (Latin for "all other things being equal") is a crucial assumption that allows economists to isolate the effect of one variable on another. When analyzing, for instance, how a change in income affects demand, economists assume that factors like the price of the good itself, prices of substitutes/complements, consumer tastes, and expectations all remain constant. This simplifies the analysis and allows for clear predictions about the direction and magnitude of changes.
- Can a market ever be in disequilibrium indefinitely?
- In theory, competitive markets tend towards equilibrium through price adjustments. However, in reality, markets can experience prolonged periods of disequilibrium due to government interventions (binding price controls), information asymmetry, adjustment lags (as seen in the Cobweb Theorem), and continuous external shocks. While disequilibrium can persist, the underlying forces of supply and demand still exert pressure towards equilibrium.
- What is deadweight loss, and how does it relate to supply and demand?
- Deadweight loss (DWL) is a net loss of total surplus (consumer surplus + producer surplus) that results from an inefficient allocation of resources. It represents the value of potential transactions that do not occur because of market distortions. In the context of supply and demand, DWL arises when the quantity traded in the market is not the equilibrium quantity, such as when binding price ceilings or floors prevent the market from reaching efficiency.
- Are Giffen goods and Veblen goods common? Why or why not?
- No, both are rare exceptions to the Law of Demand. Giffen goods require very specific conditions: the good must be an inferior good constituting a large proportion of a poor consumer's budget, such that the negative income effect outweighs the substitution effect. Veblen goods exist in luxury markets where demand increases with price due to status symbol appeal, but they are not common for the vast majority of goods and services.
- How does elasticity relate to supply and demand analysis?
- Elasticity measures the responsiveness of quantity demanded or supplied to changes in price or other factors. Price elasticity of demand determines how much quantity demanded responds to price changes, while price elasticity of supply determines how much quantity supplied responds. Understanding elasticity allows for more nuanced and quantitative analysis of market responses to shocks and policies, predicting not just the direction of change but also the size.
Practice Quiz
Test your understanding of supply and demand — select the correct answer for each question.
1.Which of the following would cause a movement along the demand curve for smartphones?
2.If the market for coffee is initially in equilibrium, and then a new study reveals significant health benefits of coffee consumption while, simultaneously, a severe drought destroys a substantial portion of coffee crops. What will be the unambiguous effect on the equilibrium price (P*) and quantity (Q*)?
3.A binding price ceiling is imposed in a competitive market. Which of the following is a likely consequence?
4.Consumer surplus is best described as:
5.Which of the following is NOT a determinant of supply?
6.If the price elasticity of demand for a good is inelastic, then a decrease in supply will lead to:
7.The Cobweb Theorem explains market dynamics where:
8.Suppose the demand for a product is given by Qd = 120 - 3P and the supply is Qs = 2P + 20. What is the equilibrium quantity?
9.If a government sets a minimum wage above the market-clearing wage for unskilled labor, this would be an example of a:
10.Which of the following statements about Giffen goods and Veblen goods is true?
Study Tips
- Draw the graphs: Practice sketching supply and demand diagrams for every scenario. Label P*, Q*, curves, and shifts clearly.
- Work through the math: Solve equilibrium problems algebraically. Set Qd = Qs and solve for P*, then find Q*. Verify by substituting into both equations.
- Use the four-step method: For every market change: (1) identify the shock, (2) determine which curve shifts, (3) find the temporary shortage/surplus, (4) trace to the new equilibrium.
- Practice surplus calculations: CS and PS are triangles on the graph. Identify the base (Q*) and height (price difference) for each.