# Electromagnetic tensor

In electromagnetism, the electromagnetic tensor or electromagnetic field tensor (sometimes called the field strength tensor, Faraday tensor or Maxwell bivector) is a mathematical object that describes the electromagnetic field in spacetime. The field tensor was first used after the four-dimensional tensor formulation of special relativity was introduced by Hermann Minkowski. The tensor allows related physical laws to be written concisely, and allows for the quantization of the electromagnetic field by the Lagrangian formulation described below.

## Definition

The electromagnetic tensor, conventionally labelled F, is defined as the exterior derivative of the electromagnetic four-potential, A, a differential 1-form:
    $F\ {\stackrel {\mathrm {def} }{=}}\ \mathrm {d} A.$
Therefore, F is a differential 2-form— an antisymmetric rank-2 tensor field—on Minkowski space. In component form,
    $F_{\mu \nu }=\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }.$
where $\partial$ is the four-gradient and $A$ is the four-potential.
SI units for Maxwell's equations and the particle physicist's sign convention for the signature of Minkowski space (+ − − −), will be used throughout this article.

### Relationship with the classical fields

The Faraday differential 2-form is given by
    $F=(E_{x}/c)\ dx\wedge dt+(E_{y}/c)\ dy\wedge dt+(E_{z}/c)\ dz\wedge dt+B_{x}\ dy\wedge dz+B_{y}\ dz\wedge dx+B_{z}\ dx\wedge dy,$
where $dt$ is the time element times the speed of light $c$.
This is the exterior derivative of its 1-form antiderivative
    $A=A_{x}\ dx+A_{y}\ dy+A_{z}\ dz-(\phi /c)\ dt$,
where $\phi ({\vec {x}},t)$ has $-{\vec {\nabla }}\phi ={\vec {E}}$ ($\phi$ is a scalar potential for the irrotational/conservative vector field ${\vec {E}}$) and ${\vec {A}}({\vec {x}},t)$ has ${\vec {\nabla }}\times {\vec {A}}={\vec {B}}$ (${\vec {A}}$ is a vector potential for the solenoidal vector field ${\vec {B}}$).
Note that
    ${\begin{cases}dF=0\\{\star }d{\star }F=J\end{cases}}$
where $d$ is the exterior derivative, ${\star }$ is the Hodge star, $J=-J_{x}\ dx-J_{y}\ dy-J_{z}\ dz+\rho \ dt$ (where ${\vec {J}}$ is the electric current density, and $\rho$ is the electric charge density) is the 4-current density 1-form, is the differential forms version of Maxwell's equations.
The electric and magnetic fields can be obtained from the components of the electromagnetic tensor. The relationship is simplest in Cartesian coordinates:
    $E_{i}=cF_{0i},$
where c is the speed of light, and
    $B_{i}=-1/2\epsilon _{ijk}F^{jk},$
where $\epsilon _{ijk}$ is the Levi-Civita tensor. This gives the fields in a particular reference frame; if the reference frame is changed, the components of the electromagnetic tensor will transform covariantly, and the fields in the new frame will be given by the new components.
In contravariant matrix form with metric signature (+,-,-,-),
    $F^{\mu \nu }={\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}}.$
The covariant form is given by index lowering,
    $F_{\mu \nu }=\eta _{\alpha \nu }F^{\beta \alpha }\eta _{\mu \beta }={\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}}.$
The Faraday tensor's Hodge dual is
    ${G^{\alpha \beta }={\frac {1}{2}}\epsilon ^{\alpha \beta \gamma \delta }F_{\gamma \delta }={\begin{bmatrix}0&-B_{x}&-B_{y}&-B_{z}\\B_{x}&0&E_{z}/c&-E_{y}/c\\B_{y}&-E_{z}/c&0&E_{x}/c\\B_{z}&E_{y}/c&-E_{x}/c&0\end{bmatrix}}}$
From now on in this article, when the electric or magnetic fields are mentioned, a Cartesian coordinate system is assumed, and the electric and magnetic fields are with respect to the coordinate system's reference frame, as in the equations above.

### Properties

The matrix form of the field tensor yields the following properties:
* Antisymmetry: $F^{\mu \nu }=-F^{\nu \mu }$
* Six independent components: In Cartesian coordinates, these are simply the three spatial components of the electric field (E$_x$, E$_y$, E$_z$) and magnetic field (B$_x$, B$_y$, B$_z$).
* Inner product: If one forms an inner product of the field strength tensor a Lorentz invariant is formed $F_{\mu \nu }F^{\mu \nu }=2\left(B^{2}-{\frac {E^{2}}{c^{2}}}\right)$ meaning this number does not change from one frame of reference to another.
* Pseudoscalar invariant: The product of the tensor $F^{\mu \nu }$ with its Hodge dual $G^{\mu \nu }$ gives a Lorentz invariant: $G_{\gamma \delta }F^{\gamma \delta }={\frac {1}{2}}\epsilon _{\alpha \beta \gamma \delta }F^{\alpha \beta }F^{\gamma \delta }=-{\frac {4}{c}}\mathbf {B} \cdot \mathbf {E} \,$ where $\epsilon _{\alpha \beta \gamma \delta }$ is the rank-4 Levi-Civita symbol. The sign for the above depends on the convention used for the Levi-Civita symbol. The convention used here is $\epsilon _{0123}=-1$.
* Determinant: $\det \left(F\right)={\frac {1}{c^{2}}}\left(\mathbf {B} \cdot \mathbf {E} \right)^{2}$ which is proportional to the square of the above invariant.
* Trace: $F={{F}^{\mu }}_{\mu }=0$ which is equal to zero.

### Significance

This tensor simplifies and reduces Maxwell's equations as four vector calculus equations into two tensor field equations. In electrostatics and electrodynamics, Gauss's law and Ampère's circuital law are respectively:
    $\nabla \cdot \mathbf {E} ={\frac {\rho }{\epsilon _{0}}},\quad \nabla \times \mathbf {B} -{\frac {1}{c^{2}}}{\frac {\partial \mathbf {E} }{\partial t}}=\mu _{0}\mathbf {J}$
and reduce to the inhomogeneous Maxwell equation:
    $\partial _{\alpha }F^{\beta \alpha }=-\mu _{0}J^{\beta }$, where $J^{\alpha }=(c\rho ,\mathbf {J} )$ is the four-current.
In magnetostatics and magnetodynamics, Gauss's law for magnetism and Maxwell–Faraday equation are respectively:
    $\nabla \cdot \mathbf {B} =0,\quad {\frac {\partial \mathbf {B} }{\partial t}}+\nabla \times \mathbf {E} =\mathbf {0}$
which reduce to the Bianchi identity:
    $\partial _{\gamma }F_{\alpha \beta }+\partial _{\alpha }F_{\beta \gamma }+\partial _{\beta }F_{\gamma \alpha }=0$
or using the index notation with square brackets for the antisymmetric part of the tensor:
    $\partial _{[\alpha }F_{\beta \gamma ]}=0$
Using the expression relating the Faraday tensor to the four-potential, one can prove that the above antisymmetric quantity turns to zero identically ($\equiv 0$). This tensor equation reproduces the homogeneous Maxwell's equations.

## Relativity

The field tensor derives its name from the fact that the electromagnetic field is found to obey the tensor transformation law, this general property of physical laws being recognised after the advent of special relativity. This theory stipulated that all the laws of physics should take the same form in all coordinate systems – this led to the introduction of tensors. The tensor formalism also leads to a mathematically simpler presentation of physical laws.
The inhomogeneous Maxwell equation leads to the continuity equation:
    $\partial _{\alpha }J^{\alpha }=J^{\alpha }_{,\alpha }=0$
implying conservation of charge.
Maxwell's laws above can be generalised to curved spacetime by simply replacing partial derivatives with covariant derivatives:
    $F_{[\alpha \beta ;\gamma ]}=0$ and $F^{\alpha \beta }_{;\alpha }=\mu _{0}J^{\beta }$
where the semicolon notation represents a covariant derivative, as opposed to a partial derivative. These equations are sometimes referred to as the curved space Maxwell equations. Again, the second equation implies charge conservation (in curved spacetime):
    $J^{\alpha }_{;\alpha }\,=0$

## Lagrangian formulation of classical electromagnetism

Classical electromagnetism and Maxwell's equations can be derived from the action: ${\mathcal {S}}=\int \left(-{\begin{matrix}{\frac {1}{4\mu _{0}}}\end{matrix}}F_{\mu \nu }F^{\mu \nu }-J^{\mu }A_{\mu }\right)\mathrm {d} ^{4}x\,$ where $\mathrm {d} ^{4}x$ is over space and time.
This means the Lagrangian density is
    ${\begin{aligned}{\mathcal {L}}&=-{\frac {1}{4\mu _{0}}}F_{\mu \nu }F^{\mu \nu }-J^{\mu }A_{\mu }\\&=-{\frac {1}{4\mu _{0}}}\left(\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }\right)\left(\partial ^{\mu }A^{\nu }-\partial ^{\nu }A^{\mu }\right)-J^{\mu }A_{\mu }\\&=-{\frac {1}{4\mu _{0}}}\left(\partial _{\mu }A_{\nu }\partial ^{\mu }A^{\nu }-\partial _{\nu }A_{\mu }\partial ^{\mu }A^{\nu }-\partial _{\mu }A_{\nu }\partial ^{\nu }A^{\mu }+\partial _{\nu }A_{\mu }\partial ^{\nu }A^{\mu }\right)-J^{\mu }A_{\mu }\\\end{aligned}}$
The two middle terms in the parentheses are the same, as are the two outer terms, so the Lagrangian density is
    ${\mathcal {L}}=-{\frac {1}{2\mu _{0}}}\left(\partial _{\mu }A_{\nu }\partial ^{\mu }A^{\nu }-\partial _{\nu }A_{\mu }\partial ^{\mu }A^{\nu }\right)-J^{\mu }A_{\mu }.$
Substituting this into the Euler–Lagrange equation of motion for a field:
    $\partial _{\mu }\left({\frac {\partial {\mathcal {L}}}{\partial (\partial _{\mu }A_{\nu })}}\right)-{\frac {\partial {\mathcal {L}}}{\partial A_{\nu }}}=0$
So the Euler–Lagrange equation becomes:
    $-\partial _{\mu }{\frac {1}{\mu _{0}}}\left(\partial ^{\mu }A^{\nu }-\partial ^{\nu }A^{\mu }\right)+J^{\nu }=0.\,$
The quantity in parentheses above is just the field tensor, so this finally simplifies to
    $\partial _{\mu }F^{\mu \nu }=\mu _{0}J^{\nu }$
That equation is another way of writing the two inhomogeneous Maxwell's equations (namely, Gauss's law and Ampère's circuital law) using the substitutions:
    ${\begin{aligned}{\frac {1}{c}}E^{i}&=-F^{0i}\\\epsilon ^{ijk}B_{k}&=-F^{ij}\end{aligned}}$
where i, j, k take the values 1, 2, and 3.

### Hamiltonian form

The Hamiltonian density can be obtained with the usual relation,
    ${\mathcal {H}}(\phi ^{i},\pi _{i})=\pi _{i}{\dot {\phi }}^{i}(\phi ^{i},\pi _{i})-{\mathcal {L}}$.

### Quantum electrodynamics and field theory

The Lagrangian of quantum electrodynamics extends beyond the classical Lagrangian established in relativity to incorporate the creation and annihilation of photons (and electrons):
    ${\mathcal {L}}={\bar {\psi }}\left(i\hbar c\,\gamma ^{\alpha }D_{\alpha }-mc^{2}\right)\psi -{\frac {1}{4\mu _{0}}}F_{\alpha \beta }F^{\alpha \beta },$
where the first part in the right hand side, containing the Dirac spinor $\psi$, represents the Dirac field. In quantum field theory it is used as the template for the gauge field strength tensor. By being employed in addition to the local interaction Lagrangian it reprises its usual role in QED.