Roy's identity reformulates
Shephard's lemma in order to get a
Marshallian demand function for an individual and a good (i) from some indirect utility function. The first step is to consider the trivial identity obtained by substituting the
expenditure function for
wealth or
income w in the
indirect utility function v (p, w), at a utility of u: :v ( p, e(p, u)) = u This says that the indirect utility function evaluated in such a way that minimizes the cost for achieving a certain utility given a set of prices (a vector p) is equal to that utility when evaluated at those prices. Taking the derivative of both sides of this equation with respect to the price of a single good p_i (with the utility level held constant) gives: :\frac{ \partial v [p, e(p,u)]}{\partial w} \frac{\partial e(p,u)}{\partial p_i} + \frac{\partial v [p, e(p,u)]}{\partial p_i} = 0. Rearranging gives the desired result: :-\frac{\frac{\partial v [p, e(p,u)]}{\partial p_i}}{\frac{\partial v [p, e(p,u)]}{\partial w}}=\frac{\partial e(p,u)}{\partial p_i}=h_i(p, u)=x_i(p, e(p,u)) with the second-to-last equality following from
Shephard's lemma and the last equality from a basic property of
Hicksian demand. == Alternative proof using the envelope theorem ==