Consider the equation of hydrostatic equilibirium as follows as applied to a stellar object: $$ \frac{dP}{dr } = \frac{-GM\rho}{r^2} $$

I know it is intimately related to the virial theorem but I am unsure how to derive the virial theorem from the above expression. I tried integrating as follows: $$\int_0 ^P dP = \int_0 ^R \frac{-Gm\rho}{r^2} dr$$

However I run into a problem as infinity gets in to the expression.

Ay help would be appreciated.

Someone asked for a source: enter image description here

  • $\begingroup$ Maybe you shouldn't use 0 as the lower limit since you are using a point mass for your force. $\endgroup$ – Ballanzor Feb 20 at 15:36
  • $\begingroup$ Can you provide a source for your first equation, please? $\endgroup$ – PackSciences Feb 20 at 16:14
  • $\begingroup$ I just uploaded the text from where I obtained it $\endgroup$ – David Abraham Feb 20 at 17:08
  • $\begingroup$ Read on virial theorem here, home.strw.leidenuniv.nl/~nefs/BasicStellarPhysics.pdf , sec. 2.2 $\endgroup$ – Ján Lalinský Feb 20 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.