Sub topic 1
Demand and the Law of Demand: A Quick Review
This chapter starts the short treatment of price elasticity of demand. It reviews the law of demand, then introduces the percentage method used to measure responsiveness.
Prerequisites
You should be comfortable with basic algebra, percentage calculations, and reading a price-quantity graph. You should also know the difference between a demand curve and a supply curve.
The law of demand
The law of demand states that, all else equal, a higher price leads to a lower quantity demanded. The demand curve slopes downward for this reason. Elasticity extends this idea by measuring how much quantity responds to a price change, not just whether it moves.
Percentage changes and the midpoint method
Raw changes in units or dollars depend on the scale of the goods, so economists compare percentage changes instead. The midpoint method divides each change by the average of the starting and ending values. This gives the same answer whether price rises or falls between the same two points.
def midpoint_elasticity(p1, q1, p2, q2):
pct_q = (q2 - q1) / ((q1 + q2) / 2)
pct_p = (p2 - p1) / ((p1 + p2) / 2)
return pct_q / pct_p
e = midpoint_elasticity(10, 100, 12, 90)
print(round(e, 2)) # -0.58Defining price elasticity of demand
Price elasticity of demand is the percentage change in quantity demanded divided by the percentage change in price. The point formula uses the derivative of the demand curve:
E = (dQ/dP) × (P/Q)
Elasticity is usually negative because price and quantity move in opposite directions. Economists often report the absolute value.
Elastic, inelastic, and unit elastic demand
Demand is classified by the absolute value of elasticity:
| Magnitude | Classification | Meaning |
|---|---|---|
| Greater than 1 | Elastic | Quantity changes by a larger percentage than price |
| Less than 1 | Inelastic | Quantity changes by a smaller percentage than price |
| Equal to 1 | Unit elastic | Quantity and price change by the same percentage |
import math
def classify(e, tol=1e-9):
magnitude = abs(e)
if magnitude < tol:
return "perfectly inelastic"
if math.isinf(magnitude):
return "perfectly elastic"
if abs(magnitude - 1) <= tol:
return "unit elastic"
return "elastic" if magnitude > 1 else "inelastic"
print(classify(-0.58)) # inelastic
print(classify(-1.5)) # elasticExercise
A price rises from 10 to 12 and quantity falls from 100 to 90. Using the midpoint method, is demand elastic or inelastic?
Show answer
The elasticity is about -0.58, so the magnitude is below 1. Demand is inelastic.