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. /Adding velocities and the relativistic Doppler effect

Course 29.2·Lesson 3 of 3

Adding velocities and the relativistic Doppler effect

Velocities add as u=(u′+v)/(1+u′v/c2)u = (u' + v)/(1 + u'v/c^2)u=(u′+v)/(1+u′v/c2)

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

Speeds that will not add up

A rocket moves at 0.6c0.6c0.6c past the Earth. It fires a probe forwards at 0.8c0.8c0.8c, relative to the rocket. Galileo says the probe moves at 1.4c1.4c1.4c relative to the Earth. That cannot be right, because then the probe's light would leave it behind. What is the true speed?

The addition rule

Take the Lorentz transformation for two nearby events on the probe's worldline. Divide Δx′=γ(Δx−vΔt)\Delta x' = \gamma(\Delta x - v\Delta t)Δx′=γ(Δx−vΔt) by Δt′=γ(Δt−vΔx/c2)\Delta t' = \gamma(\Delta t - v\Delta x/c^2)Δt′=γ(Δt−vΔx/c2). The γ\gammaγ cancels, and with u=Δx/Δtu = \Delta x/\Delta tu=Δx/Δt we get

u′=u−v1−uv/c2\displaystyle u' = \dfrac{u - v}{1 - uv/c^2}u′=1−uv/c2u−v​

Here uuu is the speed in S and u′u'u′ the speed in S'. The other way round,

u=u′+v1+u′v/c2\displaystyle u = \dfrac{u' + v}{1 + u'v/c^2}u=1+u′v/c2u′+v​

For the probe, u=0.8c+0.6c1+0.48=0.946cu = \dfrac{0.8c + 0.6c}{1 + 0.48} = 0.946cu=1+0.480.8c+0.6c​=0.946c. It is fast, but below ccc.

Light stays at ccc. Put u′=cu' = cu′=c: u=c+v1+v/c=cu = \dfrac{c + v}{1 + v/c} = cu=1+v/cc+v​=c. Whatever the speed of the rocket, its headlight beam moves at ccc relative to the Earth. The rule has the second postulate built in.

Slow speeds. When u′vu'vu′v is far below c2c^2c2, the bottom line is nearly 111, and u=u′+vu = u' + vu=u′+v as Galileo said.

A closing speed is not a velocity. On the Earth, two rockets moving apart at 0.8c0.8c0.8c each have a separation that grows at 1.6c1.6c1.6c. That is allowed, because no object moves at 1.6c1.6c1.6c. The speed of one rocket relative to the other is 1.6c1.64=0.976c\dfrac{1.6c}{1.64} = 0.976c1.641.6c​=0.976c.

The sideways part (olympiad level). If the probe also has a part uy′u'_yuy′​ across the motion, then

uy=uy′γ (1+ux′v/c2)\displaystyle u_y = \dfrac{u'_y}{\gamma\,(1 + u'_x v/c^2)}uy​=γ(1+ux′​v/c2)uy′​​

The extra γ\gammaγ comes from time dilation. A particle that moves only sideways in S' is seen in S with ux=vu_x = vux​=v and uy=uy′/γu_y = u'_y/\gammauy​=uy′​/γ.

The Doppler effect for light

For sound, the Doppler shift depends on the motion of the source and of the listener through the air. Light needs no medium. Only the relative speed of source and observer can matter. Let a source move straight away from you at vvv. In its own frame it emits a wave crest every T0T_0T0​.

  1. Time dilation. In your frame the crests leave every γT0\gamma T_0γT0​.
  2. The growing distance. Between two crests the source moves vγT0v\gamma T_0vγT0​ further away, so each crest has βγT0\beta\gamma T_0βγT0​ further to travel.
  3. The result. The crests arrive every T=γT0(1+β)T = \gamma T_0(1 + \beta)T=γT0​(1+β). This simplifies to
T=T01+β1−β\displaystyle T = T_0\sqrt{\dfrac{1 + \beta}{1 - \beta}}T=T0​1−β1+β​​

The wavelength grows by the same factor, and the frequency falls by it. For a source that comes closer, change the sign of β\betaβ.

A graph of the ratio of the received wavelength to the emitted wavelength, from 0 to 3, against the speed of the source away from the observer as a fraction of c, from minus 0.8 to plus 0.8. Negative speeds mean the source comes closer. A blue curve, labelled relativity, rises from 0.33 at minus 0.8 through 1 at zero to 3 at plus 0.8, bending upwards. A dashed grey straight line, labelled one plus beta, rises from 0.2 to 1.8. A red point on the blue curve at plus 0.6 shows a ratio of exactly 2, and a second red point at minus 0.6 shows a ratio of 0.5.

Worked example. A hydrogen line of 656.3 nm656.3\ \text{nm}656.3 nm comes from a source moving away at 0.6c0.6c0.6c. Then 1.6/0.4=2\sqrt{1.6/0.4} = 21.6/0.4​=2, so we receive 1312.6 nm1312.6\ \text{nm}1312.6 nm, in the infrared.

Redshift. Astronomers write z=λ−λ0λ0z = \dfrac{\lambda - \lambda_0}{\lambda_0}z=λ0​λ−λ0​​. For slow sources z≈βz \approx \betaz≈β, the rule A-Level and IB use for galaxies. At 0.1c0.1c0.1c the full formula gives z=0.106z = 0.106z=0.106, so the slow rule is already about 5 %5\ \%5 % out.

The transverse Doppler effect. Light received at right angles to the source's motion, in your frame, has its frequency lowered by γ\gammaγ. Sound has no such effect. It is pure time dilation, and it has been measured with fast-moving atoms.

Set v=0.6v = 0.6v=0.6 and u′=0.8u' = 0.8u′=0.8. Read the speed relative to the Earth. Now set u′=1u' = 1u′=1, a light pulse. Can any choice of vvv make the probe pass ccc?

Practise with new numbers

Try it in Python

A ship fires a probe at 0.5c0.5c0.5c. The probe fires a second probe at 0.5c0.5c0.5c relative to itself, and so on, ten times. The program adds the speeds one at a time with the rule of this lesson.

Predict first. Galileo would give 5c5c5c after ten steps. What does relativity give? Then run it. Check with Show the answer.

1. Change the step to 0.9. How many steps are needed to pass 0.9999c0.9999c0.9999c?

2. Look at the last column, 1 - u. By roughly what factor does it shrink at each step?

Common mistakes

  • Adding speeds like Galileo. At high speed use u=(u′+v)/(1+u′v/c2)u = (u' + v)/(1 + u'v/c^2)u=(u′+v)/(1+u′v/c2).
  • Getting the sign of the bottom line wrong. It is 1+u′v/c21 + u'v/c^21+u′v/c2 when the speeds point the same way and are added.
  • Calling a closing speed a speed of an object. A separation may grow faster than ccc. No object moves faster than ccc.
  • Using the sound formula for light. Light depends only on the relative speed, and it has a transverse effect.
  • Swapping approach and recession. A source moving away gives a longer wavelength, a redshift.

Remember these

  • u=u′+v1+u′v/c2u = \dfrac{u' + v}{1 + u'v/c^2}u=1+u′v/c2u′+v​, and u′=u−v1−uv/c2u' = \dfrac{u - v}{1 - uv/c^2}u′=1−uv/c2u−v​.
  • Adding any speed to ccc gives ccc.
  • Receding source: λ=λ0(1+β)/(1−β)\lambda = \lambda_0\sqrt{(1 + \beta)/(1 - \beta)}λ=λ0​(1+β)/(1−β)​. Approaching: swap the signs.
  • Redshift z=(λ−λ0)/λ0z = (\lambda - \lambda_0)/\lambda_0z=(λ−λ0​)/λ0​, and z≈βz \approx \betaz≈β for slow sources.
  • Transverse Doppler: the frequency falls by γ\gammaγ.

Check yourself

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

  1. Two spaceships move towards each other, each at 0.5c0.5c0.5c in the Earth's frame. How fast does one move in the frame of the other?
  1. A rocket at 0.9c0.9c0.9c switches on its headlight. How fast does the light move relative to the Earth?
  1. A source moving towards you at 0.6c0.6c0.6c emits light of 600 nm600\ \text{nm}600 nm. What wavelength do you receive?
  1. Why is there no Doppler shift of sound at right angles to the motion, while light has one?

References

  • OpenStax University Physics Volume 3, Chapter 5 Relativity, sections on the relativistic velocity transformation and the Doppler effect for light.
  • Taylor and Wheeler, Spacetime Physics (second edition, 1992), on the addition of velocities and the Doppler shift.

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 (4)

Rocket P moves at 0.7c to the right in the frame of a space station…Hard · High School (11–12) · by StemPy Lab
In 1851 Fizeau sent light along a tube of flowing water and found that the water drags the light…Advanced · High School (11–12) · by StemPy Lab
In the laboratory, hydrogen emits a red line of wavelength 656.3 nm…Hard · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Lorentz Transformations and Spacetime
← Spacetime diagrams, the interval and the twin paradoxNext →

Discussion (0)

Log in to join the discussion.

Loading…

, so no sum ever passes
ccc
. Light from a source that moves away at
βc\beta cβc
arrives with its wavelength stretched by
(1+β)/(1−β)\sqrt{(1 + \beta)/(1 - \beta)}(1+β)/(1−β)​
. This is the relativistic Doppler effect.
about 35 min1 simulation3 practice questions1 Python program5 questions to check yourself

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

A spaceship moves at 0.8c along +x past a laboratory…Advanced · High School (11–12) · by StemPy Lab

Python Labs (1)

Velocity addition and the Doppler shift in codePython Lab · by StemPy Lab

Question Sets (1)

Lorentz Transformations: Think It Through10 questions · by StemPy Lab

Notes (1)

Lorentz Transformations and Spacetime: Quick RevisionNote · by StemPy Lab