Sub topic 2
Supply: What Sellers Are Willing to Offer at Each Price
Supply describes the sellers' side of a market. This chapter builds the supply curve, writes it as an equation, and shows how to tell a change in price from a change in the conditions behind the curve. The next chapter combines supply with demand to find equilibrium.
This chapter assumes you can read a graph with price on the vertical axis and quantity on the horizontal axis, and that you can solve a linear equation. It also assumes you have seen the demand curve, since supply is built to mirror it.
Quantity supplied and the supply schedule
Quantity supplied is the amount of a good that sellers are willing and able to offer for sale at a given price, during a given period. Three parts of that definition matter.
- Willing and able. A seller who wants to sell but has no inventory or capacity does not add to supply.
- At a given price. Quantity supplied is a number tied to one price. Supply as a whole is the relationship between every price and its quantity.
- During a given period. "60 units" means little until you say per day, per month, or per season.
A supply schedule lists prices with the quantity supplied at each. A supply curve is the same information drawn as a graph. The schedule below is used throughout this tutorial.
| Price | Quantity supplied |
|---|---|
| 5 | 0 |
| 10 | 20 |
| 15 | 40 |
| 20 | 60 |
| 25 | 80 |
| 30 | 100 |
Each 5-unit rise in price brings 20 more units onto the market.
Why supply slopes upward
The law of supply says that, other things equal, a higher price leads sellers to offer a larger quantity. The usual explanation is rising marginal cost. Marginal cost is the extra cost of producing one more unit.
A seller maximizing profit produces a unit only if the price covers the cost of making it. For most sellers, marginal cost rises as output grows. Overtime pay, older machines, more distant suppliers, and less fertile land all push the cost of the next unit up. So a seller needs a higher price to justify each additional unit, and the supply curve slopes upward.
A second mechanism works at the market level. A higher price makes it worthwhile for new sellers to enter, and for existing sellers to bring back idle capacity. Both add to the quantity supplied.
Reading the curve from the other direction gives a useful interpretation. The price on the supply curve at a given quantity is the lowest price at which sellers will bring that unit to market. In a simple competitive model, that is the marginal cost of the unit.
A linear supply curve
The tutorial's running example writes supply as a linear equation:
Qs = c + d × P
Here Qs is quantity supplied and P is price. The slope parameter d is how many extra units sellers offer when price rises by 1. The intercept c is the quantity the formula would give at a price of zero. With c = -20 and d = 4, supply is Qs = -20 + 4P.
A negative intercept looks odd, but it has a plain meaning. Sellers offer nothing until the price is high enough to cover their costs. Setting Qs = 0 gives the minimum price at which any quantity is offered: P = -c / d = 20 / 4 = 5. Below a price of 5, the formula gives a negative quantity, which is impossible. In practice the quantity supplied is zero there.
def quantity_supplied(price, c=-20, d=4):
# Linear supply Qs = c + d*P, floored at zero because
# sellers cannot supply a negative quantity.
return max(0, c + d * price)
for p in (2, 5, 10, 20, 30):
print(p, quantity_supplied(p))This prints 0 for prices 2 and 5, then 20, 60, and 100 for prices 10, 20, and 30. The max(0, ...) call matters. Without it, the function returns -12 at a price of 2, and any later calculation, such as a shortage or surplus, silently inherits that error.
Reading the curve in both directions
Economists draw price on the vertical axis, yet the equation is written with quantity on the left. The equation answers "how much will sellers offer at this price?" The graph is often read the other way: "what price is needed to call forth this quantity?" To get that second form, solve for P. This gives the inverse supply function:
P = (Qs - c) / d = 5 + Qs / 4
At Qs = 60 the inverse gives P = 20, which agrees with the schedule. The 1/4 is the increase in price needed to draw out one more unit. That is the slope of the curve as drawn on the graph, and it is the reciprocal of d. A beginner's error is to read d = 4 as "the graph's slope is 4." On a graph with price vertical, the slope is 1/d = 0.25.
def inverse_supply(quantity, c=-20, d=4):
# Lowest price at which sellers will offer this quantity.
return (quantity - c) / d
print(inverse_supply(0)) # 5.0, the minimum price
print(inverse_supply(60)) # 20.0
print(inverse_supply(100)) # 30.0From individual sellers to market supply
A market supply curve is the sum of the individual sellers' supply curves at each price. This is called horizontal summation, because at every price you add up quantities, and quantity is on the horizontal axis. You add quantities at a fixed price. You never add prices.
Suppose two identical firms each supply Q = -10 + 2P once price covers their costs. Together they supply -20 + 4P, which is the market curve above.
def market_supply(price, firms):
# firms is a list of (c, d) pairs; each firm's supply is floored at zero.
return sum(max(0, c + d * price) for c, d in firms)
firms = [(-10, 2), (-10, 2)]
for p in (4, 5, 10, 20):
print(p, market_supply(p, firms))The output is 0, 0, 20, and 60. The floor is applied firm by firm, before summing. That ordering is important when firms differ. If one firm has low costs and another has high costs, the high-cost firm adds nothing until the price reaches its own minimum. The market curve then bends at that price, with a steeper slope once the second firm enters. A single straight line is a simplification that holds only over the range of prices where the same set of firms is active.
Movement along the curve versus a shift
This distinction causes most mistakes in supply analysis, so keep the two cases apart.
- A change in price moves the market along a fixed supply curve. The result is a change in quantity supplied.
- A change in anything else that affects sellers' willingness to supply shifts the whole curve. The result is a change in supply.
The common non-price factors are listed below. Each one changes the quantity offered at every price.
| Factor | Direction of change | Effect on supply curve |
|---|---|---|
| Input prices (wages, materials, energy) | Rise | Shifts left (decrease) |
| Technology that lowers cost per unit | Improvement | Shifts right (increase) |
| Number of sellers | More sellers | Shifts right |
| Per-unit tax on sellers | Introduced | Shifts left |
| Per-unit subsidy to sellers | Introduced | Shifts right |
| Expected future price | Expected to rise | Often shifts left now, as sellers hold back stock |
| Price of an alternative product the seller could make | Rise | Shifts left for this good |
Consider a rise in input costs that cuts the quantity offered at every price by 40 units. Supply becomes Qs = -60 + 4P. Only the intercept changed. The slope d stayed at 4, so the new curve is parallel to the old one.
old = lambda p: max(0, -20 + 4 * p)
new = lambda p: max(0, -60 + 4 * p)
for p in (20, 30):
print(p, old(p), new(p))
# Inverse supply: the minimum price for 60 units
print((60 + 20) / 4, (60 + 60) / 4)At a price of 20, the quantity supplied drops from 60 to 20. At 30 it drops from 100 to 60. The last line prints 20.0 and 30.0. To bring 60 units to market, sellers now need 30 rather than 20. The same shift is seen as a leftward move of 40 units or an upward move of 10 in price, since 40 / d = 40 / 4 = 10. Both descriptions are correct. Which one you use depends on whether the question concerns quantities or prices.
This chart puts price on the horizontal axis because that is how a chart library plots a function of price. Textbook graphs swap the axes, so the same line looks steeper there (slope 1/d). The information is identical.
Common errors
- Confusing "supply" with "quantity supplied." Saying "supply rose because the price rose" is wrong. The quantity supplied rose. Supply, meaning the whole curve, did not move.
- Forgetting the zero floor. A linear equation can return negative quantities at low prices. The real supply is zero there.
- Reading d as the graph's slope. On the standard graph the slope is 1/d.
- Shifting the curve for a price change. If the only thing that changed is the good's own price, nothing shifts.
- Treating one line as the market for all prices. If firms differ, the market curve has kinks where new firms enter.
- Ignoring time. Over a short period, sellers may be unable to expand output, so the short-run curve is steeper than the long-run curve. This returns later in the discussion of delayed supply responses.
A last point that connects to later chapters: the responsiveness of supply to price is its elasticity, E = d × P / Q. At P = 20 and Q = 60, E = 4 × 20 / 60, about 1.33. That means a 1% rise in price raises quantity supplied by about 1.33%. Elasticity decides how much price and quantity move when demand shifts, and a later chapter returns to it.
Exercise
A market has supply Qs = -30 + 5P. (a) At what price do sellers first offer any quantity? (b) What quantity do they offer at P = 12? (c) Write the inverse supply function. (d) An improvement in technology raises quantity supplied by 25 units at every price. What is the new supply equation, and what price is now needed to bring 50 units to market?
Show answer
(a) Set Qs = 0: P = 30 / 5 = 6. (b) Qs = -30 + 5 × 12 = 30. (c) P = (Qs + 30) / 5 = 6 + Qs / 5. (d) The new equation is Qs = -5 + 5P, because the intercept rises by 25. Solving for 50 units: P = (50 + 5) / 5 = 11. Before the improvement, the price needed for 50 units was (50 + 30) / 5 = 16, so the curve moved down by 5 in price terms (25 / 5).
Exercise
Two firms supply a good. Firm A offers Qa = max(0, -10 + 2P). Firm B offers Qb = max(0, -30 + 5P). Find the market quantity supplied at P = 4, P = 8, and P = 10. Why is the market curve not a single straight line?
Show answer
At P = 4, Qa = 0 (since -2 is below zero) and Qb = 0, so the market supplies 0. At P = 8, Qa = 6 and Qb = 10 (since -30 + 40), so the market supplies 16. Wait: Qb at P = 8 is 10 and Qa is 6, so the total is 16. At P = 10, Qa = 10 and Qb = 20, so the total is 30. The curve is not a single line because Firm A enters at P = 5 and Firm B enters at P = 6. Between 5 and 6 only Firm A supplies, with slope 2. Above 6 both supply, and the slope is 7. The slope changes at each entry price.