AstroSpeedrunSearch
7.1

A star as a ball of gas

Builds on
Section S4 on pressure and the ideal gas law, and Section 3.2 on gravitational potential energy
Reading time
45 min
Exercises
4
Olympiad problems
1

In the four centuries since telescopes were first pointed at it, the Sun has not measurably changed its size, although it pours out 3.8×1026 W, and fossils and old rocks show that it has shone steadily for billions of years. Its own gravity pulls every part of it towards the centre, so something must push back. That something is the pressure of the hot gas inside, and in this section we use the balance between the two to find out how hot and dense the middle of the Sun must be.

7.1.1Pressure holds a star up

Before you readMake a guess first

The surface of the Sun is at about 5800 K. What is the temperature at its centre?

Section S4 found that in a gas at rest the pressure grows with depth, because each layer has to hold up the weight of the layers above it, by (S.24). Inside a star the same balance holds, which is called hydrostatic equilibrium, with one change. The pull of gravity at a distance r from the centre comes only from the mass m(r) inside the sphere of radius r, since in a spherical star the pulls of a uniform hollow shell on anything inside it cancel exactly. This is Newton's shell theorem. So g is Gm(r)/r2 and changes with depth.

ResultHydrostatic equilibrium in a star(7.1)
dpdr=−Gm(r)ρ(r)r2
pthe pressure at a distance r from the centre
m(r)the mass inside the sphere of radius r
ρ(r)the density at r
Gthe gravitational constant
The pressure falls outwards everywhere, and it falls fastest where the gas is dense and gravity is strong. At the surface it drops to almost nothing.
Quick checkThe same law in the air

Near the ground, air has a density of 1.2 kg m⁻³ and gravity is 9.81 m s⁻². By how much does the pressure fall for each metre we climb?

Pa per metre

7.1.2The pressure at the centre

To find the pressure at the centre we add up the drops of (7.1) from the surface inwards. The simplest model is a star of the same density ρ¯ all through. Then m(r)=43πr3ρ¯, the pressure gradient is −43πGρ¯2r, and adding it up from the surface, where the pressure is zero, gives p(r)=23πGρ¯2(R2−r2).

ResultCentral pressure of a star of uniform density(7.2)
pc=2π3Gρ¯2R2=3GM28πR4
pcthe pressure at the centre
ρ¯the mean density, M/43πR3
M,Rthe mass and the radius of the star
A real star is denser in the middle than at the edge, so its central pressure is larger than this. Some problems use the rougher estimate pc≈GMρ¯/R=3GM2/4πR4, from a single drop across the whole radius, which is twice as large. Either way the central pressure grows as M2/R4.
Example 7.1The pressure at the centre of the Sun

Find the central pressure of the Sun, mass 1.988×1030 kg and radius 6.957×108 m, if its density were the same everywhere.

Solution
  1. The mean density is ρ¯=M/43πR3=1409 kg m⁻³, a little more than water.
  2. By (7.2),
pc=3×6.674×10−11×(1.988×1030)28π×(6.957×108)4=1.34×1014 Pa.
AnswerThe uniform model gives 1.3×1014 Pa, more than a billion times the pressure of the air. The real central pressure of the Sun is about 2.4×1016 Pa, nearly 200 times more, because its mass is packed towards the centre, where the density is about a hundred times the mean.
Figure 7.1Inside a model Sun
Model
Inside the radius
Density
Temperature
Pressure
At the centre
The figure shows two models of a star with the Sun's mass and radius, each in hydrostatic equilibrium and made of an ideal gas of mean molecular mass 0.617. On the left the star is drawn with the sphere inside the chosen radius hatched and dotted rings round the half and the nine-tenths of the mass nearest the centre, and on the right the density ρ, the temperature T and the pressure p are drawn as fractions of their values at the centre, with the mass m inside each radius as a fraction of the whole. In the model of the mass grows as the cube of the radius, half the radius holds only an eighth of the mass, and the temperature and pressure fall together as 1−(r/R)2, so their lines coincide. , which Arthur Eddington set out in 1926 and which comes much closer to the real Sun, assumes that radiation carries a fixed share of the pressure everywhere, so that the pressure goes as ρ4/3. It packs the mass towards the middle, with . Its central pressure is close to a hundred times that of the uniform model.
Quick checkThe centre of Earth

Treat Earth as a ball of uniform density, with mass 5.972×1024 kg and radius 6.371×106 m. What is the pressure at its centre?

Pa

7.1.3Temperature from the gas law

Inside the Sun the gas is an ideal gas, so by (S.25) its pressure is p=ρkT/μmH, and a known pressure and density give the temperature. The mean molecular mass μ counts every free particle, the electrons as well as the nuclei. At the temperature of a stellar interior the atoms are fully ionised, so a hydrogen atom gives two particles, a proton and an electron, for one unit of mass, and a helium atom gives three particles, a nucleus and two electrons, for four units.

ResultMean molecular mass of a fully ionised gas(7.3)
1μ=2X+34Y+12Z
X,Y,Zthe fractions by mass of hydrogen, of helium and of all heavier elements, with X+Y+Z=1
μthe mean mass of a particle in units of the mass of a hydrogen atom
Heavier atoms give about one particle for every two units of mass, which is where the 12Z comes from. For the Sun's original mixture, X=0.70, Y=0.28 and Z=0.02, this gives μ=0.617. At the centre today, where fusion has turned half the hydrogen into helium, μ is about 0.85.

In the uniform model, the central pressure of 1.34×1014 Pa and the density of 1409 kg m⁻³ give Tc=pcμmH/ρ¯k=7.1 million K. Eddington's model gives 12 million K, and the full models of the Sun, which follow fusion and the flow of energy as well, give 15.7 million K. Most of the gap comes from the composition. Fusion has raised the mean molecular mass at the centre to about 0.85, and with that value Eddington's model gives 16.9 million K. Gravity alone, with a gas law, has told us that the middle of the Sun is at millions of kelvin, hot enough for nuclear fusion, as Section 7.3 shows.

Since pc∝M2/R4 and ρ¯∝M/R3, the central temperature of the uniform model goes as M/R. Stars of greater mass for their size are hotter inside.

Example 7.2A heavier starfinish it

A main-sequence star has 10 times the Sun's mass and 4 times its radius, and the same composition. In the uniform model, what is its central temperature?

The start

In the uniform model Tc=pcμmH/ρ¯k, and with (7.2) this is Tc=12GMμmH/kR, so the central temperature goes as M/R.

Your stepNow scale the Sun's 7.1 million K in the same model.
million K

7.1.4The virial theorem

Before you readMake a guess first

A ball of gas held together by its own gravity has no nuclear fusion and radiates energy into space. What happens to its temperature?

The balance between gravity and pressure, added up over the whole star, gives a simple link between two kinds of energy. The thermal energy K is the kinetic energy of all the particles, 32kT each. The gravitational energy U is minus the energy that would be released in assembling the star from pieces brought in from far away, and for a uniform sphere it is −35GM2/R. For any star in hydrostatic equilibrium made of an ideal gas, the two are tied together.

Show the derivation

We build a uniform sphere of density ρ¯ shell by shell. When it has reached radius r, with mass m=43πr3ρ¯, a new shell of mass dm=4πr2ρ¯dr brought in from far away has potential energy −Gmdm/r, by Section 3.2. The same shell-by-shell sum, U=−∫Gmdm/r, holds for a star of any density profile. For the uniform sphere, adding up from r=0 to R gives

U=−∫0R163π2Gρ¯2r4dr=−1615π2Gρ¯2R5=−35GM2R.

For the virial theorem we multiply (7.1) by the volume 43πr3 and add up over the star, ∫43πr3dp=−∫Gmr43πr2ρdr. The right-hand side is 13U, since dm=4πr2ρdr. On the left, integrating by parts with p=0 at the surface gives −∫p4πr2dr, minus the pressure added up over the volume. For a monatomic ideal gas, such as the fully ionised gas of a star, p=nkT is two-thirds of the thermal energy per unit volume, 32nkT, so this is −23K. Then −23K=13U, which is 2K+U=0.

ResultThe virial theorem for a star(7.4)
2K+U=0T¯≈GMμmH5kR
Kthe thermal energy of the gas, 32kT for each particle added over the star
Uthe gravitational energy of the star, negative
T¯the mean temperature of the gas, here for a uniform sphere
The second line follows from the first with N=M/μmH particles and U=−35GM2/R. For the Sun it gives a mean temperature of 2.9 million K. The total energy is E=K+U=U/2, which is negative.

The virial theorem has a strange consequence. A star that loses energy into space, with no fusion to make it up, has its total energy E=U/2 fall. Then U becomes more negative, so the star shrinks, and K=−U/2 grows, so the star heats up. A star of ordinary gas without a source of energy gets hotter as it radiates. Half the energy released by the contraction goes into heating the gas and half is radiated away. This is how a young star heats its core until fusion begins, and how the core of an old star heats up when its fuel runs out.

7.1.5Radiation pressure

Light carries momentum, so a hot gas full of photons also has a pressure from its radiation, prad=13aT4, where a=4σ/c=7.57×10−16 J m⁻³ K⁻⁴ is the radiation constant. At the centre of the Sun this is 1.5×1013 Pa, only about 0.06% of the gas pressure. In stars of tens of solar masses the share of radiation pressure rises to a large fraction, and it is one reason why stars much heavier than about 150 to 200 solar masses are not seen, as Section 7.5 shows.

Common errorsSection 7.1
  1. Inside a star, the pull at radius r comes only from the mass m(r) within that radius, so using the mass of the whole star overestimates gravity inside, and at the centre the pull is zero.
  2. Taking μ=1 for ionised hydrogen forgets the electrons. Each hydrogen atom gives two particles, so μ=0.5 for ionised hydrogen and about 0.6 for the Sun's mixture.
  3. The uniform model does not give the real central pressure, which is one to two hundred times larger. The model sets the scale and how it changes with mass and radius, and the factor comes from the concentration of mass towards the middle.
  4. A star of ordinary gas that radiates without fusion does not cool. Thinking so gets the sign of the virial theorem backwards. Losing energy makes the star contract and grow hotter. A white dwarf is held up by its degenerate electrons and not by the heat of its gas, so it does cool.
ExercisesSection 7.14 questions
  1. 7.1.1

    What is the mean molecular mass of fully ionised pure hydrogen?

  2. 7.1.2

    What is the mean molecular mass of fully ionised pure helium?

  3. 7.1.3

    A star keeps its mass but shrinks to half its radius. By what factor does its central pressure grow?

  4. 7.1.4

    A ball of gas in hydrostatic equilibrium has no nuclear fusion and radiates energy into space. What happens to it?

Olympiad problemsPast IOAA problems, restated1 problem
2014The density of a star

IOAA 2014 (Suceava), theory problem P10 (problem 7.11 on page 511 of the official IOAA problem book), restated. We keep the original symbols, K for the gravitational constant and R for the gas constant. The book gives no marks for this problem.

In a very simple model a star is a sphere of fully ionised hydrogen and helium in equilibrium under its own gravity, with no rotation. Find an expression for the mass of the star in terms of its radius r, its temperature T, the fraction n of its mass that is hydrogen, the molar masses μH and μHe of hydrogen and helium, the gas constant R and the gravitational constant K. The radiation inside the star has the pressure prad=13aT4, where a is a known constant.

AnswerM=rK(bRT+b2R2T2+89πKr2aT4) with b=2nμH+3(1−n)μHe. The official solution, which stops at the density, has b=n/μH+(1−n)/μHe, which leaves out the electrons.

NoteThe official solution balanced the central pressure of a uniform sphere against the gas and radiation pressure, as we do, but it counted the atoms of hydrogen and helium without their electrons, although the problem says the gas is fully ionised, so its gas pressure is too small by a factor between 2 and 3. We count the electrons. The printed official solution also has aT where it means aT⁴, and it stops at the density without giving the mass.