- #1
betelgeuse91
- 32
- 0
Homework Statement
For a volume charge, ##\textbf{E}(\textbf{r}) = \frac{1}{4\pi\epsilon_0}\int_{all space}\frac{\hat{\gamma}}{\gamma^2}\rho(r')d\tau'##
and I am trying to get the divergence of it.
Homework Equations
The book says
##\nabla\cdot\textbf{E} = \frac{1}{4\pi\epsilon_0}\int_{all space}[\nabla\cdot(\frac{\hat{\gamma}}{\gamma^2})]\rho(r')d\tau'##
The Attempt at a Solution
I am wondering why it is not
##\nabla\cdot\textbf{E} = \frac{1}{4\pi\epsilon_0}\int_{all space}[\nabla\cdot(\frac{\hat{\gamma}}{\gamma^2}\rho(r'))]d\tau'##
when taking ##\nabla## inside the integral, because if it should be this way,
then we need to apply the product rule of divergence. (I guess it's not the case)
Can somebody please explain why the divergence inside does not include the charge density function?
Thank you.