Lesson 4 of 15

Relativistic Velocity Addition

Relativistic Velocity Addition

In classical mechanics, velocities simply add: if a train moves at vv relative to the ground, and you throw a ball at uu' relative to the train, the ball moves at u=u+vu = u' + v relative to the ground. This breaks down at relativistic speeds.

The Relativistic Formula

Suppose frame SS' moves at velocity vv relative to frame SS (along the same axis). An object moves at velocity uu' in SS'. Its velocity in SS is:

u=u+v1+uvc2u = \frac{u' + v}{1 + \dfrac{u'v}{c^2}}

The denominator 1+uv/c21 + u'v/c^2 is what prevents the result from exceeding cc.

Key Properties

Low-speed limit: When ucu' \ll c and vcv \ll c, the denominator 1\approx 1 and we recover Galilean addition uu+vu \approx u' + v.

Light speed is invariant: If u=cu' = c:

u=c+v1+v/c=c(1+v/c)1+v/c=cu = \frac{c + v}{1 + v/c} = \frac{c(1 + v/c)}{1 + v/c} = c

No matter how fast the source moves, light still travels at cc.

No velocity exceeds cc: Combining any two sub-luminal velocities always gives a sub-luminal result.

Example: 0.5c + 0.5c

Classically: 0.5c+0.5c=c0.5c + 0.5c = c. Relativistically:

u=0.5c+0.5c1+(0.5)(0.5)=c1.25=0.8cu = \frac{0.5c + 0.5c}{1 + (0.5)(0.5)} = \frac{c}{1.25} = 0.8c

Your Task

Implement velocity_addition(u_prime, v) that returns the velocity uu in frame SS when an object moves at uu' in frame SS', and SS' moves at vv relative to SS. All velocities in m/s. Use c=299792458.0c = 299792458.0 m/s inside the function.

Python runtime loading...
Loading...
Click "Run" to execute your code.