📘 CodingMarble Learn

Stars and Galaxies: From Starlight to the Big Bang

Everything we know about stars comes from their light. Splitting starlight into a spectrum shows dark lines that tell us which elements a star has; the colour tells us its temperature (blue = hot, red = cool) and stars are sorted into classes O B A F G K M. The H-R diagram plots true brightness against temperature: most stars, including the Sun, lie on the main sequence, with giants top right and white dwarfs bottom left. A star is born in a nebula and its mass decides its life: a Sun-like star becomes a red giant and then a white dwarf; a star of more than about 8 solar masses becomes a supergiant, explodes as a supernova and leaves a neutron star or black hole. Stars gather in galaxies, which are spiral, elliptical or irregular. Distances are huge, so we use the astronomical unit, the light-year and the parsec. Galaxies are moving apart, faster when farther (Hubble's law), which together with the cosmic microwave background supports the Big Bang about 13.8 billion years ago.

🎬 Step-by-step story

  1. Starlight split into a spectrum shows dark lines. They tell us what a star is made of.
  2. On the H-R diagram, most stars sit on the main sequence. Giants are top right, white dwarfs bottom left.
  3. Mass decides a star's ending: a white dwarf for small stars, a supernova for big ones.
  4. Galaxies are huge star families: spiral, elliptical or irregular.
  5. Galaxies move apart, faster when farther. Running time backwards gives the Big Bang.
  6. Try it: change a star's mass and see its colour, life span and ending.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

How can we know what a star is made of if no one has been there?

Each element absorbs light at its own wavelengths, so the dark lines in the spectrum act like a fingerprint.

Why does the H-R diagram put hot stars on the left?

It is a historical choice from ordering spectral classes O to M. Just remember: left = hot, blue; right = cool, red.

Will the Sun become a black hole?

No. It is not massive enough. It will become a red giant, then a white dwarf, in about 5 billion years.

Why do elliptical galaxies have few new stars?

They have used up or lost most of their gas, and gas is the raw material for new stars.

If everything moves away from us, are we at the centre?

No. In an expanding space, every galaxy sees all others moving away, like dots on an inflating balloon.

Why do big stars live shorter lives?

Their hotter cores burn fuel much faster. Move the mass slider and watch the life span drop.

Light: the messenger from the stars

Stars are too far to visit. All we get is their light and other electromagnetic (EM) radiation: radio waves, infrared, visible light, ultraviolet, X-rays and gamma rays. All of them travel at the speed of light, about 300 000 km/s. Different telescopes catch different kinds: radio dishes, infrared and X-ray space telescopes.

Spectra

A prism or grating splits light into a spectrum. A star's spectrum has dark absorption lines. Each element (hydrogen, helium, iron…) makes lines at its own wavelengths, like a barcode. So spectra tell us a star's composition.

Colour and temperature

Hotter objects glow bluer. The peak wavelength follows Wien's law: λmax = 2.9 × 10−3 m·K ÷ T. Stars are sorted by temperature into classes O B A F G K M (O hottest, about 30 000 K or more; M coolest, about 3 000 K). The Sun is a G star at about 5 800 K.

Doppler shift

If a star or galaxy moves away, its lines shift towards red (redshift); moving towards us, towards blue (blueshift).

Properties of stars and the H-R diagram

Key properties: temperature (from colour/spectrum), luminosity (true power output), apparent brightness (how bright it looks from Earth), size, mass and composition. A star can look dim because it is far away, not because it is weak.

The Hertzsprung–Russell (H-R) diagram plots luminosity (up) against temperature (hot on the left).

Our Sun is a middle main-sequence star. Its energy comes from nuclear fusion. It gives Earth light and heat, drives weather and the water cycle, powers photosynthesis, and its solar wind makes the auroras.

Birth, life and death of stars

  1. Nebula: a cloud of gas and dust. Gravity pulls a clump together.
  2. Protostar: the clump heats up as it shrinks.
  3. Main-sequence star: the core reaches about 10 million K and hydrogen fusion starts. Outward push of energy balances inward pull of gravity. This is the longest stage.
  4. When core hydrogen runs out, the star swells.

The ending depends on mass

Supernovae spread heavy elements (like the iron in your blood and the gold in jewellery) into space, where new stars and planets form.

Galaxies and the scale of the universe

A galaxy is a huge system of stars, gas, dust and dark matter held together by gravity. There are hundreds of billions of them.

Measuring huge distances

Scale ladder: Earth → solar system → nearest star (4.2 ly) → Milky Way (about 100 000 ly across) → Andromeda (2.5 million ly) → galaxy clusters → the observable universe. In the night sky we see stars, constellations, planets, the Moon's phases and the Milky Way band.

The Big Bang: theory and evidence

The Big Bang theory says the universe began about 13.8 billion years ago in a very hot, dense state and has been expanding and cooling ever since. It was not an explosion in space; space itself expands.

Evidence

Milestones and technology

Moving from an Earth-centred to a Sun-centred model, Galileo's telescope, spectroscopy, Hubble's discovery that galaxies recede, the CMB detection in 1965, and space telescopes such as Hubble and James Webb all changed our picture. India's AstroSat observes in ultraviolet and X-rays at the same time. Technology from astronomy, such as CCD image sensors, is now in every phone camera.

Try it

Make a spectrum: hold an old CD under a white LED or a street lamp and look at the rainbow. Different lamps (LED, sodium street light, tube light) give different patterns of bright lines, just as different stars do. Then use the slider in the 3D: predict what happens to colour and life span when you make a star 10 times heavier, then check.

Key formulas and definitions

Worked examples

1. A star's light peaks at 500 nm. Estimate its surface temperature.

T = 2.9 × 10⁻³ ÷ λmax = 2.9 × 10⁻³ ÷ (500 × 10⁻⁹) = 5 800 K. This is like the Sun (class G).

2. Proxima Centauri is 4.2 light-years away. How far is that in km?

4.2 × 9.46 × 10¹² km ≈ 3.97 × 10¹³ km, about 40 trillion km.

3. A star shows a parallax of 0.25 arcseconds. Find its distance in parsecs and light-years.

d = 1 ÷ 0.25 = 4 pc. In light-years: 4 × 3.26 ≈ 13 ly.

4. Light from the Sun takes how long to reach Earth (distance 1.5 × 10⁸ km, speed 3 × 10⁵ km/s)?

t = d ÷ v = 1.5 × 10⁸ ÷ 3 × 10⁵ = 500 s ≈ 8.3 minutes. We see the Sun as it was 8 minutes ago.

5. A hydrogen line normally at 656 nm is seen at 662.56 nm in a galaxy. How fast is it moving, and which way?

Δλ = 6.56 nm, so Δλ/λ = 0.01. v = 0.01 × 3 × 10⁵ km/s = 3 000 km/s. The line shifted to longer (redder) wavelength, so the galaxy moves away.

6. Using H₀ = 70 km/s/Mpc, how far is a galaxy receding at 7 000 km/s?

d = v ÷ H₀ = 7 000 ÷ 70 = 100 Mpc ≈ 326 million light-years.

Common mistakes

Practice quiz

1. Which star class is the hottest?
2. Where do most stars lie on the H-R diagram?
3. What will the Sun most likely become at the end?
4. Which galaxy type has mostly old stars and little gas?
5. Which is evidence for the Big Bang?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are the three main types of galaxies?

Spiral (disc with arms, like the Milky Way), elliptical (round or egg-shaped, old stars) and irregular (no clear shape).

What is the life cycle of a star?

Nebula → protostar → main-sequence star → red giant or supergiant → white dwarf (small stars) or supernova then neutron star/black hole (massive stars).

What is the evidence for the Big Bang?

Galaxies' redshift (Hubble's law), the cosmic microwave background, and the measured amounts of hydrogen and helium.

Where this is taught

Canada (Ontario)Grade 9E. Earth and Space Science
Canada (Ontario)Grade 12B. Kitchen Fundamentals
Canada (Ontario)Grade 12B. Astronomy (Science of the Universe)
NetherlandsHAVO 5 (eindexamenjaar)Earth and universe
South Korea중학교 2학년Stars and the universe
South Korea중학교 3학년Stars and universe
South Korea고등학교 2학년Solar system bodies, stars and cosmic evolution
South Korea고등학교 3학년Origin and evolution of the universe
South Korea고등학교 3학년Galaxies and cosmic expansion

Learn first

Learn next

Related lessons

All Physics lessons