Sub topic 2
Comparative advantage: who gives up less
This chapter assumes you can read a simple table, compare ratios, and understand scarcity: resources are limited, so making more of one good means making less of another.
Opportunity cost and comparative advantage
The opportunity cost of a good is the amount of another good you give up to make one more unit of it. Opportunity cost is a ratio per unit, not a total.
Take two producers, X and Y, each with one worker-day. Output per worker-day is:
| Producer | Wheat per day | Cloth per day |
|---|---|---|
| X | 10 | 5 |
| Y | 4 | 4 |
X produces more of both goods, so X has an absolute advantage in both. Comparative advantage is a different test: it compares opportunity costs. This script computes them:
output_per_day = {
"X": {"wheat": 10, "cloth": 5},
"Y": {"wheat": 4, "cloth": 4},
}
for name, o in output_per_day.items():
cost_of_wheat = o["cloth"] / o["wheat"] # cloth given up per wheat
cost_of_cloth = o["wheat"] / o["cloth"] # wheat given up per cloth
print(name, "1 wheat costs", cost_of_wheat, "cloth;",
"1 cloth costs", cost_of_cloth, "wheat")
# Output:
# X 1 wheat costs 0.5 cloth; 1 cloth costs 2.0 wheat
# Y 1 wheat costs 1.0 cloth; 1 cloth costs 1.0 wheatX gives up 0.5 cloth per wheat, and Y gives up 1.0. X therefore has the comparative advantage in wheat. For cloth, Y gives up 1.0 wheat and X gives up 2.0, so Y has the comparative advantage in cloth.
Specialising according to comparative advantage
Each producer should specialise in the good where it has the comparative advantage. X makes wheat and Y makes cloth.
Over 10 days, X makes 100 wheat and Y makes 40 cloth. Before specialisation, X split its time 6 days on wheat and 4 on cloth, and Y split 5 and 5. Those splits produced 80 wheat and 40 cloth in total. After specialisation, total wheat rises to 100 and total cloth stays at 40, with the same labour.
Exercise
Using the table above, what range of terms of trade (wheat per unit of cloth) leaves both X and Y better off after they trade?
Show answer
Any price strictly between 1.0 and 2.0 wheat per cloth. Y would not sell cloth for less than 1.0 wheat, which is its own cost, and X would not pay more than 2.0 wheat, which is its cost of making cloth.