<p>We need to solve for the Utility function given the indirect utility function (IUF).</p>
<p>The Indirect Utility Function is: <span class="math-container">$V(p_1,p_2,w)=w\left(\frac{1}{p_1}+\frac{1}{p_2}\right)$</span></p>
<p>From IUF we can write the expenditure function as: <span class="math-container">$E(p_1,p_2,U)=\frac{Up_1p_2}{p_1+p_2}$</span></p>
<p>Using Shepherd's lemma we can find the Hicksian demand functions. Let us denote the two goods by <span class="math-container">$x$</span> and <span class="math-container">$y$</span>, respectively.</p>
<p>Thus, <span class="math-container">$x^h(p_1,p_2,U)=\frac{\partial E}{\partial p_1}=\frac{Up_2^2}{(p_1+p_2)^2}$</span> and <span class="math-container">$y^h(p_1,p_2,U)=\frac{\partial E}{\partial p_2}=\frac{Up_1^2}{(p_1+p_2)^2}$</span></p>
<p>Since we are trying to find a utility function of the form <span class="math-container">$U(x,y)$</span> we need to use the expression for <span class="math-container">$x^h$</span> and <span class="math-container">$y^h$</span> obtained above to solve for <span class="math-container">$U(x,y)$</span></p>
<p>let <span class="math-container">$p=\frac{p_1}{p_2}$</span> and rewrite <span class="math-container">$x^h$</span> and <span class="math-container">$y^h$</span> as:
<span class="math-container">$$\begin{eqnarray} x=x^h=\frac{U}{\left(\frac{p_1}{p_2}+1\right)^2}=\frac{U}{(p+1)^2} \tag{1} \\
y=y^h=\frac{U}{\left(1+\frac{p_2}{p_1}\right)^2}=\frac{Up^2}{(p+1)^2} \tag{2}
\end{eqnarray}$$</span></p>
<p>substituting <span class="math-container">$(1)$</span> in <span class="math-container">$(2)$</span> gives us the relation: <span class="math-container">$$p^2=\frac{y}{x} \implies p=\sqrt{\frac{y}{x}}\tag{3}$$</span></p>
<p>Lastly, substituting <span class="math-container">$(3)$</span> in <span class="math-container">$(1)$</span> gives us: <span class="math-container">$x=\frac{Ux}{(\sqrt x +\sqrt y)^2}$</span></p>
<p>Rewriting above we get: <span class="math-container">$$\boxed{U(x,y)=(\sqrt x+ \sqrt y)^2}$$</span></p>

CC BY-SA 4.0
2023-06-17T20:07:24.123Z
To check whether my answer is correct or not, you can use this utility function and solve the UMP to see if you're getting the same IUF or not.
mynameparv
CC BY-SA 4.0
2023-06-17T19:58:19.990Z
2023-06-17T19:58:19.990Z
mynameparv
<p>An alternative is to use the dual of the utility maximisation problem:
<span class="math-container">$$
u(x_1, x_2) = \min_{p_1, p_2} v(p_1, p_2, 1) \text{ s.t. } p_1 x_1 + p_2 x_2 = 1.
$$</span>
In your example, this becomes:
<span class="math-container">$$
u(x_1, x_2) = \min_{p_1, p_2} (1/p_1 + 1/p_2) \text{ s.t. } p_1 x_1 + p_2 x_2 = 1.
$$</span></p>
<p>The first order conditions give:
<span class="math-container">$$
\begin{align*}
&amp;-\frac{1}{(p_1)^2} = \lambda x_1,\\
&amp;-\frac{1}{(p_2)^2} = \lambda x_2\\
&amp;p_1 x_1 + p_2 x_2 = 1
\end{align*}
$$</span>
Solving these for <span class="math-container">$p_1$</span> and <span class="math-container">$p_2$</span> gives:
<span class="math-container">$$
\begin{align*}
&amp;p_1 = \frac{1}{(\sqrt{x_1} + \sqrt{x_2})\sqrt{x_1}}\\
&amp;p_1 = \frac{1}{(\sqrt{x_1} + \sqrt{x_2})\sqrt{x_2}}
\end{align*}
$$</span></p>
<p>Substituting into <span class="math-container">$v(p_1, p_2, 1)$</span> produces the following direct utility function:
<span class="math-container">$$
u(x_1, x_2) = (\sqrt{x_1} + \sqrt{x_2})^2.
$$</span></p>

CC BY-SA 4.0
2023-07-29T14:34:57.420Z
I see you arrived at the right answer, but can you explain why the direct utility is the minimum over prices of the indirect utility?
Nicolas Torres
CC BY-SA 4.0
2023-07-30T07:43:23.470Z
@Nicolas Torres: the answer would be a bit too long to put here, but for a reference, you can find it in the handbook of Jehle and Reny (Advanced Microeconomic Theory, Third edition) in  section 2.1.3 (Indirect utility and consumer preferences) or in the excellent book of Cornes (Duality and modern economics), section 2.5 (duality between u(q) and v(p))
tdm
CC BY-SA 4.0
2023-07-29T09:35:53.390Z
2023-07-29T09:52:41.600Z
2023-07-29T09:52:41.600Z
tdm
<p>I am working on this question to solve for <strong>utility function</strong>.
The <em>indirect</em> utility function is given as follows:</p>
<p><span class="math-container">$V(p_1,p_2,w)=(\frac {1}{p_1} + \frac {1}{p_2})*w$</span></p>
<p>w stands for income, <span class="math-container">$p_1$</span> and <span class="math-container">$p_2$</span> are the price of each goods</p>
<p>I tried the method of deriving hicksian demand function by finding the partial derivatives of income by each goods price, but I stuck at finding the price ratio since the differentiated product is in the form of <span class="math-container">$X^c= {Vp_2-Vp_1p_2\over (p_1+p_2)^2}$</span></p>
<p>Any help is appreciated. Thank you.</p>

CC BY-SA 4.0
2023-06-17T20:09:30.277Z
You can't find Hicksian demands using the indirect utility function, you need to use the expenditure function for that. I think you're attempting to find marshallian demands in your approach by using Roy's identity but that will be of no use since we need Hicksian demands
mynameparv
<microeconomics><utility><measuring-utility>
How to derive a utility function using indirect utility function?
Sawitta
# How to derive a utility function using indirect utility function?

(Asked by: username_0 on 2023-06-15)

I am working on this question to solve for **utility function**.
The *indirect* utility function is given as follows:

$V(p\_1,p\_2,w)=(\frac {1}{p\_1} + \frac {1}{p\_2})\*w$

w stands for income, $p\_1$ and $p\_2$ are the price of each goods

I tried the method of deriving hicksian demand function by finding the partial derivatives of income by each goods price, but I stuck at finding the price ratio since the differentiated product is in the form of $X^c= {Vp\_2-Vp\_1p\_2\over (p\_1+p\_2)^2}$

Any help is appreciated. Thank you.

**Tags:** microeconomics, utility, measuring-utility
> **Comments:**
> **username_1**: You can't find Hicksian demands using the indirect utility function, you need to use the expenditure function for that. I think you're attempting to find marshallian demands in your approach by using Roy's identity but that will be of no use since we need Hicksian demands  

---

## 2 answers

### Answer by username_1 on 2023-06-17. Score: 8

We need to solve for the Utility function given the indirect utility function (IUF).

The Indirect Utility Function is: $V(p\_1,p\_2,w)=w\left(\frac{1}{p\_1}+\frac{1}{p\_2}\right)$

From IUF we can write the expenditure function as: $E(p\_1,p\_2,U)=\frac{Up\_1p\_2}{p\_1+p\_2}$

Using Shepherd's lemma we can find the Hicksian demand functions. Let us denote the two goods by $x$ and $y$, respectively.

Thus, $x^h(p\_1,p\_2,U)=\frac{\partial E}{\partial p\_1}=\frac{Up\_2^2}{(p\_1+p\_2)^2}$ and $y^h(p\_1,p\_2,U)=\frac{\partial E}{\partial p\_2}=\frac{Up\_1^2}{(p\_1+p\_2)^2}$

Since we are trying to find a utility function of the form $U(x,y)$ we need to use the expression for $x^h$ and $y^h$ obtained above to solve for $U(x,y)$

let $p=\frac{p\_1}{p\_2}$ and rewrite $x^h$ and $y^h$ as:
$$\begin{eqnarray} x=x^h=\frac{U}{\left(\frac{p\_1}{p\_2}+1\right)^2}=\frac{U}{(p+1)^2} \tag{1} \\
y=y^h=\frac{U}{\left(1+\frac{p\_2}{p\_1}\right)^2}=\frac{Up^2}{(p+1)^2} \tag{2}
\end{eqnarray}$$

substituting $(1)$ in $(2)$ gives us the relation: $$p^2=\frac{y}{x} \implies p=\sqrt{\frac{y}{x}}\tag{3}$$

Lastly, substituting $(3)$ in $(1)$ gives us: $x=\frac{Ux}{(\sqrt x +\sqrt y)^2}$

Rewriting above we get: $$\boxed{U(x,y)=(\sqrt x+ \sqrt y)^2}$$

> **Comments:**
> **username_1**: To check whether my answer is correct or not, you can use this utility function and solve the UMP to see if you're getting the same IUF or not.  

---

### Answer by username_2 on 2023-07-29. Score: 4

An alternative is to use the dual of the utility maximisation problem:
$$
u(x\_1, x\_2) = \min\_{p\_1, p\_2} v(p\_1, p\_2, 1) \text{ s.t. } p\_1 x\_1 + p\_2 x\_2 = 1.
$$
In your example, this becomes:
$$
u(x\_1, x\_2) = \min\_{p\_1, p\_2} (1/p\_1 + 1/p\_2) \text{ s.t. } p\_1 x\_1 + p\_2 x\_2 = 1.
$$

The first order conditions give:
$$
\begin{align\*}
&-\frac{1}{(p\_1)^2} = \lambda x\_1,\\
&-\frac{1}{(p\_2)^2} = \lambda x\_2\\
&p\_1 x\_1 + p\_2 x\_2 = 1
\end{align\*}
$$
Solving these for $p\_1$ and $p\_2$ gives:
$$
\begin{align\*}
&p\_1 = \frac{1}{(\sqrt{x\_1} + \sqrt{x\_2})\sqrt{x\_1}}\\
&p\_1 = \frac{1}{(\sqrt{x\_1} + \sqrt{x\_2})\sqrt{x\_2}}
\end{align\*}
$$

Substituting into $v(p\_1, p\_2, 1)$ produces the following direct utility function:
$$
u(x\_1, x\_2) = (\sqrt{x\_1} + \sqrt{x\_2})^2.
$$

> **Comments:**
> **username_3**: I see you arrived at the right answer, but can you explain why the direct utility is the minimum over prices of the indirect utility?  
> **username_2**: @Nicolas Torres: the answer would be a bit too long to put here, but for a reference, you can find it in the handbook of Jehle and Reny (Advanced Microeconomic Theory, Third edition) in  section 2.1.3 (Indirect utility and consumer preferences) or in the excellent book of Cornes (Duality and modern economics), section 2.5 (duality between u(q) and v(p))  

---

