# Levi-Civita symbol

(Redirected from Levi-Civita tensor)
Not to be confused with Levi-Civita connection.

In mathematics, particularly in linear algebra, tensor analysis, and differential geometry, the Levi-Civita symbol represents a collection of numbers; defined from the sign of a permutation of the natural numbers 1, 2, …, n, for some positive integer n. It is named after the Italian mathematician and physicist Tullio Levi-Civita. Other names include the permutation symbol, antisymmetric symbol, or alternating symbol, which refer to its antisymmetric property and definition in terms of permutations.

The standard letters to denote the Levi-Civita symbol are the Greek lower case epsilon ε or ϵ, or less commonly the Latin lower case e. Index notation allows one to display permutations in a way compatible with tensor analysis:

$\varepsilon_{i_1 i_2 \cdots i_n}$

where each index i1, i2, …, in takes values 1, 2, …, n. There are nn indexed values of $\varepsilon_{i_1i_2\cdots i_n}$, which can be arranged into an n-dimensional array. The key definitive property of the symbol is total antisymmetry in all the indices. When any two indices are interchanged, equal or not, the symbol is negated:

$\varepsilon_{\cdots i_p \cdots i_q \cdots }=-\varepsilon_{\cdots i_q \cdots i_p \cdots } .$

If any two indices are equal, the symbol is zero. When all indices are unequal, we have:

$\varepsilon_{i_1 i_2 \cdots i_n} = (-1)^p \varepsilon_{1 2 \cdots n} ,$

where p (called the parity of the permutation) is the number of interchanges of indices necessary to unscramble i1, i2, …, in into the order 1, 2, …, n, and the factor (−1)p is called the sign or signature of the permutation. The value ε12…n must be defined, else the particular values of the symbol for all permutations are indeterminate. Most authors choose ε12…n = +1, which means the Levi-Civita symbol equals the sign of a permutation when the indices are all unequal. This choice is used throughout this article.

The term "n-dimensional Levi-Civita symbol" refers to the fact that the number of indices on the symbol n matches the dimensionality of the relevant vector space in question, which may be Euclidean or non-Euclidean, pure space or spacetime. The values of the Levi-Civita symbol are independent of any metric tensor and coordinate system.

The Levi-Civita symbol may be used to express the determinant of a square matrix and the cross product of two vectors in 3d Euclidean space.

## Definition

The common dimensionalities of the Levi-Civita symbol are in 3d and 4d, and to some extent 2d, so it is useful to see these definitions before the general one in any number of dimensions.

### Two dimensions

The two-dimensional Levi-Civita symbol is defined by:

$\varepsilon_{ij} = \begin{cases} +1 & \text{if } (i,j) \text{ is } (1,2) \\ -1 & \text{if } (i,j) \text{ is } (2,1) \\ \;\;\,0 & \text{if }i=j \end{cases}$

The values can be arranged into a 2 × 2 antisymmetric matrix:

$\begin{pmatrix} \varepsilon_{11} & \varepsilon_{12} \\ \varepsilon_{21} & \varepsilon_{22} \end{pmatrix} = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}$

Use of the 2d symbol is relatively uncommon, although in certain specialized topics like supersymmetry[1] and twistor theory[2] it appears in the context of 2-spinors. The 3d and higher-dimensional Levi-Civita symbols are used more commonly.

### Three dimensions

For the indices (i, j, k) in εijk, the values 1, 2, 3 occurring in the cyclic order (1,2,3) (yellow) correspond to ε = +1, while occurring in the reverse cyclic order (red) correspond to ε = −1, otherwise ε = 0.

In three dimensions, the Levi-Civita symbol is defined as follows:[3]

$\varepsilon_{ijk} = \begin{cases} +1 & \text{if } (i,j,k) \text{ is } (1,2,3), (2,3,1) \text{ or } (3,1,2), \\ -1 & \text{if } (i,j,k) \text{ is } (3,2,1), (1,3,2) \text{ or } (2,1,3), \\ \;\;\,0 & \text{if }i=j \text{ or } j=k \text{ or } k=i \end{cases}$

i.e. $\varepsilon_{ijk}$ is 1 if (i, j, k) is an even permutation of (1,2,3), −1 if it is an odd permutation, and 0 if any index is repeated. In three dimensions, and not higher, the cyclic permutations of (1,2,3) are all even permutations, similarly the anticyclic permutations are all odd permutations. This means in 3d it is sufficient to take cyclic or anticyclic permutations of (1,2,3) and easily obtain all the even or odd permutations.

Analogous to 2d matrices, the values of the 3d Levi-Civita symbol can be arranged into a 3×3×3 array:

where i is the depth, j the row and k the column.

Some examples:

$\varepsilon_{\color{BrickRed}{1}\color{Violet}{3}\color{Orange}{2}} = -\varepsilon_{\color{BrickRed}{1}\color{Orange}{2}\color{Violet}{3}} = - 1$
$\varepsilon_{\color{Violet}{3}\color{BrickRed}{1}\color{Orange}{2}} = -\varepsilon_{\color{Orange}{2}\color{BrickRed}{1}\color{Violet}{3}} = -(-\varepsilon_{\color{BrickRed}{1}\color{Orange}{2}\color{Violet}{3}}) = 1$
$\varepsilon_{\color{Orange}{2}\color{Violet}{3}\color{BrickRed}{1}} = -\varepsilon_{\color{BrickRed}{1}\color{Violet}{3}\color{Orange}{2}} = -(-\varepsilon_{\color{BrickRed}{1}\color{Orange}{2}\color{Violet}{3}}) = 1$
$\varepsilon_{\color{Orange}{2}\color{Violet}{3}\color{Orange}{2}} = -\varepsilon_{\color{Orange}{2}\color{Violet}{3}\color{Orange}{2}} = 0$

### Four dimensions

In four dimensions, the Levi-Civita symbol is defined as:

$\varepsilon_{ijkl } = \begin{cases} +1 & \text{if }(i,j,k,l) \text{ is an even permutation of } (1,2,3,4) \\ -1 & \text{if }(i,j,k,l) \text{ is an odd permutation of } (1,2,3,4) \\ 0 & \text{otherwise} \end{cases}$

These values can be arranged into a 4×4×4×4 array, although in 4d and higher this is difficult to draw.

Some examples:

$\varepsilon_{\color{BrickRed}{1}\color{RedViolet}{4}\color{Violet}{3}\color{Orange}{\color{Orange}{2}}} = -\varepsilon_{\color{BrickRed}{1}\color{Orange}{\color{Orange}{2}}\color{Violet}{3}\color{RedViolet}{4}} = - 1$
$\varepsilon_{\color{Orange}{\color{Orange}{2}}\color{BrickRed}{1}\color{Violet}{3}\color{RedViolet}{4}} = -\varepsilon_{\color{BrickRed}{1}\color{Orange}{\color{Orange}{2}}\color{Violet}{3}\color{RedViolet}{4}} = -1$
$\varepsilon_{\color{RedViolet}{4}\color{Violet}{3}\color{Orange}{\color{Orange}{2}}\color{BrickRed}{1}} = -\varepsilon_{\color{BrickRed}{1}\color{Violet}{3}\color{Orange}{\color{Orange}{2}}\color{RedViolet}{4}} = -(-\varepsilon_{\color{BrickRed}{1}\color{Orange}{\color{Orange}{2}}\color{Violet}{3}\color{RedViolet}{4}}) = 1$
$\varepsilon_{\color{Violet}{3}\color{Orange}{\color{Orange}{2}}\color{RedViolet}{4}\color{Violet}{3}} = -\varepsilon_{\color{Violet}{3}\color{Orange}{\color{Orange}{2}}\color{RedViolet}{4}\color{Violet}{3}} = 0$

### Generalization to n dimensions

The Levi-Civita symbol can be generalized to n dimensions:[4]

$\varepsilon_{a_1 a_2 a_3 \ldots a_n} = \begin{cases} +1 & \text{if }(a_1 , a_2 , a_3 , \ldots , a_n) \text{ is an even permutation of } (1,2,3,\dots,n) \\ -1 & \text{if }(a_1 , a_2 , a_3 , \ldots , a_n) \text{ is an odd permutation of } (1,2,3,\dots,n) \\ 0 & \text{otherwise} \end{cases}$

Thus, it is the sign of the permutation in the case of a permutation, and zero otherwise.

Using the capital Pi notation $\prod$ for ordinary multiplication of numbers, an explicit expression for the symbol is:

\begin{align} \varepsilon_{a_1 a_2 a_3 \ldots a_n} & = \prod_{1\leq i < j \leq n} \sgn ( a_j-a_i ) \\ & = \sgn(a_2 - a_1)\sgn(a_3 - a_1)\ldots\sgn(a_n - a_1)\sgn(a_3 - a_2)\sgn(a_4 - a_2)\ldots\sgn(a_n - a_2)\ldots\sgn(a_n - a_{n-1}) \end{align}

where the product is totally antisymmetric in all indices, and the sign function (denoted by "sgn") extracts the sign of each difference discarding the absolute value. The formula is true for all index values, and for any n (when n = 1 or 0, this is the empty product). However, it is seldom used in practice since interchanging indices is quicker.

## Properties

A tensor whose components in an orthonormal basis are given by the Levi-Civita symbol (a tensor of covariant rank n) is sometimes called a permutation tensor. It is actually a pseudotensor because under an orthogonal transformation of jacobian determinant −1 (i.e., a rotation composed with a reflection), it acquires a minus sign. As the Levi-Civita symbol is a pseudotensor, the result of taking a cross product is a pseudovector, not a vector.[5]

Under a general coordinate change, the components of the permutation tensor are multiplied by the jacobian of the transformation matrix. This implies that in coordinate frames different from the one in which the tensor was defined, its components can differ from those of the Levi-Civita symbol by an overall factor. If the frame is orthonormal, the factor will be ±1 depending on whether the orientation of the frame is the same or not.[5]

In index-free tensor notation, the Levi-Civita symbol is replaced by the concept of the Hodge dual.

In a context of where tensor index notation is used to manipulate tensor components, the Levi-Civita symbol may be written with its indices as either subscripts or superscripts with no change in meaning, as might be convenient. Thus, one could write

$\varepsilon^{ij\dots k} = \varepsilon_{ij\dots k} .$

In these examples, superscripts should be considered equivalent with subscripts.

Summation symbols can be eliminated by using Einstein notation, where an index repeated between two or more terms indicates summation over that index. For example

$\varepsilon_{ijk} \varepsilon^{imn} \equiv \sum_{i=1,2,3} \varepsilon_{ijk} \varepsilon^{imn}$.

In the following examples, Einstein notation is used.

### Two dimensions

In two dimensions, when all i, j, m, n each take the values 1 and 2,[3]

$\varepsilon_{ij} \varepsilon^{mn} = \delta_i {}^m \delta_j {}^n - \delta_i {}^n \delta_j {}^m$

(1)

$\varepsilon_{ij} \varepsilon^{in} = \delta_j{}^n$

(2)

$\varepsilon_{ij} \varepsilon^{ij} = 2.$

(3)

### Three dimensions

Index and symbol values

In three dimensions, when all i, j, k, m, n each take values 1, 2, and 3:[3]

$\varepsilon_{ijk} \varepsilon^{imn}=\delta_j{}^{m}\delta_k{}^n - \delta_j{}^n\delta_k{}^m$

(4)

$\varepsilon_{jmn} \varepsilon^{imn}=2\delta^i_j$

(5)

$\varepsilon_{ijk} \varepsilon^{ijk}=6.$

(6)

Product

The Levi-Civita symbol is related to the Kronecker delta. In three dimensions, the relationship is given by the following equations (vertical lines denote the determinant):[4]

\begin{align} \varepsilon_{ijk}\varepsilon_{lmn} & = \begin{vmatrix} \delta_{il} & \delta_{im}& \delta_{in}\\ \delta_{jl} & \delta_{jm}& \delta_{jn}\\ \delta_{kl} & \delta_{km}& \delta_{kn}\\ \end{vmatrix}\\ & = \delta_{il}\left( \delta_{jm}\delta_{kn} - \delta_{jn}\delta_{km}\right) - \delta_{im}\left( \delta_{jl}\delta_{kn} - \delta_{jn}\delta_{kl} \right) + \delta_{in} \left( \delta_{jl}\delta_{km} - \delta_{jm}\delta_{kl} \right). \end{align}

A special case of this result is (4):

$\sum_{i=1}^3 \varepsilon_{ijk}\varepsilon_{imn} = \delta_{jm}\delta_{kn} - \delta_{jn}\delta_{km}$

sometimes called the "contracted epsilon identity".

In Einstein notation, the duplication of the i index implies the sum on i. The previous is then denoted: $\varepsilon_{ijk}\varepsilon_{imn} = \delta_{jm}\delta_{kn} - \delta_{jn}\delta_{km}\,.$

$\sum_{i=1}^3 \sum_{j=1}^3 \varepsilon_{ijk}\varepsilon_{ijn} = 2\delta_{kn}$

### n dimensions

Index and symbol values

In n dimensions, when all i1,...,in, j1,...,jn take values 1, 2,..., n:

$\varepsilon_{i_1 \dots i_n} \varepsilon^{j_1 \dots j_n} = n! \delta_{[ i_1}{}^{j_1} \dots \delta_{i_n ]}{}^{j_n} = \delta^{j_1 \dots j_n}_{i_1 \dots i_n}$

(7)

$\varepsilon_{i_1 \dots i_k~i_{k+1}\dots i_n} \varepsilon^{i_1 \dots i_k~j_{k+1}\dots j_n}= k!(n-k)!~\delta_{[ i_{k+1}}{}^{j_{k+1}} \dots \delta_{i_n ]}{}^{j_n} = k!~\delta^{j_{k+1} \dots j_n}_{i_{k+1} \dots i_n}$

(8)

$\varepsilon_{i_1 \dots i_n}\varepsilon^{i_1 \dots i_n} = n!$

(9)

where the exclamation mark (!) denotes the factorial, and δα…
β…
is the generalized Kronecker delta. For any n, the property

$\sum_{i,j,k,\dots=1}^n \varepsilon_{ijk\dots}\varepsilon_{ijk\dots} = n!$

follows from the facts that

• every permutation is either even or odd,
• (+1)2 = (−1)2 = 1, and
• the number of permutations of any n-element set number is exactly n!.
Product

In general, for n dimensions, one can write the product of two Levi-Civita symbols as:

$\varepsilon_{i_1 i_2 \dots i_n} \varepsilon_{j_1 j_2 \dots j_n} = \begin{vmatrix} \delta_{i_1 j_1} & \delta_{i_1 j_2} & \dots & \delta_{i_1 j_n} \\ \delta_{i_2 j_1} & \delta_{i_2 j_2} & \dots & \delta_{i_2 j_n} \\ \vdots & \vdots & \ddots & \vdots \\ \delta_{i_n j_1} & \delta_{i_n j_2} & \dots & \delta_{i_n j_n} \\ \end{vmatrix}$.

### Proofs

For (1), both sides are antisymmetric with respect of ij and mn. We therefore only need to consider the case ij and mn. By substitution, we see that the equation holds for $\varepsilon_{12} \varepsilon^{12}$, i.e., for i = m = 1 and j = n = 2. (Both sides are then one). Since the equation is antisymmetric in ij and mn, any set of values for these can be reduced to the above case (which holds). The equation thus holds for all values of ij and mn.

Using (1), we have for (2)

$\varepsilon_{ij} \varepsilon^{in} = \delta_i{}^i \delta_j{}^n - \delta_i{}^n \delta_j{}^i = 2 \delta_j{}^n - \delta_j{}^n = \delta_j{}^n \,.$

Here we used the Einstein summation convention with i going from 1 to 2. Next, (3) follows similarly from (2).

To establish (5), notice that both sides vanish when ij. Indeed, if ij, then one can not choose m and n such that both permutation symbols on the left are nonzero. Then, with i = j fixed, there are only two ways to choose m and n from the remaining two indices. For any such indices, we have

$\varepsilon_{jmn} \varepsilon^{imn} = (\varepsilon^{imn})^2 = 1$

(no summation), and the result follows.

Then (6) follows since 3! = 6 and for any distinct indices i, j, k taking values 1, 2, 3, we have

$\varepsilon_{ijk} \varepsilon^{ijk}=1$ (no summation, distinct i, j, k ).

## Applications and examples

### Determinants

In linear algebra, the determinant of a 3 × 3 square matrix A = (aij) can be written[6]

$\det(\mathbf{A}) = \sum_{i=1}^3 \sum_{j=1}^3 \sum_{k=1}^3 \varepsilon_{ijk} a_{1i} a_{2j} a_{3k}$

Similarly the determinant of an n × n matrix A = (aij) can be written as[5]

$\det(\mathbf{A}) = \varepsilon_{i_1\cdots i_n} a_{1i_1} \cdots a_{ni_n},$

where each ir should be summed over 1,..., n, or equivalently:

$\det(\mathbf{A}) = \frac{1}{n!} \varepsilon_{i_1\cdots i_n} \varepsilon_{j_1\cdots j_n} a_{i_1 j_1} \cdots a_{i_n j_n},$

where now each ir and each jr should be summed over 1,.., n. More generally, we have the identity[5]

$\sum_{i_1,i_2,\dots}\varepsilon_{i_1\cdots i_n} a_{i_1 \, j_1} \cdots a_{i_n \, j_n} = \det(\mathbf{A}) \varepsilon_{j_1\cdots j_n}$

### Vector cross product

Main article: cross product

#### Cross product (two vectors)

If a = (a1, a2, a3) and b = (b1, b2, b3) are vectors in $\mathbb{R}^3$ (represented in some right-handed coordinate system using an orthonormal basis), their cross product can be written as a determinant:[5]

$\mathbf{a \times b} = \begin{vmatrix} \mathbf{e_1} & \mathbf{e_2} & \mathbf{e_3} \\ a^1 & a^2 & a^3 \\ b^1 & b^2 & b^3 \\ \end{vmatrix} = \sum_{i=1}^3 \sum_{j=1}^3 \sum_{k=1}^3 \varepsilon_{ijk} \mathbf{e}_i a^j b^k$

hence also using the Levi-Civita symbol, and more simply:

$(\mathbf{a \times b})_i = \sum_{j=1}^3 \sum_{k=1}^3 \varepsilon_{ijk} a^j b^k.$

In Einstein notation, the summation symbols may be omitted, and the ith component of their cross product equals[4]

$(\mathbf{a\times b})_i = \varepsilon_{ijk} a^j b^k.$

The first component is

$(\mathbf{a\times b})_1 = a^2 b^3-a^3 b^2\,,$

then by cyclic permutations of 1, 2, 3 the others can be derived immediately, without explicitly calculating them from the above formulae:

$(\mathbf{a\times b})_2 = a^3 b^1-a^1 b^3\,,$
$(\mathbf{a\times b})_3 = a^1 b^2-a^2 b^1\,.$

#### Triple scalar product (three vectors)

From the above expression for the cross product, we have:

$\mathbf{a\times b} = -\mathbf{b\times a}$.

If c = (c1, c2, c3) is another vector, then the triple scalar product equals

$\mathbf{a}\cdot(\mathbf{b\times c}) = \varepsilon_{ijk} a^i b^j c^k.$

From this expression, it can be seen that the triple scalar product is antisymmetric when exchanging any pair of arguments. For example,

$\mathbf{a}\cdot(\mathbf{b\times c})= -\mathbf{b}\cdot(\mathbf{a\times c})$.

#### Curl (one vector field)

If F = (F1, F2, F3) is a vector field defined on some open set of $\mathbb{R}^3$ as a function of position x = (x1, x2, x3) (using Cartesian coordinates). Then the ith component of the curl of F equals[4]

$(\nabla \times \mathbf{F})^i(\mathbf{x}) = \varepsilon^{ijk}\frac{\partial}{\partial x^j} F^k(\mathbf{x}),$

which follows from the cross product expression above, substituting components of the gradient vector operator (nabla).

## Tensor density

In any arbitrary curvilinear coordinate system and even in the absence of a metric on the manifold, the Levi-Civita symbol as defined above may be considered to be a tensor density field in two different ways. It may be regarded as a contravariant tensor density of weight +1 or as a covariant tensor density of weight −1. In n dimensions using the generalized Kronecker delta,[7]

$\varepsilon^{\mu_1 \cdots \mu_n} = \delta^{\mu_1 \cdots \mu_n}_{\,1 \,\cdots \,n} \,$
$\varepsilon_{\nu_1 \cdots \nu_n} = \delta^{\,1 \,\cdots \,n}_{\nu_1 \cdots \nu_n} \,.$

Notice that these are numerically identical. In particular, the sign is the same.

## Levi-Civita tensors

On a pseudo-Riemannian manifold, one may define coordinate-invariant covariant and contravariant tensor fields whose coordinate representations agree with the Levi-Civita symbol wherever the coordinate system is such that the basis of the tangent space is orthonormal with respect to the metric and matches a selected orientation. These tensors should not be confused with each other, nor should they be confused with the tensor density fields mentioned above. The covariant Levi-Civita tensor (also known as the Riemannian volume form) in a given coordinate system is

$E_{a_1\cdots a_n} = \sqrt{|\det [g_{ab}]|} \varepsilon_{a_1\cdots a_n} \,,$

where $g_{ab}$ is the representation of the metric in that coordinate system. This tensor may be converted to the contravariant tensor by raising the indices with the metric as usual, but a minus sign is needed if the metric signature contains an odd number of negatives.

$E^{a_1\cdots a_n} = (-1)^s E_{b_1\cdots b_n} \prod_{i=1}^n g^{a_i b_i} \,,$

where s is the number of negatives in the signature. This results in the following:

$E^{a_1\cdots a_n} = \frac 1 {\sqrt{|\det [g_{ab}]|}} \varepsilon^{a_1\cdots a_n} \,$

### Example: Minkowski Space

In Minkowski space (the four-dimensional spacetime of special relativity), the covariant Levi-Civita tensor is

$E_{\alpha \beta \gamma \delta} = \sqrt{|\det [g_{\mu \nu}]|} \varepsilon_{\alpha \beta \gamma \delta} \,,$

but the contravariant Levi-Civita tensor is

$E^{\alpha \beta \gamma \delta} = - g^{\alpha \zeta} g^{\beta \eta} g^{\gamma \theta} g^{\delta \iota} E_{\zeta \eta \theta \iota} \,.$

Notice the minus sign. The following are identities.

$E^{\alpha \beta \gamma \delta} E^{\rho \sigma \mu \nu} = - g^{\alpha \zeta} g^{\beta \eta} g^{\gamma \theta} g^{\delta \iota} \delta^{\rho \sigma \mu \nu}_{\zeta \eta \theta \iota} \,$
$E_{\alpha \beta \gamma \delta} E_{\rho \sigma \mu \nu} = - g_{\alpha \zeta} g_{\beta \eta} g_{\gamma \theta} g_{\delta \iota} \delta^{\zeta \eta \theta \iota}_{\rho \sigma \mu \nu} \,$
$E^{\alpha \beta \gamma \delta} E_{\rho \beta \gamma \delta} = 6 \delta^{\alpha}_{\rho} \,.$
$E^{\alpha \beta \gamma \delta} E_{\rho \sigma \gamma \delta} = 2 \delta^{\alpha \beta}_{\rho \sigma} \,.$
$E^{\alpha \beta \gamma \delta} E_{\rho \sigma \theta \delta} = \delta^{\alpha \beta \gamma}_{\rho \sigma \theta} \,.$

2. ^ F. Hadrovich. "Twistor Primer". Retrieved 03/09/2013. Check date values in: |accessdate= (help)