Sub topic 3
Long-Run Total, Average and Marginal Cost
This chapter assumes you know short-run fixed, variable, total, average and marginal cost, and diminishing marginal returns. You should also be able to read cost curves on a graph. The sections that use derivatives are marked as optional.
What changes in the long run
In the short run, at least one input is fixed. Usually that input is plant size or capital, so the firm can change output only by changing flexible inputs such as labour or materials. In the long run, every input can be changed. The firm can build a bigger plant, close one, or switch to a different mix of machines and workers.
This changes how costs are classified. In the long run no cost is fixed with respect to the firm's choices. Every cost is variable, because the firm can avoid it by planning a different scale.
| Feature | Short run | Long run |
|---|---|---|
| Inputs that can vary | Some, such as labour and materials | All, including plant size |
| Fixed cost | Yes, and it must be paid at any output | None, because every cost can be avoided by choosing a different plan |
| Main curves | SRTC, SRAC, SRMC | LRTC, LRAC, LRMC |
| Firm's decision | How much to produce with this plant | Which plant and input mix to build, then how much to produce |
Long-run total cost
Long-run total cost, LRTC(q), is the lowest cost of producing q units when the firm can choose every input freely. It comes from a minimization problem. For each output q, the firm picks the input combination that costs least. The cost of that combination is LRTC(q). A later chapter covers the tools for this, which are isoquants, isocost lines and the expansion path. For now, treat LRTC as the result of that minimization.
Two properties follow from the definition.
- LRTC(q) is never above the short-run total cost of any particular plant. A firm with a fixed plant has fewer options than a firm that can choose any plant. Fewer options cannot give a lower cost.
- LRTC(q) equals SRTC(q) for a given plant only at the output where that plant is the best choice. At every other output, the short-run cost of that plant is higher.
Because of the second property, the long-run curve touches each short-run curve at one output and lies below it everywhere else. The next chapter develops this as the envelope idea.
A note on "no fixed costs": some costs are indivisible. A firm may need one head office, one regulatory licence, or one design for a product. These costs do not change with output, but the firm can still avoid them by not operating. They appear in LRTC as a setup cost, which is paid only if q > 0. The cost function used below includes such a term.
Long-run average cost
Long-run average cost is cost per unit when the firm has chosen its cheapest plan for that output:
LRAC(q) = LRTC(q) / q
LRAC tells you the lowest unit cost the firm can reach at each output once it has had time to adjust. Compare it to SRAC, which gives unit cost for a plant that was built in advance and may not suit the current output.
LRAC is what a firm compares with price when deciding whether to enter or stay in a market for the long term. If the price stays below LRAC, no plan can cover costs, so the firm should exit.
Long-run marginal cost
Long-run marginal cost is the extra cost of producing one more unit when the firm can adjust every input to produce it most cheaply:
LRMC(q) = d LRTC / dq (optional calculus form)
LRMC differs from SRMC in what is held fixed. SRMC asks how much more it costs to raise output from the current plant. LRMC asks how much more it costs if the firm may also resize the plant. Because the firm has more ways to adjust, a rise in output costs no more in the long run than in the short run, as long as the plant is already well chosen. When the plant is the best one for q, SRMC and LRMC are equal at that q. Away from that point the plant is poorly matched, and SRMC rises more steeply than LRMC. This is why LRMC curves are usually flatter than SRMC curves.
How LRAC and LRMC relate
LRMC and LRAC follow the same rule as short-run marginal and average cost, because both are a marginal figure compared with an average figure.
- If LRMC < LRAC, producing one more unit pulls the average down, so LRAC is falling.
- If LRMC > LRAC, the extra unit pulls the average up, so LRAC is rising.
- If LRMC = LRAC, the average is not changing. This happens at a minimum or at a flat section of LRAC.
In calculus terms, d(LRAC)/dq = (LRMC - LRAC) / q, which has the same sign as LRMC - LRAC. This is the basis of the scale elasticity measure AC/MC that appears later in the tutorial.
Worked example 1: building LRTC from plant sizes
Suppose a plant of size k has short-run total cost SRTC(q, k) = 20k + 0.5 q² / k. The first term is the cost of the plant. The second term is the extra cost of crowding more output into a plant of that size. For each q, the code below searches a grid of plant sizes for the cheapest one. That minimum is LRTC.
# SRTC(q, k) = 20k + 0.5 * q**2 / k
def srtc(q, k):
return 20 * k + 0.5 * q ** 2 / k
# Plant sizes from 0.10 to 20.00 in steps of 0.01
plant_sizes = [i / 100 for i in range(10, 2001)]
def lrtc(q):
best_k = min(plant_sizes, key=lambda k: srtc(q, k))
return best_k, srtc(q, best_k)
for q in (10, 50, 100):
k, cost = lrtc(q)
print(f"q={q:>3} best plant={k:5.2f} LRTC={cost:7.2f} LRAC={cost / q:5.3f}")The best plant grows in proportion to output. The LRAC is about 6.32 at every q, so this firm has constant long-run average cost. With a plant that can be scaled freely and no setup cost, doubling output doubles the cost. LRMC equals LRAC here, which matches the rule above for a flat LRAC.
Worked example 2: a U-shaped LRAC with a setup cost
Now add an indivisible setup cost. Let LRTC(q) = 100 + 2q + 0.01 q². Then LRAC = 100/q + 2 + 0.01q, and LRMC = 2 + 0.02q. Setting LRMC equal to LRAC gives 100/q = 0.01q, so q = 100, and both equal 4 there.
def lrtc(q):
return 100 + 2 * q + 0.01 * q ** 2
def lrac(q):
return lrtc(q) / q
def lrmc(q):
return 2 + 0.02 * q
for q in (50, 100, 150):
ratio = lrac(q) / lrmc(q)
if ratio > 1:
trend = "LRAC falling"
elif ratio < 1:
trend = "LRAC rising"
else:
trend = "LRAC at minimum"
print(q, round(lrac(q), 3), round(lrmc(q), 3), round(ratio, 3), trend)At q = 50, LRAC is 4.5 and LRMC is 3, so each extra unit costs less than the average and LRAC falls. At q = 100 the two are equal at 4. At q = 150, LRAC is about 4.167 and LRMC is 5, so LRAC rises. The setup cost is spread over more units as q grows, which pulls the average down. The 0.01 q² term eventually pushes the other way.
Common errors
- Treating LRAC as the average of SRAC curves. LRAC takes, for each output, the lowest SRAC among the available plants. It is not an average or sum of them.
- Saying the long run has fixed costs. Costs that look fixed, such as a setup cost, can be avoided by not producing. They still enter LRTC as a cost that is incurred only if q > 0. They are not fixed in the short-run sense.
- Assuming LRMC is always below SRMC. The two are equal at the output where the plant is optimal. SRMC is above LRMC at higher outputs and below it at lower outputs for a rising SRMC curve, but it is steeper in both directions.
- Confusing a rising LRAC with diminishing returns. Diminishing returns describe one input being added to a fixed amount of others. A rising LRAC at large scale has other causes, covered in the chapter on diseconomies of scale.
Exercise
A firm has LRTC(q) = 50 + 4q + 0.02 q². Find the output that minimizes LRAC, and check that LRMC equals LRAC there.
Show answer
LRAC = 50/q + 4 + 0.02q and LRMC = 4 + 0.04q. Setting LRMC = LRAC gives 0.02q = 50/q, so q² = 2500 and q = 50. At q = 50, LRAC = 1 + 4 + 1 = 6, and LRMC = 4 + 2 = 6. They are equal, as expected at the minimum.
Exercise
At q = 20 a firm's LRAC is 10 and its LRMC is 7. Is LRAC rising or falling at that output, and why?
Show answer
LRAC is falling. LRMC is below LRAC, so producing one more unit costs less than the current average and pulls the average down. The ratio LRAC/LRMC is 10/7, about 1.43, which is above 1.
Exercise
Why can long-run total cost never exceed the short-run total cost of a particular plant at the same output?
Show answer
A firm that can choose any plant has every option that a firm with one fixed plant has, plus others. The cheapest choice among more options cannot cost more than the cheapest choice among fewer, so LRTC(q) is less than or equal to SRTC(q) for every plant. The two are equal only at the output where that plant is the best one.