T-chef
- 12
- 0
Homework Statement
Find the electric charge centred in a sphere of radius a, centered at the origin where the electric potential is found to be (in spherical coordinates) V(r)=kr^-2 where k is some constant.The Attempt at a Solution
We have E=-\nabla V = -2kr^{-3} \hat{r}
So applying Guass's law to the sphere of radius a, we get
\oint_s E \cdot da = \frac{Q}{\epsilon_0}
And thus Q= \frac{-8\pi k \epsilon_0}{a}
My problem is, surely the same result should be obtained by taking the triple integral of the charge density with respect to volume, but pursuing this path...
\rho=-\epsilon_0 \nabla^2 V(r) = -\epsilon_0 2kr^{-4}
Attempting to integrate this in spherical coordinates results in,
Q= \iiint_V \rho dV = -8\pi \epsilon_0 k \int_0^a r^{-2} dr
but due to the singularity this tends to infinity. Where did I take a wrong step?