Lesson 5 of 15

Nuclear Timescale & Stellar Lifetimes

Nuclear Timescale & Stellar Lifetimes

Stars shine by nuclear fusion — converting hydrogen to helium in their cores. The energy released per unit mass is determined by Einstein's E=mc2E = mc^2: hydrogen fusion converts 0.7% of the rest-mass energy into radiation.

Nuclear Timescale

The total nuclear burning lifetime is:

tnuc=εMc2Lt_{\text{nuc}} = \frac{\varepsilon M c^2}{L}

where:

  • ε=0.007\varepsilon = 0.007 is the hydrogen fusion efficiency (0.7% of rest mass)
  • MM is the stellar mass in kg
  • c=2.998×108c = 2.998 \times 10^8 m/s
  • LL is the luminosity in watts

For the Sun: tnuc104t_{\text{nuc}} \approx 104 Gyr for complete H→He conversion, or ~10 Gyr for core hydrogen (roughly 10% of the total mass fuses before the star leaves the main sequence).

Mass-Luminosity Relation

On the main sequence, luminosity scales steeply with mass:

LM4L \propto M^4

Combining this with the nuclear timescale:

tnucMLMM4=M3t_{\text{nuc}} \propto \frac{M}{L} \propto \frac{M}{M^4} = M^{-3}

Massive stars burn out dramatically faster. A 10 MM_\odot star lives about 1000 times shorter than the Sun. A 0.1 MM_\odot red dwarf could shine for trillions of years.

Mass (MM_\odot)Lifetime (Gyr)
10~0.1
1 (Sun)~104
0.1~100,000

Your Task

Implement three functions. All constants must be defined inside each function.

  • nuclear_timescale_s(M_kg, L_W) — returns tnuct_{\text{nuc}} in seconds
  • nuclear_timescale_Gyr(M_solar, L_solar) — returns tnuct_{\text{nuc}} in gigayears
  • main_sequence_lifetime_Gyr(M_solar) — uses LM4L \propto M^4 to return lifetime in Gyr

Use c=2.998×108c = 2.998 \times 10^8 m/s, M=1.989×1030M_\odot = 1.989 \times 10^{30} kg, L=3.828×1026L_\odot = 3.828 \times 10^{26} W, 1 Gyr =3.1558×1016= 3.1558 \times 10^{16} s.

Python runtime loading...
Loading...
Click "Run" to execute your code.