Integral Over all Space for Charge Density - Exponential Fun

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
KleZMeR
Messages
125
Reaction score
0

Homework Statement



The electric field is described by [itex]E = \frac{C e^{-br}}{r^2}[/itex],
find the charge density and then integrate over all-space and show it's zero.
[/B]

Homework Equations



[itex]E = \frac{C e^{-br}}{r^2} \\ \\[/itex]
[itex]\nabla \cdot E = \frac{\rho}{\epsilon_0} \\ \\[/itex]
[itex]\rho(r) = Q \delta^3 (r-r_0) \\ \\[/itex][/B]
[itex]I_{AllSpace} = \int_{0}^{\infty}\:f(r,\phi,\theta) \: r^2 \: dr \: sin\theta \: d\theta \: d\phi \\ \\[/itex]
[itex]\nabla = \frac{d}{dr} \hat{r} \\ \\[/itex]
[itex]\int_{0}^{\infty}f(r)Q \delta^3(r-r_0)dr = f(r_0) \\ \\[/itex]

The Attempt at a Solution



I tried to take [itex]\nabla E = \frac{\rho}{\epsilon_0}[/itex] and used the quotient solve for [itex]\rho(r)[/itex] and then integrated over all space and I do not get a zero.

With [itex]\nabla \cdot E = (\frac{-e^{-ar}}{r} \:(ra+2))[/itex]
[itex]\rho(r) = (\frac{-e^{-ar}}{r} \:(ra+2)) \: \epsilon_0[/itex]

and integrating over all space gives me

[itex]4\pi \int_{0}^{\infty}\rho(r) \: r^2 \: dr[/itex]

and this gives me [itex](-1 + undefined) \: \epsilon_0[/itex]

my only other idea here is to use the delta function, which in the case of the radial integral does give me a zero due to the [itex]r^2[/itex] term being evaluated at zero.

[itex]E_{AllSpace} = 4\pi \int_{0}^{\infty}\rho(r) \: r^2 \: dr = 4\pi Q \int_{0}^{\infty} \delta^3(r-r_0)r^2 \:dr = 0[/itex]

This second solution seems a bit short but I think it is still valid, I'm not sure if my first attempt if I made a mistake on the integral or if there is some other way of doing this? Any help would be appreciated.
 
Physics news on Phys.org
KleZMeR said:
The electric field is described by [itex]E = \frac{C e^{-br}}{r^2}[/itex],
find the charge density and then integrate over all-space and show it's zero.
What's the direction of the electric field vector? You stated it as if it's a scalar.
 
Ahh yes, it is in the [itex]\hat{r}[/itex] direction.
 
OK, so I found an issue and corrected for it, I was using [itex]\nabla[/itex] in cartesian coordinates, and it should have been in spherical.

My result after using spherical component for [itex]r[/itex] from [itex]\nabla[/itex], I get

[itex]\rho(r)_{AllSpace} = 4\pi \int_{0}^{\infty} \frac{-bA}{\epsilon_0 } e^{-br} = A[/itex]

but I noticed that if I still use the delta function I get the desired answer of zero, but I think it is Q that I am trying to find? Any help is appreciated.