Solved problem · Beginner Deriving Demand from Cobb–Douglas Preferences
A complete derivation of Marshallian demand for Cobb–Douglas utility.
Problem
A consumer has utility u(x,y)=xαy1−α with α∈(0,1),
prices px,py>0, and income M≥0. Derive the Marshallian demand functions.
Solution
The consumer solves
x,y ≥0maxxαy1−αsubject topxx+pyy=M.
Step 1 — The budget binds. Utility is strictly increasing in both goods, so the
constraint holds with equality at any optimum.
Step 2 — Tangency. Preferences are strictly convex on the interior, so the
optimum is characterised by the tangency condition MRS=px/py:
∂u/∂y∂u/∂x=(1−α)xαy−ααxα−1y1−α=1−αα⋅xy=pypx.
Step 3 — Solve the system. From the tangency condition,
pyy=α1−αpxx. Substituting into the budget constraint:
pxx+α1−αpxx=M⟹pxx⋅α1=M.
So the demand functions are
xd(px,py,M)=pxαM,yd(px,py,M)=py(1−α)M.
Interpretation. The consumer spends the fixed share α of income on x
and 1−α on y, regardless of prices.
Check your understanding
- Verify that each demand function is homogeneous of degree zero in (px,py,M).
- Compute the indirect utility function v(px,py,M) and verify Roy’s identity.