Hydrostatic pressure support equation
= Hydrostatic pressure support equation
For a static spherically symmetric Newtonian star, balancing the inward gravitational force against the pressure gradient gives
$$
\frac{dP}{dr}=-\frac{Gm(r)\rho(r)}{r^2},
\qquad
\frac{dm}{dr}=4\pi r^2\rho(r).
$$