Velocity Addition Calculator | Relativistic Formula

State the frame and direction of each velocity before combining them.

Quick Answer

For two velocities along the same line, special relativity combines them as (u + v) ÷ (1 + uv/c²), with signed velocities and c the speed of light. For 0.6c and 0.7c in the same direction, the result is about 0.9155c.

Two spacecraft models illustrating reference frames
Free Special Relativity Tool

Velocity Addition Calculator

Use this Velocity Addition Calculator to add velocities correctly in special relativity. Calculate relativistic velocity addition, compare it with classical velocity addition, solve inverse velocity problems, and transform perpendicular velocity components while keeping every result below the speed of light.

Calculate Relativistic Velocity Addition

Select a mode, enter your known velocities, choose units, and calculate the relativistic result. Use the mass–energy equivalence calculator to calculate rest energy from mass.

Physics rule: ordinary velocity addition \(u+v\) works only as a low-speed approximation. Near light speed, use the relativistic formula so the result never exceeds \(c\).

What Is a Velocity Addition Calculator?

A Velocity Addition Calculator is a special relativity tool that calculates how velocities combine when objects or reference frames move at high speeds. In ordinary everyday situations, people usually add velocities directly. If a person walks at 5 km/h inside a train moving at 80 km/h, an observer on the ground may describe the person as moving at about 85 km/h. This simple arithmetic works extremely well at low speeds because those speeds are tiny compared with the speed of light.

At speeds close to the speed of light, direct addition fails. If a spacecraft moves at \(0.7c\) and launches a probe forward at \(0.6c\) relative to the spacecraft, classical addition would suggest \(1.3c\), which is faster than light. Special relativity does not allow massive objects or signals carrying information to exceed light speed in vacuum. The correct relativistic velocity addition formula gives a result below \(c\).

This calculator is built to handle common educational velocity-addition problems. It can calculate collinear relativistic velocity addition, compare the answer with the classical sum, solve for a missing velocity, and transform two-dimensional velocity components between inertial frames. It also displays beta, Lorentz factor, unit conversions, and the difference between classical and relativistic predictions.

The tool is useful for physics students, teachers, science writers, astronomy learners, relativity learners, and anyone studying Einstein’s special relativity. It is designed for educational calculations in inertial frames. It does not model acceleration, gravity, curved spacetime, relativistic rocket dynamics, or general relativity.

How to Use the Velocity Addition Calculator

Use Collinear Addition when both velocities lie on the same line. Enter the object velocity \(u\), the frame velocity \(v\), choose whether they move in the same or opposite direction, and select the desired output unit. The calculator returns the relativistic velocity result and compares it with ordinary classical addition.

Use Solve Missing Velocity when you already know the final observed velocity and one of the input velocities. This mode rearranges the relativistic velocity addition equation to solve for the missing \(u\). It is useful for textbook problems where the observed speed and frame speed are given, and you need to find the object’s speed relative to the moving frame. Use the relativistic kinetic energy calculator to compare the high-speed energy with the classical estimate.

Use Component Transform for a two-dimensional velocity problem. Enter \(u'_x\), \(u'_y\), and the relative frame velocity \(v\). The calculator applies the standard special relativity velocity transformation for components when the moving frame is aligned along the x-axis. It returns transformed x and y components and the total speed magnitude.

Choose units carefully. You can enter values as a fraction of light speed, percent of light speed, meters per second, kilometers per second, kilometers per hour, or miles per hour. Internally, the calculator converts everything to beta, which means velocity divided by the speed of light.

Velocity Addition Calculator Formulas

The main relativistic velocity addition formula for velocities in the same direction is:

Same-direction relativistic velocity addition
\[w=\frac{u+v}{1+\frac{uv}{c^2}}\]

Here, \(w\) is the velocity measured in the outside frame, \(u\) is the object’s velocity relative to the moving frame, \(v\) is the moving frame velocity, and \(c\) is the speed of light.

For opposite-direction motion, the formula becomes:

Opposite-direction relativistic velocity addition
\[w=\frac{u-v}{1-\frac{uv}{c^2}}\]

Using beta values makes the formula cleaner. Let \(\beta_u=u/c\), \(\beta_v=v/c\), and \(\beta_w=w/c\). Then same-direction addition is:

Beta form
\[\beta_w=\frac{\beta_u+\beta_v}{1+\beta_u\beta_v}\]

The Lorentz factor for the final result is:

Lorentz factor
\[\gamma_w=\frac{1}{\sqrt{1-\beta_w^2}}\]

The inverse formula for same-direction addition can be written as:

Solve for missing \(u\)
\[u=\frac{w-v}{1-\frac{wv}{c^2}}\]

Classical vs Relativistic Velocity Addition

Classical velocity addition is simple: add the velocities. This is called Galilean velocity addition. It is accurate enough for cars, trains, aircraft, sports, and most engineering situations where speeds are much smaller than the speed of light. If \(u\) and \(v\) are both tiny compared with \(c\), then the product \(uv/c^2\) is almost zero. The relativistic denominator becomes almost 1, so the relativistic formula reduces to the classical formula.

The difference becomes important at high speeds. Suppose \(u=0.7c\) and \(v=0.6c\). Classical addition gives \(1.3c\), which violates the relativistic speed limit. The relativistic formula gives:

High-speed example
\[\beta_w=\frac{0.7+0.6}{1+0.7(0.6)}=\frac{1.3}{1.42}\approx0.9155\]

The correct answer is about \(0.9155c\), not \(1.3c\). This is why special relativity changes the way velocities combine. The speed of light remains the same limit for all inertial observers.

Solving for a Missing Velocity

Sometimes the final observed velocity and one input velocity are known, but the other velocity is unknown. For example, a ground observer may measure a particle moving at \(0.9c\), while the lab frame itself is moving at \(0.6c\). The calculator can solve for the particle’s velocity relative to the moving frame.

For same-direction motion, rearrange the velocity addition equation to solve for \(u\):

Inverse same-direction formula
\[u=\frac{w-v}{1-\frac{wv}{c^2}}\]

In beta form:

Inverse beta form
\[\beta_u=\frac{\beta_w-\beta_v}{1-\beta_w\beta_v}\]

This inverse mode is useful for relativity homework, conceptual checks, and frame-of-reference problems where velocities are observed from different inertial frames.

Velocity Component Transformation

Not all velocity addition problems happen in one dimension. If an object has both x and y velocity components in a moving frame, special relativity transforms the components differently. When frame \(S'\) moves at velocity \(v\) along the x-axis relative to frame \(S\), the transformed components are:

x-component transformation
\[u_x=\frac{u'_x+v}{1+\frac{u'_xv}{c^2}}\]
y-component transformation
\[u_y=\frac{u'_y}{\gamma_v\left(1+\frac{u'_xv}{c^2}\right)}\]

The transformed speed magnitude is:

Speed from transformed components
\[u=\sqrt{u_x^2+u_y^2}\]

The y-component changes because time and space coordinates transform together under Lorentz transformations. This is one reason relativistic motion differs deeply from everyday motion. The calculator gives both transformed components and the final speed magnitude.

Velocity Addition Worked Examples

Example 1: Same-direction velocity addition. A ship moves at \(0.7c\) and launches a probe forward at \(0.6c\) relative to the ship. Classical addition gives \(1.3c\), but relativity gives:

Same-direction example
\[w=\frac{0.7c+0.6c}{1+0.7(0.6)}\approx0.9155c\]

Example 2: Opposite-direction velocity addition. If an object moves at \(0.7c\) inside a frame moving in the opposite direction at \(0.6c\), the result is:

Opposite-direction example
\[w=\frac{0.7c-0.6c}{1-0.7(0.6)}=\frac{0.1c}{0.58}\approx0.1724c\]

Example 3: Missing velocity. If \(w=0.9c\) and \(v=0.6c\), then:

Inverse example
\[u=\frac{0.9c-0.6c}{1-0.9(0.6)}=\frac{0.3c}{0.46}\approx0.6522c\]
Input SpeedsClassical AdditionRelativistic AdditionMeaning
\(0.1c+0.1c\)\(0.2c\)\(\approx0.198c\)Small difference.
\(0.5c+0.5c\)\(1.0c\)\(0.8c\)Relativity prevents reaching \(c\).
\(0.7c+0.6c\)\(1.3c\)\(\approx0.9155c\)Classical result is impossible.
\(0.9c+0.9c\)\(1.8c\)\(\approx0.9945c\)Still below light speed.

Accuracy and Limitations

This calculator uses standard special relativity formulas for inertial frames. It assumes motion in flat spacetime and does not include gravity, acceleration, curved spacetime, relativistic rocket travel, Doppler shift, signal delay, or general relativity. The component mode assumes the moving frame velocity lies along the x-axis.

For ordinary low-speed motion, the relativistic result will be almost identical to the classical result. For high-speed motion, the difference becomes substantial. The calculator rejects velocities with magnitude equal to or greater than \(c\), because massive objects cannot reach or exceed light speed in special relativity.

Use this tool for education, homework checking, conceptual learning, and science communication. For research, aerospace, particle physics, or precision scientific modeling, use validated scientific software and expert review.

Velocity Addition Calculator FAQs

What does a Velocity Addition Calculator do?

It calculates how velocities combine using special relativity, especially when speeds are a significant fraction of the speed of light.

What is the relativistic velocity addition formula?

For same-direction motion, the formula is \(w=(u+v)/(1+uv/c^2)\).

Why can’t I just add velocities normally?

Normal addition works at low speeds, but near light speed it can predict impossible faster-than-light results. Relativistic addition keeps results below \(c\).

What is beta in relativity?

Beta is velocity divided by the speed of light: \(\beta=v/c\). A beta of 0.8 means 80% of light speed.

Can two speeds add to more than light speed?

Classically they can appear to, but special relativity gives a corrected result below \(c\) for physical massive objects.

Does this calculator include gravitational effects?

No. It is a special relativity calculator for inertial-frame velocity addition, not a general relativity simulation.

Important Note

This Velocity Addition Calculator is for educational physics learning only. It is not a professional aerospace, particle-physics, relativity-research, or mission-planning tool.

Advertisement

Combine two speeds reported in different frames

In one-dimensional motion a spacecraft travels at sixty percent of light speed relative to a station. A probe travels forward at half light speed relative to the spacecraft. In units where light speed is one, the relativistic sum is 1.1 divided by 1.3, approximately 0.846. An ordinary sum would exceed one. If the probe instead travels backward in the spacecraft frame, use a negative value for its velocity.

Velocity Transformations

Imagine a car traveling at night along a straight road, as in diagram. The driver sees the light leaving the headlights at speed c within the car’s frame of reference. If the Galilean transformation applied to light, then the light from the car’s headlights would approach the pedestrian at a speed u=v+c, contrary to Einstein’s postulates.
An illustration of a car moving with velocity v, with light coming from the headlights at a greater velocity c.
According to experimental results and the second postulate of relativity, light from the car’s headlights moves away from the car at speed c and toward the observer on the sidewalk at speed c.
Both the distance traveled and the time of travel are different in the two frames of reference, and they must differ in a way that makes the speed of light the same in all inertial frames. The correct rules for transforming velocities from one frame to another can be obtained from the Lorentz transformation equations.

Relativistic Transformation of Velocity

Suppose an object P is moving at constant velocity u=(ux′,uy′,uz′) as measured in the S′ frame. The S′ frame is moving along its x′-axis at velocity v. In an increment of time dt′, the particle is displaced by dx′ along the x′-axis. Applying the Lorentz transformation equations gives the corresponding increments of time and displacement in the unprimed axes:
dt=γ(dt′+vdx′/c2)dx=γ(dx′+vdt′)dy=dy′dz=dz′.
The velocity components of the particle seen in the unprimed coordinate system are then
dxdt=γ(dx′+vdt′)γ(dt′+vdx′/c2)=dx′dt′+v1+vc2dx′dt′dydt=dy′γ(dt′+vdx′/c2)=dy′dt′γ(1+vc2dx′dt′)dzdt=dz′γ(dt′+vdx′/c2)=dz′dt′γ(1+vc2dx′dt′).
We thus obtain the equations for the velocity components of the object as seen in frame S:
ux=(ux′+v1+vux′/c2),uy=(uy′/γ1+vux′/c2),uz=(uz′/γ1+vux′/c2).
Compare this with how the Galilean transformation of classical mechanics says the velocities transform, by adding simply as vectors:
ux=ux′+u,uy=uy′,uz=uz′.
When the relative velocity of the frames is much smaller than the speed of light, that is, when v≪c, the special relativity velocity addition law reduces to the Galilean velocity law. When the speed v of S′ relative to S is comparable to the speed of light, the relativistic velocity addition law gives a much smaller result than the classical (Galilean) velocity addition does.

Velocity Transformation Equations for Light

Suppose a spaceship heading directly toward Earth at half the speed of light sends a signal to us on a laser-produced beam of light (diagram). Given that the light leaves the ship at speed c as observed from the ship, calculate the speed at which it approaches Earth.
An illustration of a spaceship moving to the right with velocity v=0.500c and emitting a horizontal laser beam, which propagates to the right with velocity c.
How fast does a light signal approach Earth if sent from a spaceship traveling at 0.500c?

Strategy

Because the light and the spaceship are moving at relativistic speeds, we cannot use simple velocity addition. Instead, we determine the speed at which the light approaches Earth using relativistic velocity addition.

Solution

  1. Identify the knowns: v=0.500c;u′=c.
  2. Identify the unknown: u.
  3. Express the answer as an equation: u=v+u′1+vu′c2.
  4. Do the calculation:
    u=v+u′1+vu′c2=0.500c+c1+(0.500c)(c)c2=(0.500+1)c(c2+0.500c2c2)=c.

Significance

Relativistic velocity addition gives the correct result. Light leaves the ship at speed c and approaches Earth at speed c. The speed of light is independent of the relative motion of source and observer, whether the observer is on the ship or earthbound.
Velocities cannot add to greater than the speed of light, provided that v is less than c and u′ does not exceed c. The following example illustrates that relativistic velocity addition is not as symmetric as classical velocity addition.

Relativistic Package Delivery

Suppose the spaceship in the previous example approaches Earth at half the speed of light and shoots a canister at a speed of 0.750c (diagram). (a) At what velocity does an earthbound observer see the canister if it is shot directly toward Earth? (b) If it is shot directly away from Earth?
The first illustration shows the spaceship moving to the right, toward the earth, with velocity v=0.500c, and a canister moving to the right with a velocity u prime = 0.750c. The second illustration shows the spaceship moving to the right, toward the earth, with velocity v=0.500c, and a canister moving to the left with a velocity u prime = -0.750c.
A canister is fired at 0.7500c toward Earth or away from Earth.

Strategy

Because the canister and the spaceship are moving at relativistic speeds, we must determine the speed of the canister by an earthbound observer using relativistic velocity addition instead of simple velocity addition.

Solution for (a)

  1. Identify the knowns: v=0.500c;u′=0.750c.
  2. Identify the unknown: u.
  3. Express the answer as an equation: u=v+u′1+vu′c2.
  4. Do the calculation:
    u=v+u′1+vu′c2=0.500c+0.750c1+(0.500c)(0.750c)c2=0.909c.

Solution for (b)

  1. Identify the knowns: v=0.500c;u′=−0.750c.
  2. Identify the unknown: u.
  3. Express the answer as an equation: u=v+u′1+vu′c2.
  4. Do the calculation:
    u=v+u′1+vu′c2=0.500c+(−0.750c)1+(0.500c)(−0.750c)c2=−0.400c.

Significance

The minus sign indicates a velocity away from Earth (in the opposite direction from v), which means the canister is heading toward Earth in part (a) and away in part (b), as expected. But relativistic velocities do not add as simply as they do classically. In part (a), the canister does approach Earth faster, but at less than the vector sum of the velocities, which would give 1.250c. In part (b), the canister moves away from Earth at a velocity of −0.400c, which is faster than the −0.250c expected classically. The differences in velocities are not even symmetric: In part (a), an observer on Earth sees the canister and the ship moving apart at a speed of 0.409c, and at a speed of 0.900c in part (b).

Problems

If two spaceships are heading directly toward each other at 0.800c, at what speed must a canister be shot from the first ship to approach the other at 0.999c as seen by the second ship?
Two planets are on a collision course, heading directly toward each other at 0.250c. A spaceship sent from one planet approaches the second at 0.750c as seen by the second planet. What is the velocity of the ship relative to the first planet?
Solution
0.615c
When a missile is shot from one spaceship toward another, it leaves the first at 0.950c and approaches the other at 0.750c. What is the relative velocity of the two ships?
What is the relative velocity of two spaceships if one fires a missile at the other at 0.750c and the other observes it to approach at 0.950c?
Solution
0.696c
Prove that for any relative velocity v between two observers, a beam of light sent from one to the other will approach at speed c (provided that v is less than c, of course).
Show that for any relative velocity v between two observers, a beam of light projected by one directly away from the other will move away at the speed of light (provided that v is less than c, of course).
Solution
(Proof)

The Galilean Transformation Equations

An event is specified by its location and time (x, y, z, t) relative to one particular inertial frame of reference S. As an example, (x, y, z, t) could denote the position of a particle at time t, and we could be looking at these positions for many different times to follow the motion of the particle. Suppose a second frame of reference S′ moves with velocity v with respect to the first. For simplicity, assume this relative velocity is along the x-axis. The relation between the time and coordinates in the two frames of reference is then
x=x′+vt,y=y′,z=z′.
Implicit in these equations is the assumption that time measurements made by observers in both S and S′ are the same. That is,
t=t′.
These four equations are known collectively as the Galilean transformation.
We can obtain the Galilean velocity and acceleration transformation equations by differentiating these equations with respect to time. We use u for the velocity of a particle throughout this chapter to distinguish it from v, the relative velocity of two reference frames. Note that, for the Galilean transformation, the increment of time used in differentiating to calculate the particle velocity is the same in both frames, dt=dt′. Differentiation yields
ux=ux′+v,uy=uy′,uz=uz′
and
ax=ax′,ay=ay′,az=az′.
We denote the velocity of the particle by u rather than v to avoid confusion with the velocity v of one frame of reference with respect to the other. Velocities in each frame differ by the velocity that one frame has as seen from the other frame. Observers in both frames of reference measure the same value of the acceleration. Because the mass is unchanged by the transformation, and distances between points are uncharged, observers in both frames see the same forces F=ma acting between objects and the same form of Newton’s second and third laws in all inertial frames. The laws of mechanics are consistent with the first postulate of relativity.

The Lorentz Transformation Equations

The Galilean transformation nevertheless violates Einstein’s postulates, because the velocity equations state that a pulse of light moving with speed c along the x-axis would travel at speed c−v in the other inertial frame. Specifically, the spherical pulse has radius r=ct at time t in the unprimed frame, and also has radius r′=ct′ at time t′ in the primed frame. Expressing these relations in Cartesian coordinates gives
x2+y2+z2−c2t2=0x′2+y′2+z′2−c2t′2=0.
The left-hand sides of the two expressions can be set equal because both are zero. Because y=y′ and z=z′, we obtain
x2−c2t2=x′2−c2t′2.
This cannot be satisfied for nonzero relative velocity v of the two frames if we assume the Galilean transformation results in t=t′ with x=x′+vt′.
To find the correct set of transformation equations, assume the two coordinate systems S and S′ in diagram. First suppose that an event occurs at (x′,0,0,t′) in S′ and at (x,0,0,t) in S, as depicted in the figure.
The axes of frames S and S prime are shown. S has axes x, y, and z. S prime is moving to the right with velocity v and has axes x prime, y prime and z prime. S and S prime are aligned along the horizontal x and x prime axes and are separated by a distance v t. An event on the horizontal x and x prime axes is indicated by a point which is a distance x from the y z plane of the S frame and a distance x prime from the y prime, z prime plane of the S prime frame.
An event occurs at (x, 0, 0, t) in S and at (x′,0,0,t′) in S′. The Lorentz transformation equations relate events in the two systems.
Suppose that at the instant that the origins of the coordinate systems in S and S′ coincide, a flash bulb emits a spherically spreading pulse of light starting from the origin. At time t, an observer in S finds the origin of S′ to be at x=vt. With the help of a friend in S′, the S observer also measures the distance from the event to the origin of S′ and finds it to be x′1−v2/c2. This follows because we have already shown the postulates of relativity to imply length contraction. Thus the position of the event in S is
x=vt+x′1−v2/c2
and
x′=x−vt1−v2/c2.
The postulates of relativity imply that the equation relating distance and time of the spherical wave front:
x2+y2+z2−c2t2=0
must apply both in terms of primed and unprimed coordinates, which was shown above to lead to equation:
x2−c2t2=x′2−c2t′2.
We combine this with the equation relating x and x′ to obtain the relation between t and t′:
t′=t−vx/c21−v2/c2.
The equations relating the time and position of the events as seen in S are then
t′=t−vx/c21−v2/c2x′=x−vt1−v2/c2y′=yz′=z.
This set of equations, relating the position and time in the two inertial frames, is known as the Lorentz transformation. They are named in honor of H.A. Lorentz (1853–1928), who first proposed them. Interestingly, he justified the transformation on what was eventually discovered to be a fallacious hypothesis. The correct theoretical basis is Einstein’s special theory of relativity.
The reverse transformation expresses the variables in S in terms of those in S′. Simply interchanging the primed and unprimed variables and substituting gives:
t=t′+vx′/c21−v2/c2x=x′+vt′1−v2/c2y=y′z=z′.

Using the Lorentz Transformation for Time

Spacecraft S′ is at rest, eventually heading toward Alpha Centauri, when Spacecraft S passes it at relative speed c/2. The captain of S′ sends a radio signal that lasts 1.2 s according to that ship’s clock. Use the Lorentz transformation to find the time interval of the signal measured by the communications officer of spaceship S.

Solution

  1. Identify the known: Δt′=t2′−t1′=1.2s;Δx′=x′2−x′1=0.
  2. Identify the unknown: Δt=t2−t1.
  3. Express the answer as an equation. The time signal starts as (x′,t1′) and stops at (x′,t2′). Note that the x′ coordinate of both events is the same because the clock is at rest in S′. Write the first Lorentz transformation equation in terms of Δt=t2−t1, Δx=x2−x1, and similarly for the primed coordinates, as:
    Δt=Δt′+vΔx′/c21−v2c2.
    Because the position of the clock in S′ is fixed, Δx′=0, and the time interval Δt becomes:
    Δt=Δt′1−v2c2.
  4. Do the calculation. With Δt′=1.2s this gives:
    Δt=1.2s1−(12)2=1.4s.
    Note that the Lorentz transformation reproduces the time dilation equation.

Using the Lorentz Transformation for Length

A surveyor measures a street to be L=100m long in Earth frame S. Use the Lorentz transformation to obtain an expression for its length measured from a spaceship S′, moving by at speed 0.20c, assuming the x coordinates of the two frames coincide at time t=0.

Solution

  1. Identify the known: L=100m;v=0.20c;Δτ=0.
  2. Identify the unknown: L′.
  3. Express the answer as an equation. The surveyor in frame S has measured the two ends of the stick simultaneously, and found them at rest at x2 and x1 a distance L=x2−x1=100m apart. The spaceship crew measures the simultaneous location of the ends of the sticks in their frame. To relate the lengths recorded by observers in S′ and S, respectively, write the second of the four Lorentz transformation equations as:
    x2−x1=x′2+vt1−(v2/c2)–x′1+vt1−(v2/c2)x2−x1=x′2−x′11−(v2/c2).
  4. Do the calculation. Because x2−x1=100m, the length of the moving stick is equal to:
    L′=x′2−x′1=(L)1−(v2/c2)=(100m)1−(0.20)2L′=98.0m.

Lorentz Transformation and Simultaneity

The observer shown in diagram standing by the railroad tracks sees the two bulbs flash simultaneously at both ends of the 26 m long passenger car when the middle of the car passes him at a speed of c/2. Find the separation in time between when the bulbs flashed as seen by the train passenger seated in the middle of the car.
An observer on the ground watches a train car that is moving to the right with velocity v. Inside, at each end of the train car are lamps, each emitting a signal that is propagating toward the center of the car, and in the center of the car sits a passenger.
An person watching a train go by observes two bulbs flash simultaneously at opposite ends of a passenger car. There is another passenger inside of the car observing the same flashes but from a different perspective.

Solution

  1. Identify the known: Δt=0. Note that the spatial separation of the two events is between the two lamps, not the distance of the lamp to the passenger.
  2. Identify the unknown: Δt′=t2′−t1′. Again, note that the time interval is between the flashes of the lamps, not between arrival times for reaching the passenger.
  3. Express the answer as an equation:
    Δt=Δt′+vΔx′/c21−v2/c2.
  4. Do the calculation:
    0=Δt′+c2(26m)/c21−v2/c2Δt′=−26m/s2c=−26m/s2(3.00×108m/s)Δt′=−4.33×10−8s.

Significance

The sign indicates that the event with the larger x2′, namely, the flash from the right, is seen to occur first in the S′ frame, as found earlier for this example, so that t2<t1.

Space-time

Relativistic phenomena can be analyzed in terms of events in a four-dimensional space-time. When phenomena such as the twin paradox, time dilation, length contraction, and the dependence of simultaneity on relative motion are viewed in this way, they are seen to be characteristic of the nature of space and time, rather than specific aspects of electromagnetism.
In three-dimensional space, positions are specified by three coordinates on a set of Cartesian axes, and the displacement of one point from another is given by:
(Δx,Δy,Δz)=(x2−x1,y2−y1,z2−z1).
The distance Δr between the points is
Δr2=(Δx)2+(Δy)2+(Δz)2.
The distance Δr is invariant under a rotation of axes. If a new set of Cartesian axes rotated around the origin relative to the original axes are used, each point in space will have new coordinates in terms of the new axes, but the distance Δr′ given by
Δr′2=(Δx′)2+(Δy′)2+(Δz′)2.
That has the same value that Δr2 had. Something similar happens with the Lorentz transformation in space-time.
Define the separation between two events, each given by a set of x, y, z¸ and ct along a four-dimensional Cartesian system of axes in space-time, as
(Δx,Δy,Δz,cΔt)=(x2−x1,y2−y1,z2−z1,c(t2−t1)).
Also define the space-time interval Δs between the two events as
Δs2=(Δx)2+(Δy)2+(Δz)2−(cΔt)2.
If the two events have the same value of ct in the frame of reference considered, Δs would correspond to the distance Δr between points in space.
The path of a particle through space-time consists of the events (x, y, z¸ ct) specifying a location at each time of its motion. The path through space-time is called the world line of the particle. The world line of a particle that remains at rest at the same location is a straight line that is parallel to the time axis. If the particle moves at constant velocity parallel to the x-axis, its world line would be a sloped line x=vt, corresponding to a simple displacement vs. time graph. If the particle accelerates, its world line is curved. The increment of s along the world line of the particle is given in differential form as
ds2=(dx)2+(dy)2+(dz)2−c2(dt)2.
Just as the distance Δr is invariant under rotation of the space axes, the space-time interval:
Δs2=(Δx)2+(Δy)2+(Δz)2−(cΔt)2.
is invariant under the Lorentz transformation. This follows from the postulates of relativity, and can be seen also by substitution of the previous Lorentz transformation equations into the expression for the space-time interval:
Δs2=(Δx)2+(Δy)2+(Δz)2−(cΔt)2=(Δx′+vΔt′1−v2/c2)2+(Δy′)2+(Δz′)2−(cΔt′+vΔx′c21−v2/c2)2=(Δx′)2+(Δy′)2+(Δz′)2−(cΔt′)2=Δs′2.
In addition, the Lorentz transformation changes the coordinates of an event in time and space similarly to how a three-dimensional rotation changes old coordinates into new coordinates:
Lorentz transformationAxis–rotation aroundz-axis(x,tcoordinates):(x,ycoordinates):x′=(γ)x+(−βγ)ctx′=(cosθ)x+(sinθ)yct′=(−βγ)x+(γ)cty′=(−sinθ)x+(cosθ)y
where γ=11−β2;β=v/c.
Lorentz transformations can be regarded as generalizations of spatial rotations to space-time. However, there are some differences between a three-dimensional axis rotation and a Lorentz transformation involving the time axis, because of differences in how the metric, or rule for measuring the displacements Δr and Δs, differ. Although Δr is invariant under spatial rotations and Δs is invariant also under Lorentz transformation, the Lorentz transformation involving the time axis does not preserve some features, such as the axes remaining perpendicular or the length scale along each axis remaining the same.
Note that the quantity Δs2 can have either sign, depending on the coordinates of the space-time events involved. For pairs of events that give it a negative sign, it is useful to define c2Δτ2 as −Δs2. The significance of c2Δτ2 as just defined follows by noting that in a frame of reference where the two events occur at the same location, we have Δx=Δy=Δz=0 and therefore (from the equation for Δs2=−c2Δτ2):
c2Δτ2=−Δs2=(cΔt)2.
Therefore Δτ is the time interval Δt in the frame of reference where both events occur at the same location. It is the same interval of proper time discussed earlier. It also follows from the relation between Δs2 and c2Δτ2 that because Δs2 is Lorentz invariant, the proper time is also Lorentz invariant. All observers in all inertial frames agree on the proper time intervals between the same two events.

The light cone

We can deal with the difficulty of visualizing and sketching graphs in four dimensions by imagining the three spatial coordinates to be represented collectively by a horizontal axis, and the vertical axis to be the ct-axis. Starting with a particular event in space-time as the origin of the space-time graph shown, the world line of a particle that remains at rest at the initial location of the event at the origin then is the time axis. Any plane through the time axis parallel to the spatial axes contains all the events that are simultaneous with each other and with the intersection of the plane and the time axis, as seen in the rest frame of the event at the origin.
It is useful to picture a light cone on the graph, formed by the world lines of all light beams passing through the origin event A, as shown in diagram. The light cone, according to the postulates of relativity, has sides at an angle of 45° if the time axis is measured in units of ct, and, according to the postulates of relativity, the light cone remains the same in all inertial frames. Because the event A is arbitrary, every point in the space-time diagram has a light cone associated with it.
A space time diagram has a space on the horizontal axis and time on the vertical axis. The light cone is a vertical cone above the origin with its vertex at the origin and sides at 45 degrees, and another vertical cone below the origin with its vertex also at the origin. Three events are shown. Event A is at the origin. Event B is inside the light cone. Event C is outside the light cone.
The light cone consists of all the world lines followed by light from the event A at the vertex of the cone.
Consider now the world line of a particle through space-time. Any world line outside of the cone, such as one passing from A through C, would involve speeds greater than c, and would therefore not be possible. Events such as C that lie outside the light cone are said to have a space-like separation from event A. They are characterized in one dimension by:
ΔsAC2=(xA−xC)2+(yA−yC)2+(zA−zC)2−(cΔt)2>0.
An event like B that lies in the upper cone is reachable without exceeding the speed of light in vacuum, and is characterized in one dimension by
ΔsAB2=(xA−xB)2+(yA−yB)2+(zA−zB)2−(cΔt)2<0.
The event is said to have a time-like separation from A. Time-like events that fall into the upper half of the light cone occur at greater values of t than the time of the event A at the vertex and are in the future relative to A. Events that have time-like separation from A and fall in the lower half of the light cone are in the past, and can affect the event at the origin. The region outside the light cone is labeled as neither past nor future, but rather as “elsewhere.”
For any event that has a space-like separation from the event at the origin, it is possible to choose a time axis that will make the two events occur at the same time, so that the two events are simultaneous in some frame of reference. Therefore, which of the events with space-like separation comes before the other in time also depends on the frame of reference of the observer. Since space-like separations can be traversed only by exceeding the speed of light; this violation of which event can cause the other provides another argument for why particles cannot travel faster than the speed of light, as well as potential material for science fiction about time travel. Similarly for any event with time-like separation from the event at the origin, a frame of reference can be found that will make the events occur at the same location. Because the relations
ΔsAC2=(xA−xC)2+(yA−yC)2+(zA−zC)2−(cΔt)2>0
and
ΔsAB2=(xA−xB)2+(yA−yB)2+(zA−zB)2−(cΔt)2<0.
are Lorentz invariant, whether two events are time-like and can be made to occur at the same place or space-like and can be made to occur at the same time is the same for all observers. All observers in different inertial frames of reference agree on whether two events have a time-like or space-like separation.

The twin paradox seen in space-time

The twin paradox discussed earlier involves an astronaut twin traveling at near light speed to a distant star system, and returning to Earth. Because of time dilation, the space twin is predicted to age much less than the earthbound twin. This seems paradoxical because we might have expected at first glance for the relative motion to be symmetrical and naively thought it possible to also argue that the earthbound twin should age less.
To analyze this in terms of a space-time diagram, assume that the origin of the axes used is fixed in Earth. The world line of the earthbound twin is then along the time axis.
The world line of the astronaut twin, who travels to the distant star and then returns, must deviate from a straight line path in order to allow a return trip. As seen in diagram, the circumstances of the two twins are not at all symmetrical. Their paths in space-time are of manifestly different length. Specifically, the world line of the earthbound twin has length 2cΔt, which then gives the proper time that elapses for the earthbound twin as 2Δt. The distance to the distant star system is Δx=vΔt. The proper time that elapses for the space twin is 2Δτ where
c2Δτ2=−Δs2=(cΔt)2−(Δx)2.
This is considerably shorter than the proper time for the earthbound twin by the ratio
cΔτcΔt=(cΔt)2−(Δx)2(cΔt)2=(cΔt)2−(vΔt)2(cΔt)2=1−v2c2=1γ.
consistent with the time dilation formula. The twin paradox is therefore seen to be no paradox at all. The situation of the two twins is not symmetrical in the space-time diagram. The only surprise is perhaps that the seemingly longer path on the space-time diagram corresponds to the smaller proper time interval, because of how Δτ and Δs depend on Δx and Δt.
The space time diagram has x on the horizontal axis and c t on the vertical axis. The light cone appears as 45 degree lines coming out of the origin. The earth twin world line is a vertical line on the c t axis. The first part of the space twin world line is a line leaving the origin at an angle larger than 45 degrees but less than 90 degrees. At a point that is a vertical distance c delta t and a horizontal distance delta x from the origin, the world line of the space twin bends back toward the c t axis and hits the c t axis a vertical distance c delta t from where it changed direction.
The space twin and the earthbound twin, in the twin paradox example, follow world lines of different length through space-time.

Lorentz transformations in space-time

We have already noted how the Lorentz transformation leaves
Δs2=(Δx)2+(Δy)2+(Δz)2−(cΔt)2
unchanged and corresponds to a rotation of axes in the four-dimensional space-time. If the S and S′ frames are in relative motion along their shared x-direction the space and time axes of S′ are rotated by an angle α as seen from S, in the way shown in shown in diagram, where:
tanα=vc=β.
This differs from a rotation in the usual three-dimension sense, insofar as the two space-time axes rotate toward each other symmetrically in a scissors-like way, as shown. The rotation of the time and space axes are both through the same angle. The mesh of dashed lines parallel to the two axes show how coordinates of an event would be read along the primed axes. This would be done by following a line parallel to the x′ and one parallel to the t′-axis, as shown by the dashed lines. The length scale of both axes are changed by:
ct′=ct1+β21−β2;x′=x1+β21−β2.
The line labeled “v=c” at 45° to the x-axis corresponds to the edge of the light cone, and is unaffected by the Lorentz transformation, in accordance with the second postulate of relativity. The “v=c” line, and the light cone it represents, are the same for both the S and S′ frame of reference.
The space time diagram has axes x and c t. The v=c line is a line at 45 degrees. A second set of axes, x prime and c t prime, are also shown. These axes share the same origin as the x c t axes. The x prime axis is an angle alpha = inverse tangent (v/c) above the x axis. The c t prime axis is the same angle alpha to the right of the c t axis. A set of dashed lines parallel to the x prime and c t prime axes are also shown.
The Lorentz transformation results in new space and time axes rotated in a scissors-like way with respect to the original axes.

Simultaneity

Simultaneity of events at separated locations depends on the frame of reference used to describe them, as given by the scissors-like “rotation” to new time and space coordinates as described. If two events have the same t values in the unprimed frame of reference, they need not have the same values measured along the ct′-axis, and would then not be simultaneous in the primed frame.
As a specific example, consider the near-light-speed train in which flash lamps at the two ends of the car have flashed simultaneously in the frame of reference of an observer on the ground. The space-time graph is shown diagram. The flashes of the two lamps are represented by the dots labeled “Left flash lamp” and “Right flash lamp” that lie on the light cone in the past. The world line of both pulses travel along the edge of the light cone to arrive at the observer on the ground simultaneously. Their arrival is the event at the origin. They therefore had to be emitted simultaneously in the unprimed frame, as represented by the point labeled as t(both). But time is measured along the ct′-axis in the frame of reference of the observer seated in the middle of the train car. So in her frame of reference, the emission event of the bulbs labeled as t′ (left) and t′ (right) were not simultaneous.
The ground observer and the train, moving to the right at velocity v and with flash lamps at either end and a passenger in the center, are shown below a space time graph of the example. The horizontal and vertical axes of the space time diagram are the x and c t axes. The passenger is at x=0. The flashes are equidistant to the left and right of x=0 and are shown at the same time, t<0. Light lines from each flash pass through the origin at 45 degrees and are labeled as v=c. The event t (both) is labeled where the horizontal line connecting the left and right flash events crosses the c t axis. The x prime axis is between the + 45 degree light line and the x axis. The c t prime axis is between the +45 degree light line and the vertical c t axis. A dashed line that is parallel to the x prime axis and passes through the left flash event is shown. The point where it crosses the c t prime axis is labeled as t prime (left). Another dashed line that is parallel to the x prime axis and passes through the right flash event is shown. The point where this second dashed line crosses the c t prime axis is labeled as t prime (right). The t prime (right) point is lower on the c t prime axis than the t prime (left) point.
The train example revisited. The flashes occur at the same time t(both) along the time axis of the ground observer, but at different times, along the t′ time axis of the passenger.
In terms of the space-time diagram, the two observers are merely using different time axes for the same events because they are in different inertial frames, and the conclusions of both observers are equally valid. As the analysis in terms of the space-time diagrams further suggests, the property of how simultaneity of events depends on the frame of reference results from the properties of space and time itself, rather than from anything specifically about electromagnetism.