The inner product is linear in addition, so p⋅X(p)=p⋅∑ixi(p,wi)=∑ip⋅xi(p,wi).
Applying individual Walras' law to each term gives ∑ip⋅xi(p,wi)=∑iwi. The shape of demand (Cobb-Douglas or not) was never used — because summation is a linear operation.
p⋅X(p)=i∑p⋅xi(p,wi)=i∑wi
3Medium
Two identical-taste Cobb-Douglas consumers with a=1/2, total wealth W=100, p1=1, p2=1.
Compute X1 for the splits s=0.25 and s=0.75, and verify that individual demands change while aggregate demand does not.
With s=0.25, w1=25 and w2=75, so x11=12.5, x12=37.5, and the sum is X1=50.
With s=0.75, w1=75 and w2=25, so x11=37.5, x12=12.5 — the individual demands swap, but X1=50 is unchanged. Both equal X1=aW/p1=0.5⋅100=50.
Hard
4Hard
Suppose I consumers have indirect utilities of the Gorman form vi(p,wi)=αi(p)+b(p)wi with a common b(p)>0.
Use Roy's identity to derive each demand, prove that aggregate demand X(p) depends only on total wealth W=∑iwi, and exhibit a representative consumer's indirect utility reproducing it.
Roy's identity xi=−∇pvi/∂vi/∂w gives numerator −(∇αi(p)+∇b(p)wi) and denominator b(p), so xi(p,wi)=−b(p)∇αi(p)−b(p)∇b(p)wi.
Summing over i, the common b(p) gives X(p)=−b(p)∑i∇αi(p)−b(p)∇b(p)W — individual wealths enter only through total wealth W. The distribution is irrelevant to aggregate demand.
X(p)=−b(p)∑i∇αi(p)−b(p)∇b(p)W
Representative consumer: a single consumer with indirect utility V(p,W)=∑iαi(p)+b(p)W reproduces exactly this X(p) via Roy's identity. The Gorman form (common marginal utility of wealth b(p)) is thus sufficient for a representative consumer to exist.