Sub topic 6
Why the Curve Slopes Upward: Rising Marginal Cost
This chapter assumes you know what a supply schedule and a supply curve are, and that you have met the law of supply. The law says that, holding other things constant, a higher price means a larger quantity supplied. You also need basic algebra and a feel for the words cost, revenue, and profit. The earlier chapters show that supply slopes upward. This chapter explains why.
By the end you should be able to:
- Define marginal cost and say why it usually rises with output.
- Explain why a profit-seeking seller produces until marginal cost equals price.
- Derive a supply curve from a marginal cost curve, and a marginal cost curve from a supply function.
- Name the cases where the "upward slope" story needs adjusting.
The claim in one sentence
A seller's supply curve is, over its relevant range, the seller's marginal cost curve. The curve slopes upward because the cost of making one more unit usually rises as output rises. A higher price is needed to make the extra, more expensive units worth producing.
The rest of the chapter unpacks each part of that sentence.
What marginal cost is
Marginal cost is the extra cost of producing one more unit. If making 10 units costs 100 and making 11 units costs 108, the marginal cost of the 11th unit is 8.
Marginal cost is not the same as average cost. Average cost is total cost divided by units produced. A firm can have a low average cost and a high marginal cost at the same output. For example, a bakery that has spread its rent over many loaves still faces a steep cost for a rush order that needs overtime.
Marginal cost counts only costs that change when output changes. Rent that was already paid and cannot be recovered (a sunk cost) does not change with the next unit, so it does not enter the marginal calculation.
The cost here means opportunity cost: the value of the best alternative use of the resources. A wage, a bag of flour, and an hour of machine time all count at what they could have earned elsewhere.
The decision rule: compare price with marginal cost
Take a seller who is a price taker. This means the seller is small enough that its own output does not change the market price. For each possible extra unit, the seller asks one question:
- If the price I receive is at least the marginal cost of this unit, producing it adds more revenue than cost, so I produce it.
- If the price is below the marginal cost of this unit, producing it loses money on that unit, so I stop.
Each unit adds price - marginal cost to profit. As long as that is positive, producing more raises profit. Once it turns negative, producing more lowers profit. The profit-maximizing quantity is therefore where marginal cost reaches the price. This is usually written as P = MC.
Now notice what the loop implies. If marginal cost rises with each unit, then a higher price lets the seller clear more units before the check fails. Quantity supplied rises with price. That is the law of supply, derived from cost instead of simply observed.
A worked example in code
Use the same supply function as in the earlier chapters: Qs = -20 + 4P. We will show that it comes from a marginal cost schedule. Suppose the seller's marginal cost of the n-th unit is
MC(n) = 5 + 0.25 × n
The first unit costs 5.25 to make, the second 5.50, the fourth 6.00, and so on. Each unit costs 25 cents more than the one before.
The code below implements the decision loop. Save all three code blocks in one file, because the second and third blocks reuse the functions defined in the first.
def marginal_cost(n, base=5.0, step=0.25):
"""Marginal cost of the n-th unit (n = 1, 2, 3, ...)."""
return base + step * n
def profit_max_quantity(price, base=5.0, step=0.25):
"""Keep adding units while the next unit costs no more than the price."""
n = 0
while marginal_cost(n + 1, base, step) <= price:
n += 1
return n
def variable_profit(price, q, base=5.0, step=0.25):
"""Revenue minus the marginal costs of units 1..q (fixed costs excluded)."""
return sum(price - marginal_cost(n, base, step) for n in range(1, q + 1))
for price in range(4, 11):
print(price, profit_max_quantity(price))
# 4 0
# 5 0
# 6 4
# 7 8
# 8 12
# 9 16
# 10 20The output is exactly the supply schedule from the earlier chapter: nothing at prices 4 and 5, then 4, 8, 12, 16, and 20 units. The supply schedule is the marginal cost schedule read sideways. The schedule has a zero at price 5 because the first unit costs 5.25, which is more than 5.
Checking that the stopping point is the best one
The loop claims that 12 units is the best choice at a price of 8. Check it by computing the profit from the units at nearby output levels.
for q in range(9, 15):
print(q, variable_profit(8, q))
# 9 15.75
# 10 16.25
# 11 16.5
# 12 16.5
# 13 16.25
# 14 15.75Profit rises as long as each added unit costs less than 8. The 12th unit costs exactly 8, so it adds zero profit, which is why 11 and 12 tie at 16.5. Past 12, each unit loses money and profit falls. Our loop uses <=, so it produces the tied unit. Either choice earns the same profit.
The table below shows the same pattern at a price of 8.
| Unit n | Marginal cost | Gain from the unit (8 minus MC) | Produce? |
|---|---|---|---|
| 1 | 5.25 | 2.75 | Yes |
| 6 | 6.50 | 1.50 | Yes |
| 11 | 7.75 | 0.25 | Yes |
| 12 | 8.00 | 0.00 | Indifferent |
| 13 | 8.25 | -0.25 | No |
From marginal cost to the supply function
Setting price equal to marginal cost for a large number of units gives P = 5 + 0.25Q. Solving for Q:
- Q = (P − 5) / 0.25
- Q = 4P − 20
This is the supply function from earlier, with the floor at zero for prices below 5. Two facts follow:
- The intercept −20 comes from the 5 in the marginal cost function. The 5 is the cost level where the curve begins.
- The slope 4 is the reciprocal of 0.25. If each extra unit costs more, which means a steeper marginal cost curve, then the supply function has a smaller slope in the quantity-on-price form. A steep marginal cost curve means supply responds weakly to price.
This reciprocal relationship is the main thing to remember when you move between the two ways of writing the same curve. Graphs of supply put price on the vertical axis, so the curve is drawn as P = 5 + 0.25Q even though the function says Q = 4P − 20.
Why marginal cost usually rises
The example above simply stated a rising MC. Real firms have rising marginal cost for a few connected reasons.
Diminishing marginal returns
In the short run, at least one input is fixed, such as the size of the kitchen, the number of ovens, or the acreage of a farm. A seller increases output by adding more of the variable inputs, such as labor. Each added worker has less equipment and space to work with than the one before, so each adds less output. Getting one more unit of output then takes more labor than the previous unit did, and so costs more. This is the law of diminishing marginal returns, and it is the standard textbook source of rising marginal cost.
The cheapest resources get used first
A seller with several possible sources of an input uses the cheapest first. A farm plants its best soil before its poor soil. A factory runs its most efficient machine before its older one. A company schedules its regular-hours staff before paying overtime. To produce more, the seller must reach for the next-best resource, which has a higher opportunity cost. This is the rising marginal opportunity cost that the learning objectives refer to.
Capacity and congestion
As a plant approaches full use, there are more breakdowns, more waiting, and more coordination effort. Costs per extra unit climb sharply near capacity.
Buying more raises input prices
A large buyer of an input sometimes pushes up that input's price by buying more of it. This is a market-level effect rather than a single small firm's.
Cost changes shift the curve
You can see the link to shifts already. Suppose an input gets more expensive so that every unit costs 1 more: MC(n) = 6 + 0.25 × n. Run the code with the new base cost.
print(profit_max_quantity(8), profit_max_quantity(8, base=6.0))
# 12 8At the same price of 8 the seller now supplies 8 units instead of 12. The supply function becomes Q = 4P − 24, and the curve has shifted to the left. The rule stays the same, but the marginal cost schedule underneath it has changed.
When the simple story needs adjusting
The statement "supply is marginal cost" is a good model, but it has limits. Know these before you apply it.
Only part of the marginal cost curve is the supply curve
In many textbook models, marginal cost first falls (specialization helps) and then rises. A firm will not supply at a price that fails to cover its average variable cost, which is the average of the costs that vary with output. If the price is below that, shutting down loses less than operating, because fixed costs are lost either way. So the firm's supply curve is the rising part of the marginal cost curve that lies above minimum average variable cost, and it is zero below that price. This is why supply schedules show zero quantity at low prices, as at prices of 4 and 5 in our example.
Constant marginal cost gives a flat curve
If marginal cost does not change with output, the firm supplies nothing below that cost and, in the pure model, any amount above it. A horizontal supply curve arises. In practice every firm has some capacity limit, so the curve turns steep or vertical at that limit. Over long periods, when all inputs can be adjusted, industries with constant long-run costs have flat long-run supply.
Fixed quantities give a vertical curve
If the quantity cannot change in the relevant time, such as seats in a stadium on game day or a one-time harvest, supply is vertical. The curve does not slope upward because there is no more output to be had at any price. Time matters here: the longer the period, the more inputs can be adjusted, and the more the curve bends toward a slope.
Market supply can slope up even if firms' costs are constant
Suppose every firm has constant marginal cost, but firms differ in their costs. At a low price only the lowest-cost firms supply. As the price rises, higher-cost firms enter the market. The market curve then slopes up because different sellers have different costs, not because any one seller's cost rises. The chapter on market supply returns to this.
Increasing returns break the pattern
Some industries have marginal cost that falls over a wide range, for example software, where copying costs almost nothing. A pure price-taking firm in that situation has no profit-maximizing stopping point, and the standard supply curve does not describe it. The model fits best where costs eventually rise and sellers are price takers.
Summary of the argument
- A seller's marginal cost rises as output rises, because of diminishing returns, the use of cheapest resources first, and capacity limits.
- A price-taking seller produces each unit whose marginal cost is at or below the price.
- So a higher price makes more units worth producing, and quantity supplied rises. That is the upward slope.
- The supply curve is the marginal cost curve (above minimum average variable cost), read with price as the input and quantity as the output.
- Anything that changes marginal cost at every output level moves the whole curve, which is a shift. A price change alone moves you along the curve.
Exercise
A seller's marginal cost of the n-th unit is MC(n) = 2 + 0.5 × n. (a) How many units does the seller supply at a price of 10? (b) Write the supply function Q in terms of P. (c) What happens to the quantity supplied at a price of 10 if the 2 in the formula rises to 4?
Show answer
(a) Produce while 2 + 0.5n is at most 10, so n is at most 16. The seller supplies 16 units. (b) Setting P = 2 + 0.5Q gives Q = 2P − 4, with Q equal to zero for prices below 2.5 (the first unit costs 2.5). (c) With MC(n) = 4 + 0.5n, the condition 4 + 0.5n at most 10 gives n at most 12, so quantity supplied falls from 16 to 12. The curve has shifted left because every unit now costs 2 more. The new supply function is Q = 2P − 8.
Exercise
A small firm can make as many units as it likes at a constant marginal cost of 5 up to a capacity of 100 units. Describe its supply curve, and explain why a market made of many such firms with different costs can still have an upward-sloping supply curve.
Show answer
The firm supplies nothing at prices below 5, any quantity up to 100 at a price of exactly 5, and 100 units at any price above 5. Its curve is flat at 5 and then vertical at 100. In a market, firms have different constant costs, for example 5, 6, and 7. At a price of 5 only the first supplies, at 6 the first two supply, and at 7 all three do. Adding their quantities gives a market curve that steps upward, even though no single firm has rising marginal cost below its capacity.