FLms
- 18
- 0
Homework Statement
Consider charge distribution \rho = \frac{A}{r} with spherical symmetry, for 0 \leq r \leq R, and \rho = 0 for r > R, and A is a constant. Find the Electric Field in all of space. Check your answer obtaining \rho from your answer.
Homework Equations
Gauss's law:
\oint \mathbf{E} \cdot \mathbf{dS} = \frac{q_{enc}}{\epsilon_{0}}
or
\mathbf{\nabla} \cdot \mathbf{E} = \frac{\rho}{\epsilon_{0}}
The Attempt at a Solution
So, this should be pretty simple.
I should get the field using Gauss's law in it's integral form, since there is a spherical symmetry.
\mathbf{E} = \frac{q_{enc}}{4 \pi \epsilon_{0} R^{2}}
And then I find the q by integrating the charge density:
q_{enc} = \iiint\limits_V \rho r^{2} sin(\theta) dr d\theta d\phi
V = \left\{ (r, \theta, \phi) | 0 \leq r \leq R, 0 \leq \theta \leq \pi, 0 \leq \phi \leq 2\pi\right\}
q_{enc} = \iiint\limits_V \frac{A}{r} r^{2} sin(\theta) dr d\theta d\phi
q_{enc} = 4 \pi A \int r dr
q_{enc} = 2 \pi A R^{2}
Substituting in the Electric field:
E = \frac{A}{2\epsilon_{0}}
But this has to be wrong.
By doing Gauss's law in the differential form, I got \mathbf{\nabla} \cdot \mathbf{E} = 0, instead of finding the charge density \rho.
Where am I going wrong here?