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 is the time measured by a clock that travels with the moving object (its own rest frame). The coordinate time is the time measured by a stationary observer watching the clock move past.
The relationship is:
Because , 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:
The Muon Experiment
Cosmic rays create muons at 15 km altitude moving at toward the ground. In their own rest frame, a muon lives only about — classically it should decay after traveling just . Yet muons reach sea level because, from our frame, their internal clock runs slow: , so the coordinate lifetime is and they cover the full 15 km.
Your Task
Implement:
time_dilation(tau, v)— returns coordinate timeproper_time(t, v)— returns proper time
Use m/s, defined inside each function.