Aggregating Demand

This scene adds three consumers into one demand. Stack their curves together and the market curve appears.

Some properties survive the adding-up. If everyone spends their whole budget, so does the market. Double every price and income together, and demand stays put. Move each person's curve and check for yourself.

For example, three 🧑 classmates buy 🍎 apples. The first buys 2, the second 3, the third 5. Together the class buys 10 apples. If prices and 💰 allowances all double, the count stays the same.

X(p)=∑i=13xi(p,wi)X(p) = \sum_{i=1}^{3} x^i(p, w_i)
p⋅X(p)=∑iwi(Walras)p \cdot X(p) = \sum_i w_i \quad \text{(Walras)}

Part of these learning paths

Examples & Exercises

Three Cobb-Douglas consumers with a=(0.3,0.5,0.7)a = (0.3, 0.5, 0.7), wi=60w_i = 60, p2=1p_2 = 1.

At p1=1p_1 = 1, compute aggregate demand X(p)X(p) directly and verify that total spending p⋅X(p)p \cdot X(p) exactly equals total wealth WW (Walras' law).

x1i=aiwip1,x2i=(1−ai)wip2x_1^i = \frac{a_i w_i}{p_1}, \quad x_2^i = \frac{(1-a_i) w_i}{p_2}
X1=18+30+42=90,X2=42+30+18=90X_1 = 18 + 30 + 42 = 90, \quad X_2 = 42 + 30 + 18 = 90
a=(0.3,0.5,0.7)a = (0.3, 0.5, 0.7), wi=60w_i = 60, p1=1p_1 = 1 — Walras' law, numerically.
Show proof
  1. Individual demands are x1i=ai⋅60/1=18,30,42x_1^i = a_i \cdot 60 / 1 = 18, 30, 42 and x2i=(1−ai)⋅60=42,30,18x_2^i = (1 - a_i) \cdot 60 = 42, 30, 18.

  2. Adding up, X1=90X_1 = 90 and X2=90X_2 = 90. Total spending is p⋅X=1⋅90+1⋅90=180p \cdot X = 1 \cdot 90 + 1 \cdot 90 = 180.

  3. Total wealth is W=60+60+60=180W = 60 + 60 + 60 = 180, so p⋅X=Wp \cdot X = W holds exactly. When every consumer spends her whole budget (individual Walras' law), the summed aggregate demand spends the whole aggregate wealth too — summation is linear, so the property survives.

    p⋅X(p)=∑ip⋅xi(p,wi)=∑iwi=Wp \cdot X(p) = \sum_i p \cdot x^i(p, w_i) = \sum_i w_i = W

Now consumer 1 develops a strong taste for good 1, so a=(0.9,0.2,0.2)a = (0.9, 0.2, 0.2) (wealths unchanged at wi=60w_i = 60).

Show by computation that the aggregate demand curve shifts up at p1=1p_1 = 1, yet the Walras check still holds exactly.

X1=54+12+12=78,X2=6+48+48=102X_1 = 54 + 12 + 12 = 78, \quad X_2 = 6 + 48 + 48 = 102
p⋅X=78+102=180=Wp \cdot X = 78 + 102 = 180 = W
a=(0.9,0.2,0.2)a = (0.9, 0.2, 0.2), wi=60w_i = 60, p1=1p_1 = 1 — Walras' law after a taste shift.
Show proof
  1. New individual demands: x1=54,12,12x_1 = 54, 12, 12, so X1=78X_1 = 78 — moved from 9090 in the previous example. The aggregate curve is sensitive to the distribution of tastes.

  2. Meanwhile x2=6,48,48x_2 = 6, 48, 48, so X2=102X_2 = 102, and total spending is 78+102=180=W78 + 102 = 180 = W. What consumer 1 added to good 1 spending (+36+36) she subtracted from good 2 spending (−36-36); total spending stays pinned to total wealth.

  3. The lesson: the "shape" of aggregate demand moves with the distribution of tastes, but the "constraint" p⋅X=Wp \cdot X = W never breaks, whatever the distribution.

5. Aggregate Demand