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.
General Relativity
Special relativity explains physics in flat spacetime. General relativity asks the next question: what happens when spacetime itself is curved? Einstein’s answer is that gravity is not an ordinary force pulling on objects across empty space. Instead, matter and energy curve spacetime, and free-falling objects follow the straightest paths in that geometry.
The Equivalence Principle
Einstein’s key stepping stone was the equivalence principle. Imagine a small laboratory sealed inside an elevator. If the cabin accelerates upward through empty space, dropped objects fall toward the floor. Inside a small enough lab, the local physics can mimic standing still in a uniform gravitational field.
As with special relativity, Maxwell’s theory of light as electromagnetic waves was taken as an axiom. These waves are massless and should not feel any gravitational effects according to Newton. However, light in the accelerating elevator appears to follow a parabolic trajectory. Taking the equivalence principle seriously implies a gravitational effect on light. This insight led to a further reshaping of our understanding of space and time.
Geodesics
The equivalence principle gives a clean way of connecting accelerating reference frames to gravity. However, it is a local statement, holding strictly true in a sufficiently small region of spacetime. (The gravitational effects of Earth are not equivalent to a giant accelerating elevator.) The curvature of spacetime becomes apparent when you compare nearby free-fall trajectories. If those paths move closer together or farther apart, the spacetime is not flat.
To make that idea more tangible, consider the motion of ants along the surface of an apple. The ants are always trying to walk “straight ahead”, and the corresponding trajectories are known as geodesics. The apple’s geometry causes nearby ants to converge (positive curvature) or diverge (negative curvature).
This is an analogy, not the full Einstein equations. The surface of an apple is an example of extrinsic curvature. It’s a 2D surface that bends/curves in a third spatial dimension. Spacetime is a 4D manifold with intrinsic curvature. Not only is it mind-bending to consider time as a geometric dimension, but there’s actually no need for a fifth embedding dimension. The math gets tricky, so let’s instead build intuition for curvature by watching how nearby paths fail to stay perfectly parallel.
Apple Geodesics
(Locally) shortest paths on a curved surface.
From Interval to Metric
The apple picture helps build intuition, but the actual geometry of spacetime is encoded in the metric. On the first relativity page, the flat-spacetime interval in three spatial dimensions would be written as
This plays a role similar to the Euclidean distance formula from ordinary geometry. In flat 3D space, you might write
which tells you how small coordinate changes combine into an actual distance. The spacetime interval does the same kind of bookkeeping, except that time and space enter with different signs.
General relativity keeps the idea of an invariant interval, but it allows the coefficients to vary from place to place:
The collection of coefficients is the metric (the notation above implies summation over indices and , so 16 coefficients for a 4D spacetime). In flat spacetime those coefficients are constant. Near matter and energy they change with location, and in the full theory Einstein’s equations determine them from the local mass-energy distribution.
It’s worth seeing one important example written out fully. The Schwarzschild metric describes spacetime near a spherical mass (with no charge or angular momentum). Written in spherical coordinates , the spacetime interval according to a distant observer is
Note that the coefficient of is no longer just ; it depends on the distance from the gravitating body.
With a metric like this, we can now measure tiny intervals in the geometry of spacetime. This ultimately allows us to determine the geodesics, i.e. the worldlines of freely falling objects. At this point, we are fully in the land of differential geometry which requires the use of calculus and tensors. This is a rich subject and worth learning/reading about at some point in your life.
At this point, it’s probably better to focus on some of the interesting consequences of GR. Below, you can read about gravitational time dilation and the deflection of light.
Geodesic Equation
How the metric turns the idea of 'straight ahead' into an equation.
Geodesic Equation
How the metric turns the idea of 'straight ahead' into an equation.
For a freely falling massive object, the geodesic is the worldline that makes the proper time locally extremal:
Writing that condition as a differential equation gives the geodesic equation
where the Christoffel symbols are built from the metric. As a simple example, in flat spacetime, this reduces to
Integrating once gives
where is constant, and integrating again gives
Each coordinate changes linearly with , which is just uniform straight-line motion.
A Simple Clock Calculation
Take a clock that is held at a fixed radius outside the mass, so . Along the clock’s worldline we can write , where is the proper time measured by that clock. The metric then becomes
so
Here can be interpreted as the time kept by a clock very far from the mass, where the gravitational field is negligible. Since the square root is less than , a clock deeper in the gravitational field accumulates less proper time.
At Earth’s surface,
That gives
Over one day, , so
That is about less than a clock very far from Earth. The effect is tiny here, but it is real: gravity (the warping of spacetime by Earth) changes the metric, and the metric changes how clocks accumulate time.
Weak-Field Light Deflection
A simple estimate of light bending near a gravitating body.
Weak-Field Light Deflection
A simple estimate of light bending near a gravitating body.
In the weak-field limit, a light ray passing a spherical mass is deflected by
where is the mass of the gravitating body and is the closest-approach distance of the light ray. The scaling makes good physical sense: larger masses bend light more, while larger fly-by distances bend it less. The factor of in the denominator also shows why the effect is usually tiny unless the gravitating body is very massive or very compact.
The accelerating-elevator picture tells you why there should be any bending at all. In an upward-accelerating cabin, a horizontal light beam appears to deflect as the floor rises while the beam crosses the room. By the equivalence principle, light near a gravitating body should also be deflected.
A quick elevator-style estimate goes like this. If the cabin has width , the light-crossing time is
During that time, the floor rises by
The beam therefore picks up a small tilt. Using the slope of the parabolic path, the exit angle is approximately
To turn this into a rough gravitational estimate for a light ray passing a mass , take the local field strength near closest approach to be
and take the interaction distance to be of order
Then
That elevator argument gets the right qualitative idea and roughly the right scale, but it is not the whole story. A simple elevator-style estimate gives only about
while the full Schwarzschild geometry gives
The extra factor of comes from the fact that general relativity curves not just time, but space as well.
Problem Solving
Elevator Kinematics
Elevator Kinematics
Problem
An elevator accelerates upward at in deep space. A ball is released from rest relative to the cabin when it is above the floor. How long does the ball take to reach the floor according to someone inside the elevator?
Given
- effective downward acceleration
- drop distance
- initial speed relative to cabin is zero
Use
In the accelerating cabin, the motion matches the constant-acceleration relation
Solve
So
Check
The calculation is exactly what you would do for a small cabin resting in a uniform gravitational field. That is the local content of the equivalence principle.
Converging Geodesics
Converging Geodesics
Problem
Two shuttles, moving parallel to each other, are in radial free fall toward the surface of a planet. They begin apart and later are only apart, even though neither fires a rocket. What does that change in separation tell you?
Given
- initial separation:
- later separation:
- both shuttles remain in free-fall
Use
Free-fall paths represent geodesics. Decreasing spatial separation implies the geodesics are converging (the full spacetime geodesics are a bit trickier to consider).
Solve
The separation changes by
This inward focusing is evidence that spacetime has positive curvature in this region.
Check
In flat spacetime, initially parallel free-fall paths would not naturally focus together this way. A more Newtonian description would point out that this tidal effect could be explained as both shuttles moving toward the center of the planet.
Deflection of Light
Deflection of Light
Problem
A ray of starlight just grazes the surface of the Sun on its way to Earth. Estimate the angle by which the light is deflected by the Sun’s gravity.
Given
Use
For a light ray passing a spherical mass in the weak-field limit,
where is the closest approach distance. For light grazing the Sun, .
Solve
Converting to arcseconds using arcsec,
Check
The deflection is tiny, but still measurable. This is why stars viewed near the edge of the Sun appear slightly shifted on the sky, one of the classic early tests of general relativity.
Gravitational Time Dilation
Gravitational Time Dilation
Problem
In a simplified Schwarzschild black hole model, a landing team spends time at a radius , where , while the main ship waits very far away. If years pass on the ship, how much proper time passes for the landing team?
Given
- distant-ship time
Use
For a clock held at fixed radius outside a nonrotating black hole,
Solve
First compute the time-dilation factor:
So
Converting to more familiar units,
Check
This is the same kind of effect dramatized in Interstellar: the crew deeper in the gravitational well experiences far less elapsed time than the crew farther away. This example uses a highly simplified nonrotating-black-hole model, but it captures the basic idea that strong gravity can create enormous time differences.
General Relativity Checkpoint
Question 1 of 3
Choose an answer to get instant feedback.