Skip to main content
Sandbox Physics

Cosmic Reionization

How does starlight reionize cosmic hydrogen? Ultraviolet light escaping young galaxies ionizes intergalactic hydrogen. The ionized volume grows as escaped photons replace ions lost to recombination and ionize more gas. In the ideal calculation, less neutral gas makes the mean 21 cm brightness lower at the same redshift.

Change the photon supply or source positions. Read the ionized volume and its ideal 21 cm brightness.

Interactive modelCosmic Reionization
Ionized volume fraction45.8%45.8\%
Redshift8.648.64
Mean ideal radio brightness14.3 mK14.3\,\mathrm{mK}
Cumulative recombinations per hydrogen nucleus0.1210.121
Scientific sources and fixed-record methods

The original synthetic fields and standalone Python methods include all five fixed records, 325 full-precision fields, provenance, licences and labelled numerical evidence. The scripts can inspect a field with the Python standard library or rerun the full fixed model with the declared numerical packages.

Download the fixed-source data and methods (3.90 MB ZIP)

Escaping light and the ionized volume

BackgroundYoung stars emit ultraviolet light. Some escapes the galaxy and can separate an electron from a hydrogen atom. Near a source, an ionized region grows into the surrounding neutral gas.

Why it mattersAn ionized region needs a continuing supply of photons to replace ions lost to net recombination.

Focus question
What changes the amount of ionized gas, and what changes its shape?
One-sentence intuition
In this uniform two-phase model, the source supply and common recombination budget fix the total ionized volume. Source positions decide where that volume is allocated. Moving sources can change the map without changing the global count.

Core mathematical model

Balance ionization and recombination

dQdt=fesc∑sN˙sNH−Qtrec,trec−1=CαBnˉH,0a−3\frac{dQ}{dt}=\frac{f_{\rm esc}\sum_s\dot N_s}{N_{\rm H}}-\frac{Q}{t_{\rm rec}},\qquad t_{\rm rec}^{-1}=C\alpha_{\rm B}\bar n_{{\rm H},0}a^{-3}

The ionized volume fraction grows with escaped light. Divide the escaped photon rate by the fixed number of hydrogen nuclei in the comoving box. Recombination acts in the fully ionized phase; expansion reduces its physical density. At full ionization, additional supply becomes surplus.

Keep all four counts

E=Q+R+U,⟨q⟩V=QE=Q+R+U,\qquad \langle q\rangle_V=Q

All counts are per hydrogen nucleus: escaped supply is split into retained ionizations, cumulative recombinations and surplus. The equal-volume cell mean must match retained ionizations at that same time. The scene distributes net new ionized volume instantaneously; it is not a finite-speed radiation front.

Read the remaining neutral gas

δTb(x)=T0(z)[1−q(x)],PT(k)=T0(z)2P1−q(k)\delta T_b(\mathbf x)=T_0(z)[1-q(\mathbf x)],\qquad P_T(k)=T_0(z)^2P_{1-q}(k)

This ideal radio map additionally assumes high neutral spin temperature, an optically thin coeval cube and a pure Hubble velocity gradient. It comes from the same completed cell field. The power chart averages only the declared four finite-box mode families.

Common difficulties

Half the volume is a phase statement

Typical misconceptionEvery atom is halfway ionized.

Better mental modelA cell contains a volume share of fully ionized gas and a share of neutral gas. This differs from treating every parcel as microscopically partially ionized, which changes recombination counting.

A changed shape can have the same mean

Typical misconceptionMoving two sources together must ionize more gas.

Better mental modelThe prescribed uniform budget is unchanged by source position. Overlap redistributes the available volume. Local density and local recombination would require additional physics.

A radio map needs its own assumptions

Typical misconceptionThe ionized gas temperature establishes the neutral spin temperature.

Better mental modelThey describe different gas and different physics. High neutral spin temperature is an extra idealization here; heating, spin coupling and an instrument are not calculated.

Run the experiment

  1. 01

    Watch neighbouring regions meet

    Let Bubbles meet play, then pause at an intermediate time.

    What to observe: The gold sources stay fixed while ionized volume grows. The neutral-hydrogen slice and photon counts refer to the same completed field and time.
  2. 02

    Compare a common cosmic time

    Compare Less light escapes and Gas recombines faster with Bubbles meet. After each preset loads, pause playback and set the time to about 103 million years since source turn-on.

    What to observe: Each preset opens at the comparison time and starts playback. At that same time, less escaped light or faster recombination leaves less ionized gas. The presets also have separate representative frames in the archive.
  3. 03

    Move the source pattern

    Compare “Starlight spread out” with “Bubbles meet” at about 103 million years. Pause each run. Then drag a gold source and wait for the coarse exploration to finish.

    What to observe: The saved presets have the same photon counts and ionized volume at the same time. Their shapes and power bars can differ. Dragging recalculates the whole history with the source fixed at its new position on a coarser grid.
  4. 04

    Keep the completed result

    Pause playback, open “Slice, resolution and download”, and wait for the new record if a calculation is still running. Move the slice and download the completed result.

    What to observe: The download contains the full three-dimensional Float64 field, settings, clock, counters and mode coefficients. Moving the slice selects a different plane from the same field.

Related experiments and articles

What this page links to directly

See every article series on the content map →

Continue exploring

The first galaxies and their hydrogen

How did the first galaxies grow and change the hydrogen around them, and how do we see it?

  1. LabCosmic Web and Shell CrossingRaise the initial ripple amplitude and watch matter fold into sheets and filaments.
  2. Lab21 cm Cosmic Dawn and Radio ForegroundsMove X-ray heating earlier and watch deep 21 cm absorption turn into faint emission.
  3. You are hereCosmic ReionizationChange the fraction of light escaping the galaxies and watch when the ionized bubbles meet.
  4. LabHigh-redshift Galaxy Dropout SurveyRaise the redshift and watch the blue band disappear, then the next one.
  5. LabGalaxy Colors and Photometric RedshiftMove the redshift and follow the spectral break as it crosses the five filters.
  6. LabLyman-alpha Forest: Gas, Velocities and AbsorptionChange the gas temperature and photoionization rate, then compare the absorption lines.

Starlight and intergalactic hydrogen · Reading path

Photons, ionized volume and a radio signal

Read the articles on this path that use this Lab, then try the other Labs they suggest.

  1. ArticleHow starlight changes intergalactic hydrogen
  2. ArticleWhat does half ionized mean?
  3. ArticleSupplying photons to an expanding volume
  4. ArticleWhere the photons go when ionized bubbles meet
  5. ArticleReading ionized bubbles through neutral hydrogen
  6. ArticleRecompute a fixed-source ionization history
  7. ArticleReading HERA's 21 cm upper limits
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy