Sub topic 2
Quick review: price elasticity of demand
This chapter refreshes the one idea the rest of the tutorial builds on. Income elasticity and cross-price elasticity use the same calculation as price elasticity. Only the variable that changes is different.
What this chapter assumes
You should already know the law of demand and what a demand curve shows. You should also be comfortable with percentage changes and with ceteris paribus reasoning. Ceteris paribus is Latin for "other things equal": we change one driver of demand and hold every other driver fixed. If any of this is shaky, review it first, because elasticity is built on it.
The definition
Price elasticity of demand measures how strongly the quantity demanded of a good responds to a change in its own price. It is a ratio of two percentage changes:
Price elasticity = (percentage change in quantity demanded) / (percentage change in price)
Because of the law of demand, price and quantity move in opposite directions. The ratio is therefore almost always negative. Many textbooks report the absolute value and drop the minus sign. This tutorial keeps the sign when it computes a number, and it says "in absolute value" when it compares sizes. Keeping the sign matters later. For income elasticity and cross-price elasticity, the sign carries the main information.
Elasticity is a unit-free number. A percentage change in quantity divided by a percentage change in price has no units, so you can compare elasticities across goods measured in litres, tickets, or kilograms.
The midpoint method
A percentage change depends on which value you use as the base. Take a price that falls from 5.00 to 4.00. Measured from the starting price, that is a 20% fall. Reverse the move, from 4.00 to 5.00, and it is a 25% rise. The same pair of prices gives two different percentages, so a simple percentage method gives two different elasticities for the same pair of points.
The midpoint method (also called the arc method) avoids this. It divides each change by the average of the starting and ending values:
- Percentage change in quantity = (Q1 − Q0) / ((Q1 + Q0) / 2)
- Percentage change in price = (P1 − P0) / ((P1 + P0) / 2)
Swapping the start and end points changes the sign of both changes but not their size. The elasticity is the same in both directions.
A worked example
Suppose a café lowers the price of a sandwich from 5.00 to 4.00. Weekly sales rise from 100 to 130.
- Percentage change in quantity: 30 / 115 ≈ 0.261, or about +26.1%.
- Percentage change in price: −1 / 4.5 ≈ −0.222, or about −22.2%.
- Elasticity: 0.261 / −0.222 ≈ −1.17.
The code below reuses the function from this chapter's topic plan and applies it to this example. It also runs the move in reverse and compares the result with the simple percentage method.
def midpoint_elasticity(x0, x1, q0, q1):
"""Elasticity of quantity q with respect to driver x (price, 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
def simple_elasticity(x0, x1, q0, q1):
"""Elasticity using the starting values as the base (order-dependent)."""
return ((q1 - q0) / q0) / ((x1 - x0) / x0)
# Price falls from 5.00 to 4.00; weekly quantity rises from 100 to 130.
print(round(midpoint_elasticity(5.0, 4.0, 100, 130), 2)) # -1.17
# Reverse move: price rises from 4.00 back to 5.00; quantity falls from 130 to 100.
print(round(midpoint_elasticity(4.0, 5.0, 130, 100), 2)) # -1.17 (same)
print(round(simple_elasticity(5.0, 4.0, 100, 130), 2)) # -1.5
print(round(simple_elasticity(4.0, 5.0, 130, 100), 2)) # -0.92 (different)The midpoint function gives −1.17 in both directions. The simple method gives −1.5 one way and −0.92 the other. Both are "right" for their own base, which is exactly why the midpoint method is the standard choice.
The function takes a generic driver x, not a price. This is deliberate. In later chapters you will pass income, or the price of a different good, as x, and nothing else changes.
Reading the size
The absolute value of the elasticity tells you how responsive buyers are:
| Absolute value | Name | Meaning |
|---|---|---|
| 0 | Perfectly inelastic | Quantity does not respond to price at all |
| Between 0 and 1 | Inelastic | Quantity changes by a smaller percentage than price |
| Exactly 1 | Unit elastic | Quantity changes by the same percentage as price |
| Greater than 1 | Elastic | Quantity changes by a larger percentage than price |
| Infinite | Perfectly elastic | Any price increase drops demand to zero |
The sandwich example has an absolute value of 1.17, so demand is elastic over that price range. Perfectly inelastic and perfectly elastic demand are limiting cases. Real goods fall somewhere between them.
The revenue test
Elasticity predicts what happens to total revenue, which is price times quantity sold.
- If demand is elastic, a price cut raises total revenue, because the gain in quantity outweighs the lower price.
- If demand is inelastic, a price cut lowers total revenue, because quantity barely rises.
- If demand is unit elastic, revenue stays about the same.
Check the sandwich example. Revenue was 5.00 × 100 = 500 before the cut and 4.00 × 130 = 520 after. Revenue rose when the price fell, which is what elastic demand predicts.
What makes demand more or less elastic
Several features of a good and its market push elasticity up or down.
- Availability of substitutes. If buyers can easily switch to another product, demand is more elastic. This idea returns in the cross-price chapters, where substitutes get their own measure.
- Share of the budget. A price change on a small purchase, such as salt, is barely noticed. A price change on a large purchase, such as rent, forces buyers to adjust. Larger budget shares usually mean more elastic demand.
- Necessity versus luxury. Goods people feel they must buy tend to be inelastic. Goods they can easily do without tend to be elastic.
- Time horizon. Demand is usually more elastic in the long run. When petrol prices jump, drivers cannot change much next week. Over several years they buy efficient cars and move closer to work.
- How narrowly the market is defined. "Food" is inelastic. "One brand of cereal" is elastic, because other brands are close substitutes.
The last point matters for this tutorial. How you define a market decides which goods count as substitutes, and later chapters use cross-price elasticity to settle that question with data.
Elasticity is not slope
A common error is to treat a flat demand curve as elastic and a steep one as inelastic. Slope and elasticity are different things. Slope uses absolute changes (units of quantity per unit of price). Elasticity uses percentage changes, which depend on where on the curve you are.
On a straight-line demand curve the slope is constant, but elasticity changes at every point. Take the demand curve Q = 200 − 20P. The slope is −20 everywhere. The point elasticity at a given price is (dQ/dP) × (P/Q), which is −20 × P/Q.
def demand(p):
return 200 - 20 * p
for p in [2, 4, 5, 6, 8]:
q = demand(p)
e = -20 * p / q
print(f"P={p} Q={q} elasticity={e:.2f}")The output is:
P=2 Q=160 elasticity=-0.25
P=4 Q=120 elasticity=-0.67
P=5 Q=100 elasticity=-1.00
P=6 Q=80 elasticity=-1.50
P=8 Q=40 elasticity=-4.00Demand is inelastic at low prices, unit elastic at P = 5, and elastic at high prices. At low prices, a given price change is a small percentage of a low price while quantity is already large. At high prices, the reverse holds. A revenue-maximizing seller on this curve would price at 5, where elasticity is −1.
Common errors
- Dropping the sign too early. For price elasticity, a negative sign is expected and an absolute value is a convenient shortcut. For income and cross-price elasticity, the sign is the result. Compute with the sign first and simplify afterwards.
- Mixing up the base. Use midpoints for both the quantity change and the driver change. Using the midpoint for one and the starting value for the other gives a number that matches no standard definition.
- Changing two things at once. An elasticity is meaningful only if the driver you are measuring is the only change. If price and income both move, the quantity change cannot be assigned to either.
- Reading elasticity as a constant. A value measured between two prices applies to that range. Extending it far beyond that range is risky, as the table above shows.
How this connects to the rest of the tutorial
The calculation does not change in the next chapters. You still divide the midpoint percentage change in quantity by the midpoint percentage change in a driver. What changes is the driver and what the answer means:
- For income elasticity, the driver is consumer income. The sign tells you whether a good is normal or inferior, and the size tells you whether it is a necessity or a luxury.
- For cross-price elasticity, the driver is the price of a different good. The sign tells you whether the two goods are substitutes or complements.
Own-price elasticity is almost always negative. For the other two measures, either sign is possible, so each sign gets its own interpretation.
Exercise
A streaming service raises its monthly price from 10.00 to 12.00. Subscribers fall from 5,000 to 4,400. Use the midpoint method to compute the price elasticity of demand. Is demand elastic or inelastic over this range, and what happened to total revenue?
Show answer
Percentage change in quantity = (4,400 − 5,000) / 4,700 = −600 / 4,700 ≈ −0.128. Percentage change in price = (12 − 10) / 11 = 2 / 11 ≈ 0.182. Elasticity ≈ −0.128 / 0.182 ≈ −0.70. The absolute value is below 1, so demand is inelastic. Revenue before the increase was 10 × 5,000 = 50,000. After it, revenue was 12 × 4,400 = 52,800. Revenue rose with the price, as the inelastic result predicts.
Exercise
A student computes elasticity for a price rise from 8 to 10 with the simple method, using the starting values as the base. Then she computes it again for the reverse move, from 10 to 8, using the same method. Quantity moves between 50 and 40. Without calculating, say whether the two answers will match, and explain which method fixes the problem.
Show answer
They will not match. The simple method uses the starting value as the base, so the same pair of points produces different percentage changes in each direction (a rise from 8 to 10 is +25%, but a fall from 10 to 8 is −20%, and quantity behaves the same way). The ratio of the two percentages changes with the direction. The midpoint method divides each change by the average of the start and end values, so both directions give the same elasticity.