A star is a giant ball of gas caught in a lifelong tug-of-war. Gravity is always pulling inward, trying to crush the whole thing into a point. Pushing back outward is the pressure of the hot gas in the middle — and what keeps that gas blazingly hot is nuclear fusion in the core. As long as fusion keeps the furnace lit, the star holds its shape and shines steadily. The entire life story of a star is really the story of what happens when the fuel starts to run low and gravity begins to win.
Mass is the master dial
One number decides almost everything about a star: how much gas it was born with. A heavier star has stronger gravity, so its core is squeezed hotter and denser, and that makes fusion run much faster. The energy it pours out each second — its luminosity $L$ — climbs steeply with mass $M$:
Double the mass and the star shines about $2^{3.5}\approx 11$ times brighter. Here is the twist: because it burns through its fuel so much faster, a heavy star dies young. The Sun has about ten billion years on the main sequence; a $10\,M_\odot$ star, despite carrying ten times the fuel, lasts only a few million — it spends its riches far too quickly.
Reading the H-R diagram
Astronomers plot every star on the Hertzsprung–Russell diagram: luminosity climbing up the side, surface temperature $T_{\text{eff}}$ along the bottom (hot on the left, cool on the right). Most stars sit on the diagonal main sequence, quietly fusing hydrogen into helium. When the core hydrogen finally runs out, the core contracts and heats while the outer layers swell and cool — the star slides up and to the right into the red-giant region. What comes next is set, once again, by mass. Below about $8\,M_\odot$ the star gently puffs off its outer layers and leaves behind a white dwarf, propped up by electron degeneracy pressure — but only up to the Chandrasekhar limit, $M_{Ch}\approx 1.44\,M_\odot$. Heavier cores cannot be held: they collapse into a neutron star in a supernova, or, above roughly $25\,M_\odot$, all the way into a black hole. In the sim, the Mass slider sets the star's whole evolutionary track and the Age slider walks the star along it.
Try this in the sim above
Drag Mass down to $0.3$ and then up to $30$, and watch how far the dot jumps on the HR diagram while the $\tau_{MS}$ readout swings by a factor of thousands. Next set Mass near $1$ and slowly slide Age forward — see the point climb off the main sequence into the red-giant branch, then drop to the faint white-dwarf corner. Finally, switch to the Stellar Death mode and sweep Mass across the boundaries near $8$ and $25\,M_\odot$ to watch the fate flip from white dwarf to neutron star to black hole.
Section 03
Equations & Derivation
Stellar evolution traces a star's life from birth (gravitational collapse of gas) through nuclear burning stages to death (white dwarf, neutron star, or black hole). The end state is determined almost entirely by initial mass.
Sun: ~10 Gyr. Massive O-star ($30 M_\odot$): ~6 Myr. Red dwarf ($0.3 M_\odot$): >100 Gyr — older than the universe.
Step 3 — Hertzsprung-Russell Diagram
$L$ vs $T_{\text{eff}}$. Stars cluster on the main sequence (hydrogen burning), the giant branch (H-shell + He-core burning), and the white-dwarf cooling track.
Step 4 — End states by mass
$M \lesssim 0.5 M_\odot$: Helium white dwarf (after Hubble time). $0.5 \lesssim M \lesssim 8 M_\odot$: Carbon-oxygen white dwarf (planetary nebula). Chandrasekhar limit: 1.44 $M_\odot$. $8 \lesssim M \lesssim 25 M_\odot$: Type II supernova → neutron star. TOV limit: ~2-3 $M_\odot$. $M \gtrsim 25 M_\odot$: Supernova → black hole.
Above this, electron degeneracy pressure cannot support the WD.
Mapping to the simulation
The HR diagram tracks the star's evolution as a colored line; mass slider sets the track. Lifecycle mode shows visual stages from protostar through end state.
HR mode plots the star's path through luminosity-temperature space as it ages — main sequence → red giant → end state. Lifecycle mode shows a visual progression. The cluster mode shows a population of stars with their HR positions filling.
Determining ages of star clusters via the main-sequence turnoff; predicting supernova progenitors; understanding chemical evolution of the universe; explaining the Sun's future (red giant in 5 Gyr); planet habitability over stellar lifetimes; calibrating cosmological standard candles (Cepheids, SN Ia).
Higher mass → higher core T → faster fusion → much higher luminosity (L ∝ M³·⁵). Despite having more fuel, massive stars burn it ~1000× faster. Mass also determines whether degeneracy pressure can halt collapse at the white dwarf, neutron star, or BH stage.
We can't directly. We use stellar models calibrated against observations: surface temperature (color/spectrum), luminosity (distance + apparent brightness), radius (eclipsing binaries, interferometry), composition (spectral lines), and increasingly seismology (asteroseismology — Kepler & TESS detect mode oscillations).
The diagonal main sequence is the longest phase (~90% of a star's life), but each star moves QUICKLY across the H-R diagram during transitions (red giant, AGB). So 'snapshots' (like our local volume) show ~90% of stars on MS — but you'd see different distributions at high mass where evolution is rapid.
Maximum mass that electron degeneracy pressure can support against gravity: ~1.44 $M_\odot$ for typical composition. Above it, electrons become relativistic; the equation of state stiffens too slowly, gravity wins, and collapse to neutron star or supernova ensues.
As H is converted to He in the core, the mean molecular weight increases, so the core must be hotter and more compressed to maintain hydrostatic equilibrium. The Sun's luminosity has increased ~30% since formation. In ~1 Gyr Earth's oceans will boil from this; in 5 Gyr the Sun becomes a red giant.
Resources: Khan Academy; HyperPhysics; MIT OpenCourseWare; Paul's Physics Notes.
Section 05
Common Misconceptions
❌ Misconception: Stars 'use up' their fuel and burn out like a candle.
✅ Correction: Stars don't simply consume fuel uniformly. Different fusion stages have very different efficiencies. The Sun will not gradually fade — it will swell into a red giant, lose its envelope as a planetary nebula, then fade as a white dwarf.
❌ Misconception: Bigger stars live longer because they have more fuel.
✅ Correction: Opposite is true. Bigger stars burn at much higher core temperature (L ∝ M³·⁵), depleting fuel ~1000× faster. The most massive stars live only a few Myr while red dwarfs ($0.3 M_\odot$) will live >100 Gyr.
✅ Correction: Most stars (lower than $\sim 8 M_\odot$) end as white dwarfs. Stars from $\sim 8-25 M_\odot$ become neutron stars. Only the most massive ($M \gtrsim 25 M_\odot$) collapse to black holes. Our Sun will become a white dwarf, not a BH.
📖 Reference: Heger et al. — Astrophys. J. 591 (2003); Hansen, Kawaler & Trimble §10.
❌ Misconception: The Sun is a yellow star — different from white stars in temperature and color.
✅ Correction: The Sun's surface is ~5778 K and emits a near-blackbody spectrum that peaks in the green. Atmospheric scattering removes more blue light, making it look yellow at zenith. From space, the Sun is essentially WHITE.
📖 Reference: Stüwe — Phys. Educ. 26 (1991); see also Vázquez et al., A&A 506 (2009).
❌ Misconception: Red giants are hot and dim because they're red.
✅ Correction: Red giants have cooler surfaces (~3500 K) BUT enormous radius (100s of solar radii), so total luminosity is far HIGHER than main-sequence stars. A red giant is dim per square meter but vast in area — Betelgeuse is ~10⁵× more luminous than the Sun.
📖 Reference: Carroll & Ostlie §13.5; Iben Ch. 8.
❌ Misconception: Heavy elements in our bodies were 'made by the Big Bang'.
✅ Correction: Big Bang nucleosynthesis made only H, He, and trace Li. Carbon, oxygen, nitrogen, and iron were synthesized inside stars or in supernovae. The atoms in your body older than ~9 Gyr were forged in stellar furnaces.
📖 Reference: Burbidge, Burbidge, Fowler & Hoyle — Rev. Mod. Phys. 29 (1957) 547; Pagel — Nucleosynthesis and Chemical Evolution of Galaxies, Cambridge 2009.