Computing gravitational potential for a point inside the distribution

Mike2
Messages
1,312
Reaction score
0
The gravitational potential, U, can be calculated at any point, \[<br /> {\rm{\vec r}}<br /> \], for a mass density distribution, \[<br /> {\rm{\rho (r)}}<br /> \], using the formula:

\[<br /> {\rm{U = - }}\int_{{\rm{all space}}} {G\frac{{{\rm{\rho }}({\rm{\vec r&#039;)}}}}{{\left| {{\rm{ \vec r - \vec r&#039; }}} \right|}}} \,\,\,d^3 {\rm{r&#039;}}<br /> \].

See:
http://scienceworld.wolfram.com/physics/GravitationalPotential.html

My question is how is this calculated for points inside the distribution. For points outside the distribution, \[<br /> {\rm{\rho (r)}}<br /> \] is zero, and there is no problem. But inside the distribution where \[<br /> {\rm{\rho (r)}}<br /> \] is not zero, there will be points where \[<br /> {{\rm{\vec r - \vec r&#039; }}}<br /> \]<br /> does become zero and send the integrand to infinity. Wouldn't this cause a problem? And how would you work around it? Thanks.


Could it be as simple as adding a small constant in the denominator that goes to zero after the integration, such as:
\[<br /> {\rm{U(\vec r) = }}\mathop {\lim }\limits_{\varepsilon \to 0} {\rm{( - }}\int_{{\rm{all space}}} {G\frac{{{\rm{\rho }}({\rm{\vec r&#039;)}}}}{{\left| {{\rm{ \vec r - \vec r&#039; }}} \right| + \varepsilon }}} \,\,\,d^3 {\rm{r&#039;)}}<br /> \]
 
Last edited:
Physics news on Phys.org
Er... no. One uses techniques such as residues to do such integration that contains poles.

Zz.
 
ZapperZ said:
Er... no. One uses techniques such as residues to do such integration that contains poles.

Zz.
As I recall, residuals have to do with the math of complex numbers, which is a 2D construction resolved with line integrals, when here we have a 3D pole/infinity.

Are you referring to a Stoke's Theorm or a Divergence Theorm to turn integration throughout a volume which has an infinity into a surface integral that surrounds the infinity and so does not integrate through the infinity?
 
Mike2 said:
As I recall, residuals have to do with the math of complex numbers, which is a 2D construction resolved with line integrals, when here we have a 3D pole/infinity.
Are you referring to a Stoke's Theorm or a Divergence Theorm to turn integration throughout a volume which has an infinity into a surface integral that surrounds the infinity and so does not integrate through the infinity?

Nah-ah. You only make use of the complex plane when you do the contour integrals. Look at your complex analysis text. You'll see many such integrals (real ones) being done using this technique. This integral is very common in E&M.

Zz.
 
ZapperZ said:
Nah-ah. You only make use of the complex plane when you do the contour integrals. Look at your complex analysis text. You'll see many such integrals (real ones) being done using this technique. This integral is very common in E&M.
Zz.
I've seen where they use contour integrals to integrate real integrands. They substitute a complex variable for the real variable and do a contour integral. But I've not seen them do this for integrands of more than one real variable, have you? If you don't feel like giving a detailed explanation, perhaps you'd give a few keywords I can look up. Thanks.
 
Last edited:
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top