Skip to content
Tutorials Center
My learning

Topics

Lesson 15 of 38 Ā· Lorentz Transformations and Spacetime

The Lorentz Transformations

Derive the Lorentz transformation from the two postulates, check it against time dilation, length contraction and simultaneity, and apply it as a boost matrix in Python.

We now have three separate effects: time dilation, length contraction and the relativity of simultaneity. They are three views of one single rule for converting coordinates between inertial frames: the Lorentz transformation. It replaces the Galilean transformation and is exact for all speeds below c. This lesson derives it, shows it contains the earlier results, and puts it to work.

Setting up

Use standard configuration: frame S' moves at speed v along the x axis relative to S, axes parallel, origins coincide at t = t' = 0. The y and z coordinates are unchanged: y' = y, z' = z.

We want the form of x' = f(x, t) and t' = g(x, t). Two reasonable requirements:

  1. Linearity. Free particles must move in straight lines at constant velocity in both frames (both are inertial), so the transformation must be linear in x and t.
  2. The origin of S' moves at v in S. The point x' = 0 has x = vt, so x' must be proportional to x āˆ’ vt.

So we write

Text
x' = γ (x āˆ’ v t)

where γ is some factor that depends only on v. By the principle of relativity, S moves at āˆ’v as seen from S', so the inverse has the same form with v → āˆ’v:

Text
x = γ (x' + v t')

(Same γ: the two frames are equivalent apart from the sign of the velocity.)

Finding γ with a light pulse

A pulse leaves the common origin at t = t' = 0. By postulate 2, it travels at c in both frames: x = ct and x' = ct'. Substitute into the two equations:

Text
c t' = γ (c āˆ’ v) t          (from x' = γ(x āˆ’ vt) with x = ct)
c t  = γ (c + v) t'         (from x = γ(x' + vt') with x' = ct')

Multiply the two equations together:

Text
c² t t' = γ² (c² āˆ’ v²) t t'   →   γ² = 1 / (1 āˆ’ v²/c²)

So γ = 1/√(1 āˆ’ v²/c²), the same Lorentz factor as before. To get t', eliminate x' between the two equations: from x = γ(x' + vt') and x' = γ(x āˆ’ vt) we find

Text
t' = γ (t āˆ’ v x / c²)

The result

Lorentz transformation (from S to S'):

Text
t' = γ (t āˆ’ v x / c²)
x' = γ (x āˆ’ v t)
y' = y
z' = z

Inverse (from S' to S): replace v by āˆ’v:

Text
t = γ (t' + v x' / c²)
x = γ (x' + v t')

Look at the structure. Time and space coordinates mix, and v x/c² has units of time. If we use ct as the time coordinate (a length), the formulas become symmetric:

Text
c t' = γ (c t āˆ’ β x)
x'   = γ (x āˆ’ β c t)

It contains everything we know

Low speeds. If v ≪ c, then γ ā‰ˆ 1 and v x/c² ā‰ˆ 0, so x' ā‰ˆ x āˆ’ vt and t' ā‰ˆ t: the Galilean transformation. Newton's physics is the limit of Lorentz.

Simultaneity. Two events with Ī”t' = 0 have, by the inverse formula, Ī”t = γ v Ī”x'/c²: exactly what the train argument gave.

Time dilation. A clock at rest in S' at x' = 0 ticks off Ī”t'. Using the inverse formula for two ticks at the same x' = 0: Ī”t = γ Ī”t'. The moving clock's proper time Ī”t' is shorter.

Length contraction. A rod at rest in S' has ends at x'₁ and x'ā‚‚, Lā‚€ = x'ā‚‚ āˆ’ x'₁. Measure its ends at the same time t in S: x'ā‚‚ āˆ’ x'₁ = γ (xā‚‚ āˆ’ x₁), so L = xā‚‚ āˆ’ x₁ = Lā‚€/γ.

Speed of light. If x = ct, then x' = γ(c āˆ’ v)t and t' = γ(1 āˆ’ v/c)t, so x'/t' = c.

The boost matrix

With c = 1 units, or using ct as the coordinate, the transformation is a 2Ɨ2 matrix acting on (ct, x):

Text
| ct' |   |  γ    āˆ’Ī³Ī² | | ct |
| x'  | = | āˆ’Ī³Ī²    γ  | | x  |

Its determinant is γ² (1 āˆ’ β²) = 1. Let's use it in Python, and verify the contents of the previous paragraph numerically.

Python A Lorentz boost as a matrix

Press Run (or Ctrl + Enter) to see the result here.

Program input Ā· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The last line shows a rod measured as 8 in S has rest length 10 (8 Ɨ 1.25), as expected from L = Lā‚€/γ. The key trick is "ends at the same time in S".

Combining boosts

Apply a boost with velocity β₁, then another with β₂ along the same direction. What is the result? The matrix product is a single boost. The following program multiplies the matrices and reads the resulting velocity from the off-diagonal element. It is a preview of the next lesson on velocity addition.

Python Composing two boosts

Press Run (or Ctrl + Enter) to see the result here.

Program input Ā· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Composing two boosts of 0.5c gives 0.8c, not c. Nothing can be pushed past c by repeated boosts, which is the speed limit again.

The inverse and the symmetry

The two boosts S → S' and S' → S multiply to the identity: boost(β) Ɨ boost(āˆ’Ī²) = I. That is the mathematical form of the principle of relativity. Neither frame is special; they differ by the sign of the velocity.

JS Transform a list of events

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Name origin: Hendrik Lorentz and others had found these equations as part of an attempt to save the ether idea. Einstein's step was to derive them from the two postulates alone, giving them a new meaning: they describe the structure of space and time, not a mysterious change in matter.

Check your understanding

Quick check Ā· 4 questions

of 4 answered You scored / 4 Ā· perfect!

  1. 1. What are the Lorentz transformation equations for S → S' (motion along x)?

    Option 1 is Galilean. Option 3 is the inverse transformation (S' to S). Option 4 is not correct.
  2. 2. What does the Lorentz transformation reduce to when v is much smaller than c?

    With γ ā‰ˆ 1 and vx/c² ā‰ˆ 0 we recover x' = x āˆ’ vt, t' = t.
  3. 3. Two boosts of 0.5c in the same direction combine to which speed?

    (0.5 + 0.5)/(1 + 0.25) = 0.8. Relativistic composition never reaches c.
  4. 4. Which condition is used in the derivation to find γ?

    Requiring x = ct and x' = ct' for the pulse fixes γ² = 1/(1 āˆ’ v²/c²).

Summary

  • Lorentz transformation: t' = γ(t āˆ’ vx/c²), x' = γ(x āˆ’ vt), y' = y, z' = z; the inverse swaps v → āˆ’v.
  • It follows from linearity, the motion of the origin, and a light pulse moving at c in both frames.
  • It contains time dilation, length contraction, simultaneity and the invariance of c, and reduces to Galilean at low speeds.
  • As a matrix on (ct, x) it has determinant 1; composing boosts adds velocities relativistically.

Next: Relativistic Velocity Addition