# Differentiating social surplus function

Can someone possibly explain how to >>make sense<< of the following identity:

$\int \frac{\partial \ max_d \{ u(x,d) + \epsilon(d) \} }{\partial u(x,d)} q(d\epsilon \lvert x) = \int I\{d = \arg \max_h [u(x,h) + \epsilon(h)] \} q(d \epsilon \lvert x)$

I completely fail to see how taking the partial derivative under the first integral results in the expression with the indicator function?

• You can edit your own question to fix that May 17, 2015 at 21:13