Lesson 9 of 15
Rapidity
Rapidity
Velocity is a poor coordinate for relativistic motion — it is bounded by and the relativistic addition formula is unwieldy. Rapidity is the natural alternative:
Rapidity ranges from to , has no upper bound, and makes velocity addition trivially additive:
Converting back: .
Why It Works
The Lorentz transformation in rapidity form is a hyperbolic rotation — exactly like a Euclidean rotation but with and instead of and :
Velocity Addition Example
Two ships each travel at in the same direction. Classical result: . Relativistic result using rapidity:
No matter how many boosts you stack, you never reach .
Your Task
Implement rapidity(v) returning , velocity_from_rapidity(phi) returning , and add_rapidities(phi1, phi2) returning the resulting velocity . Use m/s defined inside each function.
Python runtime loading...
Loading...
Click "Run" to execute your code.