Charge distribution of point charges in spherical coordinates

Homework Statement

Hi! This is not really a problem. I'm just confused on how to express the charge distribution of a set of point charges in spherical coordinates. From our discussion,
$ρ(\vec{r})=\sum\limits_{i=1}^N q_i δ(\vec{r}-\vec{r}')$
where $\vec{r}$ is the position of the point where charge density is being evaluated and $\vec{r}'$ is the position of the point charge.

Three-dimensional Dirac delta function in general is
$δ(\vec{r})= \frac{1}{h_1 h_2 h_3} δ(u_1 - u_1 ')δ(u_2 -u_2 ') δ(u_3 - u_3 ')$

So in spherical coordinates, it is
$δ(\vec{r})= \frac{1}{r^2 sin(θ)} δ(r - r')δ(θ -θ') δ(\phi - \phi')$

The continuous charge distribution of these point charges is therefore
$ρ(\vec{r})=\sum\limits_{i=1}^N \frac{1}{r^2 sin(θ)} δ(r - r'_i)δ(θ -θ'_i) δ(\phi - \phi'_i)$

So here's the part where I'm confused. For the factor $\frac{1}{r^2 sin(θ)}$. do I retain it as is (i.e. r and θ are coordinates of position vector $\vec{r}$ or do I subsitute the coordinates of my point charge (i.e. the coordinates of $\vec{r}'$)? Thank you very much.

See above.

The Attempt at a Solution

I've seen a problem and an online solution and it seems that he substituted the coordinates of $\vec{r}'$ but I can't reconcile it from the definition of 3-D Dirac delta function I've read where the coordinates of $\vec{r}$ are substituted instead. Thank you very much.

vanhees71
Gold Member
But it doesn't make a difference, whether you put the primed or unprimed coordinates into the prefactor, because with a grain of salt, $\delta(x)=0$ for $x \neq 0$. Thus you always have
$$\frac{1}{r^2 \sin \theta} \delta(r-r') \delta(\theta-\theta') \delta(\phi-\phi')=\frac{1}{r'^2 \sin \theta'} \delta(r-r') \delta(\theta-\theta') \delta(\phi-\phi').$$
Note, however, that you never should hit the singularities of the coordinate system, because there the Jacobian becomes 0 in the denominator.

1 person
Thanks vanhees71. By Jacobian, you mean $\frac{1}{h_1 h_2 h_3}$ right?

Also, about your answer. Sorry for asking again, but will it really not make a difference? I'm asking this question because I'm supposed to get the multipole moment of four charges with spherical coordinates $(a, \frac{\pi}{2}, 0)$, $(a, \frac{\pi}{2}, -\frac{\pi}{2})$, $(a, \frac{\pi}{2}, -\pi)$ and $(a, \frac{\pi}{2}, \frac{3\pi}{2})$ respectively.

The equation for multipole moment is $q_{l m} = \int Y^*_{l m}(\theta', \phi')r^{'l}\rho(\vec{r}')d^3x'$. Therefore, if the factor $\frac{1}{r^2 sin(\theta)}$ is primed, it becomes part of the integration but if it is unprimed, I can take it out of the integral like a constant. So in this case, should the factor $\frac{1}{h_1 h_2 h_3}$ be primed or unprimed?

Also, I am using this equation number 19 from this reference: http://web.mst.edu/~hale/courses/411/411_notes/Chapter1.Appendix.Dirac.Delta.pdf which as you see, has unprimed factors for the three-dimensional Dirac delta function in spherical coordinates. Thanks again.

Thanks vanhees71. By Jacobian, you mean $\frac{1}{h_1 h_2 h_3}$ right?

Also, about your answer. Sorry for asking again, but will it really not make a difference? I'm asking this question because I'm supposed to get the multipole moment of four charges with spherical coordinates $(a, \frac{\pi}{2}, 0)$, $(a, \frac{\pi}{2}, -\frac{\pi}{2})$, $(a, \frac{\pi}{2}, -\pi)$ and $(a, \frac{\pi}{2}, \frac{3\pi}{2})$ respectively.

The equation for multipole moment is $q_{l m} = \int Y^*_{l m}(\theta', \phi')r^{'l}\rho(\vec{r}')d^3x'$. Therefore, if the factor $\frac{1}{r^2 sin(\theta)}$ is primed, it becomes part of the integration but if it is unprimed, I can take it out of the integral like a constant. So in this case, should the factor $\frac{1}{h_1 h_2 h_3}$ be primed or unprimed?

Also, I am using this equation number 19 from this reference: http://web.mst.edu/~hale/courses/411/411_notes/Chapter1.Appendix.Dirac.Delta.pdf which as you see, has unprimed factors for the three-dimensional Dirac delta function in spherical coordinates. Thanks again.

Orodruin
Staff Emeritus
Homework Helper
Gold Member
As was said, it really does not matter. If you put the unprimed coordinates they will simply be replaced by the primed when you integrate.

1 person
Okay, I see. Thank you very much Orodruin. :)

Orodruin
Staff Emeritus
Homework Helper
Gold Member
What is interesting is that, if r' = 0, δ(r-r') dr over 0 to ∞ = 1/2, not 1.
I also have some doubts about what happens if θ = +/-π/2 or 0, and/or φ = 0 or 2π.
This is a good example why you should never use a coordinate system that has your delta on the boundary. It is bound to lead to confusions like this one.

The only reasonable definition of the delta is in terms of a distribution. In this case, the three-dimensional delta distribution should satisfy
$$\int_V \delta^{(3)}(\vec x) f(\vec x) dV = f(0).$$
With your assertion that the integral of the one-dimensional delta at the boundary is 1/2 and not 1, you would get this result wrong. You have to look at what distribution you are actually considering. You should generally also treat the delta as a distribution rather than a function. The bottom line is: If you want to treat it as a function with the integral property, don't use a coordinate system such that your delta is on its boundary.

Orodruin
Staff Emeritus
Homework Helper
Gold Member
What self-respecting coordinate system can't even express vector dot or cross-products?
What makes you think you can't do this in cylinder or spherical coordinates? It is just a matter of knowing what the metric tensor is. There is absolutely no need to go to Cartesian coordinates.

I hope to have settled the OP's question in the simplest of ways.
I believe the OP's question was settled satisfactorily three years ago.

And the unit vectors have non-zero time derivatives? Ugh.
This is simply not true. The basis vectors (which is what you really mean, a unit vector can have a non-zero time derivative regardless of the coordinate system) depend on the position, there is no "time" intrinsic to Euclidean space. If the position depends on time, yes, the basis will change with the position. However, the concept of having a basis that is independent of the position (such as a Cartesian basis) is something that is very particular to Euclidean space. As soon as you try to generalise this to more general spaces you will run into problems as the tangent spaces of different points are different. I would say it is even detrimental to try to cling to the concept of having "the same basis" at different points.

Orodruin
Staff Emeritus
Homework Helper
Gold Member
OK, given spherical vectors a = a1 r + a2 θ + a3 φ and b = b1 r + b2 θ + b3 φ, please give us a x b.
It is an orthonormal right-handed basis. It holds that
$$\vec e_r \times \vec e_\theta = \vec e_\varphi$$
and all cyclic permutations. So your case would be
$$\vec a \times \vec b = (a_2 b_3 - a_3 b_2)\vec e_r + (a_3 b_1 - a_1 b_3)\vec e_\theta + (a_1 b_2 - a_2 b_1)\vec e_\varphi.$$

And if tensors are required, that's another minus IMO. Haven't seen one of those in 50 years ...
If you have seen it or not is not really relevant. Tensors are central in many applications in physics. Anyway, it doesn't, so ...

So my Housner & Hudson (Caltech) textbook is wrong when they state that the unit vectors in sph. coord. have finite time derivatives in a rotating coordinate system? Wheras in cartesian they don't? Oh, OK ...
You never said anything about a rotating coordinate system, I think you are mixing things up. A rotating coordinate system will have time varying basis vectors - whether Cartesian or not.

Orodruin
Staff Emeritus
Homework Helper
Gold Member
Quotes from my H&H text:
1. "In terms of the unit vectors i, j, k, which are constant ..."
2. "The unit vectors er and are not constant, but change direction with time" (referring to cylindrical coordinates to be precise).

Score: Cartesian 1 , Cylindrical (and spherical) 0?
This seems seriously taken out of context. If presented like this, it is simply wrong. A curvilinear coordinate system in itself has absolutely nothing to do with time. There is the possibility I alluded to in #10: For an object moving in a curvilinear coordinate system, the basis vectors will change with time because the position changes with time and the basis vectors change with position. This is not a drawback of curvilinear coordinates - it is a virtue. It can be used to describe things such as fictitious forces easily. Still, I would say that it is not good presentation to say that the basis vectors change with time - it would be more appropriate to say that they change with position (because they are functions of position, not time).

Orodruin
Staff Emeritus
Homework Helper
Gold Member
So I found the text in the Caltech e-library.

It is exactly what I said. It is a book on dynamics and when they talk about cylinder coordinates they have implicitly assumed a motion of some object. I suggest reading a text that is actually about vector analysis and curvilinear coordinate systems.

Orodruin
Staff Emeritus