Sub topic 4
The law of supply
This chapter assumes you can read a two-axis graph and do basic algebra. It also assumes you know what price, quantity, cost, and profit mean, and that you have seen how a supply schedule is built. Here you will state the law of supply precisely, test it against data, and learn when a pattern in real prices does not contradict it.
Stating the law
The law of supply says that, other things equal, a higher price for a good leads sellers to offer a larger quantity of it, and a lower price leads them to offer a smaller quantity. Price and quantity supplied move in the same direction.
The statement has three parts, and each one matters.
- "Price" means the price the seller receives for each unit. This is not necessarily the sticker price. If a tax takes part of the price, the seller's price is the amount left after the tax.
- "Quantity supplied" is the amount sellers are willing and able to offer at a given price during a given period. It is a quantity at one price, not the whole relationship.
- "Other things equal" is the condition ceteris paribus. Costs, technology, the number of sellers, expectations, and taxes are all held fixed while price changes.
The law is a statement about a relationship, not about any single seller. Some sellers may not respond to a small price change. The law describes the typical response of sellers as a group, and in most markets it holds well.
Why the law needs ceteris paribus
Supply is affected by many variables at once. Suppose you watch a market and see the price of a good rise while the quantity sold falls. That looks like a violation of the law. It may not be.
A change in input prices, for example, changes how much sellers will offer at every price. If wages jump at the same time the price rises, sellers may supply less even though the price is higher. The price effect and the cost effect are mixed together in the data.
The next code block makes that concrete. It uses the same linear supply function as the schedule from earlier in the tutorial, a supply function with the form Qs = −20 + 4P, floored at zero because a seller cannot supply a negative quantity.
def quantity_supplied(price, intercept=-20, slope=4):
return max(0, intercept + slope * price)
# Day 1: baseline costs, price 6.
day1 = quantity_supplied(6)
# Day 2: price rises to 8, but input costs also rose.
# Higher costs lower the intercept (less is offered at every price).
day2 = quantity_supplied(8, intercept=-36)
print(day1, day2)
# 4 0The price went up from 6 to 8, and the quantity supplied fell from 4 to 0. An analyst who compares only these two observations might conclude that supply slopes downward. The reason for the fall is the cost increase, which moved the whole function. To isolate the effect of price alone, you have to compare quantities at different prices under the same cost conditions:
same_costs = [quantity_supplied(p, intercept=-36) for p in (6, 8, 10)]
print(same_costs)
# [0, 0, 4]With the cost conditions fixed, quantity supplied does not fall as price rises. It stays at zero for P = 6 and P = 8, then rises to 4 at P = 10. The law holds once ceteris paribus is respected.
The law as a pattern in a schedule
A supply schedule lists the quantity supplied at each of several prices, with everything else held constant. The law of supply is the claim that the schedule rises as you read down the price column.
| Price | Quantity supplied | Change from previous row |
|---|---|---|
| 4 | 0 | none |
| 5 | 0 | 0 |
| 6 | 4 | +4 |
| 7 | 8 | +4 |
| 8 | 12 | +4 |
| 9 | 16 | +4 |
| 10 | 20 | +4 |
Two features of this table deserve attention.
First, quantity supplied is zero at prices 4 and 5. At a price of 5 the function gives −20 + 4 × 5 = 0. Below that price, no seller finds it worthwhile to produce, and the floor at zero applies. So the schedule is flat at the bottom. Strictly speaking, the law then says quantity supplied never falls as price rises, and rises wherever sellers are actually producing. Textbooks usually state the law as "quantity supplied rises" and treat the zero region as a boundary case.
Second, the increase is +4 for every one-unit rise in price. That constant step is a property of the linear function, which has a slope of 4. The law does not require a constant step. It only requires that the direction be upward.
You can check the law against any schedule with a small function:
def quantity_supplied(price, intercept=-20, slope=4):
return max(0, intercept + slope * price)
def obeys_law_of_supply(schedule):
"""schedule maps price -> quantity supplied.
Returns True if quantity never falls as price rises
and rises at least once."""
prices = sorted(schedule)
quantities = [schedule[p] for p in prices]
never_falls = all(a <= b for a, b in zip(quantities, quantities[1:]))
rises_somewhere = quantities[-1] > quantities[0]
return never_falls and rises_somewhere
schedule = {p: quantity_supplied(p) for p in range(4, 11)}
print(schedule)
print(obeys_law_of_supply(schedule))
# {4: 0, 5: 0, 6: 4, 7: 8, 8: 12, 9: 16, 10: 20}
# True
broken = {4: 0, 6: 8, 8: 5, 10: 20}
print(obeys_law_of_supply(broken))
# FalseThe second schedule, broken, has quantity falling from 8 to 5 as price goes from 6 to 8. Under ceteris paribus that would violate the law. In practice you would first check whether something else changed between those two observations.
The reasoning behind the law
The next chapters develop the full explanation of the curve's slope, so this section gives only the core idea.
A seller produces another unit only if the price covers the extra cost of making it. This extra cost is the marginal cost. In most production processes, marginal cost rises as output rises, because the cheapest resources and the most suitable workers and machines are used first. Getting more output means drawing on resources that are costlier or less suited to the task.
If marginal cost rises with output, a seller will expand production only when the price rises enough to cover the higher cost of the added units. A higher price therefore makes some units worth producing that were not worth producing before. This is why quantity supplied rises with price.
Notice what the argument depends on. It depends on the cost of producing the next unit rising as output grows. If marginal cost were flat or falling, the argument would not give an upward slope. That is why the law is stated as a general empirical pattern and not as a logical necessity.
Two ways to read the law
The same relationship can be read in two directions, and both are common in exam questions and real analysis.
- From price to quantity. At a higher price, how much will sellers offer? The answer is more.
- From quantity to price. To persuade sellers to offer more, what must the price be? The answer is higher. The price needed to call forth a given quantity is called the minimum supply price for that quantity.
The second reading is the one you will use when you draw the curve. Each point on it says: "to get this much, the price must be at least this high." For the schedule above, to get 12 units the price must be at least 8, and to get 20 units it must be at least 10.
def minimum_supply_price(quantity, intercept=-20, slope=4):
"""Invert Qs = intercept + slope * P to find the lowest price
at which sellers offer the given quantity."""
return (quantity - intercept) / slope
for q in (4, 12, 20):
print(q, minimum_supply_price(q))
# 4 6.0
# 12 8.0
# 20 10.0The function works only for quantities above zero. At Q = 0 the inverse gives 5, which is the highest price at which sellers still offer nothing. Any price at or below 5 gives a quantity of zero, so zero does not map to a single price.
Edge cases and apparent exceptions
The law is robust, but several situations look like exceptions. Most of them are not, once you identify what is really happening.
Fixed supply
Some goods cannot be produced in larger amounts in the period you care about. Examples are a single painting by a dead artist, tickets to a stadium with a fixed number of seats, and a crop that has already been harvested. In these cases quantity supplied does not respond to price over the period in question, so the supply is a vertical line.
This does not contradict the law. It is the limiting case in which the response is zero. Over a longer period the situation can change: a stadium can be expanded, and next season's crop can be larger. The time horizon matters, and the chapter on elasticity covers it in detail.
Backward-bending labor supply
A worker is a seller of labor, and the wage is the price. At low wages, a higher wage usually brings more hours. At very high wages, some workers choose to work fewer hours because they can afford more leisure. Plotted, the labor supply curve bends backward at the top.
This is a real exception to a simple reading of the law. It arises because the wage change affects the worker's income as well as the reward for an hour of work. For most goods sold by firms, no such effect exists, so the law applies in its simple form. Treat labor supply as a special case that needs its own analysis.
Expected future price changes
If sellers expect the price to be much higher next month, they may hold back stock today even though today's price has risen. Quantity supplied now falls as price rises now. This also looks like a violation, but the change in expectations is one of the "other things" that ceteris paribus holds fixed. It shifts the curve, and it does not describe movement along it. The chapters on shifts treat it as a determinant of supply.
Prices that sellers do not control
The law describes sellers who respond to price. If a government fixes the price, or a contract sets it, sellers cannot raise their price, and the observed quantity may be set by something else. Under a price ceiling below the market level, sellers supply less than they would at the market price. They do so because the price they can charge fell, which is consistent with the law.
Common mistakes
- Treating one observation as the law. The law compares quantities at different prices. A single price-quantity pair says nothing about it.
- Ignoring what else changed. If costs, technology, or taxes moved between two observations, the comparison does not test the law.
- Confusing "quantity supplied" with "supply." Quantity supplied is a number at one price. Supply is the whole schedule or curve. The law connects the two: as price changes, quantity supplied changes along a fixed supply. The next chapters build on this difference.
- Reading the law as a claim about one seller. It describes the market response, and individual sellers can differ in size and speed.
- Expecting a straight line. The law gives the direction of the relationship, not its shape. Real supply curves are often curved.
Putting it together
Here is a short routine for testing a claim about the law of supply, using the tools from this chapter.
- Identify the price that sellers actually receive, after taxes or subsidies.
- List what else could have changed between the observations: input costs, technology, number of sellers, expectations, taxes.
- If anything changed, you are not looking at a pure price effect. Compare only observations with the same conditions, or adjust the supply function.
- Check that quantity supplied does not fall as price rises, and rises somewhere.
- Account for boundary cases: the zero-output region at low prices, and fixed supply over short periods.
Exercise
Using Qs = -20 + 4P with a floor of zero, what quantity is supplied at P = 9, and what is the lowest price at which sellers offer 20 units?
Show answer
At P = 9, Qs = -20 + 4 × 9 = 16. For 20 units, solve 20 = -20 + 4P, which gives P = 10. Sellers offer 20 units only when the price is at least 10.
Exercise
A market shows the price of a good rising from 12 to 15 while the quantity sold falls from 100 to 80. During the same period, a new tax was placed on sellers. Does this show that the law of supply is false?
Show answer
No. The tax changed a condition that ceteris paribus holds fixed. It lowers the price sellers keep per unit, so sellers may supply less even though the posted price rose. The comparison mixes a price change with a tax change, so it is not a test of the law.
Exercise
Explain, using marginal cost, why a seller would offer more at a price of 10 than at a price of 6.
Show answer
Marginal cost rises as output rises. At a price of 6, only units whose marginal cost is at or below 6 are worth producing. At a price of 10, units costing between 6 and 10 to make also become profitable, so the seller produces more. The higher price covers the higher marginal cost of the extra units.
Exercise
A schedule reads: price 5 gives quantity 10, price 7 gives quantity 10, price 9 gives quantity 18. Does the schedule obey the law of supply as the function obeyslawof_supply defines it? What does the flat section from 5 to 7 suggest?
Show answer
Yes. Quantity never falls as price rises (10, 10, 18) and it rises somewhere (from 10 to 18), so the function returns True. The flat section suggests that sellers have a capacity limit or a fixed amount to sell between those prices, so quantity does not respond until the price is high enough to bring in additional production.