Courses › Graduate Microeconomic Theory
Duality in consumer theory
Indirect utility and expenditure functions, Hicksian demand, Roy’s identity, Shephard’s lemma, the Slutsky equation in matrix form, and the testable restrictions of utility maximization.
The crash course introduced duality in one unit. This module develops it fully, because it is the engine behind most of applied consumer theory: welfare measurement, demand estimation and the testable implications of rationality all run through it.
You will meet the indirect utility and expenditure functions, prove their properties, derive Roy’s identity and Shephard’s lemma, move between the two problems with the duality identities, and derive the Slutsky equation and the Slutsky matrix, the sharpest restriction that utility maximization places on demand.
By the end of this module you will be able to
- State and prove the properties of the indirect utility function, and use Roy’s identity.
- Define Hicksian demand and the expenditure function, and explain why e is concave in prices.
- Use Shephard’s lemma and the duality identities to move between V, e, x and h.
- Derive the Slutsky equation and decompose price effects into substitution and income effects.
- State the properties of the Slutsky matrix, the integrability result, and the evidence on symmetry.
What this module covers
- The indirect utility function and Roy’s identity
- Expenditure minimization and the expenditure function
- Duality: four identities that link the problems
- The Slutsky equation
- The Slutsky matrix and what utility maximization really implies
- Problem set with step-by-step solutions
- Module quiz
Lesson 3.1 Free lesson
The indirect utility function and Roy’s identity
Solving the consumer’s problem for every price and income gives demand x(p, m). Plugging demand back into utility gives the indirect utility function
V answers the question “how well off is a person who faces prices p with income m?” It has properties that hold for any preferences (given local nonsatiation and continuity):
- Homogeneous of degree zero in (p, m), because demand is.
- Strictly increasing in m and nonincreasing in each price: more income enlarges the budget set, a higher price shrinks it.
- Quasi-convex in (p, m): the set of price–income pairs that leave the person no better off than some level is convex.
- Continuous in p and m.
Quasi-convexity has a neat proof. Take two price–income pairs where V ≤ k and any average of them. A bundle affordable at the average must be affordable at one of the two originals (if it cost more than both incomes at both prices, it would cost more than the average income at the average prices). So the best bundle at the average is no better than the best at one of the originals: V ≤ k there too.
Roy’s identity
Because V is the value of an optimization problem, the envelope theorem gives its derivatives cheaply: differentiate the Lagrangian u(x) + λ(m − p · x) with respect to the parameter, holding x at its optimal value. So ∂V/∂m = λ and ∂V/∂pi = −λxi. Dividing one by the other gives
Intuition: a $1 rise in the price of good i hurts like a loss of xi dollars of income, because that is the extra cost of the current bundle. Roy’s identity lets applied economists start from a convenient V and read off demand, instead of solving a utility maximization.
Worked example: Recovering demand from indirect utility
A café-goer’s indirect utility is V = m2/(4pxpy), which is a monotone transformation of the Cobb–Douglas form √(xy).
∂V/∂px = −m2/(4px2py), ∂V/∂m = 2m/(4pxpy).
Roy: x = [m2/(4px2py)] / [2m/(4pxpy)] = m/(2px): half of income goes to x, as Cobb–Douglas with equal weights should give.
Key ideas
- V(p, m) is homogeneous of degree zero, increasing in m, nonincreasing in prices and quasi-convex.
- The envelope theorem gives ∂V/∂m = λ and ∂V/∂pi = −λxi.
- Roy’s identity recovers Marshallian demand from V.
Practice questions: Duality in consumer theory
Try these, then open each answer to check your work.
- 1.Roy’s identity states that Marshallian demand xi equals:
- ∂e/∂pi
- −(∂V/∂pi)/(∂V/∂m)
- (∂V/∂m)/(∂V/∂pi)
- ∂V/∂pi
Show answer
Answer: B. From the envelope theorem, ∂V/∂pi = −λxi and ∂V/∂m = λ.
- 2.The expenditure function e(p, ū) is:
- Convex in prices
- Homogeneous of degree zero in prices
- Concave in prices
- Decreasing in ū
Show answer
Answer: C. Re-optimizing always beats the passive bundle, so e lies below its tangent lines: concave.
- 3.Shephard’s lemma says that ∂e/∂pi equals:
- Hicksian demand hi
- Marshallian demand times income
- The marginal utility of income
- The own-price elasticity
Show answer
Answer: A. The slope of the expenditure function in a price is the compensated quantity of that good.
Problems with step-by-step solutions
- 4.For V(p, m) = m/(px + py), use Roy’s identity to find x(p, m). What preferences does this come from?
Show step-by-step solution
- ∂V/∂px = −m/(px + py)2, ∂V/∂m = 1/(px + py).
- x = [m/(px + py)2] / [1/(px + py)] = m/(px + py).
- Both goods are bought in equal amounts whatever the prices: perfect complements, u = min(x, y).
- 5.Show that V(p, m) for Cobb–Douglas is homogeneous of degree zero.
Show step-by-step solution
- V = m(a/px)a((1 − a)/py)1−a.
- Replace (p, m) by (tp, tm): tm × t−a × t−(1−a) × (rest) = t1 − a − (1 − a) V = V.
- So V(tp, tm) = V(p, m).
Get the full module
The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).
Join the waitlist Try a full module free
More practice: free practice questions for this course.