Consider a real-valued random variable with a known probability distribution . From , one can generate a scale/location family of probability densities by scaling and shifting :
The most familiar example of such a family is the univariate Gaussian distribution, when . Now, consider the expectation of a function of with respect to .
What are the derivatives of with respect to and ? The answers are: