HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Time Dilation and Length Contraction
  1. 1Frames of reference and Einstein's two postulates
  2. 2Time dilation and the Lorentz factor
  3. 3Length contraction and simultaneity
  1. Physics
  2. /Time Dilation and Length Contraction
  3. /Time dilation and the Lorentz factor

Course 29.1·Lesson 2 of 3

Time dilation and the Lorentz factor

A clock made of light shows that a moving clock runs slow: Δt=γ Δt0\Delta t = \gamma\,\Delta t_0Δt=γΔt0​

Lesson 2 of 3Show all lessonsHide
Time Dilation and Length Contraction
  1. 1Frames of reference and Einstein's two postulates
  2. 2Time dilation and the Lorentz factor
  3. 3Length contraction and simultaneity

Try the code and the simulations beside the lesson.

A clock made of light

Let us build the simplest clock there is. Two mirrors face each other a distance LLL apart. A pulse of light bounces between them. Each round trip is one tick. In the frame of the clock the light goes up and down a path of 2L2L2L, so one tick takes

Δt0=2Lc\displaystyle \Delta t_0 = \dfrac{2L}{c}Δt0​=c2L​

Now let the clock move sideways at the speed vvv past you. In your frame the light must follow a slanted path to hit the top mirror, because the mirror moves while the light travels.

Two drawings of a light clock, side by side. On the left, the clock is at rest: two horizontal mirrors a distance L apart, and a light pulse going straight up and straight back down. The label says the path is 2L and one tick takes the time 2L over c. On the right, the same clock moves to the right with speed v and is drawn at three positions. The pulse travels on a slanted path up to the top mirror and down again, like an upside-down V. One half of the path is a right triangle with a slanted side c times delta t over 2, a vertical side L and a horizontal side v times delta t over 2.

The Lorentz factor

Call the time of one tick in your frame Δt\Delta tΔt. In half a tick the light goes c Δt/2c\,\Delta t/2cΔt/2 along the slant, and the clock moves v Δt/2v\,\Delta t/2vΔt/2 sideways. The height is still LLL. Pythagoras gives, after we multiply by 444,

(c Δt)2=(2L)2+(v Δt)2\displaystyle (c\,\Delta t)^2 = (2L)^2 + (v\,\Delta t)^2(cΔt)2=(2L)2+(vΔt)2

We want Δt\Delta tΔt. Collect the terms in Δt\Delta tΔt:

Δt2 (c2−v2)=(2L)2\displaystyle \Delta t^2\,(c^2 - v^2) = (2L)^2Δt2(c2−v2)=(2L)2
Δt=2L/c1−v2/c2\displaystyle \Delta t = \dfrac{2L/c}{\sqrt{1 - v^2/c^2}}Δt=1−v2/c2​2L/c​

The top is Δt0\Delta t_0Δt0​. So the moving clock ticks more slowly:

Δt=γ Δt0\displaystyle \Delta t = \gamma\,\Delta t_0Δt=γΔt0​
γ=11−v2/c2\displaystyle \gamma = \dfrac{1}{\sqrt{1 - v^2/c^2}}γ=1−v2/c2​1​

The number γ\gammaγ (gamma) is the Lorentz factor. We often write β=v/c\beta = v/cβ=v/c (beta), so γ=1/1−β2\gamma = 1/\sqrt{1 - \beta^2}γ=1/1−β2​. The effect is time dilation.

Why must every clock behave like the light clock? If a wristwatch moving with the light clock kept a different time, the passenger could compare the two and learn that she moves. The first postulate forbids that.

Proper time

The proper time Δt0\Delta t_0Δt0​ between two events is the time measured by one clock that is present at both events. The clock of the passenger is at both ticks, so it measures the proper time. You need two clocks at different places to time the ticks, so you measure a longer time. The proper time is the shortest time that any inertial observer measures between the two events. IB writes it Δt0\Delta t_0Δt0​, as we do. Some books write τ\tauτ (tau).

β=v/c\beta = v/cβ=v/cγ\gammaγ
0.10.10.11.0051.0051.005
0.50.50.51.1551.1551.155
0.60.60.61.251.251.25
0.80.80.81.6671.6671.667
0.90.90.92.2942.2942.294
0.990.990.997.0897.0897.089
A graph of the Lorentz factor gamma, from 1 to 8, against the speed as a fraction of the speed of light, beta, from 0 to 1. A blue curve stays very close to 1 up to beta equal to about 0.4, then rises more and more steeply and shoots up near beta equal to 1. Four points are marked: gamma 1.25 at beta 0.6, gamma 1.67 at beta 0.8, gamma 2.29 at beta 0.9 and gamma 7.09 at beta 0.99. A dashed grey line at gamma equal to 1 shows the value at low speeds, and a dashed vertical line at beta equal to 1 shows the speed of light.

Worked example: muons from the upper air

Cosmic rays hit the upper air and make muons, heavy cousins of the electron. A muon at rest lives on average 2.2 μs2.2\ \mu\text{s}2.2 μs. Take a muon moving down at 0.998c0.998c0.998c.

  1. Without relativity. Its speed is v=0.998c=2.994×108 m/sv = 0.998c = 2.994 \times 10^8\ \text{m/s}v=0.998c=2.994×108 m/s. In 2.2 μs2.2\ \mu\text{s}2.2 μs it would go
d=v×2.2 μs\displaystyle d = v \times 2.2\ \mu\text{s}d=v×2.2 μs
d=659 m\displaystyle d = 659\ \text{m}d=659 m
  1. The Lorentz factor. γ=1/1−0.9982=15.8\gamma = 1/\sqrt{1 - 0.998^2} = 15.8γ=1/1−0.9982​=15.8.
  2. The mean life in the Earth frame. Δt=15.8×2.2 μs=34.8 μs\Delta t = 15.8 \times 2.2\ \mu\text{s} = 34.8\ \mu\text{s}Δt=15.8×2.2 μs=34.8 μs.
  3. The distance. In 34.8 μs34.8\ \mu\text{s}34.8 μs the muon goes about 10.4 km10.4\ \text{km}10.4 km.

Muons are made at heights of about 101010 to 15 km15\ \text{km}15 km, and many of them reach sea level. Time dilation explains it. Muons in a storage ring at CERN, at γ\gammaγ of about 292929, have been seen to live about 292929 times longer than muons at rest, as the theory predicts.

Slow speeds and real clocks

For vvv much less than ccc, γ≈1+12β2\gamma \approx 1 + \tfrac{1}{2}\beta^2γ≈1+21​β2. An airliner at 250 m/s250\ \text{m/s}250 m/s has β=8.3×10−7\beta = 8.3 \times 10^{-7}β=8.3×10−7. Its clocks lose only about 121212 nanoseconds in a ten-hour flight. Atomic clocks are good enough to see this. In 1971 Hafele and Keating flew atomic clocks around the world, and their readings agreed with relativity once the effect of gravity was also included. Clocks on GPS satellites must be corrected in the same way, or a phone's position would drift by kilometres each day.

Set the speed to 0.6c0.6c0.6c and read γ\gammaγ. Then go to 0.99c0.99c0.99c. Where does the curve start to rise steeply?

Practise with new numbers

Try it in Python

The program prints γ\gammaγ for six speeds, next to the slow-speed approximation 1+12β21 + \tfrac{1}{2}\beta^21+21​β2, and the error of the approximation in per cent.

Predict first. At which speed in the list does the approximation first go wrong by more than 1 %1\ \%1 %? Then run it. Check with Show the answer.

1. Add 0.999 to the list. How large is γ\gammaγ?

2. Add 1e-6, a fast airliner. Why does the error print as zero?

Common mistakes

  • Putting γ\gammaγ on the wrong side. The proper time is the shortest. So Δt=γ Δt0\Delta t = \gamma\,\Delta t_0Δt=γΔt0​, never Δt0=γ Δt\Delta t_0 = \gamma\,\Delta tΔt0​=γΔt.
  • Choosing the wrong clock as proper. The proper time belongs to the clock present at both events.
  • Forgetting the square root. γ=1/1−β2\gamma = 1/\sqrt{1 - \beta^2}γ=1/1−β2​, not 1/(1−β2)1/(1 - \beta^2)1/(1−β2).
  • Thinking the clock is faulty. All processes in the moving frame slow down together, including the passenger's heartbeat.
  • Saying only one observer is right. Each observer finds the other's clock slow. Both are right, as the next lesson shows.

Remember these

  • Light clock: Δt0=2L/c\Delta t_0 = 2L/cΔt0​=2L/c at rest.
  • Time dilation: Δt=γ Δt0\Delta t = \gamma\,\Delta t_0Δt=γΔt0​.
  • γ=1/1−β2\gamma = 1/\sqrt{1 - \beta^2}γ=1/1−β2​, with β=v/c\beta = v/cβ=v/c, and γ≥1\gamma \geq 1γ≥1.
  • Proper time: one clock at both events. It is the shortest time.
  • Slow speeds: γ≈1+12β2\gamma \approx 1 + \tfrac{1}{2}\beta^2γ≈1+21​β2.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. A spaceship moves at 0.6c0.6c0.6c. Its captain sleeps for 888 hours by the ship's clock. How long is the sleep in the frame of the Earth?
  1. Who measures the proper time between two ticks of a moving light clock, the passenger or you?
  1. At what speed does γ\gammaγ equal 222?
  1. Why can a wristwatch not keep a different time from a light clock beside it in a moving ship?

References

  • OpenStax University Physics Volume 3, Chapter 5 Relativity, section on time dilation.
  • Taylor and Wheeler, Spacetime Physics (second edition, 1992), on the light clock and on muons.

Enroll free in Time Dilation and Length Contraction

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

Muons are made 10.0 km above sea level and move straight down at 0.998c…Advanced · High School (11–12) · by StemPy Lab
A navigation satellite moves at 3.87 km/s relative to the centre of the Earth…Hard · High School (11–12) · by StemPy Lab
A star is 12.0 light-years from the Earth, measured in the Earth's frame…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Length contraction and simultaneity
← Time Dilation and Length Contraction
← Frames of reference and Einstein's two postulatesLength contraction and simultaneity →

Discussion (0)

Log in to join the discussion.

Loading…

, with
γ=1/1−v2/c2\gamma = 1/\sqrt{1 - v^2/c^2}γ=1/1−v2/c2​
. The proper time
Δt0\Delta t_0Δt0​
is measured by one clock present at both events. Muons from the upper air reach the ground because of this effect.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Python Labs (1)

Time dilation in codePython Lab · by StemPy Lab