About the Twin Paradox
This simulation plots a spacetime (Minkowski) diagram of the classic twin paradox from Einstein's special relativity. One twin stays on Earth while the other rockets to a distant star at speed v and returns. The world lines are drawn against an Earth-frame time axis, with proper-time tick marks placed along the traveller's path to show that their clock runs slow by the Lorentz factor γ = 1/√(1−β²).
The β slider sets the rocket's speed as a fraction of light speed (0.1 to 0.99), and the distance slider sets the one-way trip length in light-years (1 to 20 ly). From these the panel computes Earth elapsed time T = 2d/(βc), rocket proper time τ = T/γ, and the age gap T−τ. The same maths underpins real GPS clock corrections and high-energy particle lifetimes.
Frequently Asked Questions
What does this simulation show?
It animates a spacetime diagram of the twin paradox. A stay-at-home Earth twin and a rocket twin trace world lines against Earth-frame time, and on returning the rocket twin has aged less. The age boxes update live to show the resulting difference in years.
What do the two sliders control?
The β slider sets the rocket's speed as a fraction of the speed of light, from 0.1 up to 0.99. The trip-distance slider sets the one-way journey length in light-years, from 1 to 20. Changing either recomputes the Lorentz factor, trip times and age gap before you run the animation.
What is the key equation behind it?
Earth elapsed time is T = 2d/(βc) and the rocket's proper time is τ = T/γ = T√(1−β²), where γ = 1/√(1−β²) is the Lorentz factor. The age difference the rocket twin gains is therefore T − τ = T(1 − 1/γ). With c set to 1, distance in light-years gives time in years.
Why is it called a paradox?
If motion is relative, each twin sees the other moving, so why isn't each one younger? The naive symmetry suggests a contradiction. The resolution is that only the rocket twin accelerates and turns around, so the situation is not symmetric and there is a definite, agreed answer.
How is the paradox actually resolved?
The rocket twin changes inertial frames at the turnaround point, breaking the symmetry between the two twins. The Earth twin stays in a single inertial frame the whole time. Because the traveller's path through spacetime is shorter in proper time, they genuinely age less when reunited.
Is the simulation physically accurate?
The time-dilation arithmetic is exact for the idealised case of instant acceleration and a constant cruising speed β. It uses the standard formulae T = 2d/(βc) and τ = T/γ. Real rockets accelerate gradually, which changes the numbers slightly but not the conclusion that the traveller ages less.
What are the proper-time tick marks on the rocket's line?
They mark equal intervals of the rocket twin's own clock spaced along their world line. Because their clock ticks slower in the Earth frame, these marks are spread out in Earth time. Counting them shows directly how much less the traveller has aged compared with the Earth twin.
What does the Lorentz factor γ mean here?
Gamma quantifies how much slower the moving clock runs. At β = 0.8, γ ≈ 1.667, so the rocket twin ages only about 60% as much as the Earth twin. As β approaches 1, γ grows without bound and the age gap becomes dramatic; at β = 0.99, γ is about 7.
Does the rocket twin notice their clock running slow?
No. In their own frame the traveller's clock ticks perfectly normally and a year feels like a year. Time dilation is never felt locally; it only appears when the two clocks are compared side by side at the reunion, where the difference is real and permanent.
Where does this physics matter in the real world?
The same relativistic clock effects must be corrected for in GPS satellites, whose atomic clocks would otherwise drift. They also explain why fast-moving muons created in the upper atmosphere reach the ground despite their short rest lifetime, and they constrain plans for any future near-light-speed space travel.