Sub topic 12
Constant-Elasticity Demand and the Log Form
Prerequisites and the model
This chapter assumes you understand demand curves, percentage changes, basic algebra, and the meaning of elasticity. A derivative is useful for connecting this model to point elasticity, but you can understand the log form without calculating derivatives.
A constant-elasticity demand function has the form:
Q = A P^e
Here:
Qis quantity demanded.Pis price.Ais a positive scale constant.eis the price elasticity of demand.
For an ordinary demand relationship, e is negative. For example, if e = -1.5, a 1% increase in price is associated with about a 1.5% decrease in quantity demanded.
The key feature is that the elasticity is the same at every price. This differs from a linear demand curve, where elasticity usually changes as you move along the curve.
Why logarithms reveal elasticity
Take the natural logarithm of both sides of Q = A P^e:
ln Q = ln A + e ln P
This equation has the same structure as a straight-line equation:
y = b + mx
The dependent variable is ln Q, the independent variable is ln P, the intercept is ln A, and the slope is e.
This is called a log-log model because both quantity and price are expressed as logarithms. The slope has a direct percentage interpretation:
e = percentage change in Q / percentage change in P
For example, suppose the estimated equation is:
ln Q = 5.2 - 1.4 ln P
The estimated price elasticity is -1.4. Holding other factors constant, a 1% increase in price is associated with an approximately 1.4% decrease in quantity demanded.
The approximation becomes especially accurate for small changes. For a larger price change, use the exact percentage change implied by the model:
Q2 / Q1 = (P2 / P1)^e
If price rises by 10% and e = -1.4, quantity is multiplied by 1.1^-1.4, which is about 0.877. Quantity therefore falls by about 12.3%, rather than exactly 14%.
Estimating elasticity with a log-log regression
With observed price and quantity data, calculate ln(P) and ln(Q), then fit a linear regression:
ln(Q) = intercept + elasticity × ln(P) + error
The coefficient on ln(P) estimates the constant price elasticity. The error term represents variation not explained by price, such as changes in income, preferences, advertising, or product availability.
import numpy as np
prices = np.array([2.0, 4.0, 5.0, 8.0, 10.0])
quantities = 200 * prices ** -1.5
slope, intercept = np.polyfit(np.log(prices), np.log(quantities), 1)
print("elasticity:", round(slope, 2))
print("intercept:", round(intercept, 2))
# elasticity: -1.5The code uses synthetic data generated from a constant-elasticity function, so the regression recovers -1.5. Real data will not fit perfectly.
Interpretation and limitations
The constant-elasticity form is useful when a single percentage response summarizes demand across the observed price range. It is convenient for forecasting and makes the elasticity easy to read from a regression coefficient.
However, the assumption can be too restrictive. Demand may be more elastic at high prices, change after consumers find substitutes, or respond differently in the short run and long run. Price may also be correlated with unobserved demand shocks. For example, a seller may raise prices when demand is unusually strong. Ordinary regression can then confuse demand changes with the response to price.
Use the estimate as a model-dependent summary, not as a guaranteed causal effect.
Exercise
If the regression equation is ln Q = 6 - 0.8 ln P, what is the estimated price elasticity, and how should it be interpreted?
Show answer
The estimated elasticity is -0.8. A 1% increase in price is associated with about a 0.8% decrease in quantity demanded, so demand is inelastic in this model.