Sub topic 9
Assumptions and limits: transport costs, adjustment costs, distribution
This chapter assumes you can compute opportunity costs from an output table. It also assumes you know the numerical example used earlier in this tutorial. In that example X makes 10 wheat or 5 cloth per worker-day, and Y makes 4 wheat or 4 cloth. X gives up 2.0 wheat per cloth, and Y gives up 1.0 wheat per cloth. At a price of 1.5 wheat per cloth, each party ends up with 10 more wheat than before.
That result is correct inside the model. The model is a simplification, though, and the answer to "should these two parties specialise and trade?" depends on what the simplification leaves out. This chapter goes through the main assumptions, shows how three of them (transport costs, adjustment costs, and distribution) change the numbers, and says what you can and cannot conclude from the model.
The assumptions behind the result
The comparative advantage result is a theorem about a stripped-down world. Each assumption supports a specific step in the argument.
| Assumption | Where the argument uses it | What happens when it fails |
|---|---|---|
| Opportunity costs are constant (a straight-line frontier) | Each party can specialise completely at the same trade-off | With rising costs, specialisation stops before it is complete |
| Moving goods between parties is free | The delivered price equals the price received | The usable range of terms of trade narrows |
| Resources move between uses instantly and at no cost | Output after specialisation is simply days times output per day | Gains arrive late and are partly spent on the move |
| Resources are fully employed | Shifting a worker to wheat means one fewer worker on cloth | Displaced workers may produce nothing for a while |
| Each "party" is a single decision-maker | A gain for X means a gain for everyone in X | Groups inside X can gain or lose very differently |
| Technology and costs are fixed | Today's opportunity costs predict the best pattern | Costs change with experience, investment, and scale |
| No external effects and competitive prices | Prices reflect true costs | Pollution, subsidies, or market power distort the signal |
None of these is a flaw to apologise for. A model that cannot be wrong in any way says nothing. The useful habit is to ask, for each real decision, which assumption is doing the most work.
Transport costs
In the model, a cloth that leaves Y's workshop arrives at X's door at no cost. In practice, moving goods takes labour, fuel, packaging, insurance, and time. Treat all of that as a transport cost of t wheat per cloth shipped.
The seller Y will not accept less than 1.0 wheat per cloth, its own opportunity cost. The buyer X will not pay more than 2.0 wheat per cloth, delivered. If the price Y receives is p, X pays p + t. Trade is possible only if there is a p with:
1.0 ≤ p and p + t ≤ 2.0
Such a p exists only when t is less than 1.0, which is the full gap between the two opportunity costs. So transport costs shrink the range of workable terms of trade and cut the total gain by t for every unit shipped.
X_COST = 2.0 # wheat X gives up per cloth
Y_COST = 1.0 # wheat Y gives up per cloth
QTY = 20 # cloth shipped from Y to X
print("t band gain_each total_gain")
for t in [0.0, 0.4, 0.8, 1.0, 1.2]:
band = X_COST - Y_COST - t # width of the price range that still works
if band <= 0:
print(f"{t:.1f} no trade: shipping eats the whole gap")
continue
# Price at the middle of the workable range, so both sides gain equally.
each = QTY * band / 2
print(f"{t:.1f} {band:.2f} {each:6.2f} {2 * each:6.2f}")
# Output:
# t band gain_each total_gain
# 0.0 1.00 10.00 20.00
# 0.4 0.60 6.00 12.00
# 0.8 0.20 2.00 4.00
# 1.0 no trade: shipping eats the whole gap
# 1.2 no trade: shipping eats the whole gapWith free shipping the total gain is the 20 wheat from the earlier chapter. At t = 0.4 it falls to 12, and at t = 1.0 it is zero. The comparative advantage ordering did not change at any point. X still has the comparative advantage in wheat and Y in cloth. What changed is whether the difference is large enough to pay for the shipping.
Three consequences follow:
- Some goods are not traded. A good with a large shipping cost relative to its value, such as bulk gravel or a haircut, may never cross the border even when the cost gap is big. Economists call these non-tradable goods.
- Countries do not specialise completely. If shipping is costly, each party keeps producing some of the good it imports, because the saving no longer covers the transport.
- Costs are not shared automatically. Who pays t depends on bargaining power and on how responsive each side is to price. The midpoint price above is only one possible split.
Adjustment costs
The model moves X from "6 days on wheat, 4 on cloth" to "10 days on wheat" with no pause. In practice X's cloth workers need to be retrained, relocated, or re-employed, and X's cloth equipment may have no other use. These are adjustment costs. They are usually paid first, while the gains arrive over many periods.
That makes the question one of timing. A one-off cost is compared with a stream of future gains, and a gain later is worth less than a gain now. The standard tool is discounting. Dividing a gain k periods away by (1 + r)^k converts it to today's value, where r is the discount rate.
Suppose X gains 10 wheat per period from trade at 1.5 wheat per cloth, as in the earlier example. Suppose moving its cloth workers into wheat costs a one-off 35 wheat, and X discounts at 10% per period. How long until the trade pays for the move?
gain_per_period = 10.0
adjustment_cost = 35.0
r = 0.10
present_value = 0.0
for period in range(1, 21):
present_value += gain_per_period / (1 + r) ** period
if present_value >= adjustment_cost:
print(f"Pays back in period {period}; "
f"discounted gains so far: {present_value:.2f}")
break
else:
print("Not paid back within 20 periods")
# Output:
# Pays back in period 5; discounted gains so far: 37.91Without discounting, the payback would come in period 4, because 4 × 10 = 40 exceeds 35. Discounting pushes it to period 5. If the discount rate were higher, or the adjustment cost larger, trade could take much longer to pay off. If the trade partner's prices were expected to change within a few periods, it might never pay off.
Adjustment costs also explain why people resist change even when the model says the total gain is positive. The cost arrives immediately and lands on identifiable people. The gain arrives later and is spread thinly.
Distribution: who gains and who loses
The earlier chapters treated X and Y each as a single decision-maker. In real economies, "X" is a collection of groups with different interests. The model says the total gain to X is positive. It does not say every group in X gains.
Trade changes relative prices inside each party. Before trade, 1 cloth costs 2.0 wheat in X. After trade at 1.5 wheat per cloth, a cloth costs less in X. This helps buyers of cloth and hurts the people who make it. Wheat producers gain in the other direction, since their wheat now buys more cloth. The same logic applies inside Y with the roles reversed.
Here is an illustrative split of X's 10-wheat gain. The group numbers are made up to show the structure, not derived from the earlier example.
# Illustrative change in each group's wheat-equivalent income in X.
change = {"wheat growers and consumers": +19, "cloth makers": -9}
net = sum(change.values())
winners = sum(v for v in change.values() if v > 0)
losers = -sum(v for v in change.values() if v < 0)
print("Net gain for X:", net)
print("Winners could pay losers in full:", winners >= losers)
# Compensate losers completely with a transfer from winners.
after = {
"wheat growers and consumers": change["wheat growers and consumers"] - losers,
"cloth makers": change["cloth makers"] + losers,
}
print("After full compensation:", after)
# Output:
# Net gain for X: 10
# Winners could pay losers in full: True
# After full compensation: {'wheat growers and consumers': 10, 'cloth makers': 0}Because the net gain is positive, the winners could in principle pay the losers in full and still be better off. Economists call this the compensation test. The word could matters. The model does not say the transfer happens, who would organise it, or how the right amount would be measured. In practice, compensation is often partial, slow, or absent, and it needs a policy such as retraining support, wage insurance, or taxes and transfers.
Two further points about distribution:
- The split between parties depends on the terms of trade. A price near 1.0 wheat per cloth gives most of the gain to X. A price near 2.0 gives most of it to Y. The model gives the range but not where in the range the price lands.
- Gains from trade are not the same as fairness. The model can say the total is larger. Whether a particular split is acceptable is a separate question that needs a judgement about values, not just arithmetic.
Other limits worth knowing
Some limits do not fit neatly into the three above:
- Rising opportunity costs. If the frontier curves, as it does when resources suit one good better than the other, the cost of one more unit of wheat rises as X makes more. Each party stops specialising before reaching one good only, at the point where its marginal cost matches the world price.
- Many goods. With more than two goods, the logic extends by ranking goods by relative cost. Each party exports the goods where its relative cost is lowest. The conclusion that nobody is left without something to export still holds.
- Money and exchange rates. The model works in goods. Real trade uses money, and exchange rates, inflation, and capital flows can all affect which goods a country can sell abroad profitably.
- Dynamic effects. Comparative advantage can change over time through learning by doing, investment, education, and new technology. A pattern that is best today may lock a country into low-growth activities. This is the argument behind infant-industry protection, which is debated and has a mixed record.
- Risk and resilience. Depending on a partner for a key good has a risk cost, since supply can be interrupted. The model prices none of it.
- Externalities. If making wheat pollutes a river and the price does not show this, the signal that told X to specialise in wheat is misleading.
A good way to hold this together: the model gives a benchmark, and each limit above is a reason a real outcome may differ from it, in a direction you can often estimate.
Exercises
Exercise
X gives up 2.0 wheat per cloth and Y gives up 1.0 wheat per cloth. Shipping a cloth from Y to X costs 0.6 wheat, paid by X. (a) What is the range of prices Y can receive per cloth for trade to benefit both? (b) What is the total gain from shipping 20 cloth?
Show answer
(a) Y needs at least 1.0. X's delivered price p + 0.6 must be at most 2.0, so p must be at most 1.4. The range is 1.0 to 1.4 wheat per cloth. (b) The gain per cloth is 2.0 − 1.0 − 0.6 = 0.4 wheat, so 20 cloth gives a total gain of 8 wheat.
Exercise
Moving X's cloth workers into wheat costs a one-off 20 wheat. Trade then gives X 8 wheat of extra output per period. Ignoring discounting, in which period does X recover the cost? Would a 10% discount rate change the answer?
Show answer
After 2 periods X has 16, which is less than 20, and after 3 periods it has 24, so the cost is recovered in period 3. With discounting at 10%, the discounted gains are about 7.27 after period 1, 13.88 after period 2, and 19.89 after period 3, which is just below 20. So the payback moves to period 4.
Exercise
A news report says trade will raise a country's total income by 10 units, but a group of cloth makers will lose 9 units. Does the model say the trade is a good idea? What additional information would you want?
Show answer
The model says total income rises, so the winners could in principle compensate the losers and still gain. It does not say compensation will happen or that the trade is desirable on other grounds. You would want to know whether a transfer will actually be paid, how large the adjustment costs are, how long they last, and how the losses fall on particular people, such as those with few other job options.