# Griffitsh electrostatics problem

griffiths electrostatics problem

if you have the text on you, i'm looking at question 2.46 (in the third edition).

i am given

$$V(\mathbf{r}) = A\exp (-\lambda r)/r$$

i found that

$$\mathbf{E} (\mathbf{r}) = A\exp (-\lambda r)(\lambda /r + 1/r^2) \hat{r}$$

the solution for $$\rho$$ given in the text is

$$\rho = \epsilon _0 A [4\pi \delta^3 (\mathbf{r}) - \lambda^2 \exp (-\lambda r)/r]$$

however, in my solution, i got that exponential funtcion multiplying both terms in the answer.

i don't think i made a mistake in my steps, either. :/

i used the following properties:

$$\nabla \cdot (f\mathbf{A}) = f(\nabla \cdot \mathbf{A}) + \mathbf{A} \cdot (\nabla f)$$

and

$$\nabla \cdot (\mathbf{A} + \mathbf{B}) = \nabla \cdot \mathbf{A} + \nabla \cdot \mathbf{B}$$

from that first property, the first term on the right hand side seems to me to make it pretty clear that the exponential function should be in both terms in the answer. :/

thank you.

Last edited:

Related Introductory Physics Homework Help News on Phys.org
hold on... gotta get the latex straightened out...

could someone also help me with getting the fractions in latex working?

i needed to put something in fractions that itself was something in latex, and i'm not sure what i did incorrectly. :/

sic
basically, there is no meaning to the function Dirac delta is multiplied by (only to its value at 0), because in any point except for 0, delta is 0 by itself anyway..

sic said:
basically, there is no meaning to the function Dirac delta is multiplied by (only to its value at 0), because in any point except for 0, delta is 0 by itself anyway..
oh, i think that's it.

yeah, in this case the function is equal to 1 at r=0, so it wouldn't really matter if it is included or not.

i'll go to my teacher's office hours, just to make sure.

yeah, a quick check back to ch. 1 in griffiths straightened that out.

now... a new problem! the next step is to integrate rho to find the total charge, q.

i used spherical coordinates (obviously!), so the delta function term disappears (as it will be multiplied by r-squared).

my limits of integration for the radius were from 0 to infinity.

however, i get a negative answer.

$$Q = -A 4\pi\epsilon _0 .$$

i find this disturbing. would it be allowed to switch the limits of integration, or is that verboten?

quasar987
Homework Helper
Gold Member
What would you want to change the limits of int. to?! Anyway, you've probably made a mistake in integrating.

$$\int \rho d\tau = \epsilon _0 A \left(\int 4\pi \delta^3 (\mathbf{r}) d\tau - \lambda^2 \int \exp (-\lambda r)/r d\tau \right)$$

the integral with the delta fucntion is just 4pi (because of equation (1.97), or more generally, because of equation (1.98)). The other one, you'll have to find a way to evaluate. Plz tell me if you find how to evaluate the limit that ensues. :grumpy:

quasar987
Homework Helper
Gold Member
Ah, L'Hospital.

quasar987 said:
Ah, L'Hospital.
yep, that's how to do it.

quasar987 said:
What would you want to change the limits of int. to?! Anyway, you've probably made a mistake in integrating.

$$\int \rho d\tau = \epsilon _0 A \left(\int 4\pi \delta^3 (\mathbf{r}) d\tau - \lambda^2 \int \exp (-\lambda r)/r d\tau \right)$$

the integral with the delta fucntion is just 4pi (because of equation (1.97), or more generally, because of equation (1.98)). The other one, you'll have to find a way to evaluate. Plz tell me if you find how to evaluate the limit that ensues. :grumpy:

ah, googly-moogly!

i thought that the first integral would be zero since

$$d\tau = r^2 \sin (\theta) drd\theta d\phi.$$

and then i figured that the integral would be equal to $$0^2$$, but now that i'm looking at example 1.16 on pg. 51, i'm seeing that that's not the case.

thanks!

now let's see what the answer is. (post yours, too! you taking EM this semester, as well? )

ok, now i'm getting an answer of 0.

that's... unsatisfying. is it even physical? quasar987
Homework Helper
Gold Member
Of course. It just means that the total charge is 0. there are as much "+" as the are "-"; very possible.

P.S. The EM fun was last semester for me.

quasar987
Homework Helper
Gold Member
I'm very puzzled by all this right now though. Both the integrator and Mapple say that

$$\int r e^{-\lambda r}dr = \frac{1}{2}r^2 e^{-\lambda r}$$

But when I differentiate the answer, I don't get the integrand. When mapple differentiate the answer, it DOES get the integrand. Where am I mistaken ?!?!

$$\frac{d}{dr}\frac{1}{2}r^2 e^{-\lambda r} = r e^{-\lambda r} + \frac{-\lambda}{2}r^2 e^{-\lambda r}$$

quasar987 said:
I'm very puzzled by all this right now though. Both the integrator and Mapple say that

$$\int r e^{-\lambda r}dr = \frac{1}{2}r^2 e^{-\lambda r}$$

But when I differentiate the answer, I don't get the integrand. When mapple differentiate the answer, it DOES get the integrand. Where am I mistaken ?!?!

$$\frac{d}{dr}\frac{1}{2}r^2 e^{-\lambda r} = r e^{-\lambda r} + \frac{-\lambda}{2}r^2 e^{-\lambda r}$$

looks like the programs are treating the exponential function as a constant! that's not good!

i evaluated the integral using integration by parts.

yeah, the + charge balancing the - charge makes sense to me. i'm just trying to wrap my head around what it would look like in space! maybe i should give that up. :tongue: