Sub topic 5
Drawing and reading the supply curve
This chapter turns a supply schedule into a picture and shows how to read information off that picture. It assumes you can read a two-axis graph, solve a linear equation for one variable, and already know three ideas from earlier chapters: quantity supplied, the supply schedule, and the law of supply. The chapter covers the mechanics of plotting, the two ways to read the curve, the meaning of its intercept and slope, and the mistakes that most often cost learners points.
From schedule to curve
A supply schedule is a table that lists a price and the quantity supplied at that price, with everything else held constant. A supply curve is the same information drawn on a graph. Every row of the table becomes one point, and the curve is the line through those points.
This chapter uses one running example, a linear supply function:
Qs = -20 + 4P
Here Qs is quantity supplied and P is price. The function is floored at zero, because a seller cannot supply a negative quantity. The following code builds the schedule:
def quantity_supplied(price, intercept=-20, slope=4):
return max(0, intercept + slope * price)
for price in range(4, 11):
print(price, quantity_supplied(price))
# 4 0
# 5 0
# 6 4
# 7 8
# 8 12
# 9 16
# 10 20| Price (P) | Quantity supplied (Qs) | Point to plot (Q, P) |
|---|---|---|
| 4 | 0 | (0, 4) |
| 5 | 0 | (0, 5) |
| 6 | 4 | (4, 6) |
| 7 | 8 | (8, 7) |
| 8 | 12 | (12, 8) |
| 9 | 16 | (16, 9) |
| 10 | 20 | (20, 10) |
The last column puts quantity first and price second. That order is the usual source of confusion, and the next section explains it.
Axes and conventions
Economists plot price on the vertical axis and quantity on the horizontal axis. This holds even though the supply function is written with quantity as a function of price (Qs = f(P)). In most other subjects the input goes on the horizontal axis. In supply and demand graphs the convention is the reverse, and it comes from history. Alfred Marshall drew the graphs this way in the nineteenth century, and the habit stuck.
The practical consequence is that the equation and the picture use opposite roles. The equation says that price determines quantity. The graph puts the price on the vertical axis anyway. When you plot, take each (P, Qs) pair from the schedule and place it at (horizontal = Qs, vertical = P).
Two more conventions apply:
- Label the horizontal axis with the good and the time period, for example "Bushels of wheat per month". Quantity supplied is a flow, and a number without a time period is incomplete.
- Draw only the region that makes economic sense. Quantity is never negative, so the curve never extends left of the vertical axis.
Plotting the curve
The matplotlib script below draws the curve from the function. The prices run from 4.0 to 10.0 in steps of 0.1, so the part of the curve where quantity is floored at zero appears.
import matplotlib.pyplot as plt
def quantity_supplied(price, intercept=-20, slope=4):
return max(0, intercept + slope * price)
prices = [p / 10 for p in range(40, 101)]
quantities = [quantity_supplied(p) for p in prices]
plt.plot(quantities, prices)
plt.xlabel("Quantity supplied (units per month)")
plt.ylabel("Price ($ per unit)")
plt.title("Supply curve: Qs = -20 + 4P")
plt.xlim(0, 22)
plt.ylim(0, 11)
plt.grid(True)
plt.show()Notice that plt.plot(quantities, prices) passes quantity first. The first argument goes on the horizontal axis. If you wrote plt.plot(prices, quantities) you would get a valid graph, but it would show quantity on the vertical axis, which is the wrong convention for this subject.
The same curve appears below, with only the points at or above the price where output begins:
Two ways to read the curve
A supply curve answers two different questions, and you should be able to move between them.
Reading across: price in, quantity out
Pick a price on the vertical axis. Move horizontally to the curve, then drop down to the horizontal axis. That value is the quantity supplied at that price.
At P = 8, the curve is at Q = 12. You can check this against the function: -20 + 4(8) = 12. The reading also works between schedule rows. At P = 7.5 the function gives -20 + 30 = 10, and the straight line passes through (10, 7.5). The schedule only listed whole-dollar prices. The curve fills in the values between them.
Reading up: quantity in, price out
Pick a quantity on the horizontal axis. Move vertically to the curve, then across to the vertical axis. That value is the minimum price sellers need before they will offer that quantity.
To compute it, solve the supply function for P. This gives the inverse supply function:
P = 5 + 0.25Q
def inverse_supply(quantity, intercept=-20, slope=4):
return (quantity - intercept) / slope
for q in (4, 12, 20):
print(q, inverse_supply(q))
# 4 6.0
# 12 8.0
# 20 10.0The two readings describe the same curve. The first asks how much sellers will supply at a given price. The second asks what price it takes to get a given quantity. The second reading matters later, when the curve is linked to marginal cost: the height of the curve at a given quantity is the lowest price at which sellers are willing to produce that unit.
| Question | Start on | Move | Read from | Formula for this example |
|---|---|---|---|---|
| How much is supplied at price P? | Vertical axis | Across to the curve, then down | Horizontal axis | Qs = -20 + 4P |
| What price is needed for quantity Q? | Horizontal axis | Up to the curve, then across | Vertical axis | P = 5 + 0.25Q |
Intercepts
Each intercept has a meaning.
The vertical intercept is where the curve meets the price axis, where Q = 0. Set Qs = 0 in the function: 0 = -20 + 4P, so P = 5. At any price of $5 or below, nothing is supplied. Economists call $5 the choke price on the supply side in some texts, and it can be read as the lowest price that gets any seller to start producing. Sellers whose costs are lower than $5 per unit would produce if the price rose above it.
The horizontal intercept is where the curve meets the quantity axis, where P = 0. For this linear function, extending the line to P = 0 gives Qs = -20. That value is negative and has no economic meaning. This is why the code uses max(0, ...) and why the plotted curve starts at Q = 0. The linear formula describes the curve only over the range where quantity is positive.
Slope
The slope of a curve is the vertical change divided by the horizontal change (rise over run). On a supply graph with price on the vertical axis, slope means the change in price per one-unit change in quantity.
From the inverse function P = 5 + 0.25Q, the slope is 0.25. Each additional unit of quantity requires a price that is 25 cents higher.
The coefficient in the original function is different. In Qs = -20 + 4P, the 4 says that each $1 increase in price raises quantity by 4 units. That is the inverse of the graph's slope: 1 / 4 = 0.25.
| Quantity | Meaning for this example |
|---|---|
| 4 in Qs = -20 + 4P | A $1 price rise adds 4 units of quantity supplied |
| 0.25 in P = 5 + 0.25Q | Each extra unit needs a price 25 cents higher |
| Slope of the plotted curve | 0.25, positive |
A positive slope is the visual form of the law of supply. If the slope were zero (a horizontal line) or negative (falling to the right), the graph would show sellers supplying the same or less at higher prices.
Steepness and responsiveness
A steeper curve means each price increase brings a smaller increase in quantity. A flatter curve means the same price increase brings a larger one. Be careful with this. Steepness depends on the units on the axes, so you cannot judge responsiveness reliably by eye. Two graphs of the same data with different axis scales look different. The elasticity chapter that follows removes this problem by using percentage changes. For now, use slope only to compare curves drawn on the same axes.
Straight lines are still called curves
Economists call any plotted supply relationship a "curve", even when it is a straight line. A linear supply function gives a straight curve. Real supply is often non-linear. For example, Qs = 2P² gives a line that bends upward as price rises, so the slope in the price-quantity picture changes from point to point. The reading rules are the same either way: across from price to find quantity, up from quantity to find price.
What the curve holds fixed
Every point on one supply curve was calculated with the same values for input prices, technology, number of sellers, expectations, and taxes or subsidies. This is the ceteris paribus condition built into the curve. Because those factors are fixed, the curve has exactly one cause that moves you along it: a change in the good's own price.
That has a direct consequence for reading the graph. If the price changes, you move to another point on the same curve. If one of the other factors changes, the whole curve is drawn again in a new position. The next chapters cover the factors and the two types of change in detail. This chapter only needs you to see that the position of the curve encodes everything held fixed.
The following code shows the effect of a technology improvement as a change in the intercept:
before = quantity_supplied(6) # 4
after = quantity_supplied(6, intercept=-8) # 16
print(before, after)
# Same price, more output: the whole curve has shifted right.A shift right is also a shift down
The curve can be read in two directions, so a shift can be described in two ways. After the improvement, the function is Qs = -8 + 4P. At a quantity of 16 units, the minimum price drops from $9 (original) to $6 (new). Compare the readings:
| Reading | Original curve | New curve | Description |
|---|---|---|---|
| Quantity at P = 6 | 4 | 16 | Shifted right by 12 units |
| Price needed for Q = 16 | 9 | 6 | Shifted down by $3 |
Both describe the same movement. A rightward shift of 12 units at slope 0.25 is a downward shift of 12 × 0.25 = $3. Many learners say "supply decreased" because the curve moved down, when it increased. Use the right/left language: rightward means more is supplied at every price, so supply has increased.
Common errors
- Swapping the axes. Plotting quantity on the vertical axis gives a mirror-image graph. The slope you compute from it is 4 instead of 0.25, and every later diagram will disagree with the textbook.
- Reading a single point as the curve. One point shows one price-quantity pair. The curve shows how quantity supplied responds across all prices. Statements such as "supply is 12" are incomplete. Say "at a price of $8, quantity supplied is 12".
- Extending the line into negative quantities. The linear formula gives Qs = -20 at P = 0. The real curve stops at Q = 0.
- Confusing the slope with the coefficient. The 4 in Qs = -20 + 4P is not the slope of the graph. Take the reciprocal, or solve for P first.
- Calling a movement a shift. If a price change moves you from (8, 12) to (10, 20), the curve has not moved. You travelled along it.
- Judging responsiveness by steepness alone. Axis scaling changes how steep a curve looks, so compare curves only on identical axes, or use elasticity.
- Dropping the time period. A quantity supplied of 12 per month is a different statement from 12 per year.
A step-by-step procedure
- Write the supply function and identify the price and quantity variables.
- Compute quantity supplied for several prices, applying the floor at zero.
- Plot each pair as (quantity, price), with price on the vertical axis.
- Join the points. Stop the curve at the vertical axis.
- Find the vertical intercept by setting Qs = 0 and solving for P.
- Find the slope by solving for P and reading the coefficient on Q.
- Check the result by reading across at one price and up at one quantity, and confirm both match the function.
Exercise
Given Qs = -20 + 4P, find the quantity supplied at P = $9.50, and the minimum price needed to induce 6 units of supply. Show both readings.
Show answer
Reading across: Qs = -20 + 4(9.5) = -20 + 38 = 18 units. Reading up: use P = 5 + 0.25Q, so P = 5 + 0.25(6) = 5 + 1.5 = $6.50. Check: -20 + 4(6.5) = 6, which matches.
Exercise
A new supply function is Qs = -8 + 4P. (a) What is its vertical intercept? (b) What is its slope on a graph with price on the vertical axis? (c) By how many dollars does the curve shift down at any given quantity, compared with Qs = -20 + 4P?
Show answer
(a) Set Qs = 0: 0 = -8 + 4P, so P = $2. (b) Solve for P: P = 2 + 0.25Q, so the slope is 0.25. (c) The original intercept was $5 and the new one is $2, and the slopes are equal, so the curve is $3 lower at every quantity. This matches a rightward shift of 12 units × 0.25 = $3.
Exercise
A student plots the schedule for Qs = -20 + 4P with price on the horizontal axis and quantity on the vertical axis. The student measures the slope of the line as 4 and concludes that each extra unit of output needs a $4 price increase. Identify the error and give the correct statement.
Show answer
The student has swapped the axes. With quantity vertical and price horizontal, the slope of 4 means quantity rises 4 units per $1 of price, which is the coefficient from the function and not the graph slope under the usual convention. On the standard graph (price vertical), the slope is 0.25, so each extra unit needs a price 25 cents higher, not $4.