Brewer
- 203
- 0
Homework Statement
Under the assumption that the hot, X-ray emitting gas in the halo of an elliptical galazy is in hydrostatic equilibrium with the gravitational field of the galaxy, show that the total mass interior to radius r is given by:
M(r) = -\frac{kT(r)r}{\mu m_p G}(\frac{dln\rho_g(r)}{dlnr}+\frac{dlnT(r)}{dlnr})
Where \rho_g(r) and T(r) are the gas density and temperature.
Homework Equations
From my notes:
\frac{dP_g(r)}{dr} = -\frac{GM(r)\rho_g(r)}{r^2}
and
P_g(r) = N_g(r)kT(r) = \frac{\rho_g(r)}{\mu m_p}kT(r)
The Attempt at a Solution
I have done this question before I should add, so I know it works. It was part of a homework, but the work was never given back so I can't check it there. I'm just doing it now as part of my revision.
The way I was going to head about this question was to differentiate the second of the two equations with respect to r, and set them equal to each other. However when doing this I can't see how the final answer has logs in it, as I seem to be getting:
\frac{dP_g(r)}{dr} = \frac{k}{\mu m_p}(\rho_g(r)\frac{dT(r)}{dr} + T(r)\frac{d\rho_g(r)}{dr})
Have I gone wrong with my differentiating somewhere? Its been a long time since I've had any real practice this year, so I wouldn't be all that surprised.
I also think I have one too many factors of r as well, but the equation in the notes has r^2
Any hints would be appreciated. Thanks