Lesson 2 of 15

Time Dilation

Time Dilation

One of the most astonishing predictions of special relativity is that moving clocks run slow. This is not a mechanical effect — it is a fundamental property of spacetime itself.

Proper Time and Coordinate Time

The proper time Δτ\Delta\tau is the time measured by a clock that travels with the moving object (its own rest frame). The coordinate time Δt\Delta t is the time measured by a stationary observer watching the clock move past.

The relationship is:

Δt=γΔτ\Delta t = \gamma\,\Delta\tau

Because γ1\gamma \geq 1, the coordinate time is always at least as large as the proper time. A moving clock ticks fewer times than a stationary clock between two events: it is running slow as seen from outside.

Inverting the relation gives the proper time from a measured coordinate time:

Δτ=Δtγ\Delta\tau = \frac{\Delta t}{\gamma}

The Muon Experiment

Cosmic rays create muons at 15 km altitude moving at v0.998cv \approx 0.998c toward the ground. In their own rest frame, a muon lives only about τ=2.2μs\tau = 2.2\,\mu\text{s} — classically it should decay after traveling just 2.2μs×0.998c660 m2.2\,\mu\text{s} \times 0.998c \approx 660\text{ m}. Yet muons reach sea level because, from our frame, their internal clock runs slow: γ15\gamma \approx 15, so the coordinate lifetime is 33μs\approx 33\,\mu\text{s} and they cover the full 15 km.

Your Task

Implement:

  • time_dilation(tau, v) — returns coordinate time Δt=γΔτ\Delta t = \gamma\,\Delta\tau
  • proper_time(t, v) — returns proper time Δτ=Δt/γ\Delta\tau = \Delta t / \gamma

Use c=299792458.0c = 299792458.0 m/s, defined inside each function.

Python runtime loading...
Loading...
Click "Run" to execute your code.