Sub topic 8
Reading the sign: substitutes and complements
This chapter assumes you can compute a percentage change with the midpoint method, that you know price elasticity of demand, and that you understand ceteris paribus (holding other factors fixed). It covers how the sign of the cross-price elasticity of demand classifies two goods as substitutes, complements, or unrelated. It also covers the mistakes learners most often make when reading that sign.
The definition in one line
Cross-price elasticity of demand measures how the quantity demanded of good A responds to a change in the price of a different good B:
E_AB = (% change in quantity demanded of A) / (% change in price of B)
The subscript order matters. The first letter is the good whose quantity you observe. The second is the good whose price changes. The price of A itself is not involved, and A's own price is held constant.
With the midpoint method, each percentage change uses the average of the start and end values as its base:
- % change in quantity of A = (Q1 − Q0) / ((Q1 + Q0) / 2)
- % change in price of B = (P1 − P0) / ((P1 + P0) / 2)
The ratio of the two is EAB. The sign of EAB comes from the direction of the two changes. Unlike price elasticity of demand, you do not drop the sign here, because the sign carries the economic meaning.
The sign rule
| Sign of E_AB | Relationship | What happens to A when B's price rises |
|---|---|---|
| Positive (> 0) | Substitutes | Demand for A rises |
| Negative (< 0) | Complements | Demand for A falls |
| Zero (≈ 0) | Unrelated | Demand for A does not change |
The reasoning behind each row is as follows.
Substitutes: positive sign
Two goods are substitutes when a consumer can use one in place of the other. If the price of B rises, B becomes less attractive relative to A. Some consumers switch to A, so the quantity demanded of A rises at every price of A. Both the price change and the quantity change are positive, so the ratio is positive.
Typical pairs are tea and coffee, butter and margarine, or two brands of the same kind of phone.
Complements: negative sign
Two goods are complements when they are used together. If the price of B rises, the combined cost of using both goods rises. Consumers buy less B and therefore less of A. The price change is positive and the quantity change is negative, so the ratio is negative.
Typical pairs are printers and ink cartridges, cars and gasoline, or hot dogs and hot dog buns.
Unrelated goods: approximately zero
If B's price has no effect on the quantity of A, the numerator is about zero and so is the ratio. Salt and bicycles are an example. In real data the estimate is rarely exactly zero, so you judge whether it is small enough, relative to measurement noise, to treat as zero. The next chapter takes up how to judge size.
A worked calculation
The code below reuses the midpoint function from the chapter's running example. It computes cross-price elasticity for two goods.
def midpoint_elasticity(x0, x1, q0, q1):
"""Elasticity of quantity q with respect to driver x (income or another good's price)."""
pct_q = (q1 - q0) / ((q1 + q0) / 2)
pct_x = (x1 - x0) / ((x1 + x0) / 2)
return pct_q / pct_x
# Price of good B rises from 1.00 to 1.10; quantity demanded of good A falls from 200 to 190.
cross_e = midpoint_elasticity(1.00, 1.10, 200, 190)
print(round(cross_e, 2)) # -0.54: negative sign, so A and B are complementsStep by step:
- The quantity of A falls from 200 to 190. The midpoint of the two quantities is 195, so the percentage change is −10 / 195 ≈ −0.0513.
- The price of B rises from 1.00 to 1.10. The midpoint is 1.05, so the percentage change is 0.10 / 1.05 ≈ 0.0952.
- The ratio is −0.0513 / 0.0952 ≈ −0.54.
The sign is negative, so A and B are complements. The size, 0.54 in absolute value, says that a 1 percent rise in B's price is associated with about a 0.54 percent fall in the quantity of A.
Now suppose the price of B rises by the same amount but the quantity of A rises from 200 to 212. The midpoint of the quantities is 206, so the quantity change is 12 / 206 ≈ 0.0583. The elasticity is 0.0583 / 0.0952 ≈ 0.61. The sign is positive, so A and B are substitutes.
sub_e = midpoint_elasticity(1.00, 1.10, 200, 212)
print(round(sub_e, 2)) # 0.61: positive sign, so A and B are substitutesHow the sign comes out of the mechanism
The same price change in B can be traced through two channels. The classification depends on which one dominates.
Rather than rely on that sketch, use the diagram below, which shows the decision path from observed data to a classification.
Common errors when reading the sign
Mixing up which price changed
The elasticity E_AB uses the price of B and the quantity of A. If you divide the change in A's quantity by the change in A's own price, you have computed price elasticity of demand instead. Always label which good is the numerator and which is the driver before you compute.
Forgetting that the sign is not dropped
For own-price elasticity, the law of demand makes the sign almost always negative, so people report the absolute value. For cross-price elasticity, a negative number and a positive number mean opposite things. Reporting 0.54 instead of −0.54 turns a complement into an apparent substitute.
Forgetting ceteris paribus
The definition assumes that income, tastes, A's own price, and the prices of other goods stay fixed. If income also rose during the period you observed, part of the change in A's quantity comes from income, not from B's price. The sign you compute from raw data can then be wrong. Estimation methods that control for these other factors appear later in the tutorial.
Treating the label as a property of the goods alone
Whether two goods are substitutes depends on the context. Coffee and tea are substitutes for a person choosing a morning drink. A café that sells both may see them as related in another way. A sign measured in one market, region, or time period does not automatically carry over to another.
Reading a sign from one noisy observation
A single pair of observations gives a single number. Random variation in sales can flip the sign. A small positive value computed from one week of data is weak evidence for substitution. Treat a sign as reliable only when it holds up across repeated or larger samples.
Check that the units cancel
Elasticity is a ratio of two percentages, so it has no units. It does not matter whether B's price is in dollars or cents, or whether A's quantity is in units or dozens. Changing units changes both the numerator and denominator base in the same way, and the percentages stay the same. This is why you can compare cross-price elasticities across different goods.
Quick classification practice
Take each case in turn. Identify the good whose quantity is observed, the good whose price changes, and the direction of each change.
| Observation | Sign of E_AB | Classification |
|---|---|---|
| Price of pizza rises, quantity of burgers rises | Positive | Substitutes |
| Price of cameras rises, quantity of memory cards falls | Negative | Complements |
| Price of bus tickets falls, quantity of toothpaste unchanged | About zero | Unrelated |
| Price of gasoline falls, quantity of large SUVs demanded rises | Positive price move is negative, quantity move is positive, so negative ratio | Complements |
The last row shows a trap. Here the price falls and the quantity rises, which are opposite directions. The ratio is therefore negative, which gives complements. The rule "same direction means substitutes, opposite direction means complements" applies to the direction of the two changes, not to whether each one is an increase.
Exercise
The price of good B rises from 5.00 to 5.50. The quantity demanded of good A rises from 80 to 84. Compute the cross-price elasticity with the midpoint method, round to two decimals, and say whether A and B are substitutes, complements, or unrelated.
Show answer
Quantity change: (84 − 80) / ((84 + 80) / 2) = 4 / 82 ≈ 0.0488. Price change: (5.50 − 5.00) / ((5.50 + 5.00) / 2) = 0.50 / 5.25 ≈ 0.0952. The ratio is 0.0488 / 0.0952 ≈ 0.51. The sign is positive, so A and B are substitutes.
Exercise
The price of good B falls from 2.00 to 1.80 and the quantity demanded of good A rises from 50 to 55. Without computing the full value, state the sign of the cross-price elasticity and the relationship between the goods. Then confirm your answer by computing it.
Show answer
B's price falls and A's quantity rises, so the two move in opposite directions and the sign is negative. The goods are complements. Check: quantity change = 5 / 52.5 ≈ 0.0952; price change = −0.20 / 1.90 ≈ −0.1053; ratio ≈ −0.90.
Exercise
A student computes the cross-price elasticity of tea with respect to the price of coffee as 0.40, and reports it as "coffee and tea are complements because the number is small". Identify the error.
Show answer
The relationship depends on the sign, not the size. A positive value of 0.40 means that when coffee's price rises, the quantity of tea demanded rises, so the goods are substitutes. A small size means the substitution is weak, not that the goods are complements.