Gradient wrt a parameter of a parametrized integral

57 Views Asked by At

I am unable to understand how the operator is taken out of the integral. Is this some standard practice?

$$ \begin{aligned} &=\int_{-\infty}^{\infty} \nabla_{\theta} p(y ; \theta) d y \\ &=\nabla_{\theta} \int_{-\infty}^{\infty} p(y ; \theta) d y \\ &=0 \end{aligned} $$

1

There are 1 best solutions below

2
On

The operator is the gradient with respect to $\theta$, while the integral is with respect to $y$, so this is valid as long as the two variables are independent. For more information see the Leibniz integral rule.