---
title: "Kilonova Light Curves: Blue First, Then Red Interactive Lab | Sandbox Physics"
description: "How does a neutron-star collision turn nuclear decay into a colourful flash that lasts days?"
canonical_url: "https://sandboxphysics.com/labs/kilonova-light-curves/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/kilonova-light-curves/"
last_modified: "2026-11-23"
---

# Kilonova Light Curves: Blue First, Then Red

**How does a neutron-star collision turn nuclear decay into a colourful flash that lasts days?** Radioactive decay of freshly made heavy nuclei heats the debris of a neutron-star collision for days. Light leaks out first from fast, lightweight debris that lets photons through easily and glows blue; debris rich in lanthanides traps light for longer and glows red in the infrared a few days later.

Change the mass, speed and opacity $\kappa$ of merger debris and watch the light turn from blue to red against real GW170817 data.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Model assumptions

Two independent grey-opacity components follow Villar et al. 2017 (Section 3): heating per gram from Korobkin et al. 2012, the thermalization fit of Barnes et al. 2016, Arnett diffusion with $t_d=\sqrt{2\kappa M/(\beta v c)}$ and $\beta=13.4$, and a blackbody photosphere at $R=vt$ that recedes once it cools to a floor temperature. The paper prints the diffusion kernel as $t/t_d$ instead of $2t/t_d^2$ and the photosphere law with $\sigma_{\mathrm{SB}}^2$; the Lab uses the dimensionally correct forms, checked against the energy equation and Arnett’s rule. The blue opacity $\kappa=0.5\,\mathrm{cm^2\,g^{-1}}$, both floor temperatures and the default masses and speeds are the published two-component values, not a new fit. Band magnitudes assume 39.5 Mpc and Milky Way extinction $E(B-V)_{\mathrm{SFD}}=0.1228$ with Schlafly and Finkbeiner coefficients, evaluated at one effective wavelength per filter. Points are real GW170817 detections from the compilation of Villar et al.; lines are model output. A grey opacity cannot identify any element, and the model has no spectral lines, no viewing angle, no non-equilibrium (non-LTE) effects and no interaction between the two components. The scene uses velocity coordinates; putting blue ejecta at the poles and red ejecta at the equator is schematic. Mass and speed ranges stay inside the Barnes et al. thermalization table.

## Why a kilonova starts blue and ends red

**Background** When two neutron stars merge, a few hundredths of a solar mass of neutron-rich matter is flung out at a tenth to a third of the speed of light. Rapid neutron capture builds heavy nuclei within a second, and their radioactive decay keeps heating the debris for weeks. The light can only leave once photons random-walk out, which takes a time set by the mass $M$, the speed $v$ and the opacity $\kappa$.

**Why it matters** Watch the two kinds of debris glow, then change their mass, speed and opacity and see when each colour of light peaks.

- **One-sentence intuition**: Debris rich in lanthanides has an opacity several times higher, so its light diffuses out later, from a cooler and larger photosphere: the infrared peak comes days after the blue one.

### Core mathematical model

#### Radioactive heating per gram

$$
\dot q(t)=4\times10^{18}\left[\frac12-\frac1\pi\arctan\frac{t-t_0}{\sigma}\right]^{1.3}\,\mathrm{erg\,s^{-1}\,g^{-1}}
$$

With $t_0=1.3\,\mathrm{s}$ and $\sigma=0.11\,\mathrm{s}$, this falls almost as $t^{-1.3}$ after the first seconds. Only a fraction $\epsilon_{\mathrm{th}}$ stays in the gas; the rest escapes as gamma rays and neutrinos.

#### Diffusion time

$$
t_d=\sqrt{\frac{2\kappa M}{\beta v c}},\qquad \beta=13.4
$$

More mass or a higher opacity traps photons longer; faster debris thins out sooner. All three enter as square roots.

#### Light that leaks out

$$
L(t)=\frac{2}{t_d^2}\,e^{-t^2/t_d^2}\int_0^t \epsilon_{\mathrm{th}}(t')\,M\dot q(t')\,t'\,e^{t'^2/t_d^2}\,dt'
$$

Early on the heat is stored and the light rises; each component peaks when its light equals its own heating rate (Arnett’s rule). Afterwards the stored heat drains out, so the light stays a little above the decaying heating.

#### Temperature of the glowing surface

$$
T_{\mathrm{ph}}=\max\!\left[\left(\frac{L}{4\pi\sigma_{\mathrm{SB}}v^2t^2}\right)^{1/4},\;T_{\mathrm{floor}}\right]
$$

The photosphere expands with the gas and cools. Once it reaches the floor temperature it moves inward through the debris instead of cooling further.

### Common difficulties

#### Red does not mean a different explosion

**Typical misconception** The blue and red light come from two separate events or two separate times of ejection.

**Better mental model** Both are made in the same merger within a fraction of a second. They differ in how many lanthanides formed, which depends on how neutron-rich each part of the debris was.

#### A grey opacity names no element

**Typical misconception** Fitting the red light with a high opacity proves which heavy elements were made.

**Better mental model** A single mean opacity only says that photons are absorbed strongly. Identifying elements needs line-by-line opacities, spectra and non-equilibrium physics that this model leaves out.

### Run the experiment

1. 01

   #### Watch blue turn red

   Start from the default and follow the day counter while the colour swatch and the band curves change.

   **What to observe:** The blue lobes outshine everything for about a day; by day four most of the light comes out in the infrared J, H and K bands.

2. 02

   #### Give one component most of the mass

   Try “Mostly lanthanide-poor debris”, then “Mostly lanthanide-rich debris”. Each leaves a little of the other component.

   **What to observe:** With mostly blue debris, the model falls short of the late infrared points. With mostly red debris, it misses the bright optical points from the first few days.

3. 03

   #### Thicken the curtain

   Choose the opaque curtain preset or raise the red opacity.

   **What to observe:** The red peak moves later and fainter, roughly as $t_d\propto\kappa^{1/2}$, and the model drops below the observed infrared points.

4. 04

   #### Trade mass against speed

   Drag the red edge outward and raise the red mass until the infrared curve looks the same again.

   **What to observe:** Mass and speed can partly compensate each other because the diffusion time depends on $M/v$. This is the degeneracy the method tutorial measures.

Physical conclusion

A kilonova is radioactive heat leaking through expanding debris. How fast it leaks, set by mass, speed and opacity, decides when and at what colour it peaks, and the lanthanide-rich debris is what makes the light linger in the infrared.

## Related experiments and articles

Kilonovae: heavy elements and diffusing light · Reading path

### From radioactive heat to a blue-then-red flash

Articles on this path that use this experiment, followed by the other experiments they suggest.

1. [Article **How does a neutron-star collision turn nuclear decay into days of coloured light?**](https://sandboxphysics.com/stories/kilonovae/why-a-kilonova-turns-from-blue-to-red/)
2. [Article **Radioactive heat and the time light needs to escape merger debris**](https://sandboxphysics.com/stories/kilonovae/heating-and-diffusion-in-merger-debris/)
3. [Article **From the energy equation to kilonova light curves and colours**](https://sandboxphysics.com/stories/kilonovae/arnett-light-curves-and-the-photosphere/)
4. [Article **Fitting GW170817 and the trade-off between ejecta mass and speed**](https://sandboxphysics.com/stories/kilonovae/fitting-gw170817-and-parameter-degeneracy/)
5. [Article **Reproducing a two-component kilonova fit to the GW170817 photometry**](https://sandboxphysics.com/stories/kilonovae/reproducing-a-two-component-fit-to-gw170817/)
6. [Article **Reading Tanaka et al. 2020 on r-process opacities in kilonovae**](https://sandboxphysics.com/stories/kilonovae/reading-tanaka-2020-kilonova-opacities/)

Fields & matter · Starter path

## From a field to an electron microscope

Map an electric field and steer a charged particle. Then find the electron's wavelength and use electron beams to see a crystal and a surface.

[Start here → **Make an Electric Field Visible** Move the probe around a dipole and check that the field always points downhill on the potential landscape. Observe · 8 min](https://sandboxphysics.com/labs/electric-field/)

1. [1 Make an Electric Field Visible](https://sandboxphysics.com/labs/electric-field/)
2. [2 A Charge Bending through Fields](https://sandboxphysics.com/labs/charged-particle/)
3. [3 Electron Wavelength & Voltage](https://sandboxphysics.com/labs/electron-wavelength/)
4. [4 Electron Diffraction & Reciprocal Space](https://sandboxphysics.com/labs/electron-diffraction/)
5. [5 TEM Bright Field, Dark Field & SAED](https://sandboxphysics.com/labs/tem-mode-selector/)
6. [6 SEM Secondary-Electron Topography](https://sandboxphysics.com/labs/sem-topography/)

[View the full path →](https://sandboxphysics.com/topics/fields-and-matter/#starter-path)
