Sub topic 1
Starting point: a market without a tax
Why start here
Tax incidence asks who ends up worse off when a government taxes a good. To answer that, you need a baseline. Every result in this tutorial compares two worlds: the market before the tax and the market after it. This chapter builds the "before" world and the tools you will reuse in every later chapter.
By the end you will be able to:
- find a market equilibrium graphically and algebraically,
- explain why the market moves to that equilibrium,
- measure the gains buyers and sellers get from trading there,
- set up a numeric example that later chapters keep using.
Prerequisites
This chapter assumes you already know:
- what a demand curve and a supply curve are, and why they slope the way they do,
- basic algebra, including solving two linear equations for one unknown,
- how to read a simple graph with price on the vertical axis and quantity on the horizontal axis,
- the informal idea of a percentage change.
You do not need calculus or any prior knowledge of taxes.
The competitive market model
The model has three assumptions.
- Many buyers and many sellers trade one identical good. No single participant can move the price.
- Everyone takes the market price as given.
- There are no taxes, subsidies, or price controls.
Under these assumptions two curves describe the market.
- Demand shows the quantity buyers want to purchase at each price. It slopes downward.
- Supply shows the quantity sellers want to sell at each price. It slopes upward.
Both curves are about intentions at a given price. They are not predictions of what will happen. The market price is what turns intentions into actual trades.
A linear example used throughout the tutorial
Linear curves keep the algebra simple. Write quantity as a function of price:
- Demand: Qd = a − b·P
- Supply: Qs = c + d·P
All four parameters are positive. The parameter b says how many units buyers drop for each $1 price increase. The parameter d says how many extra units sellers offer for each $1 price increase.
We will use a = 100, b = 2, c = 10, d = 1:
- Demand: Qd = 100 − 2P
- Supply: Qs = 10 + P
Finding the equilibrium
The equilibrium is the price at which the quantity demanded equals the quantity supplied. Set Qd = Qs:
a − b·P = c + d·P
Collect the P terms:
P* = (a − c) / (b + d)
Then substitute back into either curve to get the quantity, Q = a − b·P.
For our numbers:
- P* = (100 − 10) / (2 + 1) = 30
- Q* = 100 − 2·30 = 40
- Check with supply: 10 + 30 = 40
So the pre-tax price is $30 and 40 units trade. The next chapters write this as P0 and Q0.
Why the market moves to equilibrium
The equilibrium price is not imposed by anyone. It is where pressure on the price disappears.
- If the price is above P*, sellers want to sell more than buyers want to buy. This is excess supply, also called a surplus. Unsold goods pile up, and sellers cut prices to attract buyers.
- If the price is below P*, buyers want more than sellers offer. This is excess demand, also called a shortage. Buyers compete for scarce units, and prices rise.
Try the extremes with our numbers. At P = 40, buyers want 100 − 80 = 20 units and sellers offer 10 + 40 = 50, so excess supply is 30. At P = 20, buyers want 60 and sellers offer 30, so excess demand is 30.
This adjustment story matters for incidence. When a tax is introduced later, the market goes through the same process and settles at a new equilibrium. Our job is to find where it settles, not to describe every step of the journey.
Measuring who gains from trade
Incidence is about who loses. To say how much anyone loses, we need a measure of what they had before. Economists use surplus.
- Consumer surplus is what buyers are willing to pay minus what they actually pay, summed over all units bought. On a graph it is the area below the demand curve and above the price.
- Producer surplus is what sellers receive minus the least they would accept, summed over all units sold. It is the area above the supply curve and below the price.
- Total surplus is the sum of the two. It measures the total gain from trade.
With linear curves, each area is a triangle, so the formula is half times base times height.
To draw the triangles, rewrite each curve with price on the left (the inverse form):
- Demand: P = a/b − Q/b = 50 − Q/2. The price at which demand falls to zero is 50. This is the choke price.
- Supply: P = −c/d + Q/d = −10 + Q. The intercept is −10.
For our numbers:
- Consumer surplus = ½ × (50 − 30) × 40 = 400
- Producer surplus = ½ × (30 − (−10)) × 40 = 800
- Total surplus = 1,200
The following code computes these from the four parameters. You will reuse this baseline when we calculate the efficiency cost of a tax.
def equilibrium(a, b, c, d):
"""Linear market: demand Qd = a - b*P, supply Qs = c + d*P."""
p = (a - c) / (b + d)
q = a - b * p
return p, q
def surplus(a, b, c, d):
"""Consumer, producer and total surplus at the no-tax equilibrium."""
p, q = equilibrium(a, b, c, d)
choke_price = a / b # price at which quantity demanded is zero
supply_intercept = -c / d # price at which quantity supplied is zero
cs = 0.5 * (choke_price - p) * q
ps = 0.5 * (p - supply_intercept) * q
return cs, ps, cs + ps
def excess_demand(a, b, c, d, price):
"""Positive means a shortage, negative means a surplus of goods."""
return (a - b * price) - (c + d * price)
p0, q0 = equilibrium(100, 2, 10, 1)
cs, ps, ts = surplus(100, 2, 10, 1)
print("price", p0, "quantity", q0)
print("consumer surplus", cs)
print("producer surplus", ps)
print("total surplus", ts)
print("excess demand at P=20:", excess_demand(100, 2, 10, 1, 20))
print("excess demand at P=40:", excess_demand(100, 2, 10, 1, 40))
# price 30.0 quantity 40.0
# consumer surplus 400.0
# producer surplus 800.0
# total surplus 1200.0
# excess demand at P=20: 30
# excess demand at P=40: -30A preview of what comes next
The two sides of this market do not respond to price equally. Buyers cut quantity by 2 units per dollar. Sellers add only 1 unit per dollar. Comparing slopes is not enough on its own, because slopes depend on the units used. The next chapter converts them into elasticities, which measure responses in percentage terms. At the equilibrium here, demand has an elasticity of −1.5 and supply has an elasticity of 0.75. That difference will turn out to decide who bears a tax.
Common errors
- Swapping the axes. Economists put price on the vertical axis even though the equations here write quantity as a function of price. When you draw the curves, use the inverse forms.
- Confusing movement along a curve with a shift. A change in price moves you along a curve. Changes in income, tastes, or input costs shift the curve. A tax will later show up as a shift in one curve or, equivalently, as a gap between two prices.
- Forgetting to check the quantity. Solving for P* and stopping leaves you unable to compute surplus or later losses.
- Treating equilibrium as fair or optimal by default. Equilibrium is where the market clears. The surplus measures in this chapter let us say it maximizes total gains from trade under the model's assumptions, which is why a tax is later described as a loss.
Summary
A competitive market without taxes has one price, P* = (a − c)/(b + d), at which the quantity demanded equals the quantity supplied. In our running example, P0 = 30 and Q0 = 40, with consumer surplus of 400 and producer surplus of 800. These numbers are the baseline. The rest of the tutorial asks how a tax changes them and who absorbs the change.
Exercise
A market has demand Qd = 80 − P and supply Qs = 20 + 2P. (a) Find the equilibrium price and quantity. (b) Find the consumer surplus, given that the demand choke price is 80. (c) Is there excess supply or excess demand at P = 25, and how large is it?
Show answer
(a) Set 80 − P = 20 + 2P, so 60 = 3P and P = 20. Then Q = 80 − 20 = 60, and supply gives 20 + 40 = 60, which matches. (b) Consumer surplus = ½ × (80 − 20) × 60 = 1,800. (c) At P = 25, Qd = 55 and Qs = 70, so there is excess supply of 15 units, and the price will tend to fall toward 20.
Exercise
In the running example (Qd = 100 − 2P, Qs = 10 + P), suppose a shift in tastes changes demand to Qd = 130 − 2P. Find the new equilibrium price and quantity, and say whether the price rises or falls.
Show answer
Set 130 − 2P = 10 + P, so 120 = 3P and P = 40. Then Q = 130 − 80 = 50, and supply gives 10 + 40 = 50, which matches. The price rises from 30 to 40 and the quantity rises from 40 to 50, because the demand curve shifted outward.