econ.studio
Exchange Economies
Section 9 of 12
Section 9

A Worked Example, End to End

Sections 2–8 built the machinery in symbols. This section runs the whole engine once with numbers, so you can see every quantity land. We start from two Cobb-Douglas agents and their endowments, derive the market-clearing price by hand, read off the equilibrium allocation, and confirm both agents are strictly better off than where they started. Nothing here is new theory — it is §5 with the symbols replaced by numbers.

The primitives

Two agents, AA and BB, two goods. Both have Cobb-Douglas preferences but different tastes: AA leans toward good 1, BB leans toward good 2.

uA(x1,x2)=x10.6x20.4,uB(x1,x2)=x10.3x20.7u^A(x_1, x_2) = x_1^{0.6}\, x_2^{0.4}, \qquad u^B(x_1, x_2) = x_1^{0.3}\, x_2^{0.7}
So αA=0.6\alpha_A = 0.6 and αB=0.3\alpha_B = 0.3 in the notation of §5.

Each agent arrives at the market holding exactly one good. AA owns all of good 1; BB owns all of good 2 — the classic "two traders, one good each" setup that makes the gains from trade vivid.

ωA=(ω1A,ω2A)=(10, 0),ωB=(ω1B,ω2B)=(0, 10)\omega^A = (\omega^A_1, \omega^A_2) = (10,\ 0), \qquad \omega^B = (\omega^B_1, \omega^B_2) = (0,\ 10)
Tastes
αA=0.6\alpha_A = 0.6, αB=0.3\alpha_B = 0.3.
Total endowments
Ω1=ω1A+ω1B=10\Omega_1 = \omega^A_1 + \omega^B_1 = 10, Ω2=ω2A+ω2B=10\Omega_2 = \omega^A_2 + \omega^B_2 = 10 — a square box.
Numéraire
Good 2, so p2=1p_2 = 1 and we solve only for p1p_1.

Step 1 — Wealth at price p1p_1

Wealth is the market value of the endowment, mi=p1ω1i+ω2im^i = p_1 \omega^i_1 + \omega^i_2. Because each agent holds only one good, their wealth is especially simple:

mA=p110+0=10p1,mB=p10+10=10m^A = p_1 \cdot 10 + 0 = 10\,p_1, \qquad m^B = p_1 \cdot 0 + 10 = 10

AA's wealth scales with the price of the good they own; BB's wealth is fixed at 10 because good 2 is the numéraire.

Step 2 — Cobb-Douglas demands

Each agent spends an αi\alpha_i fraction of wealth on good 1 and the rest on good 2: x1i=αimi/p1x^i_1 = \alpha_i m^i / p_1 and x2i=(1αi)mix^i_2 = (1-\alpha_i) m^i. Substituting the wealths from Step 1:

  1. Step 1
    x1A=0.610p1p1=6,x2A=0.410p1=4p1x^A_1 = \frac{0.6 \cdot 10\,p_1}{p_1} = 6, \qquad x^A_2 = 0.4 \cdot 10\,p_1 = 4\,p_1

    AA's demand for good 1 is a constant 6 — the price cancels because AA's wealth is itself proportional to p1p_1.

  2. Step 2
    x1B=0.310p1=3p1,x2B=0.710=7x^B_1 = \frac{0.3 \cdot 10}{p_1} = \frac{3}{p_1}, \qquad x^B_2 = 0.7 \cdot 10 = 7

    BB's demand for good 1 falls as good 1 gets more expensive.

Step 3 — Clear the market for good 1

By Walras's Law we only need one market to clear; pick good 1. Total demand must equal the total endowment Ω1=10\Omega_1 = 10:

  1. Step 1
    x1A+x1B=Ω1x^A_1 + x^B_1 = \Omega_1

    Market-clearing condition for good 1.

  2. Step 2
    6+3p1=106 + \frac{3}{p_1} = 10

    Substitute the demands from Step 2.

  3. Step 3
    3p1=4p1=34=0.75\frac{3}{p_1} = 4 \quad\Longrightarrow\quad p_1^* = \frac{3}{4} = 0.75

    Good 1 is cheaper than good 2 (p1<1p_1^* < 1): AA brings a lot of good 1 to sell, so its relative price is bid down.

Step 4 — The Walrasian allocation

Now evaluate wealth at p1=0.75p_1^* = 0.75 and read the demands off: mA=100.75=7.5m^A = 10 \cdot 0.75 = 7.5 and mB=10m^B = 10.

  1. Step 1
    x1A=0.67.50.75=6,x2A=0.47.5=3x^{A*}_1 = \frac{0.6 \cdot 7.5}{0.75} = 6, \qquad x^{A*}_2 = 0.4 \cdot 7.5 = 3

    AA sells 4 units of good 1 and buys 3 units of good 2.

  2. Step 2
    x1B=0.3100.75=4,x2B=0.710=7x^{B*}_1 = \frac{0.3 \cdot 10}{0.75} = 4, \qquad x^{B*}_2 = 0.7 \cdot 10 = 7

    BB buys 4 units of good 1 and sells 3 units of good 2.

xA=(6, 3),xB=(4, 7)x^{A*} = (6,\ 3), \qquad x^{B*} = (4,\ 7)
Walrasian allocation

Step 5 — Gains from trade

At their endowments each agent holds only one good, so Cobb-Douglas utility is zero — you cannot make x1αx21αx_1^{\alpha} x_2^{1-\alpha} positive with x2=0x_2 = 0. Trade lifts both strictly above that floor:

  1. Step 1
    uA(ωA)=100.600.4=0uA(xA)=60.630.44.55u^A(\omega^A) = 10^{0.6}\, 0^{0.4} = 0 \quad\longrightarrow\quad u^A(x^{A*}) = 6^{0.6}\, 3^{0.4} \approx 4.55

    AA moves from nothing to a positive bundle of both goods.

  2. Step 2
    uB(ωB)=00.3100.7=0uB(xB)=40.370.75.92u^B(\omega^B) = 0^{0.3}\, 10^{0.7} = 0 \quad\longrightarrow\quad u^B(x^{B*}) = 4^{0.3}\, 7^{0.7} \approx 5.92

    BB likewise strictly gains.

Both agents are strictly better off, which is exactly the individual-rationality guarantee from §6: voluntary trade at a common price never leaves anyone worse than not trading.

Seeing it in the box

Measured from AA's origin, the budget line runs through the endowment ωA=(10,0)\omega^A = (10, 0) with slope p1=0.75-p_1^* = -0.75. AA's chosen bundle xA=(6,3)x^{A*} = (6, 3) sits where AA's indifference curve is tangent to that line — the defining condition MRSA=p1\mathrm{MRS}^A = p_1^*. At that point the indifference curve's slope is αA1αAx2x1=0.60.436=0.75-\tfrac{\alpha_A}{1-\alpha_A}\tfrac{x_2}{x_1} = -\tfrac{0.6}{0.4}\cdot\tfrac{3}{6} = -0.75, matching the price line exactly.

Agent AA: budget line tangent to the indifference curve at xAx^{A*}

The budget line 0.75x1+x2=7.50.75\,x_1 + x_2 = 7.5 passes through the endowment ωA=(10,0)\omega^A = (10,0). AA's utility-maximising bundle xA=(6,3)x^{A*} = (6,3) is the tangency point, where the indifference curve uA=60.630.44.55u^A = 6^{0.6}3^{0.4} \approx 4.55 just touches the line.