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. /Frames of reference and Einstein's two postulates

Course 29.1·Lesson 1 of 3

Frames of reference and Einstein's two postulates

An inertial frame is a frame that is not accelerating. Galileo's rule x′=x−vtx' = x - vtx′=x−vt

Lesson 1 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.

Who is moving?

You sit in a train at a station. The train beside you starts to roll, and for a moment you feel that your own train is moving. Which train is really moving? Physics cannot tell you, as long as neither train speeds up. Each passenger can say "I am at rest, and the other train moves."

A frame of reference is a set of rulers and clocks that an observer uses to give each event a place and a time. An event is something that happens at one point and at one instant, such as a flash of a lamp. We write it as (x,t)(x, t)(x,t), or (x,y,z,t)(x, y, z, t)(x,y,z,t) in space.

An inertial frame is a frame that does not accelerate. In it, a body with no net force on it moves in a straight line at a steady speed. A train on a straight, smooth track at a steady speed is an inertial frame. A train that brakes is not.

The Galilean transformation

Let a frame S' (the train) move along +x+x+x at the speed vvv past a frame S (the ground). Let their origins meet at t=0t = 0t=0. Newton and Galileo took time to be the same for everyone. Then an event at (x,t)(x, t)(x,t) on the ground is at

x′=x−vt,t′=t\displaystyle x' = x - vt, \qquad t' = tx′=x−vt,t′=t

in the train. This is the Galilean transformation. It gives the rule for speeds that we use every day:

u′=u−v\displaystyle u' = u - vu′=u−v

A ball thrown forward at 10 m/s10\ \text{m/s}10 m/s in a train that moves at 30 m/s30\ \text{m/s}30 m/s goes at 40 m/s40\ \text{m/s}40 m/s over the ground. The acceleration is the same in both frames, so F=maF = maF=ma has the same form in both. That is why no mechanics experiment inside a smooth train can show that the train moves.

The trouble with light

In the 1860s Maxwell showed that light is an electromagnetic wave. His equations give its speed as

c=1μ0ε0\displaystyle c = \dfrac{1}{\sqrt{\mu_0\varepsilon_0}}c=μ0​ε0​​1​
c=3.00×108 m/s\displaystyle c = 3.00 \times 10^8\ \text{m/s}c=3.00×108 m/s

But speed relative to what? The equations name no frame. Physicists of the time thought that light must travel through a medium, the ether, and that ccc is its speed relative to the ether. Then the Earth, moving through the ether at about 30 km/s30\ \text{km/s}30 km/s, should feel an "ether wind". Light going against the wind and light going across it should take slightly different times.

In 1887 Michelson and Morley looked for that difference with an interferometer. They split a beam of light into two arms at right angles, and rotated the whole instrument. The ether theory predicted a shift of the fringes of almost half a fringe. They found a shift far smaller than that, consistent with no shift at all. Later and more precise experiments agree. There is no ether wind.

Einstein's two postulates

In 1905 Einstein started from two statements, which he took as true and then followed to the end.

  1. The principle of relativity. The laws of physics have the same form in every inertial frame. No experiment can pick out one inertial frame as truly at rest.
  2. The constancy of the speed of light. Light in a vacuum travels at the same speed ccc in every inertial frame, whatever the motion of its source or of the observer.

The second postulate looks harmless, but it breaks Galileo's rule. Suppose a spaceship moves at 0.5c0.5c0.5c and sends a light pulse forward. Galileo says that a planet sees the pulse at 1.5c1.5c1.5c. Einstein says that the planet sees it at ccc, and the ship sees it at ccc too. Something in our everyday ideas must give way. In the next two lessons we shall see that it is our idea of time and of length.

Where this sits in your syllabus. IB Physics teaches the Galilean transformation and the postulates in topic A.5 (Higher Level). The Indian school syllabus uses only E=mc2E = mc^2E=mc2 from relativity. The physics olympiads use all of this chapter.

Set the train to 0.5c0.5c0.5c and the object to u=1u = 1u=1, a light pulse. Galileo says the pulse moves at 0.5c0.5c0.5c in the train. Relativity says ccc. Now try u=−1u = -1u=−1, a pulse going backwards.

Practise with new numbers

Try it in Python

The program changes three events from the ground frame to the train frame with Galileo's rule. Then it asks the same rule for the speed of light in the train.

Predict first. What speed does the ball have in the train? Then run it. Check with Show the answer.

1. Change v = 30.0 to v = 40.0. Where is the ball when it lands, in the train's frame?

2. Look at the last line. Why can this number not be right?

Common mistakes

  • Thinking that "at rest" is absolute. Each inertial observer may call herself at rest. Only relative motion has a meaning.
  • Calling an accelerating frame inertial. A braking train or a turning car is not an inertial frame.
  • Adding the speed of the source to ccc. Light from a moving source still travels at ccc.
  • Saying the postulates are about light only. The first postulate is about all the laws of physics.
  • Thinking Galileo is simply wrong. His rule is an excellent approximation when every speed is far below ccc.

Remember these

  • An event is a place and a time. A frame is a set of rulers and clocks.
  • Galilean transformation: x′=x−vtx' = x - vtx′=x−vt and t′=tt' = tt′=t, so u′=u−vu' = u - vu′=u−v.
  • Michelson and Morley (1887) found no ether wind.
  • Postulate 1: the laws of physics are the same in all inertial frames.
  • Postulate 2: the speed of light in a vacuum is ccc in all inertial frames.

Check yourself

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

  1. A lift moves up at a steady 2 m/s2\ \text{m/s}2 m/s. You drop a coin inside it. Does the coin fall with the same acceleration as in a lift at rest?
  1. A star moves away from us at 0.2c0.2c0.2c. At what speed does its light reach us?
  1. Why did the result of Michelson and Morley surprise physicists?
  1. With Galileo's rule, a car moves at 25 m/s25\ \text{m/s}25 m/s and a bus at 15 m/s15\ \text{m/s}15 m/s in the same direction. What is the velocity of the car in the bus's frame?

References

  • OpenStax University Physics Volume 3, Chapter 5 Relativity, sections on the invariance of physical laws.
  • Taylor and Wheeler, Spacetime Physics (second edition, 1992), on the principle of relativity.

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)

In an interferometer, light is split into two arms of the same length L, at right angles, and…Advanced · High School (11–12) · by StemPy Lab
A test of the second postulate was made at CERN in 1964…Hard · High School (11–12) · by StemPy Lab
On a straight track, a cart of mass 2.0 kg moves at +3.0 m/s and a cart of mass 1.0 kg moves at…Hard · High School (11–12) · by StemPy Lab
Next: lesson 2Time dilation and the Lorentz factor
← Time Dilation and Length Contraction
← PreviousTime dilation and the Lorentz factor →

Discussion (0)

Log in to join the discussion.

Loading…

adds and subtracts speeds, but light does not obey it. Einstein's two postulates say that the laws of physics, and the speed of light
ccc
, are the same in every inertial frame.
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.