americanforest
- 220
- 0
Homework Statement
This is problem 2.46 from Griffith's Electrodynamics. I've already solved the problem but there is one aspect of the solution which bothers me and I can't think of where it is originating.
I have found that the potential given in the problem produces an electric field
\vec{E}=A\frac{e^{- \lambda r}}{r}(\lambda + \frac{1}{r})\vec{\hat{r}}
Now, this can obviously be re-written as
\vec{E}=A e^{- \lambda r}(\lambda r + 1)\frac{\vec{\hat{r}}}{r^{2}}
However, if we want to calculate the charge density \rho = \epsilon _{0} \vec{\nabla} \cdot \vec{E}, we get different answers for the two above electric fields because of the property that
\vec{\nabla} \cdot \frac{\hat{\vec{r}}}{r^{2}} = 4 \pi \delta ^{3}(\vec{r}).
Specifically, using the general property that \nabla \cdot \phi\vec{F}=\nabla\phi \cdot \vec{F} + \phi (\nabla \cdot \vec{F}) with \vec{F}=\vec{\hat{r}} in the first case and \vec{F}=\frac{\vec{\hat{r}}}{r^{2}} in the second case yield different answers.
If you don't believe me, try it!
FYI: The answer the first expression gives is
\rho=A\epsilon _{0}e^{-\lambda r}\frac{-\lambda^{2}}{r}
And the answer the second expression gives is
\rho=A\epsilon_{0}(4\pi\delta^{3}(\vec{r})-\frac{\lambda^{2}}{r}e^{-\lambda r})
What's going on here? Does it have something to do with what occurs at \vec{r}=0 or am I screwing up some basic math. Why is this happening to me!?
Last edited: