# Derive demand function $x(p,w)$ from utility function $u(x) = \min\{x_1, x_2\} + x_3$

I know how to solve the two-good case with $$u(x) = \min\{x_1, x_2\}$$, but the addition of $$x_3$$ confuses me.

Problem

Derive the demand function $$x(p,w)$$ from $$u(x) = \min\{x_1, x_2\} + x_3$$.

What I did so far

We assume that in optimum $$x_1 = x_2$$.

Set up the budget constraint $$p_1x_1 + p_2x_2 + p_3x_3 = w$$.

Rewrite budget constraint as $$(p_1+p_2)x_1 + p_3x_3 = w$$ or $$(p_1+p_2)x_2 + p_3x_3 = w$$.

We can write $$x_1^*=x_2^* = \frac{w-p_3x_3}{p_1+p_2}$$ and $$x_3^* = \frac{w-(p_1+p_2)x_1^*}{p_3}$$.

Confusion

How to proceed? Can I still use a Lagrangian to solve this?

Hint: Imagine that there are two coffee bars, $$A$$ and $$B$$. There is only one type of coffee in the world. My preferences are such that I always want 1 unit of sugar with 1 unit of coffee; if I consume units of coffee and sugar in the ratio $$1:1$$, additional units of only one of the two don't give me extra utility.

At coffee bar $$A$$ they sell coffee and sugar separately. That is: there is one counter for coffee, where coffee is sold for a price of $$p_1$$ per unit. There is another counter for sugar, where I can buy one unit of sugar for a price of $$p_2$$.

At coffee bar $$B$$ however, they only sell one unit of coffee with one unit of sugar in a bundle, the price of which is equal to $$p_3$$. They do not sell anything separately

At what prices do I prefer to buy my coffee with sugar at $$A$$, at what prices do I prefer to buy my coffee with sugar at $$B$$?

• If I understand you correctly, you buy at bar $A$ for $p1+p2$, and at bar $B$ for $p3$. Oct 9, 2019 at 18:55
• That is correct, but what I meant with the last sentence was: At what values of $p_1$, $p_2$, $p_3$ is it cheaper to buy my coffee with sugar at $A$? Oct 9, 2019 at 19:36
• I edited the answer to make it more clear, try to relate the little story above to the problem you have to solve Oct 9, 2019 at 19:39
• Thank you. In that case it means that you will buy at $A$ if $p1 + p2$ < $p3$. If $p1 + p2$ > $p3$, you will buy at $B$. If they are equal, you are indifferent. Oct 9, 2019 at 20:09
• Exactly! And if you now combine this with the fact that your budget is equal to $w$ you have your demand function. Oct 9, 2019 at 21:09

for this problem you must conciser two possible branches of the utility function:

$$u(\text{x})=x_1+x_3\ \ \text{if} \ \ x_1 $$u(\text{x})=x_2+x_3\ \ \text{if} \ \ x_1>x_2$$

The demands of these then proceed how you would for any case of perfect substitutes. However you must list them for each case.

Hope this helps

We solve the problem

$$\begin{equation} \max U(x_1,x_2,x_3) = \min\{x_1,x_2\} + x_3 \end{equation}$$

subject to

$$\begin{equation} x_1 p_1 + x_2 p_2 + x_3 p_3 = I \end{equation}$$

From the min term we get that $$x_1 = x_2$$. Therefore the budget constraint becomes

$$\begin{equation} x_1 (p_1 + p_2) + x_3 p_3 = I \end{equation}$$

Solving for $$x_1$$ we get

$$\begin{equation} x_1 = \frac{I - x_3 p_3}{p_1 + p_2} \end{equation}$$

Since $$x_1 = x_2$$,

$$\begin{equation} x_2 = \frac{I - x_3 p_3}{p_1 + p_2} \end{equation}$$

Therefore, the min term becomes

$$\begin{equation} \min\{x_1,x_2\} = \frac{I - x_3 p_3}{p_1 + p_2} \end{equation}$$

Substituting this expression for the min term into the utility function we get

$$\begin{equation} W(x_3) := U(x_1(x_3),x_2(x_3),x_3) = \frac{I - x_3 p_3}{p_1 + p_2} + x_3 \end{equation}$$

Separating the fraction and rearranging we get

$$\begin{equation} W(x_3) = (1 - \frac{p_3}{p_1 + p_2}) x_3 + \frac{I}{p_1 + p_2} \end{equation}$$

Note that this is a straight line, with slope $$1 - \frac{p_3}{p_1 + p_2}$$.

Notice $$1 - \frac{p_3}{p_1 + p_2} > 0 \iff 1 > \frac{p_3}{p_1 + p_2} \iff p_1 + p_2 > p_3$$.

From here we get 3 cases: • $$p_1 + p_2 > p_3 \rightarrow$$ spend everything on $$x_3 \rightarrow x_1 = 0, x_2 = 0, x_3 = \frac{I}{p_3}$$.
• $$p_1 + p_2 < p_3 \rightarrow$$ don't consume $$x_3 \rightarrow x_1 = \frac{I}{p_1 + p_2}, x_2 = \frac{I}{p_1 + p_2}, x_3 = 0$$
• $$p_1 + p_2 = p_3 \rightarrow x_3$$ value indifferent $$\rightarrow x_1 = \frac{I - x_3 p_3}{p_1 + p_2}, x_2 = \frac{I - x_3 p_3}{p_1 + p_2}, 0 \leq x_3 \leq \frac{I}{p_3}$$, i.e. the optimal bundles form a line in 3-D space that looks like this: 