Relativity
Spacetime Diagrams
Events, worldlines, and a geometric interpretation of space & time.
Lorentz Transformations
Derive the coordinate transformations that preserve the speed of light for every inertial observer.
Relativistic Momentum and Energy
See how momentum and energy transform near the speed of light.
General Relativity
Connect accelerating frames to gravity through the equivalence principle, and move beyond flat spacetime.
Spacetime Diagrams
Einstein’s key insight was not just that moving clocks run slow or moving rulers contract. It was that space and time have to be described together if the speed of light is the same for every inertial observer. A spacetime diagram gives us a way to see that geometry directly. Instead of tracking position alone, we track an event by its spatial coordinate and its time coordinate .
Events, Worldlines, and Frames
An event is a single happening: a flash, a detector click, a spaceship passing a marker. On a spacetime diagram, each event is represented by a single point. A moving object leaves behind a worldline, the path of all its events through spacetime.
Coordinate axes allow us to describe events according to an observer’s frame of reference, i.e. label each event with a coordinate pair . A second observer moving at constant velocity relative to the first uses a different set of axes, and describes the same event with a different coordinate pair . It is convention that the two sets of axes share a common origin, but they could in principle be translated. In special relativity, these coordinate axes correspond to inertial frames, meaning reference frames that are not accelerating or rotating.
The disagreement in spacetime coordinates between two observers should not be surprising. A bit of reasoning would lead you to expect something like:
if the primed observer is moving to the right with velocity relative to the unprimed observer. Note that one observer is not “wrong” while the other is “right”; it is that they slice spacetime into “space” and “time” differently.
The Light Cone
Worldlines of light that pass through a particular point form a light cone (more of a triangle with a single spatial dimension.) At the origin, these lines are and . Different inertial observers may disagree about coordinates, but they agree on the causal structure:
- events inside the light cone can be connected by slower-than-light motion
- events on the cone can be connected by light
- events outside the cone cannot causally influence one another without exceeding
Before diving into the particular transformation that describes the coordinate axes of the moving observer, it’s helpful to see how they relate to a light cone. Both sets of axes must agree on the speed of light, which geometrically means the primed axes appear to lean toward part of the light cone. As the relative speed of the two observers increases,
where is the angle between the two sets of axes.
Simultaneity
In ordinary Newtonian intuition, “at the same time” feels universal. In relativity, it is not. For the unprimed observer, events on a horizontal line share the same value of , so they are simultaneous in that frame. But the moving observer uses tilted lines of constant instead. That means two events can be simultaneous for one observer and not simultaneous for another.
This single geometric fact drives a lot of the rest of the theory:
- Time dilation emerges when one frame compares elapsed time along a moving clock’s worldline.
- Length contraction emerges because length must be measured using endpoints recorded at the same time in the measuring frame.
Invariant Interval
Although observers disagree about coordinates, they agree on certain combinations of them. The most important one in this diagram is the spacetime interval
That value is invariant under relativistic (Lorentz) transformations. So when you click an event in the simulation and compare its primed and unprimed coordinates, the numbers may change, but the interval does not.
Minkowski Diagrams
Minkowski (spacetime) diagrams place both sets of axes on the same plot, rather than attempting to animate a set of moving axes. It turns out this appears as a rotation/stretching of axes. It’s also common to scale the time coordinates by the speed of light . This gives both the -axis and -axis units of length and makes sketching the light cone easier.
As you explore the diagram below, try this sequence:
- Start with and notice that the primed and unprimed axes coincide.
- Increase and watch the and axes tilt toward the light cone.
- Place an event on the graph and compare its coordinates in both frames.
- Select the event to see its projections onto both sets of axes.
- Turn the light cone, grids, and ticks on and off to isolate the geometric idea you want to study.
Spacetime Diagram
Compare how the spacetime locations of events are measured in two inertial frames.
Problem Solving
Classify an Interval
Classify an Interval
Problem
Event occurs at the origin. Event occurs at and . Find the spacetime interval and classify it.
Given
Use
First compute , then evaluate
A positive value means the separation is timelike.
Solve
So
Because , the interval is timelike.
Check
Light would need only to cross , so there is enough time for a slower-than-light signal to connect the two events. That matches the timelike result.
Time Dilation for a Moving Clock
Time Dilation for a Moving Clock
Problem
A spacecraft moves at relative to Earth. Earth measures between two ticks of a clock on the ship. How much proper time passes on the ship?
Given
Use
Solve
Then
Check
The clock riding with the spacecraft records less elapsed time than the Earth frame does, which is exactly the time-dilation pattern the tilted axes encode on the diagram.
Spacetime Diagram Checkpoint
Question 1 of 3
Choose an answer to get instant feedback.