<p>Given the data:</p>

<ul>
<li>Utility function: $u(x, y) = \sqrt{x} + y$</li>
<li>Income: $I &gt; 0$</li>
<li>Prices: $p_X &gt; 0$ and $p_Y = 1$</li>
</ul>

<p>Utility maximization problem is</p>

<p>\begin{eqnarray*} \max\limits_{x,y} &amp; \ \ \sqrt{x} + y \\ \text{s.t.} &amp; \ \ p_Xx+ y = I \\ \text{and} &amp; \ \ x\geq 0, \ \ y\geq 0 \end{eqnarray*}
We can substitute $y = I - p_Xx$ in the objective and convert it into a single variable optimization problem:
\begin{eqnarray*} \max\limits_{x} &amp; \ \ \sqrt{x} + I- p_Xx \\ \text{s.t.} &amp; 0 \leq x \leq \frac{I}{p_X} \end{eqnarray*}
Differentiating the objective with respect to $x$ yields:
$\frac{1}{2\sqrt{x}} - p_X$
which is a decreasing function of $x$. The interpretation of the derivative is that it is the net marginal benefit curve of consuming X. As long as the value of the derivative is positive, it pays to spend more on X. Therefore, the utility maximizing choice will be to spend all the money on X if the net marginal benefit curve is still positive at $x = \frac{I}{p_X}$ i.e. $\frac{1}{2}\sqrt{\frac{p_X}{I}} - p_X&gt;0$ holds, and the equilibrium choice will satisfy the property $\frac{1}{2\sqrt{x}} - p_X = 0$ otherwise.
So, the demand function for X is:
$\begin{eqnarray*} x(p_X, p_Y = 1, I) = \begin{cases} \frac{1}{4p_X^2} &amp; \text{if } \frac{1}{2}\sqrt{\frac{p_X}{I}} - p_X\leq 0 \\ \frac{I}{p_X} &amp; \text{if } \frac{1}{2}\sqrt{\frac{p_X}{I}} - p_X&gt;0  \end{cases} \end{eqnarray*}$</p>

CC BY-SA 3.0
2017-04-25T16:15:31.223Z
2017-04-25T16:15:31.223Z
Amit
<p>First, your utility function is strictly increasing in both goods, so you know that your budget will bind so you can set I=pxx+pyx</p>

<p>Second, your utility function is known as "quasilinear", where the good y is linear in your utility and the other good is there in some increasing function not connected to y. That's why the marginal utility for y is just a constant.</p>

<p>Finally, solve for x, where x is a function of prices, then plug that into the budget constraint to solve for y. y should be a function of prices and income. </p>

<p>Since you showed some work:</p>

<p>Set the ratio of MUs to the ratio of prices: $MU_x/MU_y=p_x/p_y$, yielding a demand for $x=\frac{p_y^2}{4p_x^2}$</p>

<p>Now plug that into the budget, yielding the demand for $y= \frac{I}{p_y}-\frac{p_y}{4p_x}$</p>

CC BY-SA 3.0
2016-08-21T03:00:51.177Z
so based off of this my demand function for good x would be equivalent to X=Py^2/4Px^2. Then plugging it into the budget constraint of I=PxX+PyY,
Y would give Y=-(Py^2-4PxI)/4PyPx.
Is this correct @frage_man?
T.H
CC BY-SA 3.0
2016-08-21T03:16:57.270Z
@T.H. Yes! I edited my answer to write it out.
VCG
CC BY-SA 3.0
2016-08-20T12:10:08.107Z
2016-08-21T03:16:06.670Z
2016-08-21T03:16:06.670Z
VCG
<p>Suppose that Sally’s preferences over baskets containing food (good $x$), and clothing (good $y$), are described by the utility function $u (x, y) = \sqrt{x} + y$. Sally’s corresponding marginal utilities are,
1
MU$_x=\frac{1}{2\sqrt{x}}$ and MU$_y=1$.
Use $p_x$ to represent the price of food, $p_y$ to represent the price of clothing, and $I$ to represent Sally’s income.</p>

<p>Question 1: Find Sally’s food demand function, and Sally’s clothing demand function. For the purposes of this question you should assume that $I/p_y \geq p_y/(4p_x)$.</p>

<p>I'm having a really tough time working out how to solve this problem and any kind of help would be much appreciated.</p>

<consumer-theory>
Consumer Theory (Finding demand functions)
T.H
# Consumer Theory (Finding demand functions)

(Asked by: username_0 on 2016-08-20)

Suppose that Sally’s preferences over baskets containing food (good $x$), and clothing (good $y$), are described by the utility function $u (x, y) = \sqrt{x} + y$. Sally’s corresponding marginal utilities are,
1
MU$\_x=\frac{1}{2\sqrt{x}}$ and MU$\_y=1$.
Use $p\_x$ to represent the price of food, $p\_y$ to represent the price of clothing, and $I$ to represent Sally’s income.

Question 1: Find Sally’s food demand function, and Sally’s clothing demand function. For the purposes of this question you should assume that $I/p\_y \geq p\_y/(4p\_x)$.

I'm having a really tough time working out how to solve this problem and any kind of help would be much appreciated.

**Tags:** consumer-theory


---

## 2 answers

### Answer by username_1 on 2017-04-25. Score: 3

Given the data:

* Utility function: $u(x, y) = \sqrt{x} + y$
* Income: $I > 0$
* Prices: $p\_X > 0$ and $p\_Y = 1$

Utility maximization problem is

\begin{eqnarray\*} \max\limits\_{x,y} & \ \ \sqrt{x} + y \\ \text{s.t.} & \ \ p\_Xx+ y = I \\ \text{and} & \ \ x\geq 0, \ \ y\geq 0 \end{eqnarray\*}
We can substitute $y = I - p\_Xx$ in the objective and convert it into a single variable optimization problem:
\begin{eqnarray\*} \max\limits\_{x} & \ \ \sqrt{x} + I- p\_Xx \\ \text{s.t.} & 0 \leq x \leq \frac{I}{p\_X} \end{eqnarray\*}
Differentiating the objective with respect to $x$ yields:
$\frac{1}{2\sqrt{x}} - p\_X$
which is a decreasing function of $x$. The interpretation of the derivative is that it is the net marginal benefit curve of consuming X. As long as the value of the derivative is positive, it pays to spend more on X. Therefore, the utility maximizing choice will be to spend all the money on X if the net marginal benefit curve is still positive at $x = \frac{I}{p\_X}$ i.e. $\frac{1}{2}\sqrt{\frac{p\_X}{I}} - p\_X>0$ holds, and the equilibrium choice will satisfy the property $\frac{1}{2\sqrt{x}} - p\_X = 0$ otherwise.
So, the demand function for X is:
$\begin{eqnarray\*} x(p\_X, p\_Y = 1, I) = \begin{cases} \frac{1}{4p\_X^2} & \text{if } \frac{1}{2}\sqrt{\frac{p\_X}{I}} - p\_X\leq 0 \\ \frac{I}{p\_X} & \text{if } \frac{1}{2}\sqrt{\frac{p\_X}{I}} - p\_X>0 \end{cases} \end{eqnarray\*}$


---

### Answer by username_2 on 2016-08-20. Score: 1

First, your utility function is strictly increasing in both goods, so you know that your budget will bind so you can set I=pxx+pyx

Second, your utility function is known as "quasilinear", where the good y is linear in your utility and the other good is there in some increasing function not connected to y. That's why the marginal utility for y is just a constant.

Finally, solve for x, where x is a function of prices, then plug that into the budget constraint to solve for y. y should be a function of prices and income.

Since you showed some work:

Set the ratio of MUs to the ratio of prices: $MU\_x/MU\_y=p\_x/p\_y$, yielding a demand for $x=\frac{p\_y^2}{4p\_x^2}$

Now plug that into the budget, yielding the demand for $y= \frac{I}{p\_y}-\frac{p\_y}{4p\_x}$

> **Comments:**
> **username_0**: so based off of this my demand function for good x would be equivalent to X=Py^2/4Px^2. Then plugging it into the budget constraint of I=PxX+PyY, Y would give Y=-(Py^2-4PxI)/4PyPx. Is this correct @frage_man?  
> **username_2**: @username_0. Yes! I edited my answer to write it out.  

---

