Let $X$ be a random variable with the pdf of a regular case of the exponential class, given by $f(x ; \theta)=\exp [\theta K(x)+H(x)+q(\theta)], a<x<b, \gamma<\theta<\delta$. Show
that $E[K(X)]=-q^{\prime}(\theta) / p^{\prime}(\theta)$, provided these derivatives exist, by differentiating both members of the equality
$$
\int_{a}^{b} \exp [p(\theta) K(x)+H(x)+q(\theta)] d x=1
$$
with respect to $\theta .$ By a second differentiation, find the variance of $K(X)$.