- #1
JulienB
- 408
- 12
Homework Statement
Hi everybody! I'm preparing for an exam of electromagnetism, and I am struggling with the last question of this problem (hopefully the two first ones are correctly solved):
Given potential: ##\phi(\vec{r}) = k \frac{q}{r} e^{-r/R}## with ##r=\sqrt{x^2 + y^2 + z^2}## and ##R =##const.)
Calculate:
1. The electric field ##\vec{E} (\vec{r})## for ##r>0##.
2. The charge ##Q(r)## enclosed in a sphere of radius ##r>0## having the null-point as center.
3. The charge density ##\rho (\vec{r})## for ##r>0##.
Homework Equations
1. Eletric field: ##\vec{E} = -\nabla \phi##.
2. Gauss' law: ##\frac{Q(r)}{\epsilon_0} = \oint_A \vec{E} \cdot d\vec{A}##.
3. Poisson's equation: ##\Delta \phi = \frac{\rho (\vec{r})}{\epsilon_0}## or something else?
The Attempt at a Solution
For 1) I simply calculated the partial derivatives for ##x##, ##y##, ##z## of ##\phi(r)## and got:
##\vec{E} (\vec{r}) = kqe^{-r/R} \bigg(\frac{1}{R r^2} + \frac{1}{r^3}\bigg) \vec{r}##
Not such a straight forward derivative, so hopefully that is correct.
2) I used Gauss' law like that:
##\frac{Q(r)}{\epsilon_0} = \oint_A \vec{E} d\vec{A} = \vec{E} \cdot \vec{A}##
because I assume that the electric field is perpendicular to any sphere centered on the null-point. Is that a correct assumption? Then follows:
##Q(r) = \epsilon_0 \vec{E} \cdot \hat{n} A = \epsilon_0 k q e^{-r/R} \bigg(\frac{1}{R r^2} + \frac{1}{r^3}\bigg) r \cdot 4\pi r^2##
##= q e^{-r/R} \bigg(\frac{r}{R} + 1\bigg)##
And now question 3 is a big problem to me... I tried with Poisson's equation, and after a monster derivative I arrived to:
##\Delta \phi = \nabla^2 \phi = - \nabla \vec{E} = \frac{\rho (\vec{r})}{\epsilon_0}##
##= kq e^{-r/R} \bigg(\frac{xr}{R^2} - \frac{x^2 + 2x}{R r^4} - \frac{3x^2}{r^5} + \frac{1}{r^3}\bigg)## (for the ##x##-component)
Now that was quite a derivative, and I don't have so much time during the exam... Could there be another way? Another problem I have is that when I add the components together and rearrange for ##\rho## I get:
##\rho (x,y,z) = k \epsilon_0 q e^{-r/R} \Bigg(\frac{r(x+y+z)}{R^2} - \frac{(x^2+y^2+z^2) + 2(x+y+z)}{R r^4} - \frac{3(x^2+y^2+z^2)}{r^5} + \frac{3}{r^3}\Bigg)##
##= k \epsilon_0 q e^{-r/R} \Bigg(\frac{r(x+y+z)}{R^2} - \frac{r^2 + 2(x+y+z)}{R r^4} - \frac{3r^2}{r^5} + \frac{3}{r^3}\Bigg)##
##= k \epsilon_0 q e^{-r/R} \Bigg(\frac{r(x+y+z)}{R^2} - \frac{1}{R r^2} - \frac{2(x+y+z)}{R r^4}\Bigg)##
I don't manage to get rid of the ##x,y,z## in order to write the charge density for ##\vec{r}##... Any idea?
Any suggestion for how to solve such problems would be greatly appreciated. Thank you a lot in advance for your answers.Julien.