Tolman–Oppenheimer–Volkoff equation (source code)

= Tolman–Oppenheimer–Volkoff equation
{c}
{title2=TOV equation}
{wiki}

The Tolman–Oppenheimer–Volkoff equation governs a static, spherically symmetric <perfect fluid in general relativity>. In geometrized units, if $m(r)$ is the mass inside areal radius $r$, then
$$
\frac{dm}{dr}=4\pi r^2\rho,
\qquad
\frac{dp}{dr}=-\frac{(\rho+p)(m+4\pi r^3p)}{r(r-2m)}.
$$