Module 1 · 12 min read · Free chapter
Revealed preference and duality: indirect utility and the expenditure function
Revealed preference infers taste from choices: if a consumer picks A when B was affordable, A is revealed preferred, and the weak axiom says this can never reverse. Duality links utility maximisation and expenditure minimisation: Roy's identity gets demand from indirect utility, and Shephard's lemma gets compensated demand from the expenditure function.
Start from zero: two new ways to look at the consumer
Utility and indifference curves live inside a person's head. Nobody can see them, which troubled economists in the 1930s. They wanted a demand theory built only on things that can be observed: prices, incomes and what people actually buy.
A shopkeeper's ledger is a good picture. It records what a customer bought and what everything cost on that day. If the customer could have bought a different basket but did not, the ledger has revealed something about her taste. This is the idea behind revealed preference theory.
The second new idea is to flip the consumer's problem around. Instead of asking "how much satisfaction can she get from her income?", ask "how little must she spend to reach a given satisfaction?". The two questions are mirror images, and the link between them is called duality.
Why it matters. Revealed preference lets economists test whether real data are consistent with rational choice. Duality gives quick routes to demand curves, welfare measures and price indices, and most modern demand estimation starts from it.
Revealed preference: reading taste from choices
When and who. Paul Samuelson proposed the approach in 1938. His aim was to derive the main results of demand theory without assuming that utility exists or can be measured. He assumed only that the consumer's choices are consistent.
The basic definition. Suppose at prices P the consumer buys bundle A, and bundle B also lies within her budget, so . She could have had B but chose A. We then say A is directly revealed preferred to B.
In a diagram, A lies on the budget line and B lies on or inside it. Every bundle in the budget triangle is revealed worse than, or at best as good as, the chosen point. One observation thus tells us a whole region of bundles that the consumer ranks below A.
What it assumes. The consumer spends all her income, her tastes do not change between observations, and she chooses one bundle at each set of prices. She is also assumed to prefer more to less, so she always ends up on the budget line.
Why it matters. The approach turns a theory about feelings into a theory about data. That is why it is used to check survey and scanner data, and why it underlies the logic of cost-of-living index numbers.
The weak and strong axioms, and the law of demand
Weak axiom (WARP). If A is directly revealed preferred to B, then B must never be directly revealed preferred to A. In plain words, if she picked A when B was affordable, she should not pick B on another day when A is affordable.
Strong axiom (SARP). Hendrik Houthakker extended the idea in 1950 to chains. If A is revealed preferred to B, B to C, and so on up to Z, then Z must never be revealed preferred to A. SARP is a form of transitivity for observed choices. With more than two goods, it is SARP, not WARP, that guarantees the data can be explained by some well-behaved utility function.
A worked test. A consumer buys when and , and buys (9, 3) when and . Call these A and B.
- At the first prices, A costs 10 + 15 = 25 and B costs 9 + 9 = 18. B was affordable, so A is revealed preferred to B.
- At the second prices, B costs 18 + 6 = 24 and A costs 20 + 10 = 30. A was not affordable, so B is not revealed preferred to A.
- No contradiction appears, so the choices are consistent with WARP.
The law of demand from WARP. Suppose the price of X falls and the consumer's income is cut just enough that she can still buy her old bundle A (Slutsky compensation). WARP then rules out any new choice inside the old budget set. The only bundles left lie on the part of the new line where she buys more X. So the compensated substitution effect is negative, without any indifference curve. If X is also normal, the income effect adds to it and the ordinary demand curve slopes down.
Why it matters. This showed that the core of demand theory survives even if utility is a fiction. It also gave economists a practical test: if real choices violate WARP, either tastes changed or the consumer is not optimising.
The indirect utility function and Roy's identity
Solve the usual problem: maximise U(x₁, x₂) subject to . The answers are the ordinary demands x₁(P₁, P₂, M) and x₂(P₁, P₂, M). Put them back into the utility function and you get the indirect utility function:
It is called indirect because it measures utility through prices and income rather than through quantities. It answers the question "how well off is a consumer facing these prices with this income?".
Properties.
- It is non-increasing in prices: a higher price shrinks the budget set, so the best reachable curve can only be lower.
- It is increasing in income: more income expands the budget set.
- It is homogeneous of degree zero in prices and income together, because doubling everything leaves the budget line unchanged.
- It is quasi-convex in prices and continuous.
Roy's identity. Demand can be recovered straight from V:
The intuition is simple. A ₹1 rise in P₁ costs the consumer about x₁ rupees of purchasing power, and converts rupees into utility. So the utility loss from the price rise is x₁ times the marginal utility of income.
Example. For , demands are and , so . Then and . Roy's identity gives , as it should.
Why it matters. Empirical economists often write down a convenient V and use Roy's identity to get demand equations they can estimate. This guarantees that the estimated demands come from rational choice.
The expenditure function and Shephard's lemma
Now flip the problem. Minimise spending P₁x₁ + P₂x₂ subject to reaching a target utility . The answers are the compensated (Hicksian) demands h₁(P₁, P₂, Ū) and h₂(P₁, P₂, Ū). The minimum spending itself is the expenditure function:
In the diagram, the indifference curve Ū is fixed and the budget line is pushed inward until it just touches it. The tangency condition is the same as before, . This is why the two problems pick the same point when their targets match.
Properties.
- It is increasing in Ū: a higher utility target costs more.
- It is non-decreasing in prices: dearer goods make any target costlier.
- It is homogeneous of degree one in prices: doubling all prices doubles the cost of reaching Ū.
- It is concave in prices: when one price rises the consumer substitutes away, so cost rises less than in proportion to the old basket.
Shephard's lemma. The derivative of the expenditure function with respect to a price is the compensated demand for that good:
The intuition: if P₁ rises by ₹1, the extra cost of keeping utility at Ū is about h₁ rupees. Concavity then means ∂h₁/∂P₁ = ∂²e/∂P₁² ≤ 0, which is the negative substitution effect again.
Example. For , invert to get . Shephard's lemma gives , which clearly falls as P₁ rises.
Why it matters. The expenditure function measures welfare in rupees. The compensating variation of a price change is simply e(new prices, old Ū) − M, which links back to Utility, marginal utility and consumer's surplus. True cost-of-living indices are ratios of expenditure functions.
Duality: four identities that tie it all together
If preferences are continuous and locally non-satiated, the two problems are perfect mirrors. The bundle that maximises utility at income M also minimises the cost of reaching the utility it gives, and vice versa. This gives four duality relations:
- : the least cost of reaching the best utility affordable with M is exactly M.
- : the best utility affordable with the least cost of Ū is exactly Ū.
- : ordinary demand equals compensated demand at the utility M can buy.
- : compensated demand equals ordinary demand at the income needed for Ū.
Deriving the Slutsky equation. Start from identity 4, , and differentiate both sides with respect to P₁:
By Shephard's lemma . Rearranging gives , the Slutsky equation of Price, income and substitution effects; Slutsky and the demand curve, in two lines.
The full Cobb-Douglas set for shows every link working:
| Object | Formula |
|---|---|
| Ordinary demand | |
| Indirect utility | |
| Expenditure function | |
| Compensated demand |
Put into h₁ and you get , which is identity 3.
Why it matters. Duality means you can start from whichever function is easiest and derive the rest. The same mirror idea reappears in producer theory as cost and profit functions, covered in the chapter on cost functions.
Descriptive lens: how papers ask this, and how to answer
Written papers test this chapter in two styles. One style gives numerical observations and asks whether choices satisfy the axioms of revealed preference. The other gives a utility or indirect utility function and asks you to derive demand, the expenditure function or compensated demand.
Angles worth using.
- Observability: revealed preference uses only prices and quantities, which is its main strength.
- Consistency: WARP is pairwise consistency; SARP is consistency along chains.
- Mirror problems: the same tangency solves both maximisation and minimisation.
- Shortcuts: Roy's identity and Shephard's lemma turn derivatives into demands.
Our practice questions (written by us for practice, not previous-year questions):
- Explain the weak axiom of revealed preference and show how it implies a negative substitution effect. (15 marks)
- Distinguish between the weak and strong axioms of revealed preference. (10 marks)
- Define the indirect utility function and state its properties. Derive demand from . (15 marks)
- State Shephard's lemma and use it to derive compensated demand from . (10 marks)
- Explain the duality between utility maximisation and expenditure minimisation and use it to derive the Slutsky equation. (20 marks)
Answer plan for question 1.
- Define direct revealed preference with the budget-set condition .
- State WARP and draw two crossing budget lines.
- Apply Slutsky compensation: lower Px and cut income so the old bundle is just affordable.
- Show that WARP rules out new choices inside the old budget triangle, so more X is chosen.
- Conclude that the compensated substitution effect is negative, and add that a normal good's demand curve then slopes down.
Keywords: revealed preference, directly revealed preferred, WARP, SARP, Houthakker, Slutsky compensation, indirect utility function, Roy's identity, expenditure function, Shephard's lemma, compensated demand, Hicksian demand, duality relations, homogeneity, concavity.
Quick revision
- Revealed preference (Samuelson, 1938) infers preferences from choices, not from utility.
- A is directly revealed preferred to B if A was chosen when B was affordable.
- WARP: if A is revealed preferred to B, B is never revealed preferred to A.
- SARP (Houthakker): no cycles along chains of revealed preference.
- WARP implies a negative compensated substitution effect.
- V(P, M) is falling in prices, rising in income and homogeneous of degree zero.
- Roy's identity: .
- e(P, U) is rising, homogeneous of degree one and concave in prices.
- Shephard's lemma: .
- For : and .
| Function | Homogeneous in prices (and income) of degree | Derivative gives |
|---|---|---|
| Indirect utility V(P, M) | zero | demand, through Roy's identity |
| Expenditure e(P, U) | one (in prices) | compensated demand, through Shephard's lemma |