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. /The Hertzsprung-Russell diagram and stellar masses

Course 31.2·Lesson 1 of 3

The Hertzsprung-Russell diagram and stellar masses

The Hertzsprung-Russell diagram plots luminosity against surface temperature. Most stars lie on the main sequence, where mass sets everything: L∝M3.5L \propto M^{3.5}L∝M3.5 and the lifetime t∝M−2.5t \propto M^{-2.5}t∝M−2.5

Lesson 1 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.

Sorting the stars

Imagine a photograph of everyone in a town, with each person placed by height and by weight. Most people fall on one band: taller people are heavier. A few points sit far from the band, and they are the interesting ones. Around 1910, Hertzsprung and Russell did the same for stars.

The Hertzsprung-Russell diagram

The Hertzsprung-Russell diagram, or H-R diagram, plots the luminosity of each star against its surface temperature. Two habits of astronomers make it look odd at first.

  • Temperature runs backwards: hot stars on the left, cool stars on the right.
  • Both axes are logarithmic, because luminosities range over a factor of 101010^{10}1010.

Some versions plot the absolute magnitude against the spectral class instead. They show the same pattern.

A Hertzsprung-Russell diagram. The vertical axis is the luminosity as a multiple of the Sun's, on a logarithmic scale from 0.0001 at the bottom to 1 000 000 at the top. The horizontal axis is the surface temperature on a logarithmic scale, with hot stars on the left at 30 000 K and cool stars on the right at 3000 K. A broad band of dots runs from the top left to the bottom right: the main sequence. The Sun is marked on it at 5770 K and luminosity 1. Above the main sequence on the right is a group of cool, luminous red giants, and at the very top a few supergiants. Below the main sequence on the left is a small group of hot, faint white dwarfs. Dashed grey lines running from the upper left to the lower right show stars of equal radius, labelled 0.01, 1, 100 and 1000 solar radii.

The regions of the diagram

  • The main sequence is the band from hot and bright at the top left to cool and faint at the bottom right. About 90 %90\ \%90 % of stars are on it, including the Sun. They fuse hydrogen into helium in their cores.
  • Red giants and supergiants lie at the top right. They are cool, yet very luminous, so they must be huge.
  • White dwarfs lie at the bottom left. They are hot, yet faint, so they must be tiny.

Why must a cool, luminous star be large? From L=4πR2σT4L = 4\pi R^2\sigma T^4L=4πR2σT4, a star with a low TTT can only have a large LLL with a large RRR. Lines of equal radius on the diagram run from the top left to the bottom right.

Mass rules the main sequence

For stars on the main sequence, the mass sets the luminosity. A rough rule, the mass-luminosity relation, is

LL⊙≈(MM⊙)3.5\displaystyle \dfrac{L}{L_\odot} \approx \left(\dfrac{M}{M_\odot}\right)^{3.5}L⊙​L​≈(M⊙​M​)3.5

The power 3.53.53.5 is an average. It is near 444 for stars like the Sun and smaller for the heaviest stars. IB Physics uses 3.53.53.5.

How long a star lasts

The fuel of a star grows with its mass, MMM. The rate at which it uses fuel is its luminosity, L∝M3.5L \propto M^{3.5}L∝M3.5. So its time on the main sequence is

t∝ML∝M−2.5\displaystyle t \propto \dfrac{M}{L} \propto M^{-2.5}t∝LM​∝M−2.5

The Sun lasts about 1.0×10101.0 \times 10^{10}1.0×1010 years. Heavier stars live fast and die young.

Worked example: a star of three solar masses

  1. The luminosity. L/L⊙=33.5=46.8L/L_\odot = 3^{3.5} = 46.8L/L⊙​=33.5=46.8.
  2. The lifetime. t=1.0×1010 y×3−2.5=6.4×108t = 1.0 \times 10^{10}\ \text{y} \times 3^{-2.5} = 6.4 \times 10^8t=1.0×1010 y×3−2.5=6.4×108 years.
  3. Check. Three times the fuel, burnt 46.846.846.8 times as fast, lasts 3/46.8=0.0643/46.8 = 0.0643/46.8=0.064 of the Sun's time.

The age of a star cluster

The stars of a cluster formed together, with many masses. As time passes, the heaviest stars leave the main sequence first. The top of the main sequence that remains, the turn-off point, shows the cluster's age. Its stars have just used up their core hydrogen.

Where this sits in your syllabus. IB Physics (topic E.5) uses the H-R diagram and the mass-luminosity relation. Several A-Level boards teach the H-R diagram in their astrophysics option. The olympiads use cluster ages and lifetimes.

Move the mass from 111 to 101010. By what factor does the luminosity grow, and the lifetime fall? Which change is larger?

Practise with new numbers

Try it in Python

The program prints the luminosity and the lifetime of main-sequence stars of five masses.

Predict first. Which star in the list lives longer than 101110^{11}1011 years? Then run it. Check with Show the answer.

1. Add 0.3 to the list. How long does such a red dwarf last?

2. The universe is about 1.4×10101.4 \times 10^{10}1.4×1010 years old. Which stars in the list have never left the main sequence?

Common mistakes

  • Reading the temperature axis forwards. On the H-R diagram, temperature falls to the right.
  • Thinking all red stars are small. Red giants are cool and very large.
  • Using L∝M3.5L \propto M^{3.5}L∝M3.5 for giants or white dwarfs. It holds only on the main sequence.
  • Thinking heavy stars live longer. They have more fuel but burn it much faster.
  • Thinking a star moves along the main sequence as it ages. It stays at nearly one point, then leaves it.

Remember these

  • H-R diagram: luminosity up, temperature falling to the right, both logarithmic.
  • Main sequence: hydrogen fusion in the core. Giants top right, white dwarfs bottom left.
  • Mass-luminosity: L/L⊙≈(M/M⊙)3.5L/L_\odot \approx (M/M_\odot)^{3.5}L/L⊙​≈(M/M⊙​)3.5.
  • Lifetime: t∝M−2.5t \propto M^{-2.5}t∝M−2.5, about 101010^{10}1010 years for the Sun.
  • A cluster's turn-off point gives its age.

Check yourself

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

  1. A star lies above the main sequence at the same temperature as the Sun. What can you say about its radius?
  1. A main-sequence star has twice the Sun's mass. Roughly how luminous is it?
  1. Why do the heaviest stars have the shortest lives?
  1. Where on the H-R diagram are hot stars that are much fainter than the Sun?

References

  • OpenStax Astronomy 2e, Chapter 18 The Stars: A Celestial Census, on the H-R diagram.
  • OpenStax Astronomy 2e, Chapter 22 Stars from Adolescence to Old Age, on cluster ages.

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 (3)

In a young star cluster, Ana measures two stars that both lie on the main sequence…Hard · High School (11–12) · by StemPy Lab
A star has a luminosity of 100 times the Sun's and a surface temperature of 4000 K…Advanced · High School (11–12) · by StemPy Lab
The H-R diagram of an open cluster shows a main sequence that ends at the top in stars of 2.0 solar…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 2How stars shine and how they die
← Stellar Evolution, Binary Stars and Exoplanets
← PreviousHow stars shine and how they die →

Discussion (0)

Log in to join the discussion.

Loading…

. Giants lie above it and white dwarfs below.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

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

Python Labs (1)

Main-sequence stars in codePython Lab · by StemPy Lab