Sub topic 4
The production possibilities frontier and its slope
This chapter assumes you already know what scarcity and opportunity cost mean, can read a table and a straight-line graph, and can work with ratios. It turns the opportunity-cost calculation from the previous chapters into a picture. The picture is the production possibilities frontier (PPF). Its slope is the quantity the rest of the tutorial depends on, because comparative advantage is a statement about slopes.
What the frontier shows
A production possibilities frontier is a line or curve showing the largest combinations of two goods that a producer can make in a fixed period, using all of its resources and its best available method. Each point on the frontier is a different split of the same resources between the two goods.
This chapter uses the same two producers as the rest of the tutorial. Each has 10 worker-days, and the table gives output per worker-day.
| Producer | Wheat per day | Cloth per day |
|---|---|---|
| X | 10 | 5 |
| Y | 4 | 4 |
If X spends all 10 days on wheat, it makes 100 wheat and no cloth. If X spends all 10 days on cloth, it makes 50 cloth and no wheat. Those are the two end points. Every other split of days lies between them.
| Days on wheat | Days on cloth | Wheat | Cloth |
|---|---|---|---|
| 0 | 10 | 0 | 50 |
| 2 | 8 | 20 | 40 |
| 4 | 6 | 40 | 30 |
| 6 | 4 | 60 | 20 |
| 8 | 2 | 80 | 10 |
| 10 | 0 | 100 | 0 |
The row with 6 days on wheat is the "before trade" position for X used elsewhere in this tutorial: 60 wheat and 20 cloth. It is a point on the frontier.
Three kinds of point
The frontier divides the graph into three regions. Where a point falls tells you what it means.
- On the frontier. The combination is attainable and efficient. To get more of one good, the producer must give up some of the other.
- Inside the frontier. The combination is attainable but wasteful. Some resources are idle or used badly, so the producer could have more of at least one good and no less of the other.
- Outside the frontier. The combination is not attainable with current resources and methods.
For X, the point (60 wheat, 50 cloth) is outside the frontier. X would need 6 days for the wheat and 10 days for the cloth, which is 16 days when X has only 10. The point (50 wheat, 20 cloth) is inside. It uses 5 days on wheat and 4 on cloth, leaving a day unused.
The frontier is where trade-offs are real. Inside it, you can gain without anyone losing. On it, every gain in one good has a cost in the other. That cost is the opportunity cost.
The slope is the opportunity cost
On a graph with wheat on the horizontal axis and cloth on the vertical axis, the slope is the change in cloth divided by the change in wheat. For X, moving from 60 wheat to 80 wheat changes cloth from 20 to 10:
- Change in cloth: 10 − 20 = −10
- Change in wheat: 80 − 60 = +20
- Slope: −10 / 20 = −0.5
The magnitude, 0.5, is the opportunity cost of one unit of wheat measured in cloth. It matches the calculation from the table of output per day: 5 cloth per day divided by 10 wheat per day is 0.5. The slope is the same everywhere along X's frontier, so the frontier is a straight line.
Y's frontier runs from 40 wheat (all days on wheat) to 40 cloth (all days on cloth). Its slope is −4 / 4 = −1.0. One wheat costs Y one cloth.
Producer Y has a steeper line than X in this graph. A steeper line means a higher cost of wheat in cloth.
| Producer | Slope (cloth per wheat) | Cost of 1 wheat | Cost of 1 cloth |
|---|---|---|---|
| X | −0.5 | 0.5 cloth | 2.0 wheat |
| Y | −1.0 | 1.0 cloth | 1.0 wheat |
Reading the slope the other way round
The slope depends on which good is on which axis. If you swap the axes, the slope becomes the reciprocal. X's slope would be −2.0, meaning 2 wheat per cloth. Nothing about X has changed. You are reading the cost of the other good.
A reliable habit is to read the slope as "the good on the vertical axis given up per unit of the good on the horizontal axis." Write that sentence next to every slope you compute.
Computing the frontier in code
The following program builds each producer's frontier from the output table, reports the intercepts and slope, and classifies some test points for X.
days = 10
output_per_day = {
"X": {"wheat": 10, "cloth": 5},
"Y": {"wheat": 4, "cloth": 4},
}
def max_output(name, good):
"""Output if every day goes to one good."""
return days * output_per_day[name][good]
def frontier_cloth(name, wheat):
"""Largest cloth output when `wheat` units of wheat are produced."""
o = output_per_day[name]
if not 0 <= wheat <= max_output(name, "wheat"):
raise ValueError("wheat output is outside the frontier's range")
days_on_wheat = wheat / o["wheat"]
return (days - days_on_wheat) * o["cloth"]
def classify(name, wheat, cloth):
best = frontier_cloth(name, wheat)
if cloth > best:
return "unattainable"
if cloth == best:
return "on the frontier"
return "inside (attainable, but resources are idle or misused)"
for name, o in output_per_day.items():
slope = -o["cloth"] / o["wheat"] # cloth per wheat, vertical over horizontal
print(
f"{name} intercepts: {max_output(name, 'wheat')} wheat, "
f"{max_output(name, 'cloth')} cloth, slope {slope}"
)
for wheat, cloth in [(60, 20), (60, 30), (50, 20)]:
print(f"X at ({wheat}, {cloth}):", classify("X", wheat, cloth))
# Output:
# X intercepts: 100 wheat, 50 cloth, slope -0.5
# Y intercepts: 40 wheat, 40 cloth, slope -1.0
# X at (60, 20): on the frontier
# X at (60, 30): unattainable
# X at (50, 20): inside (attainable, but resources are idle or misused)The function frontier_cloth is the equation of the line. For X it works out to cloth = 50 − 0.5 × wheat. For Y it is cloth = 40 − 1.0 × wheat. In both, the coefficient on wheat is the slope and the constant is the vertical intercept.
Comparing two frontiers
Put both frontiers on one graph and two features stand out.
First, X's frontier reaches further on both axes: 100 against 40 for wheat, and 50 against 40 for cloth. That shows absolute advantage. X can produce more of each good with the same 10 days.
Second, the lines have different slopes. X's is flatter (−0.5) and Y's is steeper (−1.0). That shows comparative advantage. The producer with the flatter line gives up less cloth for each unit of wheat, so it has the comparative advantage in wheat. The producer with the steeper line gives up less wheat for each unit of cloth, so it has the comparative advantage in cloth. Y's wheat cost of cloth is 1.0 and X's is 2.0, so Y has the lower cost of cloth.
These two features are independent. Reach on the axes tells you about absolute advantage. Slope tells you about comparative advantage. Compare the intercepts and you learn who produces more. Compare the slopes and you learn who gives up less.
Equal slopes
If two producers have identical slopes, their opportunity costs are the same. Neither has a comparative advantage. No trade price exists that leaves both better off, because each would pay the same price at home as in the market. Suppose Y could make 8 wheat or 4 cloth per day. Its slope would be −0.5, the same as X's. Even though X would still produce more of each good, specialisation would create no extra output.
Where the straight line comes from
X's and Y's frontiers are straight lines because of an assumption: each day of work produces the same output no matter how many days are already on that good. This is the constant-cost assumption. The slope is the same at every point, so the opportunity cost of wheat is 0.5 cloth whether X makes 10 wheat or 90.
Real frontiers often bow outward, away from the origin. The slope gets steeper as output of one good rises. This is the increasing-opportunity-cost case. The reason is that resources differ. Some land suits wheat and some suits cloth fibre. The first units of wheat come from the best wheat land, which costs little cloth. Later units come from land better suited to the other good, so each costs more cloth.
With a curved frontier, the opportunity cost depends on where the producer is. You compute it as the slope of a line touching the curve at that point, or approximate it from a small move along the curve. Specialisation also stops being all-or-nothing. A producer moves toward its comparative-advantage good until the opportunity cost at the margin rises to match the trade price.
Keep the straight-line case in mind for the numerical work in this tutorial. It makes the result clean. The conclusion that differing slopes create gains carries over to curved frontiers, but full specialisation does not.
| Feature | Straight-line frontier | Bowed-out frontier |
|---|---|---|
| Source | Constant output per unit of input | Resources suited differently to each good |
| Slope | Same everywhere | Steeper as output of the horizontal-axis good rises |
| Opportunity cost | A single number | Depends on the point |
| Specialisation | Complete, at the extreme | Partial, up to the point where costs meet the price |
What moves the frontier
The frontier describes one period with fixed resources and methods. Several things change it.
- More inputs. If X gains 5 more worker-days, both intercepts shift outward in proportion. The slope is unchanged.
- Better technology for one good. If X's wheat output per day rises from 10 to 12, only the wheat intercept moves outward, from 100 to 120. The line pivots, and the slope changes to −5/12, about −0.42. X's opportunity cost of wheat has fallen.
- Better technology for both goods in equal proportion. Both intercepts move out by the same factor, and the slope stays the same.
The second case matters for comparative advantage. A change in productivity in one good changes the slope, so it can change who has the comparative advantage. If Y's wheat output per day rose from 4 to 12, Y's slope would be −4/12, about −0.33, which is flatter than X's −0.5. The comparative advantage in wheat would move from X to Y, even though X remains more productive in absolute terms in both goods.
Common errors
- Treating the frontier as a budget line for trade. The frontier shows what a producer can make on its own. Trade lets it consume outside this line. A later chapter shows how.
- Comparing intercepts to find comparative advantage. The larger intercepts show absolute advantage. Use slopes.
- Forgetting the sign or the axes. The slope is negative because more of one good means less of the other. Report the magnitude as a cost and state the units.
- Treating a point inside the frontier as a trade-off. Inside the frontier, you can have more of both goods. The trade-off only appears on the frontier.
- Assuming a straight line without checking. If output per input varies with scale, the frontier is curved and one opportunity-cost number is not enough.
Summary of the working model
- The frontier shows the maximum combinations of two goods a producer can make with fixed resources.
- Points on it are efficient, points inside it are wasteful, and points outside it are unattainable.
- Its slope, vertical over horizontal, is the opportunity cost of the horizontal-axis good in terms of the vertical-axis good.
- Intercepts show absolute advantage. Slopes show comparative advantage. The flatter line has the comparative advantage in the horizontal-axis good.
- Equal slopes mean no gains from trade.
- Straight lines come from constant costs. Curved frontiers come from resources that suit the goods differently.
Exercise
Producer Z has 10 worker-days and can make 6 wheat or 3 cloth per day. (a) Give Z's two intercepts and the slope of its frontier with wheat on the horizontal axis and cloth on the vertical axis. (b) Is the point (30 wheat, 12 cloth) attainable, and is it on the frontier? (c) Compared with Producer Y (4 wheat or 4 cloth per day), who has the comparative advantage in wheat?
Show answer
(a) All days on wheat gives 10 × 6 = 60 wheat. All days on cloth gives 10 × 3 = 30 cloth. The slope is −3/6 = −0.5, so 1 wheat costs 0.5 cloth. (b) At 30 wheat, Z uses 5 days on wheat and 5 on cloth, so the most cloth it can make is 5 × 3 = 15. The point (30, 12) has less cloth than 15, so it is attainable but inside the frontier, not on it. (c) Z's cost of wheat is 0.5 cloth and Y's is 1.0 cloth. Z gives up less, so Z has the comparative advantage in wheat.
Exercise
Producer X's wheat output per day rises from 10 to 20, with cloth unchanged at 5 per day. What are X's new intercepts and slope, and does X's comparative advantage in wheat over Y (slope −1.0) get stronger or weaker?
Show answer
The wheat intercept becomes 10 × 20 = 200, and the cloth intercept stays at 50. The slope is −5/20 = −0.25, so 1 wheat now costs 0.25 cloth. X's cost of wheat falls from 0.5 to 0.25 cloth, while Y's stays at 1.0. The gap widens, so X's comparative advantage in wheat gets stronger.