Write the exponential dispersion family in the convention
Assume that the support does not depend on the parameters, that is in the interior of the natural parameter space, and that differentiation can pass under the normalizing integral or sum. Differentiating at fixed dispersion parameter gives
so the expectation is . A second differentiation gives
Consequently
Here is the cumulant function of an exponential family; the same identities follow by differentiating . For a known observation weight , replace by . These regularity assumptions for differentiation under the integral sign matter: differentiation of a parameter-dependent support can introduce additional boundary terms.