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
Lorentz Transformations and Spacetime
  1. 1The Lorentz transformation
  2. 2Spacetime diagrams, the interval and the twin paradox
  3. 3Adding velocities and the relativistic Doppler effect
  1. Physics
  2. /Lorentz Transformations and Spacetime
  3. /Spacetime diagrams, the interval and the twin paradox

Course 29.2·Lesson 2 of 3

Spacetime diagrams, the interval and the twin paradox

A spacetime diagram plots events with xxx across and ctctct up. Light moves at 45∘45^\circ45∘

Lesson 2 of 3Show all lessonsHide
Lorentz Transformations and Spacetime
  1. 1The Lorentz transformation
  2. 2Spacetime diagrams, the interval and the twin paradox
  3. 3Adding velocities and the relativistic Doppler effect

Try the code and the simulations beside the lesson.

A map of events

A road map has two directions, east and north. A spacetime diagram (also called a Minkowski diagram) also has two: position xxx across and time ctctct up. Each point is an event. A body traces a line, its worldline.

  • A body at rest has a vertical worldline: its xxx does not change.
  • A body moving at vvv has a worldline that leans, with Δx/Δ(ct)=β\Delta x/\Delta(ct) = \betaΔx/Δ(ct)=β.
  • Light has Δx=c Δt\Delta x = c\,\Delta tΔx=cΔt. Its worldline is at 45∘45^\circ45∘. Nothing can lean further than light.

The axes of a moving frame

How does a frame S' moving at β\betaβ look on the diagram of S? Its ct′ct'ct′ axis is the worldline of its origin, x′=0x' = 0x′=0, which is the line x=β ctx = \beta\,ctx=βct. Its x′x'x′ axis is the set of events with t′=0t' = 0t′=0, which is the line ct=βxct = \beta xct=βx. Both axes lean towards the light line by the same angle θ\thetaθ, with

tan⁡θ=β\displaystyle \tan\theta = \betatanθ=β

To read an event's coordinates in S', draw lines from it parallel to the two tilted axes. Lines of equal t′t't′ are tilted. That is the relativity of simultaneity in a picture. The scale along the tilted axes is also stretched, so we read numbers from the Lorentz transformation, not with a ruler.

The interval

Different observers disagree about Δx\Delta xΔx and Δt\Delta tΔt between two events. But they all agree on one combination, the interval

s2=(c Δt)2−Δx2\displaystyle s^2 = (c\,\Delta t)^2 - \Delta x^2s2=(cΔt)2−Δx2

(with Δy2+Δz2\Delta y^2 + \Delta z^2Δy2+Δz2 also taken away in three dimensions). Check it with the worked example of the last lesson, the origin and the event (1500 m,1200 m)(1500\ \text{m}, 1200\ \text{m})(1500 m,1200 m). In S, s2=12002 m2−15002 m2=−810 000 m2s^2 = 1200^2\ \text{m}^2 - 1500^2\ \text{m}^2 = -810\,000\ \text{m}^2s2=12002 m2−15002 m2=−810000 m2. In S', s2=3752 m2−9752 m2=−810 000 m2s^2 = 375^2\ \text{m}^2 - 975^2\ \text{m}^2 = -810\,000\ \text{m}^2s2=3752 m2−9752 m2=−810000 m2. The same.

Some books write the interval with the opposite sign, Δx2−(cΔt)2\Delta x^2 - (c\Delta t)^2Δx2−(cΔt)2. The physics is the same. Read the sign convention of the question.

Three kinds of separation

A spacetime diagram with x across and c t up, and an event O at the origin. Two dashed orange lines at 45 degrees cross at O and form a cone. The region inside the upper cone is shaded green and labelled future of O, the region inside the lower cone is shaded green and labelled past of O, and the two side regions are grey and labelled elsewhere. A point A lies inside the upper cone, above O and a little to the right, and a point B lies in the right-hand grey region, to the right of O and only a little above it.
  • Timelike, s2>0s^2 > 0s2>0. A body slower than light could be at both events. The proper time between them is Δt0=s2/c\Delta t_0 = \sqrt{s^2}/cΔt0​=s2​/c, the time on the clock of that body.
  • Lightlike, s2=0s^2 = 0s2=0. Only light joins the events.
  • Spacelike, s2<0s^2 < 0s2<0. Nothing can travel from one to the other. In some frame they happen at the same time, −s2\sqrt{-s^2}−s2​ apart.

The two dashed lines through an event form its light cone. Event A, inside the upper cone, is in the future of O for every observer. Event B, outside the cone, is "elsewhere". Some observers say B comes after O, others before.

Causality. A cause must come before its effect in every frame. So only timelike or lightlike events can be cause and effect. For spacelike events, the order can flip, but no signal can join them, so no paradox follows.

The twin paradox

One twin stays on the Earth. The other flies at 0.8c0.8c0.8c to a star 4.04.04.0 light-years away and comes straight back. In the Earth's frame each leg takes 4.0 ly0.8 ly/y=5.0\dfrac{4.0\ \text{ly}}{0.8\ \text{ly/y}} = 5.00.8 ly/y4.0 ly​=5.0 years.

A spacetime diagram for the twin paradox, with distance in light-years across, from 0 to 5, and time in years up, from 0 to 10. A vertical blue line along x equal to 0 is the Earth twin, from 0 to 10 years, labelled Earth twin: ages 10.0 years. A red path goes from the origin up and to the right to a star at 4.0 light-years and 5.0 years, and then back up and to the left to the Earth at 10.0 years, making a bent line like a wide arrowhead. Each red leg is labelled 3.0 years on her clock. A dashed orange line at 45 degrees from the origin shows the path of light.
  • The Earth twin ages 10.010.010.0 years.
  • The traveller ages, on each leg, (5.0 y)2−(4.0 y)2=3.0\sqrt{(5.0\ \text{y})^2 - (4.0\ \text{y})^2} = 3.0(5.0 y)2−(4.0 y)2​=3.0 years. She ages 6.06.06.0 years in all.

Is this not symmetric? Each twin sees the other move. No. The Earth twin stays in one inertial frame. The traveller changes frame at the star, and her lines of simultaneity swing round as she turns. On the diagram her worldline is bent, and the Earth twin's is straight. Of all the worldlines between two events, the straight one has the longest proper time. That is why the traveller comes home younger.

Set Δx=600\Delta x = 600Δx=600 m and cΔt=1000c\Delta t = 1000cΔt=1000 m. Change the speed of S'. The separations change, but both intervals read 0.6400.6400.640. Now make Δx\Delta xΔx larger than cΔtc\Delta tcΔt. Can you find a speed that makes cΔt′c\Delta t'cΔt′ negative?

Practise with new numbers

Try it in Python

The program takes two events and looks at them from many frames. It prints the separations and the interval in each frame. Then it finds the frame in which the events are at the same time.

Predict first. Is the pair of events spacelike or timelike? Will the time cΔt′c\Delta t'cΔt′ change sign for some speed? Then run it. Check with Show the answer.

1. Change cdt = 300.0 to cdt = 1000.0. What kind of interval is it now? Can the order of the events flip?

2. Why does the program stop with an error when you make cΔtc\Delta tcΔt larger than Δx\Delta xΔx?

Common mistakes

  • Adding the squares. The interval is a difference: (cΔt)2−Δx2(c\Delta t)^2 - \Delta x^2(cΔt)2−Δx2.
  • Reading tilted axes with a ruler. Their scale is stretched. Use the transformation.
  • Thinking the twin paradox is symmetric. Only the traveller changes frame.
  • Saying an effect can come before its cause. Only for spacelike events can the order flip, and those cannot be cause and effect.
  • Forgetting the sign convention. Check whether a book writes s2s^2s2 with (cΔt)2(c\Delta t)^2(cΔt)2 first or Δx2\Delta x^2Δx2 first.

Remember these

  • Light moves at 45∘45^\circ45∘ on a spacetime diagram. A moving frame's axes lean in by tan⁡θ=β\tan\theta = \betatanθ=β.
  • Interval: s2=(cΔt)2−Δx2s^2 = (c\Delta t)^2 - \Delta x^2s2=(cΔt)2−Δx2, the same in every frame.
  • Timelike, lightlike or spacelike, as s2s^2s2 is positive, zero or negative.
  • Proper time: Δt0=s2/c\Delta t_0 = \sqrt{s^2}/cΔt0​=s2​/c.
  • The straight worldline between two events has the longest proper time.

Check yourself

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

  1. Two events are Δx=900 m\Delta x = 900\ \text{m}Δx=900 m and Δt=5.0 μs\Delta t = 5.0\ \mu\text{s}Δt=5.0 μs apart. What kind of interval do they have?
  1. The axes of a frame S' lean in by 30∘30^\circ30∘ on a diagram of S. How fast does S' move?
  1. Can event A cause event B if the interval between them is spacelike?
  1. In the twin paradox, why is the traveller's time shorter, not the Earth twin's?

References

  • OpenStax University Physics Volume 3, Chapter 5 Relativity, sections on the Lorentz transformation and spacetime.
  • Taylor and Wheeler, Spacetime Physics (second edition, 1992), on the interval, the light cone and the twin paradox.

Enroll free in Lorentz Transformations and Spacetime

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)

Anika stays on the Earth. Her twin Ben flies at 0.8c to a star 6.0 light-years away in the Earth's…Advanced · High School (11–12) · by StemPy Lab
A rover on Mars sends a radio message at the same moment, in the frame of the Sun, as a flare goes…Advanced · High School (11–12) · by StemPy Lab
In a particle detector a short-lived particle is made at one point and decays 9.0 m away along a…Hard · High School (11–12) · by StemPy Lab
Next: lesson 3Adding velocities and the relativistic Doppler effect
← Lorentz Transformations and Spacetime
← The Lorentz transformationAdding velocities and the relativistic Doppler effect →

Discussion (0)

Log in to join the discussion.

Loading…

, and a moving frame has tilted axes. All observers agree on the interval
s2=(cΔt)2−Δx2s^2 = (c\Delta t)^2 - \Delta x^2s2=(cΔt)2−Δx2
. It decides which events can cause which, and it settles the twin paradox.
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.