Sub topic 4
Marginal cost: the cost of one more unit
This chapter assumes you know the difference between fixed and variable costs and can differentiate a polynomial. It also assumes you have read the previous chapters, where total cost entered the profit equation, profit is total revenue minus total cost, and marginal revenue was defined. Here we define marginal cost (MC), compute it from a schedule and from a function, and note the errors that most often appear when it is used.
What marginal cost measures
Marginal cost is the change in total cost when output rises by one unit. Write total cost as C(Q), where Q is quantity. Then:
- Over a discrete step: MC = ΔC / ΔQ, which equals C(Q) − C(Q−1) when ΔQ = 1.
- For a smooth cost function: MC(Q) = dC/dQ.
MC answers one question: if the firm makes one more unit, how much more does it spend? The MR = MC rule in a later chapter compares this number with the extra revenue from that same unit.
Why fixed cost drops out
Total cost has two parts:
C(Q) = FC + VC(Q)
FC is fixed cost. It does not change with output, so it is the same at Q = 0 and Q = 1,000. VC(Q) is variable cost, which does change with output. When you subtract C(Q−1) from C(Q), FC cancels:
MC = [FC + VC(Q)] − [FC + VC(Q−1)] = VC(Q) − VC(Q−1)
So marginal cost depends only on variable cost. Raising rent or a licence fee shifts total cost upward but leaves MC unchanged, as long as the fee does not vary with output.
Computing MC from a schedule
Suppose total cost is C(Q) = 50 + 20Q + Q². The 50 is fixed cost. The table lists total cost at each output level and the cost of each extra unit.
| Output Q | Total cost C(Q) | Marginal cost C(Q) − C(Q−1) |
|---|---|---|
| 0 | 50 | n/a |
| 1 | 71 | 21 |
| 2 | 94 | 23 |
| 3 | 119 | 25 |
| 4 | 146 | 27 |
| 5 | 175 | 29 |
| 6 | 206 | 31 |
The cost of each additional unit rises by 2. Reading the table, "MC at Q = 3" means the cost of the third unit, which is the step from 2 units to 3.
Computing MC from a function
For C(Q) = f + cQ + dQ², differentiate:
MC(Q) = c + 2dQ
With f = 50, c = 20 and d = 1, this gives MC(Q) = 20 + 2Q. The constant f vanishes, which is the fixed-cost result from above in calculus form.
The derivative gives MC at a point, while the schedule gives the cost of a whole step. For the step from Q−1 to Q, the schedule value equals the derivative at the midpoint Q − 0.5. Check this against the table: the step from 2 to 3 costs 25, and 20 + 2(2.5) = 25. The two methods agree exactly here because the cost function is quadratic. For other functions they are close but not identical, and the gap shrinks when units are small relative to total output.
The following program checks the match:
# Total cost: C = f + c*Q + d*Q**2
f, c, d = 50, 20, 1
def cost(q):
return f + c * q + d * q**2
def mc(q):
# derivative of cost with respect to q
return c + 2 * d * q
print("Q C(Q) step MC at Q-0.5")
for q in range(1, 7):
step = cost(q) - cost(q - 1)
print(q, cost(q), step, mc(q - 0.5))
# 1 71 21 21.0
# 2 94 23 23.0
# 3 119 25 25.0
# 4 146 27 27.0
# 5 175 29 29.0
# 6 206 31 31.0
# Raise fixed cost from 50 to 500: the steps do not change
f = 500
print([cost(q) - cost(q - 1) for q in range(1, 7)])
# [21, 23, 25, 27, 29, 31]Why MC usually rises
MC often rises with output because of diminishing marginal returns. Suppose a bakery has one oven and adds workers. The first few workers each add a lot of bread. Later workers crowd the kitchen and wait for the oven, so each adds less. If each worker costs the same wage, the extra cost per extra loaf rises.
Other causes include overtime pay, which raises the labour cost of the extra units. Using older, less efficient machines for peak output has the same effect. So does buying inputs at higher prices when you need more of them.
The quadratic function above has MC rising from the start. Many real cost curves are U-shaped: MC first falls, because of specialisation or spreading setup effort, and then rises. A cubic cost function shows this. For C(Q) = 100 + 10Q − 0.9Q² + 0.1Q³, the derivative is MC(Q) = 10 − 1.8Q + 0.3Q².
def mc_cubic(q):
# C = 100 + 10q - 0.9q**2 + 0.1q**3
return 10 - 1.8 * q + 0.3 * q**2
for q in range(0, 9):
print(q, round(mc_cubic(q), 2))
# 0 10.0
# 1 8.5
# 2 7.6
# 3 7.3
# 4 7.6
# 5 8.5
# 6 10.0
# 7 12.1
# 8 14.8MC falls until Q = 3, where it reaches its minimum of 7.3, and then rises. This shape matters later. The second-order condition for profit maximisation requires MC to be rising at the chosen output, so the falling part of the curve cannot be a profit maximum.
How MC relates to average cost
Average cost is total cost divided by output. The next chapter covers average total cost and average variable cost in detail. For now you need only one link between them and MC:
- When MC is below average cost, producing one more unit pulls the average down.
- When MC is above average cost, one more unit pulls the average up.
- So MC crosses the average cost curve at its lowest point.
A test score works the same way. If your next score is below your running average, the average falls.
Common errors
The mistakes below recur on exams and in business reasoning.
- Including fixed cost in MC. If a cost does not change when output changes by one unit, it is not part of MC. This covers the factory lease and the insurance premium.
- Treating sunk costs as marginal. Money already spent and not recoverable does not change with the next unit. Ignore it when deciding whether to produce one more.
- Using average cost as if it were MC. At Q = 4 in the first example, average total cost is 146 / 4 = 36.5, but the fourth unit costs only 27. The two measures are different numbers. Using 36.5 would overstate the cost of expanding.
- Forgetting costs that vary with output but are not in the accounts. If making more units requires a worker to give up another paid job, that opportunity cost belongs in MC. The earlier chapter on economic profit explains why.
- Mixing the discrete and continuous forms. Do not compare the step C(3) − C(2) with the derivative at Q = 3. Compare it with the derivative at 2.5, or accept a small approximation.
- Assuming MC is constant. A constant MC is a special case, such as a linear cost function, for which the derivative is the constant c. In that case there is no interior output at which rising MC meets a declining MR, unless MR itself falls.
Where MC goes next
MC is one half of the profit-maximisation rule. The firm compares the revenue from the next unit (MR) with its cost (MC). While MR exceeds MC, producing more raises profit. Once MC exceeds MR, producing more lowers profit. The output where the two are equal is the candidate for the maximum. The next chapters take up average costs, then the rule itself.
Exercise
A firm has total cost C(Q) = 200 + 5Q + 0.5Q². (a) Find MC as a function of Q. (b) Compute C(10) and C(11), and the cost of the 11th unit. (c) Compare that step with MC evaluated at Q = 10.5. (d) What happens to MC if the fixed cost of 200 rises to 300?
Show answer
(a) Differentiate: MC(Q) = 5 + Q. The 200 disappears. (b) C(10) = 200 + 50 + 50 = 300. C(11) = 200 + 55 + 60.5 = 315.5. The 11th unit costs 315.5 − 300 = 15.5. (c) MC(10.5) = 5 + 10.5 = 15.5, which matches the step exactly because the cost function is quadratic. (d) Nothing. Fixed cost cancels out of MC, so MC is still 5 + Q. Total cost rises by 100 at every output level, but each extra unit costs the same as before.
Exercise
A firm has the cost schedule C(0) = 80, C(1) = 100, C(2) = 115, C(3) = 135, C(4) = 165. Find MC for each unit from 1 to 4. At which unit does MC begin to rise, and what does that suggest about the production process?
Show answer
MC for unit 1 is 100 − 80 = 20. Unit 2 is 115 − 100 = 15. Unit 3 is 135 − 115 = 20. Unit 4 is 165 − 135 = 30. MC falls from 20 to 15 at the second unit, then rises from the third unit onward (20, then 30). The fall suggests gains from specialisation or spreading setup effort at low output. The rise from the third unit suggests diminishing marginal returns, such as crowding or overtime, once output grows.