# Four-vector

Template:Distinguish
Template:Spacetime
In the theory of relativity, a **four-vector** or **4-vector** is a vector in Minkowski space, a four-dimensional real vector space. It differs from a Euclidean vector in how its magnitude is determined. The transformations that preserve this magnitude are the Lorentz transformations, which include spatial rotations, boosts (a change by a constant velocity to another inertial reference frame), and temporal and spatial inversions. Regarded as a homogeneous space, the transformation group of Minkowski space is the Poincaré group, which adds to the Lorentz group the group of translations. The Lorentz group may be represented by 4×4 matrices.

The article considers four-vectors in the context of special relativity. Although the concept of four-vectors also extends to general relativity, some of the results stated in this article require modification in general relativity.

## Notation

The notations in this article are: lowercase bold for three-dimensional vectors, hats for three-dimensional unit vectors, capital bold for four dimensional vectors (except for the four-gradient), and tensor index notation.

## Four-vector algebra

### Four-vectors in a real-valued basis

A **four-vector** *A* is a vector with a "timelike" component and three "spacelike" components, and can be written in various equivalent notations:^{[1]}

The upper indices indicate contravariant components. Here the standard convention that Latin indices take values for spatial components, so that *i* = 1, 2, 3, and Greek indices take values for space *and time* components, so *α* = 0, 1, 2, 3, used with the summation convention. The split between the time component and the spatial components is a useful one to make when determining contractions of one four vector with other tensor quantities, such as for calculating Lorentz invariants in inner products (examples are given below), or raising and lowering indices.

In special relativity, the spacelike basis **E**_{1}, **E**_{2}, **E**_{3} and components *A*^{1}, *A*^{2}, *A*^{3} are often Cartesian basis and components:

although, of course, any other basis and components may be used, such as spherical polar coordinates

or cylindrical polar coordinates,

or any other orthogonal coordinates, or even general curvilinear coordinates. Note the coordinate labels are always subscripted as labels and are not indices taking numerical values. In general relativity, local curvilinear coordinates in a local basis must be used. Geometrically, a four-vector can still be interpreted as an arrow, but in spacetime - not just space. In relativity, the arrows are drawn as part of a spacetime diagram or Minkowski diagram. In this article, four-vectors will be referred to simply as vectors.

It is also customary to represent the bases by column vectors:

so that:

The relation between the covariant and contravariant coordinates is through the Minkowski metric tensor, *η* which raises and lowers indices as follows:

and in various equivalent notations the covariant components are:

where the lowered index indicates it to be covariant. Often the metric is diagonal, as is the case for orthogonal coordinates (see line element), but not in general curvilinear coordinates.

The bases can be represented by row vectors:

so that:

The motivation for the above conventions are that the inner product is a scalar, see below for details.

### Lorentz transformation

{{#invoke:main|main}}

Given two inertial or rotated frames of reference, a four-vector is defined as a quantity which transforms according to the Lorentz transformation matrix **Λ**:

In index notation, the contravariant and covariant components transform according to, respectively:

in which the matrix **Λ** has components Λ* ^{μ}_{ν}* in row

*μ*and column

*ν*, and the inverse matrix

**Λ**

^{−1}has components Λ

*in row*

_{μ}^{ν}*μ*and column

*ν*.

For background on the nature of this transformation definition, see tensor. All four-vectors transform in the same way, and this can be generalized to four-dimensional relativistic tensors; see special relativity.

#### Pure rotations about an arbitrary axis

For two frames rotated by a fixed angle *θ* about an axis defined by the unit vector:

without any boosts, the matrix **Λ** has components given by:^{[2]}

where *δ _{ij}* is the Kronecker delta, and

*ε*is the three-dimensional Levi-Civita symbol. The spacelike components of 4-vectors are rotated, while the time-like components remain unchanged.

_{ijk}For the case of rotations about the *z*-axis only, the spacelike part of the Lorentz matrix reduces to the rotation matrix about the *z*-axis:

#### Pure boosts in an arbitrary direction

For two frames moving at constant relative 3-velocity **v** (not 4-velocity, see below), it is convenient to denote and define the relative velocity in units of *c* by:

Then without rotations, the matrix **Λ** has components given by:^{[3]}

where the Lorentz factor is defined by:

and *δ _{ij}* is the Kronecker delta. Contrary to the case for pure rotations, the spacelike and timelike components are mixed together under boosts.

For the case of a boost in the *x*-direction only, the matrix reduces to;^{[4]}^{[5]}

Where the rapidity *ϕ* expression has been used, written in terms of the hyperbolic functions:

This Lorentz matrix illustrates the boost to be a *hyperbolic rotation* in four dimensional spacetime, analogous to the circular rotation above in three-dimensional space.

### Properties

#### Linearity

Four-vectors have the same linearity properties as Euclidean vectors in three dimensions. They can be added in the usual entrywise way:

and similarly scalar multiplication by a scalar *λ* is defined entrywise by:

Then subtraction is the inverse operation of addition, defined entrywise by:

#### Inner product

{{#invoke:see also|seealso}}

The inner product (also called the scalar product) of two four-vectors **A** and **B** is defined, using Einstein notation, as

where *η* is the Minkowski metric. The inner product in this context is also called the Minkowski inner product. For visual clarity, it is convenient to rewrite the definition in matrix form:

in which case *η _{μν}* above is the entry in row

*μ*and column

*ν*of the Minkowski metric as a square matrix. The Minkowski metric is not a Euclidean metric, because it is indefinite (see metric signature). The inner product can be rewritten in a number of other ways because the metric tensor raises and lowers the components of

**A**and

**B**. For contra/co-variant components of

**A**and co/contra-variant components of

**B**, we have:

so in the matrix notation:

while for **A** and **B** each in covariant components:

with a similar matrix expression to the above.

The inner product of a four-vector **A** with itself is the square of the norm of the vector, denoted and defined by:

and intuitively represents (the square of) the length or magnitude of the vector. However, in general, four-vectors can have nonpositive length, contrary to three-dimensional vectors in Euclidean space.

Following are two common choices for the metric tensor in the standard basis (essentially Cartesian coordinates). If orthogonal coordinates are used, there would be scale factors along the diagonal part of the spacelike part of the metric, while for general curvilinear coordinates the entire spacelike part of the metric would have components dependent on the curvilinear basis used.

##### Standard basis, (+−−−) signature

In the (+−−−) metric signature, evaluating the summation over indices gives:

while in matrix form:

It is a recurring theme in special relativity to take the expression

in one reference frame, where *C* is the value of the inner product in this frame, and:

in another frame, in which *C*′ is the value of the inner product in this frame. Then since the inner product is an invariant, these must be equal:

that is:

Considering that physical quantities in relativity are four-vectors, this equation has the appearance of a "conservation law", but there is no "conservation" involved. The primary significance of the Minkowski inner product is that for any two four-vectors, its value is invariant for all observers; a change of coordinates does not result in a change in value of the inner product. The components of the four-vectors change from one frame to another; **A** and **A′** are connected by a Lorentz transformation, and similarly for **B** and **B′**, although the inner products are the same in all frames. Nevertheless, this type of expression is exploited in relativistic calculations on a par with conservation laws, since the magnitudes of components can be determined without explicitly performing any Lorentz transformations. A particular example is with energy and momentum in the energy-momentum relation derived from the four-momentum vector (see also below).

In this signature, the norm of the vector **A** is:

With the signature (+−−−), four-vectors may be classified as either spacelike if ||**A**|| < 0, timelike if ||**A**|| > 0, and null vectors if ||**A**|| = 0.

##### Standard basis, (−+++) signature

Some authors define *η* with the opposite sign, in which case we have the (−+++) metric signature. Evaluating the summation with this signature:

while the matrix form is:

Note that in this case, in one frame:

while in another:

so that:

which is equivalent to the above expression for *C* in terms of **A** and **B**. Either convention will work. With the Minkowski metric defined in the two ways above, the only difference between covariant and contravariant four-vector components are signs, therefore the signs depend on which sign convention is used.

The square of the norm in this signature is:

With the signature (−+++), four-vectors may be classified as either spacelike if , timelike if , and null vectors if .

##### Dual vectors

The inner product is often expressed as the effect of the dual vector of one vector on the other:

Here the *A _{ν}*s are the components of the dual vector

**A*** of

**A**in the dual basis and called the covariant coordinates of

**A**, while the original

*A*components are called the contravariant coordinates.

^{ν}## Four-vector calculus

### Derivatives and differentials

In special relativity (but not general relativity), the derivative of a four-vector with respect to a scalar *λ* (invariant) is itself a four-vector. It is also useful to take the differential of the four-vector, *d***A** and divide it by the differential of the scalar, *dλ*:

where the contravariant components are:

while the covariant components are:

In relativistic mechanics, one often takes the differential of a four-vector and divides by the differential in proper time (see below).

## Fundamental four-vectors

### Four-position

A point in Minkowski space is a time and spatial position, called an "event", or sometimes the position 4-vector or 4-position, described in some reference frame by a set of four coordinates:

where **r** is the three-dimensional space position vector. If **r** is a function of coordinate time *t* in the same frame, i.e. **r** = **r**(*t*), this corresponds to a sequence of events as *t* varies. The definition *X*^{0} = *ct* ensures that all the coordinates have the same units (of distance).^{[6]}^{[7]}^{[8]} These coordinates are the components of the *position four-vector* for the event.
The *displacement four-vector* is defined to be an "arrow" linking two events:

The scalar product of the 4-position with itself is;^{[9]}

which *defines* the spacetime interval *s* and proper time *τ* in Minkowski spacetime, which are invariant. The scalar product of the differential 4-position with itself is:

defining the differential line element d*s* and differential proper time increment d*τ*, but this norm is also:

so that:

When considering physical phenomena, differential equations arise naturally; however, when considering space and time derivatives of functions, it is unclear which reference frame these derivatives are taken with respect to. It is agreed that time derivatives are taken with respect to the proper time τ. As proper time is an invariant, this guarantees that the proper-time-derivative of any four-vector is itself a four-vector. It is then important to find a relation between this proper-time-derivative and another time derivative (using the coordinate time *t* of an inertial reference frame). This relation is provided by taking the above differential invariant spacetime interval, then dividing by (*cdt*)^{2} to obtain:

where **u** = *d***r**/*dt* is the coordinate 3-velocity of an object measured in the same frame as the coordinates *x*, *y*, *z*, and coordinate time *t*, and

is the Lorentz factor. This provides a useful relation between the differentials in coordinate time and proper time:

This relation can also be found from the time transformation in the Lorentz transformations. Important four-vectors in relativity theory can be defined by dividing by this differential.

### Four-gradient

Considering that partial derivatives are linear operators, one can form a four-gradient from the partial time derivative ∂/∂*t* and the spatial gradient ∇. Using the standard basis, in index and abbreviated notations, the contravariant components are:

Note the basis vectors are placed in front of the components, to prevent confusion between taking the derivative of the basis vector, or simply indicating the partial derivative is a component of this four-vector. The covariant components are:

Since this is an operator, it doesn't have a "length", but evaluating the inner product of the operator with itself gives another operator:

called the D'Alembert operator.

## Kinematics

### Four-velocity

The four-velocity of a particle is defined by:

Geometrically, **U** is a normalized vector tangent to the world line of the particle. Using the differential of the 4-position, the magnitude of the 4-velocity can be obtained:

in short, the magnitude of the 4-velocity for any object is always a fixed constant:

The norm is also:

so that:

which reduces to the definition the Lorentz factor.

### Four-acceleration

The four-acceleration is given by:

where **a** = *d***u**/*dt* is the coordinate 3-acceleration. Since the magnitude of **U** is a constant, the four acceleration is orthogonal to the four velocity, i.e. the Minkowski inner product of the four-acceleration and the four-velocity is zero:

which is true for all world lines. The geometric meaning of 4-acceleration is the curvature vector of the world line in Minkowski space.

## Dynamics

### Four-momentum

For a massive particle of rest mass (or invariant mass) *m*_{0}, the four-momentum is given by:

where the total energy of the moving particle is:

and the total relativistic momentum is:

Taking the inner product of the four-momentum with itself:

and also:

which leads to the energy–momentum relation:

This last relation is useful relativistic mechanics, essential in relativistic quantum mechanics and relativistic quantum field theory, all with applications to particle physics.

### Four-force

The four-force acting on a particle is defined analogously to the 3-force as the time derivative of 3-momentum in Newton's second law:

where *P* is the power transferred to move the particle, and **f** is the 3-force acting on the particle. For a particle of constant invariant mass *m*_{0}, this is equivalent to

An invariant derived from the 4-force is:

from the above result.

## Thermodynamics

{{#invoke:see also|seealso}}

### Four-heat flux

The 4-heat flux vector field, is essentially similar to the 3d heat flux vector field **q**, in the local frame of the fluid:^{[10]}

where *T* is absolute temperature and *k* is thermal conductivity.

### Four-baryon number flux

The flux of baryons is:^{[11]}

where *n* is the number density of baryons in the local rest frame of the baryon fluid (positive values for baryons, negative for antibaryons), and **U** the 4-velocity field (of the fluid) as above.

### Four-entropy

The 4-entropy vector is defined by:^{[12]}

where *s* is the entropy per baryon, and *T* the absolute temperature, in the local rest frame of the fluid.^{[13]}

## Electromagnetism

Examples of four-vectors in electromagnetism include the following.

### Four-current

The electromagnetic four-current is defined by

formed from the current density **j** and charge density *ρ*.

### Four-potential

The electromagnetic four-potential defined by

formed from the vector potential **a** and the scalar potential *ϕ*. The four-potential is not uniquely determined, because it depends on a choice of gauge.

## Waves

### Four-frequency

A plane wave can be described by the four-frequency defined as

where *ν* is the frequency of the wave and is a unit vector in the travel direction of the wave. Now:

so the 4-frequency is always a null vector.

### Four-wavevector

{{#invoke:see also|seealso}}

The quantities reciprocal to time *t* and space **r** are the angular frequency *ω* and wave vector **k**, respectively. The form the components of the 4-wavevector or wave 4-vector:

A wave packet of nearly monochromatic light can be described by:

For matter waves, the de Broglie relations become one equation:

where *ħ* is the Planck constant divided by 2*π*. The square of the norm is:

and by the de Broglie relation:

we have the matter wave analogue of the energy–momentum relation:

Note that for massless particles, in which case *m*_{0} = 0, we have:

or ||**k**|| = *ω*/*c*. Note this is consistent with the above case; for photons with a 3-wavevector of modulus *ω*/*c*, in the direction of wave propagation defined by the unit vector .

## Quantum theory

In quantum mechanics, the 4-probability current or probability 4-current is analogous to the electromagnetic 4-current:^{[14]}

where *ρ* is the probability density function corresponding to the time component, and **j** is the probability current vector. In non-relativistic quantum mechanics, this current is always well defined because the expressions for density and current are positive definite and can admit a probability interpretation. In relativistic quantum mechanics and quantum field theory, it is not always possible to find a current, particularly when interactions are involved.

Replacing the energy by the energy operator and the momentum by the momentum operator in the four-momentum, one obtains the four-momentum operator, used in relativistic wave equations.

## Other formulations

### Four-vectors in the algebra of physical space

A four-vector *A* can also be defined in using the Pauli matrices as a basis, again in various equivalent notations:^{[15]}