Physics · Intermediate

Light clock time dilation

Written by SignalsLab

Early edition: these lessons are being reviewed.

Content

Summary

A light clock ticks each time a light pulse bounces between two mirrors. If the clock moves past an observer, the pulse travels a longer diagonal path, but light's speed is the same for everyone. So the moving clock must tick more slowly as seen by the observer: time dilation by the Lorentz factor.

Intuition

Imagine a clock made of two mirrors separated by a distance L, with a light pulse bouncing between them. One round trip is one tick. For an observer riding with the clock, the light goes straight up and down. For an observer who sees the clock fly by sideways, the light must travel along a zigzag, which is longer. Since the speed of light is the same in every frame, a longer path takes more time. So the moving observer measures more time per tick than the rider does. The rider's own time, called proper time, is the shortest time between two events that happen at the same place in that frame.

Key equations

Δt0=2Lc
(1)

Tick duration in the clock's rest frame (proper time).

(cΔt2)2=L2+(vΔt2)2
(2)

Pythagoras on one half of the zigzag path in the observer's frame.

Δt=γΔt0,γ=11−v2/c2
(3)

Time dilation: the moving clock's tick is stretched by the Lorentz factor.

Derivation

  1. In the clock frame, the pulse goes up and back a distance 2L at speed c, so the tick is Δt0 = 2L/c.
  2. In the observer's frame, the clock moves sideways at speed v. In one tick Δt, it moves a distance vΔt.
  3. The pulse reaches the top mirror after time Δt/2, having moved sideways by vΔt/2 and upward by L. Its path is the hypotenuse of a right triangle.
  4. The pulse still moves at speed c, so the hypotenuse is cΔt/2. Pythagoras gives (cΔt/2)2=L2+(vΔt/2)2.
  5. Rearrange: (c2−v2)Δt2/4=L2, so Δt=2L/c2−v2=(2L/c)/1−v2/c2.
  6. Substitute Δt0 = 2L/c to get Δt = γ Δt0. Since γ ≥ 1, the moving clock ticks more slowly.

Worked example

Problem

A muon at rest lives about 2.2 microseconds on average. It travels at v = 0.98c relative to the Earth. What lifetime does an Earth observer measure?

  1. Compute v2/c2=0.982=0.9604.
  2. Compute 1 - 0.9604 = 0.0396, and its square root is about 0.199.
  3. γ = 1/0.199 ≈ 5.03.
  4. Δt = γ Δt0 = 5.03 × 2.2 μs ≈ 11 μs.

Answer About 11 microseconds, roughly five times longer than the rest-frame lifetime.

Common mistakes

  • Thinking the clock is physically broken or that it is only an optical illusion; the effect is real and symmetric between inertial frames.
  • Using Δt0 and Δt the wrong way round: the proper time Δt0 is measured in the frame where both events happen at the same place.
  • Forgetting that light speed is the same c in both frames, and so wrongly adding v to c.
  • Applying the formula when v is comparable to c without computing γ carefully, or using v > c.

Animation

Animation coming soon

The animated version of this lesson is being prepared for the web. In the Signals AI app, lessons are drawn step by step.

Code

scene.py(72 lines)
import sys
import numpy as np
from manim import *
from blocks import *


def dilation_numbers(v_over_c, L=1.0, c=1.0):
    """Light-clock geometry: proper tick, moving-frame tick, gamma."""
    t0 = 2 * L / c
    # moving frame: (c t/2)^2 = L^2 + (v t/2)^2  ->  t = 2L / sqrt(c^2 - v^2)
    v = v_over_c * c
    t = 2 * L / np.sqrt(c**2 - v**2)
    gamma = 1 / np.sqrt(1 - v_over_c**2)
    return t0, t, gamma


BETA = 0.6


class Main(Scene):
    def construct(self):
        self.camera.background_color = "#101418"
        TitleCard(self, "Light clock time dilation", "Pythagoras in a moving frame")

        t0, t, gamma = dilation_numbers(BETA)
        L = 2.0  # drawn height
        hyp = L * t / t0  # drawn hypotenuse (c t/2 in units where c t0/2 = L)
        horiz = np.sqrt(hyp**2 - L**2)

        # Left: rest frame clock
        base1 = LEFT * 4.5 + DOWN * 0.8
        bot1 = Line(base1 + LEFT * 0.6, base1 + RIGHT * 0.6, color=C_DIM)
        top1 = Line(base1 + UP * L + LEFT * 0.6, base1 + UP * L + RIGHT * 0.6, color=C_DIM)
        path1 = Line(base1, base1 + UP * L, color=C_ACCENT)
        lab1 = Text("Rest frame", font_size=24, color=WHITE).next_to(top1, UP, buff=0.3)
        eq1 = MathTex(r"c\,\Delta t_0/2 = L", font_size=32).next_to(bot1, DOWN, buff=0.3)
        self.play(Create(bot1), Create(top1), FadeIn(lab1))
        self.play(Create(path1), Write(eq1))

        # Right: moving frame triangle
        a = RIGHT * 1.0 + DOWN * 0.8
        b = a + RIGHT * horiz
        top_pt = b + UP * L
        bot2 = Line(a + LEFT * 0.3, b + RIGHT * 0.3, color=C_DIM)
        top2 = Line(a + UP * L + LEFT * 0.3, b + UP * L + RIGHT * 0.3, color=C_DIM)
        hyp_l = Line(a, top_pt, color=C_ACCENT)
        h_l = Line(a, b, color=C_MAIN)
        v_l = Line(b, top_pt, color=C_GOOD)
        lab2 = Text("Moving frame", font_size=24, color=WHITE).next_to(top2, UP, buff=0.3)
        self.play(Create(bot2), Create(top2), FadeIn(lab2))
        self.play(Create(h_l), Create(v_l), Create(hyp_l))

        # Formulas centered below, stacked, fully inside the frame
        eq2 = MathTex(r"(c\Delta t/2)^2 = L^2 + (v\Delta t/2)^2", font_size=30)
        eq2.move_to(DOWN * 2.3 + RIGHT * 2.0)
        self.play(Write(eq2))
        res = MathTex(r"\Delta t = \gamma\,\Delta t_0,\ \gamma=1.25", font_size=32,
                      color=C_ACCENT)
        res.next_to(eq2, DOWN, buff=0.25)
        self.play(Write(res))
        self.wait(1)
        StepCaption(self, "Moving clocks tick slower: the light path is longer.")
        self.wait(1)


if __name__ == "__main__" and "--selftest" in sys.argv:
    t0, t, g = dilation_numbers(0.6)
    assert abs(t0 - 2.0) < 1e-12
    assert abs(g - 1.25) < 1e-12
    assert abs(t / t0 - g) < 1e-12
    assert dilation_numbers(0.0)[1] == 2.0
    print("ok")

The Manim scene code that draws this lesson's animation in the Signals AI app (Python, Manim Community).

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.