Relativistic Velocity Addition
Relativistic Velocity Addition
In classical mechanics, velocities simply add: if a train moves at relative to the ground, and you throw a ball at relative to the train, the ball moves at relative to the ground. This breaks down at relativistic speeds.
The Relativistic Formula
Suppose frame moves at velocity relative to frame (along the same axis). An object moves at velocity in . Its velocity in is:
The denominator is what prevents the result from exceeding .
Key Properties
Low-speed limit: When and , the denominator and we recover Galilean addition .
Light speed is invariant: If :
No matter how fast the source moves, light still travels at .
No velocity exceeds : Combining any two sub-luminal velocities always gives a sub-luminal result.
Example: 0.5c + 0.5c
Classically: . Relativistically:
Your Task
Implement velocity_addition(u_prime, v) that returns the velocity in frame when an object moves at in frame , and moves at relative to . All velocities in m/s. Use m/s inside the function.