Sub topic 9
Reading opportunity cost from the slope
This chapter assumes you can read a two-axis graph, compute a slope as rise over run, and recall that opportunity cost is the next-best alternative given up. It covers how to turn the slope of a production possibilities frontier (PPF) into a number for opportunity cost, and where that reading goes wrong.
From two points to a slope
Put good X on the horizontal axis and good Y on the vertical axis. Moving along the frontier from one point to another means producing more of one good and less of the other. The slope measures that exchange rate:
slope = (change in Y) / (change in X)
Because the frontier slopes downward, the slope is negative. Economists usually drop the minus sign and report its absolute value. This absolute value is called the marginal rate of transformation (MRT). The MRT is the amount of Y an economy must give up to produce one more unit of X.
So the MRT is the opportunity cost of X, measured in units of Y.
Here is a worked example. An economy can produce these combinations on its frontier:
| Point | Corn (X) | Cloth (Y) |
|---|---|---|
| A | 0 | 15 |
| B | 10 | 10 |
| C | 20 | 5 |
| D | 30 | 0 |
Moving from A to B, corn rises by 10 and cloth falls by 5. The slope is -5 / 10 = -0.5. The MRT is 0.5, so each unit of corn costs 0.5 units of cloth. The same calculation from B to C and from C to D also gives 0.5. This is a straight-line frontier, so the cost is constant.
The reciprocal: the cost of the other good
The slope gives the cost of the good on the horizontal axis. To find the cost of the good on the vertical axis, take the reciprocal.
- Cost of 1 corn = 0.5 cloth.
- Cost of 1 cloth = 1 / 0.5 = 2 corn.
Check it against the table. Moving from D to C, cloth rises by 5 and corn falls by 10. Each cloth unit therefore costs 2 corn.
A common error is to read the slope as the cost of Y. Always say which good is the one being gained. The slope's numerator is the good given up, and the denominator is the good gained.
Slope on a bowed-out frontier
On a curved frontier the slope changes from point to point, so the MRT does too. There are two ways to measure it.
- Between two points (arc measure). Compute the change in Y over the change in X for a discrete move. This gives the average cost over that stretch.
- At a single point (point measure). Draw the tangent line at that point and take its slope. This gives the cost of one additional unit at that exact point.
Take the frontier x² + y² = 100 from the earlier chapter on increasing costs. Calculus gives the slope at any point:
dy/dx = -x / y
So the MRT at a point is x / y. At x = 6, y = 8, the MRT is 6 / 8 = 0.75. At x = 8, y = 6, the MRT is 8 / 6 ≈ 1.33. The cost of X rises as the economy produces more X, which is the signature of a bowed-out frontier.
The code below compares the arc measure with the point measure.
from math import sqrt
def max_y(x):
return sqrt(100 - x**2)
def mrt_point(x):
return x / max_y(x)
def mrt_arc(x0, x1):
return (max_y(x0) - max_y(x1)) / (x1 - x0)
for x in (2, 4, 6, 8):
print(f"x={x}: point MRT = {mrt_point(x):.3f}, "
f"arc MRT from {x} to {x + 1} = {mrt_arc(x, x + 1):.3f}")The arc value for a move from x to x + 1 sits between the point MRT at x and the point MRT at x + 1. Smaller steps bring the arc measure closer to the point measure.
Reading the slope visually
You can compare costs at different points without calculating.
- A steep section means a large drop in Y for each unit of X. X is expensive there, and Y is cheap.
- A flat section means a small drop in Y for each unit of X. X is cheap there, and Y is expensive.
On a bowed-out frontier, the curve is flat near the Y-axis and steep near the X-axis. When the economy produces mostly Y, the first units of X are cheap. When it produces mostly X, the last units of X are expensive. The reverse holds for Y.
Why the MRT matters for choices
The MRT is the cost side of a decision. Whether a move along the frontier is worthwhile depends on comparing it with the benefit side, which is how much society values the extra unit of X relative to Y. The next chapters on allocative efficiency develop that comparison. For now the point is that the MRT gives you the price of a choice in physical units, with no money involved.
The MRT also feeds directly into comparative advantage. Two countries with different MRTs for the same good differ in opportunity cost, and that difference is what creates gains from trade.
Edge cases and common errors
- Dropping the sign. The slope is negative. The MRT is its absolute value. State which one you are reporting.
- Mixing up the axes. If you swap the axes, the slope becomes the reciprocal. Always check which good is on the horizontal axis.
- Reading cost off a point inside the frontier. A point inside the frontier has no slope. Slope belongs to the frontier curve. Moving from an inside point to the frontier can give more of both goods, so the trade-off does not apply there.
- Applying one slope to a large move on a curved frontier. A tangent slope is accurate only for very small moves. For a large change, use the two-point calculation or add up the costs unit by unit.
- Kinks and corners. A frontier made of straight segments with different slopes has a kink. The MRT is undefined at the kink itself. Say which side you are measuring.
- Dividing the wrong way with maximum outputs. On a straight-line frontier, the MRT equals max Y divided by max X. In the corn and cloth example, 15 / 30 = 0.5 is the cost of corn in cloth. Max X divided by max Y, 30 / 15 = 2, is the cost of cloth in corn.
The last point gives a shortcut for comparing two countries. The next code block applies it.
# Maximum output if all resources go to one good
a = {'wheat': 60, 'cloth': 30}
b = {'wheat': 20, 'cloth': 20}
for name, c in (('A', a), ('B', b)):
wheat_cost = c['cloth'] / c['wheat']
cloth_cost = c['wheat'] / c['cloth']
print(name, 'cost of 1 wheat in cloth:', wheat_cost,
'| cost of 1 cloth in wheat:', cloth_cost)Country A gives up 0.5 cloth per wheat, and Country B gives up 1.0. A has the lower opportunity cost of wheat. Because the two costs are reciprocals, B has the lower opportunity cost of cloth (2 wheat per cloth for A against 1 for B).
Summary of the method
- Identify which good is on the horizontal axis.
- Choose two points, or a tangent at one point.
- Divide the fall in Y by the rise in X, and take the absolute value.
- Label the answer as the cost of the horizontal-axis good, in units of the vertical-axis good.
- Invert the result if you need the cost of the vertical-axis good.
Exercise
A straight-line PPF for an economy producing laptops (horizontal axis) and bicycles (vertical axis) runs from 40 bicycles (zero laptops) to 100 laptops (zero bicycles). (a) What is the opportunity cost of one laptop in bicycles? (b) What is the opportunity cost of one bicycle in laptops? (c) The economy moves from 20 laptops to 60 laptops. How many bicycles does it give up?
Show answer
(a) The slope is -40 / 100, so the MRT is 0.4. One laptop costs 0.4 bicycles. (b) The reciprocal is 1 / 0.4 = 2.5, so one bicycle costs 2.5 laptops. (c) Laptops rise by 40, and each costs 0.4 bicycles, so the economy gives up 40 x 0.4 = 16 bicycles. Because the frontier is straight, the same figure applies at every point.
Exercise
On the frontier x² + y² = 100, the MRT of X is x / y. Calculate the MRT at x = 3 (so y = sqrt(91) ≈ 9.54) and at x = 9 (so y = sqrt(19) ≈ 4.36). What do the two results tell you about the cost of X?
Show answer
At x = 3 the MRT is 3 / 9.54 ≈ 0.31. At x = 9 the MRT is 9 / 4.36 ≈ 2.06. The cost of one more unit of X rises from about 0.31 units of Y to about 2.06 units of Y as the economy moves toward more X. This is increasing opportunity cost, shown by the frontier getting steeper to the right.