HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Stellar Evolution, Binary Stars and Exoplanets
  1. 1The Hertzsprung-Russell diagram and stellar masses
  2. 2How stars shine and how they die
  3. 3Binary stars and the detection of exoplanets
  1. Physics
  2. /Stellar Evolution, Binary Stars and Exoplanets
  3. /How stars shine and how they die

Course 31.2·Lesson 2 of 3

How stars shine and how they die

A star is a balance between gravity pulling in and pressure pushing out. Fusion of hydrogen into helium in the core gives the energy. When the fuel runs out, a light star ends as a white dwarf, and a heavy one as a neutron star or a black hole.

about 30 min1 simulation2 practice questions
Lesson 2 of 3Show all lessonsHide
Stellar Evolution, Binary Stars and Exoplanets
  1. 1The Hertzsprung-Russell diagram and stellar masses
  2. 2How stars shine and how they die
  3. 3Binary stars and the detection of exoplanets

Try the code and the simulations beside the lesson.

A ball of gas in balance

Why does the Sun not collapse under its own weight? Each layer of gas is pulled inwards by gravity. The hot gas below it pushes outwards. When the two balance, the star is in hydrostatic equilibrium. It holds its size for billions of years, as long as the core stays hot.

The energy source

The core of the Sun is at about 1.5×107 K1.5 \times 10^7\ \text{K}1.5×107 K. There, hydrogen nuclei move fast enough to fuse. In the proton-proton chain, four hydrogen nuclei become one helium-4 nucleus:

4 1H→4He+2e++2νe\displaystyle 4\,{}^1\text{H} \to {}^4\text{He} + 2e^+ + 2\nu_e41H→4He+2e++2νe​

Each chain releases 26.7 MeV26.7\ \text{MeV}26.7 MeV, about 0.7 %0.7\ \%0.7 % of the mass of the four protons. The νe\nu_eνe​ are neutrinos, which escape straight out of the Sun. Heavier stars use the CNO cycle, where carbon, nitrogen and oxygen act as catalysts, but the result is the same.

Worked example: the Sun's loss of mass

The Sun radiates 3.83×1026 J3.83 \times 10^{26}\ \text{J}3.83×1026 J each second. By E=mc2E = mc^2E=mc2, the mass turned into energy each second is

Δm=3.83×1026 J(3.00×108 m/s)2\displaystyle \Delta m = \dfrac{3.83 \times 10^{26}\ \text{J}}{(3.00 \times 10^8\ \text{m/s})^2}Δm=(3.00×108 m/s)23.83×1026 J​
Δm=4.26×109 kg\displaystyle \Delta m = 4.26 \times 10^9\ \text{kg}Δm=4.26×109 kg

Only 0.7 %0.7\ \%0.7 % of the hydrogen's mass becomes energy, so the Sun burns about 4.26×109 kg/0.0071=6.0×1011 kg4.26 \times 10^9\ \text{kg}/0.0071 = 6.0 \times 10^{11}\ \text{kg}4.26×109 kg/0.0071=6.0×1011 kg of hydrogen each second.

The life of a star like the Sun

A flow chart of the life cycles of stars. A box on the left, a cloud of gas and dust, leads to a protostar and then to a main-sequence star. There the chart splits in two. The upper path, for stars with an initial mass below about 8 times the Sun's, goes to a red giant, then to a planetary nebula and a white dwarf. The lower path, for more massive stars, goes to a red supergiant and then to a supernova. After the supernova the path splits again: a neutron star if the core left behind has a mass between about 1.4 and 3 times the Sun's, and a black hole if the core is heavier.
  1. Birth. A cold cloud of gas and dust collapses under gravity. It heats up and becomes a protostar. When the core reaches about 107 K10^7\ \text{K}107 K, fusion starts, and the star joins the main sequence.
  2. Red giant. When the core hydrogen runs out, the core shrinks and heats up. Hydrogen fuses in a shell around it, and the outer layers swell and cool. Later the core fuses helium into carbon and oxygen.
  3. The end. The outer layers drift away as a glowing planetary nebula. The hot core is left as a white dwarf, about the size of the Earth. No fusion goes on in it. It cools slowly over billions of years.

A white dwarf is held up by electron degeneracy pressure. The electrons cannot be squeezed into the same states. This pressure can hold up at most about 1.4 M⊙1.4\ M_\odot1.4 M⊙​, the Chandrasekhar limit.

The life of a massive star

A star of more than about 8 M⊙8\ M_\odot8 M⊙​ goes further.

  1. Supergiant. It fuses heavier and heavier nuclei, in shells like an onion, up to iron.
  2. Supernova. Fusing iron gives out no energy, so the iron core loses its support. It collapses in less than a second, and the outer layers are blown off in a supernova. Elements heavier than iron are made in such events.
  3. Neutron star. If the core left behind is between about 1.4 M⊙1.4\ M_\odot1.4 M⊙​ and 3 M⊙3\ M_\odot3 M⊙​, protons and electrons merge into neutrons. Neutron degeneracy pressure holds up a ball about 20 km20\ \text{km}20 km across, as dense as a nucleus.
  4. Black hole. If the core is heavier, nothing can stop the collapse. A black hole forms.

Black holes and the Schwarzschild radius

The escape speed from the surface of a body of mass MMM and radius RRR is 2GM/R\sqrt{2GM/R}2GM/R​. Set it equal to ccc. The radius at which not even light escapes is the Schwarzschild radius:

Rs=2GMc2\displaystyle R_s = \dfrac{2GM}{c^2}Rs​=c22GM​

For the Sun, Rs=2.95 kmR_s = 2.95\ \text{km}Rs​=2.95 km. This Newtonian argument happens to give the right answer of general relativity.

Where this sits in your syllabus. IB Physics (topic E.5) and several A-Level boards teach stellar evolution, the Chandrasekhar limit and the fates of stars. The olympiads add the Schwarzschild radius and the energy budget of fusion.

Keep 1.41.41.4 solar masses and shrink the radius from 50 km50\ \text{km}50 km to 5 km5\ \text{km}5 km. At what radius does the escape speed reach ccc? What is the density of a neutron star of radius 12 km12\ \text{km}12 km?

Practise with new numbers

Try it in Python

The program goes through five stars by their initial mass. It prints the likely end of each, and the Schwarzschild radius of its mass.

Predict first. What does a star of 202020 solar masses leave behind, if its core is 555 solar masses? Then run it. Check with Show the answer.

1. Change the core of the 121212 solar mass star to 2.5. Does its fate change?

2. What is the Schwarzschild radius of the Earth, of mass 5.97×1024 kg5.97 \times 10^{24}\ \text{kg}5.97×1024 kg?

Common mistakes

  • Thinking a star burns like a fire. Its energy comes from nuclear fusion, not from chemical burning.
  • Thinking a white dwarf still fuses. It shines only because it is still hot.
  • Mixing up the masses. The Chandrasekhar limit of 1.4 M⊙1.4\ M_\odot1.4 M⊙​ is for the remnant core, not for the star at birth.
  • Thinking every star becomes a black hole. Only the heaviest cores do.
  • Leaving out the 222. Rs=2GM/c2R_s = 2GM/c^2Rs​=2GM/c2.

Remember these

  • Hydrostatic equilibrium: gravity inwards balances pressure outwards.
  • The proton-proton chain: 4 1H→4He4\,{}^1\text{H} \to {}^4\text{He}41H→4He, releasing 26.7 MeV26.7\ \text{MeV}26.7 MeV.
  • Below about 8 M⊙8\ M_\odot8 M⊙​: red giant, planetary nebula, white dwarf.
  • Above: supergiant, supernova, neutron star or black hole.
  • Chandrasekhar limit 1.4 M⊙1.4\ M_\odot1.4 M⊙​. Schwarzschild radius Rs=2GM/c2R_s = 2GM/c^2Rs​=2GM/c2.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. What holds a white dwarf up against gravity?
  1. Why does fusion stop at iron?
  1. A black hole has ten times the Sun's mass. What is its Schwarzschild radius?
  1. Where do the gold and uranium on the Earth come from?

References

  • OpenStax Astronomy 2e, Chapter 16 The Sun: A Nuclear Powerhouse.
  • OpenStax Astronomy 2e, Chapter 23 The Death of Stars, and Chapter 24 Black Holes and Curved Spacetime.

Enroll free in Stellar Evolution, Binary Stars and Exoplanets

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

The Sun radiates 3.83 × 10²⁶ W. Take c = 3.00 × 10⁸ m/s, the Sun's mass 1.99 × 10³⁰ kg and 1 year =…Hard · High School (11–12) · by StemPy Lab
In the Sun, four hydrogen atoms become one helium-4 atom…Advanced · High School (11–12) · by StemPy Lab
After a supernova, a neutron star of 1.4 solar masses and radius 12 km is left behind…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Binary stars and the detection of exoplanets
← Stellar Evolution, Binary Stars and Exoplanets
← The Hertzsprung-Russell diagram and stellar massesBinary stars and the detection of exoplanets →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Stars near the centre of our galaxy race around an unseen object of about 4.0 × 10⁶ solar masses…Hard · High School (11–12) · by StemPy Lab