Stellar Structure/Hydrostatic Equilibrium and the Virial Theorem

Lesson 4.11,463 words

Hydrostatic Equilibrium and the Virial Theorem

A star holds itself up by balancing the inward pull of gravity against an outward pressure gradient. This balance, hydrostatic equilibrium, fixes a lower bound on the central pressure and, combined with the gravitational potential energy, yields the virial theorem.

╌╌╌╌

A star is a self-gravitating ball of gas that neither collapses nor disperses on a dynamical timescale. Something holds it up. That something is a pressure gradient, and the statement that the gradient exactly cancels gravity at every radius is hydrostatic equilibrium, the first and most important of the stellar-structure equations. This lesson derives it from a force balance on a mass shell, extracts a rigorous lower bound on the central pressure, computes the gravitational potential energy of a star, and assembles both into the virial theorem. The virial theorem carries two consequences that shape everything a star does: its total energy is negative and bound, and its effective heat capacity is negative, so radiating energy away raises the internal temperature. The last section turns the virial energy into the Kelvin-Helmholtz timescale, the time gravitational contraction alone could sustain the solar luminosity.

The condition of hydrostatic equilibrium

Consider a thin spherical shell inside a star at radius , of thickness and unit cross-sectional area, containing gas of mass density . Two forces act on it along the radial direction. Gravity pulls it inward with the weight of the shell in the field of the mass interior to it; only the interior mass matters, because a spherically symmetric shell exerts no net gravitational force on material inside it. Pressure pushes on both faces: the larger pressure on the inner face pushes outward, the smaller pressure on the outer face pushes inward, and the net pressure force is set by the gradient.

The mass of the shell element (per unit area) is , so its weight per unit area is , directed inward. The net outward pressure force per unit area is . In equilibrium the two cancel:

which rearranges to the equation of hydrostatic equilibrium,

The pressure gradient is negative everywhere: pressure decreases outward, falling from a maximum at the center to essentially zero at the surface.1 Written against the interior mass instead of the radius, using (mass conservation, derived in the next lesson), it takes the Lagrangian form

which is the form used to build numerical models, where rather than is the independent variable.

The pressure gradient across a shell of thickness dr supports its weight in the gravitational field of the interior mass m(r).

Central pressure: a rigorous lower bound

The hydrostatic equation alone, without knowing the density profile, already bounds the central pressure from below. Start from the Lagrangian form and integrate from the center (, ) to the surface (, ):

Inside the star every mass shell lies at a radius , the total radius, so for every shell. Replacing by therefore only decreases the integrand:

This is a strict inequality that uses no equation of state and no assumption about the internal structure beyond spherical symmetry and monotone density. For the Sun, and give a bound

The true central pressure of a solar model is about , roughly five hundred times the bound. The gap is expected: replacing by everywhere is a crude underestimate, because most of the mass sits at radii well inside where the integrand is far larger. The value of the bound is that it is exact given only mechanical equilibrium, and it already tells us the interior is at a pressure enormously larger than anything in a laboratory.

Replacing every shell radius r by the full radius R shrinks the integrand, so the true central pressure exceeds the closed-form lower bound.

Gravitational potential energy

Assembling a star from dispersed matter releases gravitational energy. The gravitational potential energy is the work done against gravity to disperse the star to infinity, taken with a negative sign, and it is built up shell by shell. Bringing a shell of mass from infinity to radius , where the interior mass is , releases . Summing over all shells,

Evaluating the integral needs the density profile. For the simplest case, a sphere of uniform density , the interior mass is , so , and

Real stars are centrally concentrated, so their density rises toward the center and the magnitude of is larger than the uniform-sphere value. The general result for a polytrope of index (derived in the equation-of-state lesson) is

which reduces to the uniform sphere at and grows as increases toward the limit of infinite central concentration. A useful summary is that with a dimensionless structure factor of order unity ( uniform, for a Sun-like model).

The virial theorem

Hydrostatic equilibrium and the gravitational energy combine into an exact relation between the total thermal energy and the gravitational energy. Multiply the Lagrangian hydrostatic equation by the volume interior to and integrate over the star. It is cleaner to multiply the Eulerian form by and integrate from to :

where the right-hand side used and reproduced the potential-energy integral. Integrate the left-hand side by parts, with the boundary term vanishing because at the surface and at the center:

Equating the two evaluations gives the mechanical form of the virial theorem,

The step to a thermal statement uses the equation of state. For a nonrelativistic ideal gas the pressure and the internal thermal energy density are related by , since a monatomic gas stores of kinetic energy per particle and exerts of pressure. Then , where is the total thermal (kinetic) energy of the star. Substituting,

This is the virial theorem in its most useful form for stellar physics.2

Two facts follow immediately. The total energy equals , so it is negative: the star is gravitationally bound and it takes a positive energy input to disperse it. And , so the total energy is half the gravitational energy, the other half having gone into thermal motion.

Of the gravitational energy released by contraction, half becomes thermal energy and half is radiated; the total energy sits at U/2, below zero.

Negative heat capacity and the thermostat

The relation is the source of the most counterintuitive property of stars. Suppose the star slowly radiates energy from its surface at luminosity , so that its total energy decreases, . Since , the thermal energy must increase: . The star gets hotter as it loses energy. The gravitational reservoir supplies the difference: from , losing releases of gravitational energy, half of which replaces the radiated energy and half of which goes into raising .

Because the thermal energy scales with the mean internal temperature, this means a self-gravitating star has an effective negative heat capacity: extract heat and its temperature rises; add heat and it cools and expands. Formally, writing the mean temperature through for a gas of mean molecular weight , the total energy is , so

This is the thermostat that stabilizes nuclear burning. If a fusion-powered core generates energy slightly faster than it is radiated, the extra heat expands and cools the core, throttling the temperature-sensitive reaction rate back down; if it generates too slowly, the core contracts and heats, speeding the reactions up. The negative heat capacity is why a normal (nondegenerate) star burns stably rather than exploding. The same mechanism fails when the core becomes degenerate and the pressure decouples from the temperature, which is what makes the helium flash in low-mass stars and thermonuclear supernovae runaway events.

The Kelvin-Helmholtz timescale

Before nuclear fusion was known, Kelvin and Helmholtz proposed that the Sun shines by slow gravitational contraction, converting the released gravitational energy into radiation. The virial theorem sets the timescale. If contraction is the only power source, the luminosity is supplied by the decrease in total energy, and the available energy is up to the structure factor. The Kelvin-Helmholtz (thermal) timescale is this reservoir divided by the luminosity,

For the Sun,

about thirty million years. This is the fatal problem with the contraction hypothesis: the geological and fossil record demanded an age far greater than years, so gravitational contraction cannot be the Sun's long-term power source. The resolution is nuclear fusion. Hydrogen burning converts a fraction of the rest mass to energy, and only the innermost of the Sun's mass reaches core temperatures, giving a nuclear timescale

Nuclear burning outlasts contraction by a factor of roughly a thousand, matching the Sun's known age of years with room to spare. The Kelvin-Helmholtz timescale is not obsolete, though: it governs the pre-main-sequence contraction of protostars, the readjustment of a star between nuclear burning stages, and the cooling of white dwarfs, wherever gravitation rather than fusion sets the pace.

The Sun's three characteristic timescales span thirteen orders of magnitude, from the free-fall dynamical time to the nuclear-burning lifetime.

Summary

Hydrostatic equilibrium, , is the mechanical backbone of every static star and yields a rigorous central-pressure bound . The gravitational energy combines with it through the virial theorem , forcing the total energy to be negative and giving the star a negative heat capacity that stabilizes nuclear burning. The Kelvin-Helmholtz time for the Sun is far too short to be the Sun's power source, which fixed the need for fusion, but it still governs contraction phases throughout stellar life. The next lesson promotes hydrostatic equilibrium into the full set of coupled structure equations, adding mass conservation, energy generation, and energy transport.

Footnotes

  1. Carroll & Ostlie, §10.1 — Hydrostatic Equilibrium: the pressure-gradient support of a mass shell and the central-pressure estimate.
  2. Carroll & Ostlie, §10.4 — The Virial Theorem: the derivation , the negative-heat-capacity consequence, and the Kelvin-Helmholtz timescale.

╌╌ END ╌╌