Utility Maximization

This scene finds the best bundle where the budget line meets an indifference curve.

The optimum is where the budget line just touches the curve. Move prices or wealth and the optimum slides along. At that spot the MRS always equals the price ratio, as in the formula below. You can check it numerically at every moment.

For example, you have 💰 6,000 won for 🍎 apples and 🍌 bananas, each 1,000 won. If you like both equally, three apples and three bananas are best. If apples get pricier, you buy fewer apples and more bananas.

max⁡xu(x)s.t.p⋅x≤w\max_x u(x) \quad \text{s.t.} \quad p \cdot x \le w
x∗(p,w)=(awp1,(1−a)wp2)x^*(p, w) = \left(\frac{aw}{p_1}, \frac{(1-a)w}{p_2}\right)

Part of these learning paths

Examples & Exercises

With u=x11/2x21/2u = x_1^{1/2}x_2^{1/2}, p1=p2=1p_1 = p_2 = 1, w=60w = 60, solve the first-order conditions for the optimum and verify the tangency condition below.

L=x11/2x21/2+λ(w−p1x1−p2x2)\mathcal{L} = x_1^{1/2}x_2^{1/2} + \lambda(w - p_1 x_1 - p_2 x_2)
12x1−1/2x21/2=λp1,12x11/2x2−1/2=λp2\frac{1}{2}x_1^{-1/2}x_2^{1/2} = \lambda p_1, \quad \frac{1}{2}x_1^{1/2}x_2^{-1/2} = \lambda p_2
MRS=p1/p2MRS = p_1/p_2
a=1/2a = 1/2, p=(1,1)p = (1,1), w=60w = 60.
Show proof
  1. Dividing the two first-order conditions eliminates λ\lambda, giving x2x1=p1p2\frac{x_2}{x_1} = \frac{p_1}{p_2} — i.e. MRS=p1/p2MRS = p_1/p_2.

  2. Since p1=p2p_1 = p_2, x1=x2x_1 = x_2. The budget x1+x2=60x_1 + x_2 = 60 gives x∗=(30,30)x^* = (30, 30). In the figure the budget line and the indifference curve touch at (30,30)(30,30).

Apply Roy's identity, the formula below, to Cobb-Douglas indirect utility v(p,w)v(p, w) to recover Walrasian demand.

v(p,w)=aa(1−a)1−awp1ap21−av(p, w) = a^a (1-a)^{1-a} \frac{w}{p_1^a p_2^{1-a}}
x1=−∂v/∂p1∂v/∂wx_1 = -\frac{\partial v/\partial p_1}{\partial v/\partial w}
Raised p1=2p_1 = 2 — demand x1=15x_1 = 15.
Show proof
  1. Differentiating vv gives ∂v/∂p1=−a⋅v/p1\partial v/\partial p_1 = -a \cdot v/p_1 and ∂v/∂w=v/w\partial v/\partial w = v/w.

  2. Hence −∂v/∂p1∂v/∂w=av/p1v/w=awp1-\frac{\partial v/\partial p_1}{\partial v/\partial w} = \frac{a v/p_1}{v/w} = \frac{aw}{p_1} — exactly Walrasian demand. In the preset, x1=0.5⋅60/2=15x_1 = 0.5 \cdot 60/2 = 15.

4. Classical Demand Theory