In differential geometry, the four-gradient (or 4-gradient) $\mathbf {\partial }$ is the four-vector analogue of the gradient ${\vec {\mathbf {\nabla } }}$ from vector calculus.

In special relativity and in quantum mechanics, the four-gradient is used to define the properties and relations between the various physical four-vectors and tensors.

## Notation

SR and GR are abbreviations for special relativity and general relativity respectively.

($c$ ) indicates the speed of light in vacuum.

$\eta _{\mu \nu }=\operatorname {diag} [1,-1,-1,-1]$  is the flat spacetime metric of SR.

There are alternate ways of writing four-vector expressions in physics:

$\mathbf {A} \cdot \mathbf {B}$  is a four-vector style, which is typically more compact and can use vector notation, (such as the inner product "dot"), always using bold uppercase to represent the four-vector, and bold lowercase to represent 3-space vectors, e.g. ${\vec {\mathbf {a} }}\cdot {\vec {\mathbf {b} }}$ . Most of the 3-space vector rules have analogues in four-vector mathematics.
$A^{\mu }\eta _{\mu \nu }B^{\nu }$  is a Ricci calculus style, which uses tensor index notation and is useful for more complicated expressions, especially those involving tensors with more than one index, such as $F^{\mu \nu }=\partial ^{\mu }A^{\nu }-\partial ^{\nu }A^{\mu }$ .

The Latin tensor index ranges in {1, 2, 3}, and represents a 3-space vector, e.g. $A^{i}=(a^{1},a^{2},a^{3})={\vec {\mathbf {a} }}$ .

The Greek tensor index ranges in {0, 1, 2, 3}, and represents a 4-vector, e.g. $A^{\mu }=(a^{0},a^{1},a^{2},a^{3})=\mathbf {A}$ .

In SR physics, one typically uses a concise blend, e.g. $\mathbf {A} =(a^{0},{\vec {\mathbf {a} }})$ , where $a^{0}$  represents the temporal component and ${\vec {\mathbf {a} }}$  represents the spatial 3-component.

The tensor contraction used in the Minkowski metric can go to either side (see Einstein notation):

$\mathbf {A} \cdot \mathbf {B} =A^{\mu }\eta _{\mu \nu }B^{\nu }=A_{\nu }B^{\nu }=A^{\mu }B_{\mu }=\sum _{\mu =0}^{3}a^{\mu }b_{\mu }=a^{0}b^{0}-\sum _{i=1}^{3}a^{i}b^{i}=a^{0}b^{0}-{\vec {\mathbf {a} }}\cdot {\vec {\mathbf {b} }}$

## Definition

The 4-gradient covariant components compactly written in four-vector and Ricci calculus notation are:

${\dfrac {\partial }{\partial X^{\mu }}}=\left(\partial _{0},\partial _{1},\partial _{2},\partial _{3}\right)=\left(\partial _{0},\partial _{i}\right)=\left({\frac {1}{c}}{\frac {\partial }{\partial t}},{\vec {\nabla }}\right)=\left({\frac {\partial _{t}}{c}},{\vec {\nabla }}\right)=\left({\frac {\partial _{t}}{c}},\partial _{x},\partial _{y},\partial _{z}\right)=\partial _{\mu }={}_{,\mu }$

The comma in the last part above ${}_{,\mu }$  implies the partial differentiation with respect to 4-position $X^{\mu }$ .

The contravariant components are:

$\mathbf {\partial } =\partial ^{\alpha }=\eta ^{\alpha \beta }\partial _{\beta }=\left(\partial ^{0},\partial ^{1},\partial ^{2},\partial ^{3}\right)=\left(\partial ^{0},\partial ^{i}\right)=\left({\frac {1}{c}}{\frac {\partial }{\partial t}},-{\vec {\nabla }}\right)=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)=\left({\frac {\partial _{t}}{c}},-\partial _{x},-\partial _{y},-\partial _{z}\right)$

Alternative symbols to $\partial _{\alpha }$  are $\Box$  and D (although $\Box$  can also signify $\partial ^{\mu }\partial _{\mu }$ , the d'Alembert operator).

In GR, one must use the more general metric tensor $g^{\alpha \beta }$ , and the tensor covariant derivative $\nabla _{\mu }={}_{;\mu }$ , (not to be confused with the vector 3-gradient ${\vec {\nabla }}$ ).

The covariant derivative $\nabla _{\nu }$  incorporates the 4-gradient $\partial _{\nu }$  plus spacetime curvature effects via the Christoffel symbols $\Gamma ^{\mu }{}_{\sigma \nu }$

The strong equivalence principle can be stated as:

"Any physical law which can be expressed in tensor notation in SR has exactly the same form in a locally inertial frame of a curved spacetime." The 4-gradient commas (,) in SR are simply changed to covariant derivative semi-colons (;) in GR, with the connection between the two using Christoffel symbols. This is known in relativity physics as the "comma to semi-colon rule".

So, for example, if $T^{\mu \nu }{}_{,\mu }=0$  in SR, then $T^{\mu \nu }{}_{;\mu }=0$  in GR.

On a (1,0)-tensor or 4-vector this would be:

$\nabla _{\beta }V^{\alpha }=\partial _{\beta }V^{\alpha }+V^{\mu }\Gamma ^{\alpha }{}_{\mu \beta }$
$V^{\alpha }{}_{;\beta }=V^{\alpha }{}_{,\beta }+V^{\mu }\Gamma ^{\alpha }{}_{\mu \beta }$

On a (2,0)-tensor this would be:

$\nabla _{\nu }T^{\mu \nu }=\partial _{\nu }T^{\mu \nu }+\Gamma ^{\mu }{}_{\sigma \nu }T^{\sigma \nu }+\Gamma ^{\nu }{}_{\sigma \nu }T^{\mu \sigma }$
$T^{\mu \nu }{}_{;\nu }=T^{\mu \nu }{}_{,\nu }+\Gamma ^{\mu }{}_{\sigma \nu }T^{\sigma \nu }+\Gamma ^{\nu }{}_{\sigma \nu }T^{\mu \sigma }$

## Usage

The 4-gradient is used in a number of different ways in special relativity (SR):

Throughout this article the formulas are all correct for the flat spacetime Minkowski coordinates of SR, but have to be modified for the more general curved space coordinates of general relativity (GR).

### As a 4-divergence and source of conservation laws

Divergence is a vector operator that produces a signed scalar field giving the quantity of a vector field's source at each point.

The 4-divergence of the 4-position $X^{\mu }=(ct,{\vec {\mathbf {x} }})$  gives the dimension of spacetime:

$\mathbf {\partial } \cdot \mathbf {X} =\partial ^{\mu }\eta _{\mu \nu }X^{\nu }=\partial _{\nu }X^{\nu }=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)\cdot (ct,{\vec {x}})={\frac {\partial _{t}}{c}}(ct)+{\vec {\nabla }}\cdot {\vec {x}}=(\partial _{t}t)+(\partial _{x}x+\partial _{y}y+\partial _{z}z)=(1)+(3)=4$

The 4-divergence of the 4-current density $J^{\mu }=(\rho c,{\vec {\mathbf {j} }})=\rho _{o}U^{\mu }=\rho _{o}\gamma (c,{\vec {\mathbf {u} }})=(\rho c,\rho {\vec {\mathbf {u} }})$  gives a conservation law – the conservation of charge:

$\mathbf {\partial } \cdot \mathbf {J} =\partial ^{\mu }\eta _{\mu \nu }J^{\nu }=\partial _{\nu }J^{\nu }=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)\cdot (\rho c,{\vec {j}})={\frac {\partial _{t}}{c}}(\rho c)+{\vec {\nabla }}\cdot {\vec {j}}=\partial _{t}\rho +{\vec {\nabla }}\cdot {\vec {j}}=0$

This means that the time rate of change of the charge density must equal the negative spatial divergence of the current density $\partial _{t}\rho =-{\vec {\nabla }}\cdot {\vec {j}}$ .

In other words, the charge inside a box cannot just change arbitrarily, it must enter and leave the box via a current. This is a continuity equation.

The 4-divergence of the 4-number flux (4-dust) $N^{\mu }=(nc,{\vec {\mathbf {n} }})=n_{o}U^{\mu }=n_{o}\gamma (c,{\vec {\mathbf {u} }})=(nc,n{\vec {\mathbf {u} }})$  is used in particle conservation:

$\mathbf {\partial } \cdot \mathbf {N} =\partial ^{\mu }\eta _{\mu \nu }N^{\nu }=\partial _{\nu }N^{\nu }=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)\cdot \left(nc,n{\vec {\mathbf {u} }}\right)={\frac {\partial _{t}}{c}}\left(nc\right)+{\vec {\nabla }}\cdot n{\vec {\mathbf {u} }}=\partial _{t}n+{\vec {\nabla }}\cdot n{\vec {\mathbf {u} }}=0$

This is a conservation law for the particle number density, typically something like baryon number density.

The 4-divergence of the electromagnetic 4-potential $A^{\mu }=\left({\frac {\phi }{c}},{\vec {\mathbf {a} }}\right)$  is used in the Lorenz gauge condition:

$\mathbf {\partial } \cdot \mathbf {A} =\partial ^{\mu }\eta _{\mu \nu }A^{\nu }=\partial _{\nu }A^{\nu }=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)\cdot \left({\frac {\phi }{c}},{\vec {a}}\right)={\frac {\partial _{t}}{c}}\left({\frac {\phi }{c}}\right)+{\vec {\nabla }}\cdot {\vec {a}}={\frac {\partial _{t}\phi }{c^{2}}}+{\vec {\nabla }}\cdot {\vec {a}}=0$

This is the equivalent of a conservation law for the EM 4-potential.

The 4-divergence of the transverse traceless 2-tensor $h_{TT}^{\mu \nu }$  representing gravitational radiation in the weak-field limit (i.e. freely propagating far from the source).

$\mathbf {\partial } \cdot h_{TT}^{\mu \nu }=\partial _{\mu }h_{TT}^{\mu \nu }=0$  :Transverse condition

is the equivalent of a conservation equation for freely propagating gravitational waves.

The 4-divergence of the stress–energy tensor $T^{\mu \nu }$ , the conserved Noether current associated with spacetime translations, gives four conservation laws in SR: 

The conservation of energy (temporal direction) and the conservation of linear momentum (3 separate spatial directions).

$\mathbf {\partial } \cdot T^{\mu \nu }=\partial _{\nu }T^{\mu \nu }=T^{\mu \nu }{}_{,\nu }=0^{\mu }=(0,0,0,0)$

It is often written as:

$\partial _{\nu }T^{\mu \nu }=T^{\mu \nu }{}_{,\nu }=0$

where it is understood that the single zero is actually a 4-vector zero $0^{\mu }=(0,0,0,0$ ).

When the conservation of the stress–energy tensor ($\partial _{\nu }T^{\mu \nu }=0^{\mu }$ ) for a perfect fluid is combined with the conservation of particle number density ($\mathbf {\partial } \cdot \mathbf {N} =0$ ), both utilizing the 4-gradient, one can derive the relativistic Euler equations, which in fluid mechanics and astrophysics are a generalization of the Euler equations that account for the effects of special relativity. These equations reduce to the classical Euler equations if the fluid 3-space velocity is much less than the speed of light, the pressure is much less than the energy density, and the latter is dominated by the rest mass density.

In flat spacetime and using Cartesian coordinates, if one combines this with the symmetry of the stress–energy tensor, one can show that angular momentum (relativistic angular momentum) is also conserved:

$\partial _{\nu }(x^{\alpha }T^{\mu \nu }-x^{\mu }T^{\alpha \nu })=(x^{\alpha }T^{\mu \nu }-x^{\mu }T^{\alpha \nu })_{,\nu }=0^{\alpha \mu }$

where this zero is actually a (2,0)-tensor zero.

### As a Jacobian matrix for the SR Minkowski metric tensor

The Jacobian matrix is the matrix of all first-order partial derivatives of a vector-valued function.

The 4-gradient $\partial ^{\mu }$  acting on the 4-position $X^{\nu }$  gives the SR Minkowski space metric $\eta ^{\mu \nu }$ :

$\mathbf {\partial } [\mathbf {X} ]=\partial ^{\mu }[X^{\nu }]=X^{\nu _{,}\mu }=\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)[(ct,{\vec {x}})]=\left({\frac {\partial _{t}}{c}},-\partial _{x},-\partial _{y},-\partial _{z}\right)[(ct,x,y,z)],$
$={\begin{bmatrix}{\frac {\partial _{t}}{c}}ct&{\frac {\partial _{t}}{c}}x&{\frac {\partial _{t}}{c}}y&{\frac {\partial _{t}}{c}}z\\-\partial _{x}ct&-\partial _{x}x&-\partial _{x}y&-\partial _{x}z\\-\partial _{y}ct&-\partial _{y}x&-\partial _{y}y&-\partial _{y}z\\-\partial _{z}ct&-\partial _{z}x&-\partial _{z}y&-\partial _{z}z\end{bmatrix}}={\begin{bmatrix}1&0&0&0\\0&-1&0&0\\0&0&-1&0\\0&0&0&-1\end{bmatrix}}=\operatorname {diag} [1,-1,-1,-1]$
$\mathbf {\partial } [\mathbf {X} ]=\eta ^{\mu \nu }.$

For the Minkowski metric, the components $[\eta ^{\mu \mu }]=1/[\eta _{\mu \mu }]$  {$\mu$  not summed} , with non-diagonal components all zero.

For the Cartesian Minkowski Metric, this gives $\eta ^{\mu \nu }=\eta _{\mu \nu }=\operatorname {diag} [1,-1,-1,-1]$ .

Generally, $\eta _{\mu }^{\nu }=\delta _{\mu }^{\nu }=\operatorname {diag} [1,1,1,1]$ , where $\delta _{\mu }^{\nu }$  is the 4D Kronecker delta.

### As a way to define the Lorentz transformations

The Lorentz transformation is written in tensor form as 

$X^{\mu '}=\Lambda _{\nu }^{\mu '}X^{\nu }$

and since $\Lambda _{\nu }^{\mu '}$  are just constants, then

$\partial X^{\mu '}/\partial X^{\nu }=\Lambda _{\nu }^{\mu '}$

Thus, by definition of the 4-gradient

$\partial _{\nu }[X^{\mu '}]=(\partial /\partial X^{\nu })[X^{\mu '}]=\partial X^{\mu '}/\partial X^{\nu }=\Lambda _{\nu }^{\mu '}$

This identity is fundamental. Components of the 4-gradient transform according to the inverse of the components of 4-vectors. So the 4-gradient is the "archetypal" one-form.

### As part of the total proper time derivative

The scalar product of 4-velocity $U^{\mu }$  with the 4-gradient gives the total derivative with respect to proper time ${\frac {d}{d\tau }}$ :

$\mathbf {U} \cdot \mathbf {\partial } =U^{\mu }\eta _{\mu \nu }\partial ^{\nu }=\gamma (c,{\vec {u}})\cdot \left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)=\gamma \left(c{\frac {\partial _{t}}{c}}+{\vec {u}}\cdot {\vec {\nabla }}\right)=\gamma \left(\partial _{t}+{\frac {dx}{dt}}\partial _{x}+{\frac {dy}{dt}}\partial _{y}+{\frac {dz}{dt}}\partial _{z}\right)=\gamma {\frac {d}{dt}}={\frac {d}{d\tau }}$
${\frac {d}{d\tau }}={\frac {dX^{\mu }}{dX^{\mu }}}{\frac {d}{d\tau }}={\frac {dX^{\mu }}{d\tau }}{\frac {d}{dX^{\mu }}}=U^{\mu }\partial _{\mu }=\mathbf {U} \cdot \mathbf {\partial }$

The fact that $\mathbf {U} \cdot \mathbf {\partial }$  is a Lorentz scalar invariant shows that the total derivative with respect to proper time ${\frac {d}{d\tau }}$  is likewise a Lorentz scalar invariant.

So, for example, the 4-velocity $U^{\mu }$  is the derivative of the 4-position $X^{\mu }$  with respect to proper time:

${\frac {d}{d\tau }}\mathbf {X} =(\mathbf {U} \cdot \mathbf {\partial } )\mathbf {X} =\mathbf {U} \cdot \mathbf {\partial } [\mathbf {X} ]=U^{\alpha }\cdot \eta ^{\mu \nu }=U^{\alpha }\eta _{\alpha \nu }\eta ^{\mu \nu }=U^{\alpha }\delta _{\alpha }^{\mu }=U^{\mu }=\mathbf {U}$

or

${\frac {d}{d\tau }}\mathbf {X} =\gamma {\frac {d}{dt}}\mathbf {X} =\gamma {\frac {d}{dt}}(ct,{\vec {x}})=\gamma \left({\frac {d}{dt}}ct,{\frac {d}{dt}}{\vec {x}}\right)=\gamma (c,{\vec {u}})=\mathbf {U}$

Another example, the 4-acceleration $A^{\mu }$  is the proper-time derivative of the 4-velocity $U^{\mu }$ :

${\frac {d}{d\tau }}\mathbf {U} =(\mathbf {U} \cdot \mathbf {\partial } )\mathbf {U} =\mathbf {U} \cdot \mathbf {\partial } [\mathbf {U} ]=U^{\alpha }\eta _{\alpha \mu }\partial ^{\mu }[U^{\nu }]$
$=U^{\alpha }\eta _{\alpha \mu }{\begin{bmatrix}{\frac {\partial _{t}}{c}}\gamma c&{\frac {\partial _{t}}{c}}\gamma {\vec {u}}\\-{\vec {\nabla }}\gamma c&-{\vec {\nabla }}\gamma {\vec {u}}\end{bmatrix}}=U^{\alpha }{\begin{bmatrix}\ {\frac {\partial _{t}}{c}}\gamma c&0\\0&{\vec {\nabla }}\gamma {\vec {u}}\end{bmatrix}}$
$=\gamma \left(c{\frac {\partial _{t}}{c}}\gamma c,{\vec {u}}\cdot \nabla \gamma {\vec {u}}\right)=\gamma \left(c\partial _{t}\gamma ,{\frac {d}{dt}}[\gamma {\vec {u}}]\right)=\gamma (c{\dot {\gamma }},{\dot {\gamma }}{\vec {u}}+\gamma {\dot {\vec {u}}})=\mathbf {A}$

or

${\frac {d}{d\tau }}\mathbf {U} =\gamma {\frac {d}{dt}}(\gamma c,\gamma {\vec {u}})=\gamma \left({\frac {d}{dt}}[\gamma c],{\frac {d}{dt}}[\gamma {\vec {u}}]\right)=\gamma (c{\dot {\gamma }},{\dot {\gamma }}{\vec {u}}+\gamma {\dot {\vec {u}}})=\mathbf {A}$

### As a way to define the Faraday electromagnetic tensor and derive the Maxwell equations

The Faraday electromagnetic tensor $F^{\mu \nu }$  is a mathematical object that describes the electromagnetic field in spacetime of a physical system.

Applying the 4-gradient to make an antisymmetric tensor, one gets:

$F^{\mu \nu }=\partial ^{\mu }A^{\nu }-\partial ^{\nu }A^{\mu }={\begin{bmatrix}0&-E_{x}/c&-E_{y}/c&-E_{z}/c\\E_{x}/c&0&-B_{z}&B_{y}\\E_{y}/c&B_{z}&0&-B_{x}\\E_{z}/c&-B_{y}&B_{x}&0\end{bmatrix}}$

where:

Electromagnetic 4-potential $A^{\mu }=\mathbf {A} =\left({\frac {\phi }{c}},{\vec {\mathbf {a} }}\right)$ , not to be confused with the 4-acceleration $\mathbf {A} =\gamma (c{\dot {\gamma }},{\dot {\gamma }}{\vec {u}}+\gamma {\dot {\vec {u}}})$

$\phi$  is the electric scalar potential, and ${\vec {\mathbf {a} }}$  is the magnetic 3-space vector potential.

By applying the 4-gradient again, and defining the 4-current density as $J^{\beta }=\mathbf {J} =(c\rho ,{\vec {\mathbf {j} }})$  one can derive the tensor form of the Maxwell equations:

$\partial _{\alpha }F^{\alpha \beta }=\mu _{o}J^{\beta }$
$\partial _{\gamma }F_{\alpha \beta }+\partial _{\alpha }F_{\beta \gamma }+\partial _{\beta }F_{\gamma \alpha }=0_{\alpha \beta \gamma }$

where the second line is a version of the Bianchi identity (Jacobi identity).

### As a way to define the 4-wavevector

A wavevector is a vector which helps describe a wave. Like any vector, it has a magnitude and direction, both of which are important: Its magnitude is either the wavenumber or angular wavenumber of the wave (inversely proportional to the wavelength), and its direction is ordinarily the direction of wave propagation

The 4-wavevector $K^{\mu }$  is the 4-gradient of the negative phase $\Phi$  (or the negative 4-gradient of the phase) of a wave in Minkowski Space: 

$K^{\mu }=\mathbf {K} =\left({\frac {\omega }{c}},{\vec {\mathbf {k} }}\right)=\mathbf {\partial } [-\Phi ]=-\mathbf {\partial } [\Phi ]$

This is mathematically equivalent to the definition of the phase of a wave (or more specifically a plane wave):

$\mathbf {K} \cdot \mathbf {X} =\omega t-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}=-\Phi$

where 4-position $\mathbf {X} =(ct,{\vec {\mathbf {x} }})$ , $\omega$  is the temporal angular frequency, ${\vec {\mathbf {k} }}$  is the spatial 3-space wavevector, and $\Phi$  is the Lorentz scalar invariant phase.

$\partial [\mathbf {K} \cdot \mathbf {X} ]=\partial [\omega t-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}]=\left({\frac {\partial _{t}}{c}},-\nabla \right)[\omega t-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}]=\left({\frac {\partial _{t}}{c}}[\omega t-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}],-\nabla [\omega t-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}]\right)=\left({\frac {\partial _{t}}{c}}[\omega t],-\nabla [-{\vec {\mathbf {k} }}\cdot {\vec {\mathbf {x} }}]\right)=\left({\frac {\omega }{c}},{\vec {\mathbf {k} }}\right)=\mathbf {K}$

with the assumption that the plane wave $\omega$  and ${\vec {\mathbf {k} }}$  are not explicit functions of $t$  or ${\vec {\mathbf {x} }}$

The explicit form of an SR plane wave $\Psi _{n}(\mathbf {X} )$  can be written as:

$\Psi _{n}(\mathbf {X} )=A_{n}e^{-i(\mathbf {K_{n}} \cdot \mathbf {X} )}=A_{n}e^{i(\Phi _{n})}$  where $A_{n}$  is a (possibly complex) amplitude.

A general wave $\Psi (\mathbf {X} )$  would be the superposition of multiple plane waves:

$\Psi (\mathbf {X} )=\sum _{n}[\Psi _{n}(\mathbf {X} )]=\sum _{n}[A_{n}e^{-i(\mathbf {K_{n}} \cdot \mathbf {X} )}]=\sum _{n}[A_{n}e^{i(\Phi _{n})}]$

$\partial [\Psi (\mathbf {X} )]=\partial [Ae^{-i(\mathbf {K} \cdot \mathbf {X} )}]=-i\mathbf {K} [Ae^{-i(\mathbf {K} \cdot \mathbf {X} )}]=-i\mathbf {K} [\Psi (\mathbf {X} )]$

or

$\mathbf {\partial } =-i\mathbf {K}$ , which is the 4-gradient version of complex-valued plane waves

### As the d'Alembertian operator

In special relativity, electromagnetism and wave theory, the d'Alembert operator, also called the d'Alembertian or the wave operator, is the Laplace operator of Minkowski space. The operator is named after French mathematician and physicist Jean le Rond d'Alembert.

The square of $\mathbf {\partial }$  is the 4-Laplacian, which is called the d'Alembert operator:

$\mathbf {\partial } \cdot \mathbf {\partial } =\partial ^{\mu }\cdot \partial ^{\nu }=\partial ^{\mu }\eta _{\mu \nu }\partial ^{\nu }=\partial _{\nu }\partial ^{\nu }={\frac {1}{c^{2}}}{\frac {\partial ^{2}}{\partial t^{2}}}-{\vec {\nabla }}^{2}=\left({\frac {\partial _{t}}{c}}\right)^{2}-{\vec {\nabla }}^{2}$ .

As it is the dot product of two 4-vectors, the d'Alembertian is a Lorentz invariant scalar.

Occasionally, in analogy with the 3-dimensional notation, the symbols $\Box$  and $\Box ^{2}$  are used for the 4-gradient and d'Alembertian respectively. More commonly however, the symbol $\Box$  is reserved for the d'Alembertian.

Some examples of the 4-gradient as used in the d'Alembertian follow:

In the Klein–Gordon relativistic quantum wave equation for spin-0 particles (ex. Higgs boson):

$[(\mathbf {\partial } \cdot \mathbf {\partial } )+\left({\frac {m_{0}c}{\hbar }}\right)^{2}]\psi =[\left({\frac {\partial _{t}^{2}}{c^{2}}}-{\vec {\nabla }}^{2}\right)+\left({\frac {m_{0}c}{\hbar }}\right)^{2}]\psi =0$

In the wave equation for the electromagnetic field { using Lorenz gauge $(\mathbf {\partial } \cdot \mathbf {A} )=(\partial _{\mu }A^{\mu })=0$  }:

$(\mathbf {\partial } \cdot \mathbf {\partial } )\mathbf {A} =\mathbf {0}$  {in vacuum}
$(\mathbf {\partial } \cdot \mathbf {\partial } )\mathbf {A} =\mu _{0}\mathbf {J}$  {with a 4-current source, not including the effects of spin}
$(\mathbf {\partial } \cdot \mathbf {\partial } )A^{\mu }=e{\bar {\psi }}\gamma ^{\mu }\psi$  {with quantum electrodynamics source, including effects of spin}

where:

Electromagnetic 4-potential $\mathbf {A} =A^{\alpha }=\left({\frac {\phi }{c}},\mathbf {\vec {a}} \right)$  is an electromagnetic vector potential
4-current density $\mathbf {J} =J^{\alpha }=(\rho c,\mathbf {\vec {j}} )$  is an electromagnetic current density
Dirac Gamma matrices $\gamma ^{\alpha }=(\gamma ^{0},\gamma ^{1},\gamma ^{2},\gamma ^{3})$  provide the effects of spin

In the wave equation of a gravitational wave { using a similar Lorenz gauge $(\partial _{\mu }h_{TT}^{\mu \nu })=0$  } 

$(\mathbf {\partial } \cdot \mathbf {\partial } )h_{TT}^{\mu \nu }=0$

where $h_{TT}^{\mu \nu }$  is the transverse traceless 2-tensor representing gravitational radiation in the weak-field limit (i.e. freely propagating far from the source).

Further conditions on $h_{TT}^{\mu \nu }$  are:

$\mathbf {U} \cdot h_{TT}^{\mu \nu }=h_{TT}^{0\nu }=0$  :Purely spatial
$\eta _{\mu \nu }h_{TT}^{\mu \nu }=h_{TT\nu }^{\nu }=0$  :Traceless
$\mathbf {\partial } \cdot h_{TT}^{\mu \nu }=\partial _{\mu }h_{TT}^{\mu \nu }=0$  :Transverse

In the 4-dimensional version of Green's function:

$(\mathbf {\partial } \cdot \mathbf {\partial } )G[\mathbf {X} -\mathbf {X'} ]=\delta ^{(4)}[\mathbf {X} -\mathbf {X'} ]$

where the 4D Delta function is:

$\delta ^{(4)}[\mathbf {X} ]={\frac {1}{(2\pi )^{4}}}\int d^{4}\mathbf {K} e^{-i(\mathbf {K} \cdot \mathbf {X} )}$

### As a component of the 4D Gauss' Theorem / Stokes' Theorem / Divergence Theorem

In vector calculus, the divergence theorem, also known as Gauss's theorem or Ostrogradsky's theorem, is a result that relates the flow (that is, flux) of a vector field through a surface to the behavior of the vector field inside the surface. More precisely, the divergence theorem states that the outward flux of a vector field through a closed surface is equal to the volume integral of the divergence over the region inside the surface. Intuitively, it states that the sum of all sources minus the sum of all sinks gives the net flow out of a region. In vector calculus, and more generally differential geometry, Stokes' theorem (also called the generalized Stokes' theorem) is a statement about the integration of differential forms on manifolds, which both simplifies and generalizes several theorems from vector calculus.

$\int _{\Omega }d^{4}X(\partial _{\mu }V^{\mu })=\oint _{\partial \Omega }dS(V^{\mu }N_{\mu })$

or

$\int _{\Omega }d^{4}X(\mathbf {\partial } \cdot \mathbf {V} )=\oint _{\partial \Omega }dS(\mathbf {V} \cdot \mathbf {N} )$

where

$\mathbf {V} =V^{\mu }$  is a 4-vector field defined in $\Omega$
$\mathbf {\partial } \cdot \mathbf {V} =\partial _{\mu }V^{\mu }$  is the 4-divergence of $V$
$\mathbf {V} \cdot \mathbf {N} =V^{\mu }N_{\mu }$  is the component of $V$  along direction $N$
$\Omega$  is a 4D simply connected region of Minkowski spacetime
$\partial \Omega =S$  is its 3D boundary with its own 3D volume element $dS$
$\mathbf {N} =N^{\mu }$  is the outward-pointing normal
$d^{4}X=(c\,dt)(d^{3}x)=(c\,dt)(dx\,dy\,dz)$  is the 4D differential volume element

### As a component of the SR Hamilton–Jacobi equation in relativistic analytic mechanics

The Hamilton–Jacobi equation (HJE) is a formulation of classical mechanics, equivalent to other formulations such as Newton's laws of motion, Lagrangian mechanics and Hamiltonian mechanics. The Hamilton–Jacobi equation is particularly useful in identifying conserved quantities for mechanical systems, which may be possible even when the mechanical problem itself cannot be solved completely. The HJE is also the only formulation of mechanics in which the motion of a particle can be represented as a wave. In this sense, the HJE fulfilled a long-held goal of theoretical physics (dating at least to Johann Bernoulli in the 18th century) of finding an analogy between the propagation of light and the motion of a particle

The generalized relativistic momentum $\mathbf {P_{T}}$  of a particle can be written as

$\mathbf {P_{T}} =\mathbf {P} +q\mathbf {A}$

where $\mathbf {P} =\left({\frac {E}{c}},{\vec {\mathbf {p} }}\right)$  and $\mathbf {A} =\left({\frac {\phi }{c}},{\vec {\mathbf {a} }}\right)$

This is essentially the 4-total momentum $\mathbf {P_{T}} =\left({\frac {E_{T}}{c}},{\vec {\mathbf {p_{T}} }}\right)$  of the system; a test particle in a field using the minimal coupling rule. There is the inherent momentum of the particle $\mathbf {P}$ , plus momentum due to interaction with the EM 4-vector potential $\mathbf {A}$  via the particle charge $q$ .

The relativistic Hamilton–Jacobi equation is obtained by setting the total momentum equal to the negative 4-gradient of the action $S$ .

$\mathbf {P_{T}} =-\mathbf {\partial } [S]$
$\mathbf {P_{T}} =\left({\frac {E_{T}}{c}},{\vec {\mathbf {p_{T}} }}\right)=\left({\frac {H}{c}},{\vec {\mathbf {p_{T}} }}\right)=-\mathbf {\partial } [S]=-\left({\frac {\partial _{t}}{c}},-{\vec {\mathbf {\nabla } }}\right)[S]$

The temporal component gives: $E_{T}=H=-\partial _{t}[S]$

The spatial components give: ${\vec {\mathbf {p_{T}} }}={\vec {\mathbf {\nabla } }}[S]$

where $H$  is the Hamiltonian.

This is actually related to the 4-wavevector being equal the negative 4-gradient of the phase from above. $K^{\mu }=\mathbf {K} =\left({\frac {\omega }{c}},{\vec {\mathbf {k} }}\right)=-\mathbf {\partial } [\Phi ]$

To get the HJE, one first uses the Lorentz scalar invariant rule on the 4-momentum:

$\mathbf {P} \cdot \mathbf {P} =(m_{0}c)^{2}$

But from the minimal coupling rule:

$\mathbf {P} =\mathbf {P_{T}} -q\mathbf {A}$

So:

$(\mathbf {P_{T}} -q\mathbf {A} )\cdot (\mathbf {P_{T}} -q\mathbf {A} )=(m_{0}c)^{2}$
$(\mathbf {P_{T}} -q\mathbf {A} )^{2}=(m_{0}c)^{2}$
$(-\mathbf {\partial } [S]-q\mathbf {A} )^{2}=(m_{0}c)^{2}$

Breaking into the temporal and spatial components:

$(-\partial _{t}[S]/c-q\phi /c)^{2}-(\mathbf {\nabla } [S]-q\mathbf {a} )^{2}=(m_{0}c)^{2}$
$(\mathbf {\nabla } [S]-q\mathbf {a} )^{2}-(1/c)^{2}(-\partial _{t}[S]-q\phi )^{2}+(m_{0}c)^{2}=0$
$(\mathbf {\nabla } [S]-q\mathbf {a} )^{2}-(1/c)^{2}(\partial _{t}[S]+q\phi )^{2}+(m_{0}c)^{2}=0$

where the final is the relativistic Hamilton–Jacobi equation.

### As a component of the Schrödinger relations in quantum mechanics

The 4-gradient is connected with quantum mechanics.

The relation between the 4-momentum $\mathbf {P}$  and the 4-gradient $\mathbf {\partial }$  gives the Schrödinger QM relations.

$\mathbf {P} =\left({\frac {E}{c}},{\vec {p}}\right)=i\hbar \mathbf {\partial } =i\hbar \left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)$

The temporal component gives: $E=i\hbar \partial _{t}$

The spatial components give: ${\vec {p}}=-i\hbar {\vec {\nabla }}$

This can actually be composed of two separate steps.

First:

$\mathbf {P} =\left({\frac {E}{c}},{\vec {p}}\right)=\hbar \mathbf {K} =\hbar \left({\frac {\omega }{c}},{\vec {k}}\right)$  which is the full 4-vector version of:

The (temporal component) Planck–Einstein relation $E=\hbar \omega$

The (spatial components) de Broglie matter wave relation ${\vec {p}}=\hbar {\vec {k}}$

Second:

$\mathbf {K} =\left({\frac {\omega }{c}},{\vec {k}}\right)=i\mathbf {\partial } =i\left({\frac {\partial _{t}}{c}},-{\vec {\nabla }}\right)$  which is just the 4-gradient version of the wave equation for complex-valued plane waves

The temporal component gives: $\omega =i\partial _{t}$

The spatial components give: ${\vec {k}}=-i{\vec {\nabla }}$

### As a component of the covariant form of the quantum commutation relation

In quantum mechanics (physics), the canonical commutation relation is the fundamental relation between canonical conjugate quantities (quantities which are related by definition such that one is the Fourier transform of another).

$[P^{\mu },X^{\nu }]=i\hbar [\partial ^{\mu },X^{\nu }]=i\hbar \partial ^{\mu }[X^{\nu }]=i\hbar \eta ^{\mu \nu }$ 
$[p^{j},x^{k}]=i\hbar \eta ^{jk}$ : Taking the spatial components:
$[p^{j},x^{k}]=-i\hbar \delta ^{jk}$ : because $\eta ^{\mu \nu }=\operatorname {diag} [1,-1,-1,-1]$
$[x^{k},p^{j}]=i\hbar \delta ^{kj}$ : because $[a,b]=-[b,a]$
$[x^{j},p^{k}]=i\hbar \delta ^{jk}$ : relabeling indices gives the usual quantum commutation rules

### As a component of the wave equations and probability currents in relativistic quantum mechanics

The 4-gradient is a component in several of the relativistic wave equations:

In the Klein–Gordon relativistic quantum wave equation for spin-0 particles (ex. Higgs boson):

$[(\partial ^{\mu }\partial _{\mu })+\left({\frac {m_{0}c}{\hbar }}\right)^{2}]\psi =0$

In the Dirac relativistic quantum wave equation for spin-1/2 particles (ex. electrons):

$[i\gamma ^{\mu }\partial _{\mu }-{\frac {m_{0}c}{\hbar }}]\psi =0$

where $\gamma ^{\mu }$  are the Dirac gamma matrices and $\psi$  is a relativistic wave function.

$\psi$  is Lorentz scalar for the Klein–Gordon equation, and a spinor for the Dirac equation.

It is nice that the gamma matrices themselves refer back to the fundamental aspect of SR, the Minkowski metric:

$\{\gamma ^{\mu },\gamma ^{\nu }\}=\gamma ^{\mu }\gamma ^{\nu }+\gamma ^{\nu }\gamma ^{\mu }=2\eta ^{\mu \nu }I_{4}\,$

Conservation of 4-probability current density follows from the continuity equation:

$\mathbf {\partial } \cdot \mathbf {J} =\partial _{t}\rho +{\vec {\mathbf {\nabla } }}\cdot {\vec {\mathbf {j} }}=0$

The 4-probability current density has the relativistically covariant expression:

$J_{prob}^{\mu }={\frac {i\hbar }{2m_{0}}}(\psi ^{*}\partial ^{\mu }\psi -\psi \partial ^{\mu }\psi ^{*})$

The 4-charge current density is just the charge (q) times the 4-probability current density:

$J_{charge}^{\mu }={\frac {i\hbar q}{2m_{0}}}(\psi ^{*}\partial ^{\mu }\psi -\psi \partial ^{\mu }\psi ^{*})$

### As a key component in deriving quantum mechanics and relativistic quantum wave equations from special relativity

Relativistic wave equations use 4-vectors in order to be covariant.

4-position $\mathbf {X} =(ct,{\vec {\mathbf {x} }})$
4-velocity $\mathbf {U} =\gamma (c,{\vec {\mathbf {u} }})$
4-momentum $\mathbf {P} =\left({\frac {E}{c}},{\vec {\mathbf {p} }}\right)$
4-wavevector $\mathbf {K} =\left({\frac {\omega }{c}},{\vec {\mathbf {k} }}\right)$
4-gradient $\mathbf {\partial } =\left({\frac {\partial _{t}}{c}},-{\vec {\mathbf {\nabla } }}\right)$

Note the following simple relations from the previous sections, where each 4-vector is related to another by a Lorentz scalar:

$\mathbf {U} ={\frac {d}{d\tau }}\mathbf {X}$ , where $\tau$  is the proper time
$\mathbf {P} =m_{0}\mathbf {U}$ , where $m_{0}$  is the rest mass
$\mathbf {K} =(1/\hbar )\mathbf {P}$ , which is the 4-vector version of the Planck–Einstein relation & the de Broglie matter wave relation
$\mathbf {\partial } =-i\mathbf {K}$ , which is the 4-gradient version of complex-valued plane waves

Now, just apply the standard Lorentz scalar product rule to each one:

$\mathbf {U} \cdot \mathbf {U} =(c)^{2}$
$\mathbf {P} \cdot \mathbf {P} =(m_{0}c)^{2}$
$\mathbf {K} \cdot \mathbf {K} =\left({\frac {m_{0}c}{\hbar }}\right)^{2}$
$\mathbf {\partial } \cdot \mathbf {\partial } =\left({\frac {-im_{0}c}{\hbar }}\right)^{2}=-\left({\frac {m_{0}c}{\hbar }}\right)^{2}$

The last equation (with the 4-gradient scalar product) is a fundamental quantum relation.

When applied to a Lorentz scalar field $\psi$ , one gets the Klein–Gordon equation, the most basic of the quantum relativistic wave equations:

$[\mathbf {\partial } \cdot \mathbf {\partial } +\left({\frac {m_{0}c}{\hbar }}\right)^{2}]\psi =0$

The Schrödinger equation is the low-velocity limiting case {|v| << c} of the Klein–Gordon equation.

If the quantum relation is applied to a 4-vector field $A^{\mu }$  instead of a Lorentz scalar field $\psi$ , then one gets the Proca equation:

$[\mathbf {\partial } \cdot \mathbf {\partial } +\left({\frac {m_{0}c}{\hbar }}\right)^{2}]A^{\mu }=0^{\mu }$

If the rest mass term is set to zero (light-like particles), then this gives the free Maxwell equation:

$[\mathbf {\partial } \cdot \mathbf {\partial } ]A^{\mu }=0^{\mu }$

More complicated forms and interactions can be derived by using the minimal coupling rule:

### As a component of the RQM covariant derivative (internal particle spaces)

In modern elementary particle physics, one can define a gauge covariant derivative which utilizes the extra RQM fields (internal particle spaces) now known to exist.

The version known from classical EM (in natural units) is:

$D^{\mu }=\partial ^{\mu }-igA^{\mu }$

The full covariant derivative for the fundamental interactions of the Standard Model that we are presently aware of (in natural units) is:

$D^{\mu }=\partial ^{\mu }-ig_{1}(Y/2)B^{\mu }-ig_{2}(\tau _{i}/2)\cdot W_{i}^{\mu }-ig_{3}(\lambda _{a}/2)\cdot G_{a}^{\mu }$

or

$\mathbf {D} =\mathbf {\partial } -ig_{1}(Y/2)\mathbf {B} -ig_{2}(\mathbf {\tau _{i}} /2)\cdot \mathbf {W_{i}} -ig_{3}(\mathbf {\lambda _{a}} /2)\cdot \mathbf {G_{a}}$

where:

the scalar product summations ($\cdot$ ) here refer to the internal spaces, not the tensor indices
$B^{\mu }$  corresponds to U(1) invariance = (1) EM force gauge boson
$W_{i}^{\mu }$  corresponds to SU(2) invariance = (3) weak force gauge bosons (i = 1, ..., 3)
$G_{a}^{\mu }$  corresponds to SU(3) invariance = (8) color force gauge bosons (a = 1, ..., 8)

The coupling constants $(g_{1},g_{2},g_{3})$  are arbitrary numbers that must be discovered from experiment. It is worth emphasizing that for the non-abelian transformations once the $g_{i}$  are fixed for one representation, they are known for all representations.

These internal particle spaces have been discovered empirically.

## Derivation

In three dimensions, the gradient operator maps a scalar field to a vector field such that the line integral between any two points in the vector field is equal to the difference between the scalar field at these two points. Based on this, it may appear incorrectly that the natural extension of the gradient to 4 dimensions should be:

 $\partial ^{\alpha }\ =?=\left({\frac {\partial }{\partial t}},{\vec {\nabla }}\right)$ incorrect

However, a line integral involves the application of the vector dot product, and when this is extended to 4-dimensional spacetime, a change of sign is introduced to either the spatial co-ordinates or the time co-ordinate depending on the convention used. This is due to the non-Euclidean nature of spacetime. In this article, we place a negative sign on the spatial coordinates (the time-positive metric convention $\eta ^{\mu \nu }=\operatorname {diag} [1,-1,-1,-1]$ ). The factor of (1/c) is to keep the correct unit dimensionality {1/[length]} for all components of the 4-vector and the (−1) is to keep the 4-gradient Lorentz covariant. Adding these two corrections to the above expression gives the correct definition of 4-gradient:

 $\partial ^{\alpha }\ =\left({\frac {1}{c}}{\frac {\partial }{\partial t}},-{\vec {\nabla }}\right)$ correct

Regarding the use of scalars, 4-vectors and tensors in physics, various authors use slightly different notations for the same equations. For instance, some use $m$  for invariant rest mass, others use $m_{0}$  for invariant rest mass and use $m$  for relativistic mass. Many authors set factors of $c$  and $\hbar$  and $G$  to dimensionless unity. Others show some or all the constants. Some authors use $v$  for velocity, others use $u$ . Some use $K$  as a 4-wavevector (to pick an arbitrary example). Others use $k$  or $\mathbf {K}$  or $k^{\mu }$  or $k_{\mu }$  or $K^{\nu }$  or $N$ , etc. Some write the 4-wavevector as $({\frac {\omega }{c}},\mathbf {k} )$ , some as $(\mathbf {k} ,{\frac {\omega }{c}})$  or $(k^{0},\mathbf {k} )$  or $(k^{0},k^{1},k^{2},k^{3})$  or $(k^{1},k^{2},k^{3},k^{4})$  or $(k_{t},k_{x},k_{y},k_{z})$ or $(k^{1},k^{2},k^{3},ik^{4})$ . Some will make sure that the dimensional units match across the 4-vector, others do not. Some refer to the temporal component in the 4-vector name, others refer to the spatial component in the 4-vector name. Some mix it throughout the book, sometimes using one then later on the other. Some use the metric (+ − − −), others use the metric (− + + +). Some don't use 4-vectors, but do everything as the old style E and 3-space vector p. The thing is, all of these are just notational styles, with some more clear and concise than the others. The physics is the same as long as one uses a consistent style throughout the whole derivation.