Time Dilation

Moving clocks run slow. Not because they’re broken — because time itself passes differently for objects in relative motion.

Given that the speed of light is constant for all observers, this conclusion is unavoidable.

Mental Model: The Light Clock

Imagine the simplest possible clock: two mirrors, vertically stacked, with a photon bouncing between them. Each round trip is one “tick.”

Now put this clock on a train moving to the right. From the perspective of an observer on the platform, the photon travels a longer path — a diagonal zigzag instead of straight up and down. But the photon still moves at c. Same speed, longer path: each tick takes longer.

The moving clock ticks slower. Not because of a mechanical flaw — the geometry of spacetime demands it.

The Lorentz Factor

The ratio of time dilation is governed by the Lorentz factor: gamma = 1 / sqrt(1 - v^2/c^2). At everyday speeds, gamma is essentially 1 — the effect is unmeasurably small. At 87% of c, gamma is 2: the moving clock ticks at half speed. As v approaches c, gamma approaches infinity.

It’s Not Just Light Clocks

Every physical process slows down equally — biological aging, radioactive decay, chemical reactions. Time dilation is not a property of clocks. It is a property of time. Muons created in the upper atmosphere by cosmic rays should decay before reaching the ground, but they arrive in abundance because their internal clocks run slow relative to ours.

The Twin Paradox

Alice stays on Earth. Bob boards a ship, accelerates to 0.9c, travels to a star 10 light-years away, and returns. When they meet again, Alice has aged 23 years. Bob has aged 10.

This is not a paradox. The situation is asymmetric: Bob accelerated, turned around, and decelerated. Alice remained in a single inertial frame. The twin who changes frames accumulates less proper time. Proper time — time measured along an object’s own worldline — is the only time that matters.

Why the Asymmetry Matters

From Bob’s perspective, it might seem that Alice is the one moving. But Bob feels the acceleration when he turns around. Alice doesn’t. This breaks the symmetry. General relativity resolves the full picture, but even in special relativity the resolution is clear: the spacetime paths differ, and the one with less elapsed proper time is the one that changed direction.

GPS: Relativity in Everyday Use

GPS satellites orbit at about 14,000 km/h. Special relativity says their clocks tick slower by about 7 microseconds per day due to their speed. General relativity says their clocks tick faster by about 45 microseconds per day because they’re in weaker gravity. Net effect: GPS clocks gain about 38 microseconds per day relative to ground clocks.

Without relativistic correction, GPS positions would drift by roughly 10 km per day. A phone’s location accuracy is a direct, daily confirmation of Einstein’s theory.

Why Microseconds Matter

38 microseconds sounds negligible. But light travels about 11 km in 38 microseconds. GPS determines position by timing how long signals take to arrive from multiple satellites — at the speed of light. A 38-microsecond systematic error in timing is a multi-kilometer error in position. The correction must be applied continuously.

The Software Parallel

In distributed systems, different nodes experience time differently. NTP synchronizes clocks across machines, but there are hard limits. Clock skew exists. Drift happens. And the deeper lesson is: there is no global clock.

Each node has its own local clock — its own “proper time.” Consensus protocols cannot assume synchronized clocks. Raft uses leader heartbeats. Spanner uses TrueTime with explicit uncertainty bounds. These are engineering responses to the same fundamental insight Einstein formalized: there is no single “now” that all observers share.

Proper Time and Logical Clocks

Lamport’s logical clocks solve a version of this problem. Instead of asking “what time did this happen?” they ask “what happened before what?” — replacing absolute time with causal ordering. This is exactly the move Einstein made: replace absolute time with the invariant causal structure of spacetime.

Vector Clocks as Spacetime Coordinates

Vector clocks go further. Each entry in the vector is a node’s local counter — its proper time. The full vector is a coordinate in a multi-dimensional “event space.” Two events are comparable (one happened before the other) only if one vector dominates the other. Otherwise, they are concurrent — the distributed systems equivalent of spacelike separation in relativity.

Key Insight

Time dilation is not an exotic curiosity. It is a direct consequence of the universal speed limit, and its structural analog — the absence of a global clock — is the central challenge of distributed systems design.

Every protocol that handles clock skew is, in a real sense, a protocol for living in a relativistic universe.

Key Takeaways

This lesson establishes:

  • The light clock thought experiment and why moving clocks tick slower
  • Why the twin paradox is not actually a paradox
  • The GPS relativistic correction and why it matters
  • How the absence of a global clock connects to distributed systems design

Next: Length Contraction

← Relativity & Light Speed Time Dilation