At a glance
Two events, P₁ and P₂, sit on a space–time diagram. This sim computes one number for the pair, the interval Δs², and shows how that number relates to the light cone and to the length of a small step.
What you'll learn
- How the interval Δs² is built from the time gap Δt and the space gap Δx.
- How the sign of Δs² relates to the light cone.
- What √|Δs²| measures, and for which pairs it can be measured.
- How the metric sets the length of a step, and what happens to Δs² when the frame changes.
What's on screen
- P₁ (cyan circle): the first event. Drag it or P₂ on the grid.
- P₂ (magenta diamond): the second event.
- Dashed light cone through P₁, with photon dots running along it.
- Shaded triangle and thick line: the two gaps Δt and Δx, and the line joining P₁ to P₂.
- Readouts and Compute box (sidebar): Δt, Δx, Δs², and the arithmetic.
The controls
Press ⌖ on a row to see where that control sits in the sim.
| Control | What it changes | Range | |
|---|---|---|---|
| P₁ and P₂ markers | Drag either marker on the grid (Global view). Δt and Δx are the differences between them. | ±5 ls steps of 0.5 · P₂ opens at Δt 3, Δx 4 | |
| View | Global: the two events and the interval between them. Local metric: one small step and the length the metric gives it. | Global / Local opens in Global | |
| Readouts | Δt and Δx, and Δs² with its type. Δs² reads “predict first” until the inquiry's first prediction is made; the Compute box shows it either way. In Local view: α and the sign of ds². | panel | |
| Read off & compute | Type the Δt and Δx you read off the grid. Compute Δs² shows the arithmetic and the true values for comparison. Global view only. | two number boxes | |
| Rotate displacement direction | The angle α of the small step, measured from the t-axis. Local view only. | 0°–90° opens at 30° | |
| Symbols & notation | A collapsed panel that defines Δt, Δx, Δs², dt, dx and ds². | panel | |
| ▶ Play / ⏸ Pause | Starts or freezes the photon dots. The intervals do not depend on it. | top bar | |
| Speed | How fast the photon dots move on screen. | 0.25×–4× | |
| ↻ Reset | Restarts the mode you are in from its beginning. | top bar |
Fixed: c = 1, so times and lengths are both in light-seconds (ls) and Δs² is in ls². The signature is (−, +).
The interval is a difference of squares
Δt and Δx are the time gap and the space gap between the two events, measured in one inertial frame: the frame of the grid. The interval combines them with opposite signs:
The light cone sorts the pairs
The dashed lines through P₁ are the light cone: the points where |Δt| = |Δx|, which at c = 1 is exactly the path of light. Comparing |Δt| with |Δx| gives the sign.
- Timelike (inside the cone): a signal slower than light can link the events.
- Lightlike (on the cone): only light can link them.
- Spacelike (outside): no signal can link them.
Δs² = 0 does not mean the same event. At Δt = 3, Δx = 3 the events are 3 ls apart and Δs² is still 0.
What the interval measures
- Timelike: √(−Δs²) is the proper time (c = 1), what a single clock present at both events reads. That clock moves at speed |Δx/Δt| < 1.
- Spacelike: √Δs² is the proper distance, the separation measured in a frame where the two events are simultaneous. No clock or signal links them.
- Lightlike: Δs² = 0, so both roots are 0. Only a light signal links the events.
These sliders move the sim too.
The metric sets the length of a step
Local metric view takes one step (dt, dx) = (cos α, sin α), so its coordinate length √(dt² + dx²) is 1 for every α. The metric turns the step into an interval:
As α turns from the t-axis (0°) to the x-axis (90°), ds² goes from −1 through 0 at α = 45°, the light-cone direction, to +1. The coloured bar has length √|cos 2α|, so it is shortest at 45° and returns to 1 at 90°.
Why every observer agrees on Δs²
A second inertial frame S′, moving at speed v along x, assigns the same two events different gaps Δt′ and Δx′ (Lorentz transformation, c = 1):
So every inertial observer finds the same Δs², and the same type: timelike, lightlike or spacelike cannot depend on the frame. A rotation of the diagram would preserve Δt² + Δx² (circles). A boost preserves −Δt² + Δx² (hyperbolas).
The sim has no moving frame. The boost is done on paper, and the sim shows the two resulting pairs.
Where it matters
- Cause and effect. Only timelike or lightlike pairs can be linked by a signal. Since Δs² is the same in every frame, all observers agree which pairs those are.
- Time order. For a timelike pair, every observer agrees which event comes first. For a spacelike pair, different frames can disagree, and the pair cannot be causally linked anyway.
- Muons. Creation and decay of a muon form a timelike pair. √(−Δs²) is the muon's own mean lifetime, 2.2 μs. In the Earth frame at 0.99 c (γ ≈ 7.1) the time between the events is about 16 μs.
Go deeper: the same structure for energy and momentum
- The energy–momentum pair (E, p) transforms like (t, x), and −E² + p² = −m² (c = 1) is its invariant, with the same signature (−, +).
- A particle with m > 0 is timelike, a photon with m = 0 is lightlike.
Summary
Key points
- √(−Δs²) is a proper time (timelike), √Δs² a proper distance (spacelike).
- The metric, not the grid, sets the length of a step.
- A change of inertial frame changes Δt and Δx but not Δs².
Common mix-ups
- "A squared quantity can't be negative." Δs² is not a square of a real length. It is a difference of two squares.
- "Δs² = 0 means the same event." It means the events lie on each other's light cone, which can be several ls apart.
- "The interval is the length of the thick line on screen." The line is drawn on the Euclidean grid. Δs² is computed from Δt and Δx by the metric.
Things to try on your own
- Read Δt and Δx off the grid, type them into the Compute box, and compare with the true values.
- In Local view, find the angle other than 30° where the bar has the same length as at 30°.
- Place P₂ at Δt = 5, Δx = 3, then at Δt = 4, Δx = 0, and compare Δs².