Balance a spherical relativistic star
Define the TOV initial-value problem and identify pressure, energy density, curvature, and boundary conditions.
On this page
The question for today
What you’ll understand
- State the TOV equations with unambiguous density units.
- Construct regular central data and an exterior matching surface.
- Compare local relativistic corrections with Newtonian support.
Neutron stars are compact enough that pressure and spacetime curvature participate in the structural balance. The Tolman–Oppenheimer–Volkoff equations describe a static spherical perfect fluid in general relativity. They do not specify the matter equation of state: that input must be supplied independently. A solution becomes a star only after a regular center, a physical surface, and an exterior matching condition have been imposed consistently.
Choose geometric units and a static fluid
Use metric signature and geometric units in the structural equations. The coordinate r is areal radius, so a sphere has area . The function m is enclosed gravitational mass expressed as a length; physical mass is recovered as . Energy density epsilon includes rest energy and has the same geometric units as pressure, inverse length squared. It is not merely the baryon rest density.
Assume a nonrotating isotropic perfect fluid in hydrostatic equilibrium with an appropriate barotropic relation between pressure and total energy density. Mature cold stars often use a neutrino-transparent beta-equilibrated equation of state. Hot newborn remnants require entropy and composition information instead. Large rotational, magnetic, or elastic anisotropies need extended equations, so a spherical TOV calculation is a defined baseline rather than a universal compact-object simulator.
Start at a regular center and stop at a surface
Choose a central pressure and use the equation of state to obtain its corresponding energy density. Regularity requires enclosed mass to vanish as radius cubed and the central pressure gradient to vanish. Direct substitution of r equal to zero into the differential formula creates an apparent singularity, so numerical integrations start at a small radius using a regular expansion. The expansion coefficients must use the same equation of state and units as the subsequent integration.
Integrate outward until pressure reaches the prescribed surface value, normally zero for an isolated ideal star. The corresponding areal radius is R and mass is M. An ordinary stellar exterior is Schwarzschild after matching the surface metric and pressure conditions. Self-bound matter can retain a finite energy density at zero surface pressure, so vanishing pressure and vanishing density are not interchangeable boundary conditions. Crust matching also matters for radii and tidal observables.
Interpret mass sequences without overclaiming stability
In the weak-field limit, pressure is small compared with energy density, the pressure contribution to enclosed gravitational attraction is small, and is small. Restoring units then recovers Newtonian hydrostatic balance with mass density approximately epsilon divided by c squared. Neutron-star interiors can violate all three small-correction conditions. A Newtonian estimate that ignores pressure gravity can therefore underestimate the magnitude of the required pressure gradient.
Varying central pressure generates an equilibrium mass–radius sequence for the selected equation of state. For a simple one-parameter cold nonrotating sequence, the first maximum-mass turning point is associated with loss of radial stability under the relevant perturbation assumptions. Extra branches or sharp phase transitions require a fuller mode analysis. Stability is a property of perturbations and constraints, not a conclusion obtained from drawing a smooth mass–radius curve or checking causality alone.
Work it through
Compare local relativistic correction factors
At one stellar radius let , , and . Compare the TOV pressure-gradient magnitude with the Newtonian expression evaluated using the same local values.
The enthalpy correction relative to epsilon is . The pressure contribution in the second factor gives .
The curvature factor is . All three factors are dimensionless and refer to the same radius.
The ratio of gradient magnitudes is . The gradient remains negative outward, with a magnitude sixty-five percent larger than this local Newtonian comparison.
The local TOV gradient is 1.65 times the Newtonian comparator. This factor does not determine the total radius or mass without integrating a consistent equation of state.
The living notebook
Explore the model
Interactive lab · root-finding
Inspect controlled interval refinement
Reset and set target c = 2 and upper bound U = 2. After one Step predict bracket [1, 2], midpoint 1.5 and error bound 0.5; after a second Step predict bracket [1, 1.5], midpoint 1.25 and bound 0.25. This is bisection of x²−2, not a TOV integration, central-pressure search, stability analysis, or stellar boundary solver. Reset and set both controls for a new run.
- Midpoint after 0 refinements
- 1.5
- Bracket error bound
- 1.5
- Computed residual · x² − c
- 0.25
Bisection of x² − c on [0,U], capped at 50 iterations for floating-point resolution. The error bound is the maximum distance from the displayed midpoint to either bracket endpoint (half the width in exact arithmetic). Compensated square evaluation preserves the bracket when ordinary multiplication rounds a residual to zero. A truly exact endpoint or midpoint collapses the bracket. This is one monotone quadratic, not a general root solver. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA TOV model needs a declared equation of state and units.
Pause & reason
Check your understanding
Your turn
Try it yourself
An incompressible constant-energy-density toy star has compactness . Its exact central ratio is . Evaluate it and compare with the Newtonian value C/2. Is incompressibility a causal microscopic equation of state?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
The square root is 0.8. The constant-density solution is a structural diagnostic, not a realistic neutron-star fluid.
Compare with the solution
The relativistic ratio is , versus Newtonian . The ratio of those central pressures is about 1.587 for the same uniform density and compactness. Exact incompressibility requires an infinite sound speed, so this analytic toy is not a causal microscopic equation of state. Its usefulness is checking a structural formula and its relativistic correction, with that limitation retained.
Keep the idea
Take it with you
- A TOV model needs a declared equation of state and units.
- Regular central data and a surface condition complete the structural problem.
- Local causality and global radial stability are different checks.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.