Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Part 3: Stellar Structure as Applied Statistics

From Particles to Stars | Statistical Thinking Module 2 | ASTR 596

San Diego State University

Learning Objectives

By the end of Part 3, you will be able to:


Part 3: Application 1 - Stellar Interiors (Atoms as Particles)

Priority: 🟡 Standard Path

3.1 From Statistical Mechanics to Stellar Structure

Priority: 🟡 Standard Path Let’s apply our moment-taking machinery to stellar interiors, where the “particles” are atoms and ions. We’ll see how the four stellar structure equations emerge naturally from statistical mechanics.

Starting with the momentum equation from our first moment:

ρDuDt=P+ρg\rho \frac{D\vec{u}}{Dt} = -\nabla P + \rho \vec{g}

For a star in hydrostatic equilibrium:

This gives:

dPdr=ρg=GMrρr2\frac{dP}{dr} = -\rho g = -\frac{GM_r \rho}{r^2}

where MrM_r is the mass within radius rr.

This is the second stellar structure equation, derived purely from taking the first moment of the Boltzmann equation!

3.2 Why Stars Radiate as Blackbodies: LTE and Photon Statistics

Priority: 🟡 Standard Path Here’s something that should amaze you: the same temperature TT that appears in the ideal gas law (P=nkBTP = nk_BT) also determines the star’s radiation spectrum. The particles creating pressure and the photons carrying energy share exactly the same temperature: Tgas(r)=Trad(r)T_\text{gas}(r) = T_\text{rad}(r). This isn’t a coincidence — it’s a profound consequence of local thermodynamic equilibrium (LTE). When matter and radiation interact frequently enough (as in stellar interiors), they must share the same temperature or entropy wouldn’t be maximized.

Without LTE, we’d need to track separate distributions for particles, photons, excitation states, and ionization states — an impossible task. Instead, one temperature determines everything: how hard particles push (pressure) AND what color light they emit (spectrum).

From Maximum Entropy to Radiation

Both particle and photon distributions emerge from maximizing entropy, but with one crucial difference:

For particles (Maxwell-Boltzmann):

fparticle(v)=(m2πkT)3/2emv2/2kTf_{\text{particle}}(v) = \left(\frac{m}{2\pi kT}\right)^{3/2} e^{-mv^2/2kT}

For photons (Planck):

Bν(T)=2hν3c21ehν/kT1B_\nu(T) = \frac{2h\nu^3}{c^2} \frac{1}{e^{h\nu/kT} - 1}

This difference is fundamental: atoms are conserved in stellar interiors, but photons are constantly created (emission) and destroyed (absorption). The Planck distribution is just the Bose-Einstein distribution with μ=0\mu = 0 for massless bosons.

Key Results from Blackbody Radiation

From the single Planck distribution, all thermal radiation laws follow:

QuantityFormulaPhysical Meaning
Energy densityurad=aT4u_\text{rad} = aT^4Total EM energy per volume
Radiation pressurePrad=13urad=13aT4P_\text{rad} = \frac{1}{3}u_\text{rad} = \frac{1}{3}aT^4Momentum transfer creates pressure
Energy fluxF=σT4F = \sigma T^4Power radiated per unit area
Peak wavelengthλmaxT=b\lambda_\text{max} T = b where b=0.29b=0.29 cm\cdotKWien’s law - determines color

where a=7.566×1015a = 7.566 \times 10^{-15} erg cm3^{-3} K4^{-4} (radiation constant) and σ=5.67×105\sigma = 5.67 \times 10^{-5} erg cm2^{-2} s1^{-1} K4^{-4} (Stefan-Boltzmann constant).

Note that pressure and energy density have identical dimensions (erg/cm³ = dyne/cm²) — pressure IS energy density associated with momentum transport!

  1. Radiation field (Planck function): pure function of TT

  2. Opacity: κρT3.5\kappa \propto \rho T^{-3.5} (Kramers’ approximation)

  3. Nuclear energy generation: ϵρT46\epsilon \propto \rho T^{4-6}

This unification is profound — just two thermodynamic variables (T,ρ)(T, \rho) at each point determine mechanical pressure, ionization state, atomic excitation, radiation spectrum, opacity, and energy generation. The star doesn’t “know” to coordinate all these processes; it’s the inevitable result of maximum entropy with constraints.

3.3 Statistical Origins of Nuclear Reactions and Opacity

Priority: 🔴 Essential Two crucial stellar processes — nuclear fusion and photon absorption — are fundamentally statistical phenomena:

Nuclear Reaction Rates: Quantum Tunneling Statistics

Nuclear fusion in stars shouldn’t happen according to classical physics. At T1.5×107T \sim 1.5 \times 10^7 K in the solar core, the typical particle kinetic energy is:

Ek=32kT2×109 erg1.3 keV\langle E_k \rangle = \frac{3}{2}kT \approx 2 \times 10^{-9} \text{ erg} \approx 1.3 \text{ keV}

But the Coulomb barrier for two protons is:

ECoulomb=Z1Z2e2rnuclear1 MeVE_{\text{Coulomb}} = \frac{Z_1 Z_2 e^2}{r_{\text{nuclear}}} \approx 1 \text{ MeV}

That’s 1000 times higher! Fusion occurs through quantum tunneling, a probabilistic process. The tunneling probability follows the Gamow factor:

Ptunnelexp(2πZ1Z2e2v)=exp(2πη)P_{\text{tunnel}} \propto \exp\left(-\frac{2\pi Z_1 Z_2 e^2}{\hbar v}\right) = \exp(-2\pi\eta)

where η\eta is the Sommerfeld parameter. Combined with the Maxwell-Boltzmann velocity distribution, the reaction rate becomes:

ϵρTnexp(EGkT)\epsilon \propto \rho T^n \exp\left(-\frac{E_G}{kT}\right)

where ϵ\epsilon is the energy generation rate per unit mass (erg g⁻¹ s⁻¹), EGE_G is the Gamow energy, and nn depends on the reaction (typically 4-6).

Key insight: Nuclear fusion is a statistical race between the exponentially decreasing tunneling probability at low energy and the exponentially decreasing number of high-energy particles. The peak occurs at the Gamow peak — neither too hot nor too cold!

Opacity: Photon Random Walk Statistics

Opacity κ\kappa (cm²/g) determines how opaque stellar material is to radiation. It’s fundamentally about the mean free path of photons — a statistical quantity:

photon=1κρ\ell_{\text{photon}} = \frac{1}{\kappa \rho}

A photon random-walks through the star, taking NN steps of length \ell to travel distance RR:

N(R)2=(Rκρ)2N \sim \left(\frac{R}{\ell}\right)^2 = (R \kappa \rho)^2

The time for energy to diffuse out:

tdiff=Nc=R2κρct_{\text{diff}} = \frac{N \ell}{c} = \frac{R^2 \kappa \rho}{c}

For the Sun: tdiff105t_{\text{diff}} \sim 10^5 years!

Kramers’ opacity (bound-free and free-free transitions): κKramersρT3.5Z\kappa_{\text{Kramers}} \propto \frac{\rho T^{-3.5}}{Z}

Physical origin of Kramers’ opacity:

The ρT3.5\rho T^{-3.5} scaling emerges from two quantum mechanical processes:

  1. Bound-free transitions (photoionization):

    • Cross-section σbfZ4n3/ν3\sigma_{bf} \propto Z^4 n^3 / \nu^3 where nn is the principal quantum number

    • Higher temperature → photons shift to higher frequencies → smaller cross-section

  2. Free-free transitions (bremsstrahlung):

    • Electrons scatter off ions while absorbing/emitting photons

    • Cross-section σffZ2T1/2/ν3\sigma_{ff} \propto Z^2 T^{-1/2} / \nu^3

Combined with the photon energy distribution (Planck), the frequency-averaged opacity becomes:

κ0.4Z(1+X)AρT3.5 cm2/g\kappa \approx 0.4 \frac{Z(1+X)}{A} \rho T^{-3.5} \text{ cm}^2/\text{g}

where XX is the hydrogen mass fraction, ZZ is metallicity, and AA is atomic mass.

Key insight: The T3.5T^{-3.5} dependence of Kramers’ opacity means it drops rapidly with temperature. This is why stellar cores are transparent to radiation despite their enormous density — the high temperature makes matter nearly invisible to photons! However, this applies specifically to bound-free and free-free transitions. At very high temperatures, electron scattering (which doesn’t depend on temperature) becomes dominant.

Note: Kramers’ opacity dominates in hot, ionized stellar interiors. Other opacity sources — including H⁻ ions in cool stellar atmospheres, molecular absorption bands, dust grains in the coolest stars, and electron scattering at the highest temperatures — become important in different regimes. These create the complex opacity tables used in modern stellar models, but the statistical principle remains: opacity measures the photon mean free path through matter.

This comes from the statistical mechanics of photon-electron interactions!

3.4 The Complete Stellar Structure Equations

Priority: 🟡 Standard Path We’ve reached the triumph of statistical mechanics applied to stellar astrophysics. Through the power of moment-taking and thermodynamic equilibrium, we’re about to reduce a system of 1057 interacting particles to just four coupled differential equations.

The Four Fundamental Stellar Structure Equations

Here they are - the complete description of a star containing 1057 particles, reduced through statistical mechanics to just four coupled differential equations:

The Core Equations

EquationMathematical FormPhysical MeaningStatistical Origin
Mass Continuity
dMrdr=4πr2ρ\boxed{\frac{dM_r}{dr} = 4\pi r^2 \rho}
Mass accumulates as we move outward through spherical shells0th moment: conservation of mass
Hydrostatic Equilibrium
dPdr=GMrρr2\boxed{\frac{dP}{dr} = -\frac{GM_r\rho}{r^2}}
Pressure gradient exactly balances gravity - no net force1st moment: momentum balance in equilibrium
Energy Generation
dLrdr=4πr2ρϵ\boxed{\frac{dL_r}{dr} = 4\pi r^2 \rho \epsilon}
Luminosity grows outward as nuclear fusion adds energyEnergy conservation from 2nd moment
Energy TransportSee belowTemperature gradient drives energy flow outwardRadiation field in LTE (Planck distribution)

Energy Transport: Where Radiation Meets Stellar Structure

The fourth equation takes two forms depending on how energy moves through the star:

Radiative Transport (photons carry energy):

dTdr=3κρLr16πacr2T3\boxed{\frac{dT}{dr} = -\frac{3\kappa \rho L_r}{16\pi ac r^2 T^3}}

This emerges directly from the radiation diffusion of photons in LTE. The T3T^3 dependence comes from the Stefan-Boltzmann law (uradT4u_{rad} \propto T^4) that we just derived!

Derivation from photon diffusion:

Start with the diffusion approximation for photon flux: Fr=c3κρd(aT4)dr=4acT33κρdTdrF_r = -\frac{c}{3\kappa\rho} \frac{d(aT^4)}{dr} = -\frac{4acT^3}{3\kappa\rho} \frac{dT}{dr}

This says photons diffuse down the energy gradient, with diffusion coefficient D=c/(3κρ)D = c/(3\kappa\rho).

In spherical geometry with luminosity LrL_r passing through a sphere of area 4πr24\pi r^2: Fr=Lr4πr2F_r = \frac{L_r}{4\pi r^2}

Equating these two expressions for flux: Lr4πr2=4acT33κρdTdr\frac{L_r}{4\pi r^2} = -\frac{4acT^3}{3\kappa\rho} \frac{dT}{dr}

Solving for the temperature gradient: dTdr=3κρLr16πacr2T3\boxed{\frac{dT}{dr} = -\frac{3\kappa \rho L_r}{16\pi ac r^2 T^3}}

Physical meaning: The temperature gradient needed to carry luminosity LrL_r depends on how opaque the material is (κρ\kappa\rho). More opaque material → steeper gradient needed → possible onset of convection!

Convective Transport (bulk gas motion carries energy):

dTdr=(11γ)TPdPdr\boxed{\frac{dT}{dr} = \left(1 - \frac{1}{\gamma}\right)\frac{T}{P}\frac{dP}{dr}}

When the radiation can’t carry enough energy (high opacity or steep required gradient), the gas itself starts moving in convective cells.

The Profound Insight: Why Only Four?

Think about what we’ve accomplished through statistical mechanics and LTE:

Everything is determined by the local thermodynamic state (T,ρ)(T, \rho) at each radius!

The Closure: Making it Solvable

Count our unknowns: ρ(r)\rho(r), P(r)P(r), T(r)T(r), Lr(r)L_r(r), Mr(r)M_r(r) - that’s 5 functions we need to determine, but we only have 4 differential equations. The system closes through the equation of state:

P=ρkTμmH(ideal gas)\boxed{P = \frac{\rho kT}{\mu m_H} \quad \text{(ideal gas)}}

This isn’t an additional assumption - it emerges from the Maxwell-Boltzmann distribution we derived in Module 1! The mean molecular weight μ\mu accounts for ionization, determined by the Saha equation using the same temperature TT.

The Mathematical Miracle

These four ODEs plus the equation of state completely determine stellar structure. No approximations, no hand-waving - just the mathematical consequence of:

  1. Large numbers → statistical certainty

  2. Thermodynamic equilibrium → one temperature rules all processes

  3. Moment-taking → PDEs become ODEs

From tracking 1058 phase space coordinates, we’ve arrived at just 4 ordinary differential equations that you could solve numerically on a laptop. This is why we can model stars at all!

3.5 The Virial Theorem for Stars: An Energy Balance Check

Priority: 🟡 Standard Path Here’s something beautiful: we can derive a fundamental energy relationship for any star in hydrostatic equilibrium by integrating the equilibrium equation over the entire star. This gives us the virial theorem for stellar interiors.

Start with hydrostatic equilibrium: dPdr=GMrρr2\frac{dP}{dr} = -\frac{GM_r\rho}{r^2}

Multiply both sides by 4πr34\pi r^3 and integrate from center to surface:

0R4πr3dPdrdr=0RGMrρr24πr3dr=0RGMrdMrr\int_0^R 4\pi r^3 \frac{dP}{dr} dr = -\int_0^R \frac{GM_r\rho}{r^2} \cdot 4\pi r^3 dr = -\int_0^R \frac{GM_r dM_r}{r}

The left side, using integration by parts:

0R4πr3dPdrdr=[4πr3P]0R0R12πr2Pdr\int_0^R 4\pi r^3 \frac{dP}{dr} dr = \left[4\pi r^3 P\right]_0^R - \int_0^R 12\pi r^2 P dr

The boundary term vanishes (P0P \to 0 at surface, r30r^3 \to 0 at center), leaving:

30RPdV=0RGMrdMrr-3\int_0^R P dV = -\int_0^R \frac{GM_r dM_r}{r}

The right side is the gravitational potential energy Ω\Omega. For an ideal gas where P=(γ1)ρuP = (\gamma-1)\rho u with uu being the internal energy density:

3(γ1)U=Ω\boxed{3(\gamma-1)U = -\Omega}

For a monatomic gas (γ=5/3\gamma = 5/3), this becomes:

2K=Ω2K = -\Omega

where KK is the total thermal kinetic energy.

This tells us: A star’s thermal energy is intimately tied to its gravitational binding energy. Gravity provides the pressure needed for fusion, and the virial theorem quantifies this balance.

Why This Matters for Your Projects: In Project 2 (N-body), you’ll use the virial theorem to check if your cluster is in equilibrium. If 2K+W02K + W \neq 0 (using the stellar dynamics notation), your system is either collapsing or expanding. It’s your primary diagnostic tool!

Part 3 Synthesis: Statistics Creates Structure

You’ve witnessed the profound truth: stellar structure isn’t imposed on particle chaos — it emerges from particle chaos through statistics. The four stellar structure equations aren’t approximations or empirical fits; they’re the exact statistical behavior of 1057 particles.

The Key Realizations

  1. LTE transforms complexity into simplicity: Because particles thermalize a trillion times faster than stars evolve, each point maintains perfect local equilibrium. This lets us use just (T,ρ)(T, \rho) to describe everything.

  2. Moments extract macroscopic physics: The stellar structure equations are literally the first few moments of the Boltzmann equation applied to spherical equilibrium.

  3. Statistical certainty replaces tracking: With N=1057N = 10^{57}, we don’t approximate — we know the exact statistical behavior better than any measurement could determine.

  4. One temperature rules everything: The same TT sets particle velocities, ionization states, excitation levels, radiation spectrum, opacity, and nuclear reaction rates. This unification through LTE is what makes stellar modeling possible.

  5. Nuclear fusion and opacity are statistical: Fusion happens through quantum tunneling (probabilistic), and opacity describes photon random walks (statistical diffusion).

The Computational Payoff

This statistical framework explains why:

Connection to Your Projects:

You haven’t just learned how stars work — you’ve learned why we can understand them at all.