All talks

The Basics of Stars

A Guided Tour of the Universe's Light Bulbs

Marcus DuPont
Princeton University

Why Should You Care About Stars?

You've Already Seen One Today

Step outside and look up — not directly! — and you're looking at a star.

The Sun is an ordinary star. The only one close enough to study in detail.

Everything in this talk is happening right now, 93 million miles away, in the one star you already know.

You Are Made of Stars

Every atom in your body heavier than hydrogen was forged inside a star.

  • The calcium in your bones
  • The iron in your blood
  • The oxygen you breathe

Stars are the factories that built the raw materials for everything.

Stars By the Numbers

~200 billion
Stars in the Milky Way alone
~25 stars for every person on Earth
~10 billion
Years a Sun-like star lives
~2x the age of the Earth itself
27 million °F
Temperature at the Sun's core
Lava is ~2,000 °F. This is 13,500x hotter.
8 min 20 sec
For sunlight to reach Earth
A car at highway speed: ~170 years

What Is a Star?

The Simplest Definition

A star is a giant ball of hot gas held together by gravity, powered by nuclear fusion in its core.

That glow? It's millions of degrees of hydrogen fusing into helium.
Think of it as a continuous hydrogen bomb held together by its own gravity.

The Balancing Act

A star survives by balancing two forces:

Gravity
(crushing inward)
=
Pressure
(pushing outward)

This is called hydrostatic equilibrium.
When this balance breaks, the star dies.

hydro- fluid (Greek) + static standing still (Greek) + equilibrium equal scales (Latin) ➔ a fluid standing perfectly balanced

This same principle governs Earth's atmosphere — it's how engineers calculate the air pressure and density at any altitude, which is how we know how high airplanes can fly.

What Stars Are Made Of

By mass, a typical star like our Sun is roughly:

~73% Hydrogen

~25% Helium

~2% Everything else

helium from helios = the Sun (Greek) ➔ it was found in the Sun's light before it was ever found on Earth

Wait — How Do We Even Know That?

Nobody has ever been inside a star. So how do we know it's 73% hydrogen at millions of degrees?

Answer: we split its light into a rainbow.

Each element absorbs specific colors, leaving dark gaps — a barcode stamped into the starlight.

Read the barcode and you know what a star is made of, how hot it is, and how fast it's moving — all from light that left it years to millennia ago. This trick is called spectroscopy, and it's how we know almost everything in this talk.

spectro- appearance / spectrum (Latin) + -scopy to look at (Greek) ➔ looking closely at the spectrum of light

How Are Stars Born?

It Starts With a Cloud

Stars form inside vast clouds of gas and dust called nebulae.

nebula = mist or cloud (Latin) ➔ same root as "nebulous" — vague and cloudy

These clouds are mostly hydrogen — the simplest element.

A typical star-forming cloud can span dozens of light-years across —
one light-year is about 6 trillion miles. That's like driving coast-to-coast across the US... two billion times.

Gravitational Collapse

Something disturbs the cloud — maybe a nearby supernova — and gravity takes over.

From Cloud to Star

Nebula
🔨
Collapse
🌞
Protostar
Main Sequence Star
proto- first / earliest (Greek) + star ➔ a "first-draft star" — glowing, but not yet fusing

The moment hydrogen begins fusing in the core, a star is officially born.

The Engine Inside: Nuclear Fusion

What Is Fusion?

Fusion is when lightweight atoms are squeezed together so hard they merge into heavier ones.

nuclear from nucleus = little nut / kernel (Latin) + fusion from fundere = to melt together (Latin) ➔ melting the kernels of atoms into one
4 H He + Energy

Four hydrogen nuclei fuse into one helium nucleus.
A tiny bit of mass is converted into a huge amount of energy.

How huge? Fusing the hydrogen in a single glass of water would release as much energy as burning 20 tons of coal.

Einstein's Famous Equation

The energy released by fusion comes from mass itself:

\[ E = mc^2 \]

Even a tiny amount of mass (m) produces enormous energy because the speed of light (c) is a very large number — and you're squaring it.

Converting just 1 kg of matter into energy would produce ~25 billion kWh —
enough to power New York City for about 3 years.

How Much Energy?

Every second, the Sun converts about 4 million tons of matter into pure energy.

That's equivalent to exploding ~90 billion megatons of TNT per second.

Put differently: one second of the Sun's energy output could power all of human civilization for ~500,000 years.

And the Sun has been doing this for 4.6 billion years. It hasn't even hit halftime yet.

Why This Matters to You

That reaction — happening in the Sun's core right now — is the reason for basically everything:

  • The sky is bright
  • Plants grow (and everything that eats plants, including you)
  • Earth is a warm, wet rock instead of a frozen one
  • There is weather, wind, and rain at all

Every calorie you've ever eaten traces back to hydrogen fusing into helium, 93 million miles away.

Putting Fusion in Perspective

If you could somehow harness the Sun's energy output:

1 second of sunlight could power the entire US for 9 million years
1 pinhead of the Sun's core material radiates enough heat to warm every home in New Jersey — from 150 km away
1 cubic meter of Sun-core has the energy output of a mid-sized power plant
1 second of a supernova emits more energy than the Sun will produce in its entire lifetime

Stars are so far beyond human scale that even our best analogies barely scratch the surface.

Not All Stars Are the Same

Stars Come in Different Colors

A star's color tells you its surface temperature:

Cooler (~3,000 K) Sun (~5,800 K) Hotter (~30,000+ K)

Red stars are the coolest. Blue stars are the hottest.
Yes, it's the opposite of your kitchen faucet.

A "cool" red star at 3,000 K is still hotter than any blast furnace on Earth (~2,300 K).
A blue star's surface could vaporize any known material instantly.

But How Do You Put a Number on Color?

Your eye says "reddish" or "bluish." A telescope needs an actual number.

The trick: photograph the same star twice, through two different colored filters.

A filter is just a piece of glass that lets one band of color through and blocks the rest — like taping colored cellophane over a flashlight.

photo- light (Greek) + -metry measuring (Greek) ➔ photometry: measuring a star's brightness through each filter

One More Number: Magnitude

That brightness through each filter is measured in magnitudes. One catch trips up everyone:

The scale runs backwards — a smaller number means a brighter star. The brightest things have negative magnitudes.

Sun
−27
Full Moon
−13
Sirius
−1.5
Faintest eye
+6
← brighter
dimmer →

Each 5 steps = exactly 100× the brightness. Blame the ancient Greeks: Hipparchus ranked the brightest stars "1st magnitude," the faintest his eye could see "6th" — we never let it go.

magnitudo = greatness / size (Latin) ➔ originally a star's "importance" — the great ones ranked first

Looks Bright vs. Is Bright

Two stars can share the same magnitude in your data for opposite reasons:

Apparent magnitude
how bright it looks from Earth
(a dim bulb right next to you)
Absolute magnitude
how bright it truly is
(a stadium light miles away)

The Sun is the brightest thing in your sky (apparent −27) —
but tow it 30 light-years out and it's a faint speck you'd struggle to spot.

Same star, wildly different "brightness." That's why you need distance (hello, parallax) before comparing stars fairly. Your g and r are apparent magnitudes.

Two Filters: g and r

The dataset you'll work with measures each star's brightness in two filters:

r
g

r catches the redder light. g catches the bluer/greener light.

Those are the two "brightness" columns in your table. Gaia's own versions are named BP and RP — same trick, different labels.

Color = gr

Subtract the two brightnesses and you get a single number: the color index.

Hot, blue star brighter in g ➔ small g − r
Cool, red star brighter in r ➔ large g − r

One subtraction = a thermometer you can read from light-years away.

And g − r is exactly the horizontal axis of the real H-R diagram you can build from this data.

Stars Come in Different Sizes

Red Dwarf
0.1x Sun
~Jupiter-sized
The Sun
1x
109 Earths across
Blue Giant
~10x Sun
Would fill Earth's orbit
Red Supergiant
~1000x Sun
Would swallow Jupiter's orbit

If the Sun were the size of a basketball, a red supergiant would fill a football stadium.
And Earth? A grain of sand sitting on the 50-yard line.

The Catch: Bigger Stars Die Faster

Star Type Mass (vs Sun) Lifetime
Red Dwarf 0.1 – 0.5 Trillions of years
Sun-like 0.8 – 1.2 ~10 billion years
Blue Giant 10 – 50 ~10 million years

Massive stars burn through their fuel much faster.
They live fast and die spectacularly.

If the Sun's lifetime were a single 24-hour day, a blue giant's entire life would be over in ~1.5 minutes.

What's Inside a Star?

Layers of a Star (like an onion)

Corona
Convection Zone
Radiative Zone
Core
corona = crown (Latin) — the outer "crown" of light
convection from convehere = to carry together (Latin) — hot gas churning
radiative from radiare = to emit rays (Latin) — energy beaming outward

Energy generated in the core can take 100,000+ years to reach the surface.
The sunlight warming your face today began its journey when woolly mammoths still roamed the Earth.

Why So Slow?

A photon (a particle of light) created in the core doesn't fly straight out.

phot- light (Greek) + -on particle ➔ a single particle of light (same root as "photo")

It bounces off particle after particle in a random walk — like trying to cross Times Square on New Year's Eve, blindfolded, bumping into someone every fraction of a millimeter.

Once it reaches the surface, it takes only 8 minutes to cross the emptiness of space to Earth.

So when you step outside and feel the sun on your face:
that light is 8 minutes old — but the energy in it took 100,000 years to claw its way out of the core.

The Astronomer's Cheat Sheet

The Hertzsprung-Russell Diagram

not a root — just two names: Ejnar Hertzsprung & Henry Norris Russell ➔ two astronomers who, around 1910, drew the same plot independently

Brightness vs. Temperature

Plot every star by its temperature and brightness, and patterns emerge:

← Hotter       Temperature       Cooler →
Brighter ↑   Luminosity   ↓ Dimmer

Find the highlighted dot — that's our Sun, sitting in the middle of the main sequence. Perfectly average.

What the H-R Diagram Tells Us

  • Main Sequence — the diagonal band where stars spend most of their lives (including our Sun)
  • Red Giants — upper right: cool but very bright (big surface area)
  • White Dwarfs — lower left: hot but very dim (tiny size)

Where a star sits on this diagram tells astronomers its age, mass, and fate.

Measuring Stars for Real

The Gaia Space Mission

What Is Gaia?

Gaia is a European Space Agency (ESA) satellite that has been surveying the sky since 2013.

Gaia = the primordial Earth goddess (Greek) ➔ a fitting name for the mission mapping our place among the stars
  • It has catalogued ~2 billion stars — about 1% of the Milky Way
  • It measures each star's position, distance, motion, brightness, and color
  • All the data is free and public — anyone can query it

If you mapped every star Gaia has measured to a grain of sand, you'd fill roughly 15 dump trucks.

How Does Gaia Measure Distance?

The same trick you use without thinking about it: parallax.

para- beside (Greek) + allassein to change (Greek) ➔ the change in an object's position when you view it from beside

Hold your thumb out at arm's length. Close one eye, then the other.

Your thumb appears to shift against the background. The closer your thumb, the bigger the shift.

Gaia does the same thing, but instead of two eyes it uses Earth's orbit — measuring a star from opposite sides of the Sun, six months apart.

The baseline? ~300 million km. Like measuring the width of a human hair from 1,000 km away.

What Can We Extract?

From Gaia's raw measurements, we can derive real physical properties:

Gaia Measures We Derive
Parallax angle Distance (in parsecs or light-years)
Apparent brightness (G magnitude) True luminosity (how bright it really is)
Blue & red photometry (BP – RP) Surface temperature and color
Position over time Velocity (how fast and where it's going)

With distance + apparent brightness + color, you have everything you need to place a star on the H-R diagram.

Building a Real H-R Diagram

The theoretical diagram we saw earlier? Gaia lets us build it from actual data.


from astroquery.gaia import Gaia

# grab the 10,000 nearest stars with good parallax
query = """
SELECT TOP 10000
    source_id, parallax, phot_g_mean_mag,
    bp_rp, teff_gspphot
FROM gaiadr3.gaia_source
WHERE parallax > 10
  AND parallax_over_error > 10
ORDER BY parallax DESC
"""

job = Gaia.launch_job(query)
stars = job.get_results()
                        

That's it. ~10 lines to pull real measurements of 10,000 nearby stars. No telescope required.

From Query to Plot

With that data, the color-magnitude diagram is a few lines away:


import numpy as np
import matplotlib.pyplot as plt

# convert apparent magnitude to absolute magnitude
# using distance from parallax
distance_pc = 1000.0 / stars['parallax']
abs_mag = (stars['phot_g_mean_mag']
           - 5 * np.log10(distance_pc) + 5)
color = stars['bp_rp']

plt.figure(figsize=(8, 10))
plt.scatter(color, abs_mag, s=0.5, c=color,
            cmap='RdYlBu_r', alpha=0.5)
plt.gca().invert_yaxis()
plt.xlabel('Color (BP - RP)')
plt.ylabel('Absolute Magnitude (brighter ↑)')
plt.title('H-R Diagram from Gaia DR3')
plt.show()
                        

The main sequence, red giants, white dwarfs — they all emerge naturally from the data. No hand-drawing required.

Key Gaia Columns to Know

Column What It Is Units
parallax Angular shift over 6 months milliarcseconds
phot_g_mean_mag Apparent brightness (broad filter) magnitudes
bp_rp Color index (blue minus red) magnitudes
teff_gspphot Estimated surface temperature Kelvin
parallax_over_error Signal-to-noise of parallax dimensionless

Rule of thumb: filter on parallax_over_error > 10 to keep only stars with reliable distances.

Your First Mission: Is the Sun Special?

You'll get ~40,000 real stars in a table. For temperature, age, mass, and radius:

  1. Make a histogram — how many stars fall in each range
  2. Drop a line where the Sun sits
  3. Ask: is the Sun out at the edge, or right in the crowd?

Spoiler: four graphs, one answer — the Sun is gloriously, reassuringly average.

That's the whole arc of this talk, proven by your own hands with real data.

What We'll Do Together

  1. Query the Gaia archive for nearby stars
  2. Convert parallax ➔ distance ➔ absolute magnitude
  3. Build a color-magnitude diagram (a real H-R diagram!)
  4. Identify the main sequence, red giants, and white dwarfs in actual data
  5. Estimate surface temperatures from color

Everything we learned today — verified with real starlight.

How Stars Die

Two Paths, Decided by Mass

Every star begins on the main sequence. Its birth mass decides what comes next.

Main Sequence
then it splits…

Low Mass — Sun-like

Red Giant
Planetary Nebula
White Dwarf

a quiet, slow fade over billions of years

High Mass — 8+ Suns

Red Supergiant
Supernova!
Neutron Star / Black Hole

a violent, spectacular explosion

Supernovae: The Grand Finale

When a massive star runs out of fuel, its core collapses in milliseconds.

super- above / beyond (Latin) + nova new [star] (Latin) ➔ astronomers once saw a "new star" flare up — this is the extreme version
  • Brighter than an entire galaxy — billions of stars outshone by one death
  • 10 seconds of it out-shines the Sun's entire 10-billion-year life
  • Forges the heavy elements — the gold in your jewelry was made in a violent stellar death (likely colliding neutron stars)
  • The shockwave can trigger the birth of new stars

Death and birth, linked in a cosmic recycling loop.

What's Left Behind?

White Dwarf

Earth-sized, incredibly dense.
A teaspoon weighs ~5 tons —
about as much as a hippo.

Neutron Star

Manhattan-sized, unimaginably dense.
A teaspoon weighs ~6 billion tons —
roughly every car on Earth combined.

Black Hole

Gravity so strong, not even light escapes.
If you compressed Earth into a black hole,
it would be the size of a marble.

Our Star: The Sun

The Sun's Vital Stats

Age ~4.6 billion years (middle-aged)
Type G-type main sequence (yellow dwarf)
Surface Temp ~9,900 °F (hot enough to melt any metal)
Core Temp ~27 million °F (hotter than any nuclear weapon detonation)
Diameter ~1.4 million km (you could line up 109 Earths across it)
Fuel left ~5 billion years

The Sun is a perfectly ordinary star. That's actually good news for us.
It weighs about 330,000 Earths — and contains 99.86% of all mass in the solar system.

The Sun's Future

Now
Main Sequence
🔴
+5 billion yrs
Red Giant
💫
Sheds layers
Planetary Nebula
Final form
White Dwarf
planetary nebula — a misnomer! ➔ through early telescopes these round clouds looked like planets. they have nothing to do with planets — it's a dying star's shed outer layers

As a red giant, the Sun will expand past the orbit of Earth —
imagine standing in New York and the Sun's edge reaching past Los Angeles. Except it's on fire. Because it's a star.

Does this doom us? Honestly, long before that. The Sun slowly brightens as it ages — in roughly 1 billion years it will be hot enough to boil off Earth's oceans. The dramatic red-giant ending is real, but life here runs out of road well before the finale.

Stars in Your Everyday Sky

The questions you've actually wondered about

Why Do Stars Twinkle?

Not because the star flickers — it's rock-steady.

Starlight passes through Earth's turbulent atmosphere, which bends it slightly this way and that.

The twinkle is happening a few miles above your head — not light-years away.

Fun test: planets (like Venus or Jupiter) barely twinkle. They're close enough to look like tiny disks instead of points, so the atmosphere can't jiggle them as much.

Where Do the Stars Go in the Daytime?

Nowhere. They're still there.

The Sun — our one local star — is just so overwhelmingly bright that it floods the sky and drowns the others out.

Night isn't when the stars turn on. It's when our star turns off (for you).

How Far Is the Next One?

After the Sun, the nearest star is Proxima Centauri — about 4 light-years away.

Remember the basketball Sun? Here's the catch about space:

If the Sun were a basketball in New York City,
the next nearest star would be another basketball — in Chicago.

Stars are enormous, but the space between them is almost unimaginably empty. That's why your night sky looks calm and still.

You Already Know Some by Name

Look at Orion this winter. The bright red-orange shoulder is Betelgeuse.

  • It's a red supergiant — the ~1000x giant from earlier
  • It's near the end of its life and will go supernova
  • Could be tonight, could be 100,000 years from now — when it does, it'll be visible in daylight

Everything in this talk is sitting in your sky right now, waiting for you to look up.

You Now Speak Like an Astronomer

None of these words are magic. They're just old Greek and Latin, glued together:

hydrostatic equilibrium
fluid + standing + equal scales = a star holding its balance
spectroscopy
spectrum + to look = reading a star's barcode of light
nuclear fusion
kernel + to melt = melting atomic cores together
photon
light + particle = one piece of light
parallax
beside + to change = the shift seen from a new spot
supernova
beyond + new star = the ultimate "new star" flare
photometry
light + to measure = clocking a star's brightness
magnitude
greatness = brightness on a backwards scale (smaller = brighter)

Decode the roots and the universe stops sounding like jargon.

Bonus Round: Other Worlds

Exoplanets — planets around other stars

For almost all of human history, we knew of exactly one planetary system: ours.
As of today, we've confirmed more than 5,000 — and counting.

What Is an Exoplanet?

Any planet orbiting a star that isn't our Sun.

exo- outside (Greek) + planet from planetes = wanderer (Greek) ➔ a wandering world outside our solar system

The first one circling a Sun-like star was found in 1995 (a planet called 51 Pegasi b). The discovery won the 2019 Nobel Prize in Physics. This is brand-new science — younger than most of the people in this room.

Why It's Absurdly Hard

A star is roughly a billion times brighter than the planet next to it.

Spotting the planet directly is like spotting a firefly hovering next to a stadium floodlight — from across the country.

So we almost never see them. Instead we do exactly what we did with stars themselves: we never went inside a star — we read its light. To find planets, we watch what they do to their star's light.

Catching a Planet You Can't See

The Transit Method

Point a telescope at one star and just measure its brightness over time — that's photometry, the same trick behind g and r.

time → brightness planet crosses the star

If a planet's orbit is edge-on to us, it passes in front of the star and blocks a sliver of light: a tiny dip that repeats once per orbit. That repeating dip is a world.

How Deep Is the Dip?

The star dims by the fraction of its disk the planet covers — a ratio of radii, which you already know how to think about:

\[ \text{dip} = \left(\frac{R_{\text{planet}}}{R_{\text{star}}}\right)^2 \]
Jupiter across the Sun~1% dip
Earth across the Sun~0.008% dip (84 parts per million)

Measuring an 84-ppm dip means counting starlight to a few parts per million. Earth's twinkling atmosphere ruins that — which is exactly why these telescopes (Kepler, TESS) sit in space.

What One Light Curve Tells You

How deep the dip isthe planet's size
Time between dipsits orbit — how far from the star
+ the star's temperaturehow warm the planet is

Notice the catch: every planet answer leans on the star's properties. You can't know the planet until you know the star — which is the whole reason we spent two days on stars.

Plan B: The Wobble

A planet's gravity tugs back on its star. The star traces a tiny circle — it wobbles.

We catch the wobble in the star's barcode: as it moves toward us then away, its spectral lines slide blue then red (the Doppler shift).

Same spectroscopy from earlier, plus the same idea as the star velocities Gaia measures. This was how 51 Pegasi b was found — and it gives the one thing a transit can't: the planet's mass.

Transit (size) + wobble (mass) ➔ density ➔ is it rock, water, or gas?

Could Anyone Live There?

The Goldilocks Zone

The ring around a star where it's not too hot, not too cold — where liquid water can exist.

Venus
Earth
Mars
too hot
just right
too cold

Where the zone sits depends on the star's color — the thing color taught us, temperature. A hot blue star's zone is far out and wide; a cool red dwarf's hugs in tight and narrow.

Reading an Alien Sky

During a transit, a thin sliver of starlight filters through the planet's atmosphere on its way to us.

The gases in that air stamp their own barcode onto the light — the exact spectroscopy trick we used to find what stars are made of, now aimed at a planet's atmosphere.

The James Webb Space Telescope is doing this right now: detecting water, carbon dioxide, and methane in the air of worlds light-years away.

The dream: find a barcode that only life could produce — a biosignature.

So… Are We Alone?

A Galaxy Crowded With Worlds

What we've already found out there:

  • Hot Jupiters — giant planets roasting in orbits tighter than Mercury's
  • Super-Earths & mini-Neptunes — common sizes our own system doesn't even have
  • Lava worlds, ice worlds, and "Tatooine" planets orbiting two suns at once
  • Rogue planets — drifting through the dark, bound to no star at all

On average, there is more than one planet per star. That's hundreds of billions of worlds in the Milky Way alone.

For the First Time, We Can Actually Look

Remember the punchline of this whole talk: the Sun is an ordinary star.

Earth looks like an ordinary planet around it.

Ordinary × ordinary × hundreds of billions of chances…

We don't have the answer yet. But humans are the first generation with the tools to ask it seriously — and the data, like Gaia's, is public. The next people to find something could be sitting right here.

Key Takeaways

  1. Stars are giant fusion reactors — turning hydrogen into helium (and eventually heavier elements)
  2. Gravity vs. pressure — this balancing act defines a star's entire life
  3. Color = temperature — red is cool, blue is hot
  4. Mass is destiny — a star's mass determines how it lives and how it dies
  5. Stars recycle — dead stars seed the universe with the building blocks of planets, people, and everything in between
  6. Stars host worlds — the same starlight tricks (photometry, the spectral barcode) now reveal planets next door, and let us ask if any harbor life

We are all stardust.

Questions?

Marcus DuPont
Princeton University
marcus.dupont@princeton.edu