Ricci calculus

In mathematics, **Ricci calculus** constitutes the rules of index notation and manipulation for tensors and tensor fields. It is also the modern name for what used to be called the **absolute differential calculus** (the foundation of tensor calculus), developed by Gregorio Ricci-Curbastro in 1887–1896, and subsequently popularized in a paper written with his pupil Tullio Levi-Civita in 1900. Jan Arnoldus Schouten developed the modern notation and formalism for this mathematical framework, and made contributions to the theory, during its applications to general relativity and differential geometry in the early twentieth century.

A component of a tensor is a real number that is used as a coefficient of a basis element for the tensor space. The tensor is the sum of its components multiplied by their corresponding basis elements. Tensors and tensor fields can be expressed in terms of their components, and operations on tensors and tensor fields can be expressed in terms of operations on their components. The description of tensor fields and operations on them in terms of their components is the focus of the Ricci calculus. This notation allows an efficient expression of such tensor fields and operations. While much of the notation may be applied with any tensors, operations relating to a differential structure are only applicable to tensor fields. Where needed, the notation extends to components of non-tensors, particularly multidimensional arrays.

A tensor may be expressed as a linear sum of the tensor product of vector and covector basis elements. The resulting tensor components are labelled by indices of the basis. Each index has one possible value per dimension of the underlying vector space. The number of indices equals the degree (or order) of the tensor.

For compactness and convenience, the notational convention implies summation over indices repeated within a term and universal quantification over free indices. Expressions in the notation of the Ricci calculus may generally be interpreted as a set of simultaneous equations relating the components as functions over a manifold, usually more specifically as functions of the coordinates on the manifold. This allows intuitive manipulation of expressions with familiarity of only a limited set of rules.

### Basis-related distinctions

#### Space and time coordinates

Where a distinction is to be made between the space-like basis elements and a time-like element in the four-dimensional spacetime of classical physics, this is conventionally done through indices as follows:

* The lowercase Latin alphabet *a*, *b*, *c*, ... is used to indicate restriction to 3-dimensional Euclidean space, which take values 1, 2, 3 for the spatial components; and the time-like element, indicated by 0, is shown separately.
* The lowercase Greek alphabet *α*, *β*, *γ*, ... is used for 4-dimensional spacetime, which typically take values 0 for time components and 1, 2, 3 for the spatial components.

Some sources use 4 instead of 0 as the index value corresponding to time; in this article, 0 is used. Otherwise, in general mathematical contexts, any symbols can be used for the indices, generally running over all dimensions of the vector space.

#### Coordinate and index notation

The author(s) will usually make it clear whether a subscript is intended as an index or as a label.

For example, in 3-D Euclidean space and using Cartesian coordinates; the coordinate vector **A** = (*A*1, *A*2, *A*3) = (*A*x, *A*y, *A*z) shows a direct correspondence between the subscripts 1, 2, 3 and the labels x, y, z. In the expression *Ai*, *i* is interpreted as an index ranging over the values 1, 2, 3, while the x, y, z subscripts are not variable indices, more like "names" for the components. In the context of spacetime, the index value 0 conventionally corresponds to the label t.

#### Reference to basis

Indices themselves may be *labelled* using diacritic-like symbols, such as a hat (ˆ), bar (¯), tilde (˜), or prime (′) as in:

X

ϕ
^

,

Y

λ
¯

,

Z

η
~

,

T

μ
′

{\displaystyle X\_{\hat{\phi}}\,, Y\_{\bar{\lambda}}\,, Z\_{\tilde{\eta}}\,, T\_{\mu'} }

to denote a possibly different basis for that index. An example is in Lorentz transformations from one frame of reference to another, where one frame could be unprimed and the other primed, as in:

v

μ
′

=

v

ν

L
ν

μ
′

.

{\displaystyle v^{\mu'} = v^{\nu}L\_\nu{}^{\mu'} .}

This is not to be confused with van der Waerden notation for spinors, which uses hats and overdots on indices to reflect the chirality of a spinor.

### Upper and lower indices

Ricci calculus, and index notation more generally, distinguishes between lower indices (subscripts) and upper indices (superscripts); the latter are *not* exponents, even though they may look as such to the reader only familiar with other parts of mathematics.

It is in special cases (that the metric tensor is everywhere equal to the identity matrix) possible to drop the distinction between upper and lower indices, and then all indices could be written in the lower position – coordinate formulae in linear algebra such as

a

i
j

b

j
k

{\displaystyle a\_{ij} b\_{jk} }

 for the product of matrices can sometimes be understood as examples of this – but in general the notation requires that the distinction between upper and lower indices is observed and maintained.

#### Covariant tensor components

A *lower index* (subscript) indicates covariance of the components with respect to that index:

A

α
β
γ
⋯

{\displaystyle A\_{\alpha\beta\gamma \cdots}}

#### Contravariant tensor components

An *upper index* (superscript) indicates contravariance of the components with respect to that index:

A

α
β
γ
⋯

{\displaystyle A^{\alpha\beta\gamma \cdots}}

#### Mixed-variance tensor components

A tensor may have both upper and lower indices:

A

α

β

γ

δ
⋯

.

{\displaystyle A\_{\alpha}{}^{\beta}{}\_{\gamma}{}^{\delta\cdots}.}

Ordering of indices is significant, even when of differing variance. However, when it is understood that no indices will be raised or lowered while retaining the base symbol, covariant indices are sometimes placed below contravariant indices for notational convenience (e.g. with the generalized Kronecker delta).

#### Tensor type and degree

The number of each upper and lower indices of a tensor gives its *type*: a tensor with *p* upper and *q* lower indices is said to be of type (*p*, *q*), or to be a type-(*p*, *q*) tensor.

The number of indices of a tensor, regardless of variance, is called the *degree* of the tensor (alternatively, its *valence*, *order* or *rank*, although *rank* is ambiguous). Thus, a tensor of type (*p*, *q*) has degree *p* + *q*.

#### Summation convention

The same symbol occurring twice (one upper and one lower) within a term indicates a pair of indices that are summed over:

A
α

B
α

≡

∑
α

A

α

B
α

or

A
α

B
α

≡

∑
α

A

α

B
α

.

{\displaystyle A\_\alpha B^\alpha \equiv \sum\_\alpha A\_{\alpha}B^\alpha \quad \text{or} \quad A^\alpha B\_\alpha \equiv \sum\_\alpha A^{\alpha}B\_\alpha \,.}

The operation implied by such a summation is called tensor contraction:

A
α

B
β

→

A
α

B
α

≡

∑
α

A

α

B
α

.

{\displaystyle A\_\alpha B^\beta \rightarrow A\_\alpha B^\alpha \equiv \sum\_\alpha A\_{\alpha}B^\alpha \,.}

This summation may occur more than once within a term with a distinct symbol per pair of indices, for example:

A

α

γ

B
α

C
γ

β

≡

∑
α

∑
γ

A

α

γ

B
α

C
γ

β

.

{\displaystyle A\_{\alpha}{}^\gamma B^\alpha C\_\gamma{}^\beta \equiv \sum\_\alpha \sum\_\gamma A\_{\alpha}{}^\gamma B^\alpha C\_\gamma{}^\beta \,.}

Other combinations of repeated indices within a term are considered to be ill-formed, such as

A

α
α

γ

{\displaystyle A\_{\alpha\alpha}{}^{\gamma} \qquad }

α

{\displaystyle \alpha}

 are lower;

A
α

α
γ

{\displaystyle A\_\alpha{}^{\alpha\gamma}}

A

α
γ

γ

B
α

C

γ

β

{\displaystyle A\_{\alpha\gamma}{}^{\gamma} B^\alpha C\_{\gamma}{}^{\beta} }

γ

{\displaystyle \gamma}

 occurs twice as a lower index;

A

α
γ

γ

B
α

{\displaystyle A\_{\alpha\gamma}{}^{\gamma} B^\alpha }

 or

A

α
δ

γ

B
α

C

γ

β

{\displaystyle A\_{\alpha\delta}{}^{\gamma} B^\alpha C\_{\gamma}{}^{\beta} }

 would be fine).

The reason for excluding such formulae is that although these quantities could be computed as arrays of numbers, they would not in general transform as tensors under a change of basis.

#### Multi-index notation

If a tensor has a list of all upper or lower indices, one shorthand is to use a capital letter for the list:

A

i
1

⋯

i
n

B

i
1

⋯

i
n

j
1

⋯

j
m

C

j
1

⋯

j
m

≡

A
I

B

I
J

C
J

{\displaystyle A\_{i\_1 \cdots i\_n}B^{i\_1 \cdots i\_n j\_1 \cdots j\_m}C\_{j\_1 \cdots j\_m} \equiv A\_I B^{IJ} C\_J }

where *I* = *i*1 *i*2 ⋅⋅⋅ *in* and *J* = *j*1 *j*2 ⋅⋅⋅ *jm*.

#### Sequential summation

A pair of vertical bars | | around a set of all-upper indices or all-lower indices, associated with contraction with another set of indices:

A

α
β
γ

⋯

B

α
β
γ
⋯

=

A

α
β
γ
⋯

B

α
β
γ

⋯

=

∑

α
<
β
<
γ

A

α
β
γ
⋯

B

α
β
γ
⋯

{\displaystyle
 A\_{|\alpha \beta \gamma| \cdots} B^{\alpha\beta\gamma \cdots} =
 A\_{\alpha \beta \gamma \cdots} B^{|\alpha\beta\gamma| \cdots} =
 \sum\_{\alpha < \beta < \gamma} A\_{\alpha \beta \gamma \cdots} B^{\alpha\beta\gamma \cdots}
}

means a restricted sum over index values, where each index is constrained to being strictly less than the next. The vertical bars are placed around either the upper set or the lower set of contracted indices, not both sets. Normally when contracting indices, the sum is over all values. In this notation, the summations are restricted as a computational convenience. This is useful when the expression is completely antisymmetric in each of the two sets of indices, as might occur on the tensor product of a *p*-vector with a *q*-form. More than one group can be summed in this way, for example:

A

α
β
γ

δ
ϵ
⋯
λ

B

α
β
γ

δ
ϵ
⋯
λ

μ
ν
⋯
ζ

C

μ
ν
⋯
ζ

=

∑

α
<
β
<
γ

∑

δ
<
ϵ
<
⋯
<
λ

∑

μ
<
ν
<
⋯
<
ζ

A

α
β
γ

δ
ϵ
⋯
λ

B

α
β
γ

δ
ϵ
⋯
λ
μ
ν
⋯
ζ

C

μ
ν
⋯
ζ

{\displaystyle \begin{align}
 B^{\alpha \beta\gamma}{}\_{\delta\epsilon\cdots\lambda|\mu \nu \cdots\zeta|}
 C^{\mu\nu\cdots \zeta} \\[3pt]
 ={} &\sum\_{\alpha < \beta < \gamma}~\sum\_{\delta < \epsilon < \cdots < \lambda}~\sum\_{\mu < \nu < \cdots < \zeta}
 A\_{\alpha \beta\gamma}{}^{\delta\epsilon\cdots\lambda}
 B^{\alpha \beta\gamma}{}\_{\delta\epsilon\cdots\lambda\mu \nu\cdots\zeta}
 C^{\mu\nu\cdots\zeta}
\end{align}}

When using multi-index notation, an underarrow is placed underneath the block of indices:

A

P
⇁

Q
⇁

B
P

Q

R
⇁

C
R

=

∑

P
⇁

∑

Q
⇁

∑

R
⇁

A

P

Q

B
P

Q
R

C
R

{\displaystyle
 A\_{\underset{\rightharpoondown}{P}}{}^{\underset{\rightharpoondown}{Q}} B^P{}\_{Q\underset{\rightharpoondown}{R}} C^R =
 \sum\_\underset{\rightharpoondown}{P} \sum\_\underset{\rightharpoondown}{Q} \sum\_\underset{\rightharpoondown}{R} A\_{P}{}^{Q} B^P{}\_{QR} C^R }

where

P
⇁

=

α
β
γ

,

Q
⇁

=

δ
ϵ
⋯
λ

,

R
⇁

=

μ
ν
⋯
ζ

{\displaystyle
 \underset{\rightharpoondown}{P} = |\alpha \beta\gamma|\,,\quad
 \underset{\rightharpoondown}{Q} = |\delta\epsilon\cdots\lambda|\,,\quad
}

#### Raising and lowering indices

By contracting an index with a non-singular metric tensor, the type of a tensor can be changed, converting a lower index to an upper index or vice versa:

B

γ

β
⋯

=

g

γ
α

A

α
β
⋯

and

A

α
β
⋯

=

g

α
γ

B

γ

β
⋯

{\displaystyle B^{\gamma}{}\_{\beta\cdots} = g^{\gamma\alpha}A\_{\alpha\beta\cdots} \quad \text{and} \quad A\_{\alpha\beta\cdots} = g\_{\alpha\gamma}B^{\gamma}{}\_{\beta\cdots}}

The base symbol in many cases is retained (e.g. using *A* where *B* appears here), and when there is no ambiguity, repositioning an index may be taken to imply this operation.

### Correlations between index positions and invariance

This table summarizes how the manipulation of covariant and contravariant indices fit in with invariance under a passive transformation between bases, with the components of each basis set in terms of the other reflected in the first column. The barred indices refer to the final coordinate system after the transformation.

The Kronecker delta is used, see also below.

e

α
¯

=

L

α
¯

β

e
β

{\displaystyle e^\bar{\alpha} = L^\bar{\alpha}{}\_\beta e^\beta}

a

α
¯

=

a
γ

L
γ

α
¯

{\displaystyle a\_\bar{\alpha} = a\_\gamma L^\gamma{}\_\bar{\alpha}}

a

α
¯

e

α
¯

=

a
γ

L
γ

α
¯

L

α
¯

β

e
β

=

a
γ

δ
γ

β

e
β

=

a
β

e
β

{\displaystyle a\_\bar{\alpha}e^\bar{\alpha} = a\_\gamma L^\gamma{}\_\bar{\alpha} L^\bar{\alpha}{}\_\beta e^\beta = a\_\gamma \delta^\gamma{}\_\beta e^\beta = a\_\beta e^\beta}
 Vector, contravariant vector

e

α
¯

=

L
γ

α
¯

e
γ

{\displaystyle e\_\bar{\alpha} = L^\gamma{}\_\bar{\alpha} e\_\gamma}

a

α
¯

=

a
β

L

α
¯

β

{\displaystyle a^\bar{\alpha} = a^\beta L^\bar{\alpha}{}\_\beta}

a

α
¯

e

α
¯

=

a
β

L

α
¯

β

L
γ

α
¯

e
γ

=

a
β

δ
γ

β

e
γ

=

a
γ

e
γ

{\displaystyle a^\bar{\alpha}e\_\bar{\alpha} = a^\beta L^\bar{\alpha}{}\_\beta L^\gamma{}\_\bar{\alpha} e\_\gamma = a^\beta \delta^\gamma{}\_\beta e\_\gamma = a^\gamma e\_\gamma}

## General outlines for index notation and operations

Tensors are equal if and only if every corresponding component is equal; e.g., tensor *A* equals tensor *B* if and only if

A

α

β
γ

=

B

α

β
γ

{\displaystyle A^{\alpha}{}\_{\beta\gamma} = B^{\alpha}{}\_{\beta\gamma}}

for all *α*, *β*, *γ*. Consequently, there are facets of the notation that are useful in checking that an equation makes sense (an analogous procedure to dimensional analysis).

### Free and dummy indices

Indices not involved in contractions are called *free indices*. Indices used in contractions are termed *dummy indices*, or *summation indices*.

### A tensor equation represents many ordinary (real-valued) equations

The components of tensors (like *Aα*, *Bβγ* etc.) are just real numbers. Since the indices take various integer values to select specific components of the tensors, a single tensor equation represents many ordinary equations. If a tensor equality has *n* free indices, and if the dimensionality of the underlying vector space is *m*, the equality represents *mn* equations: each index takes on every value of a specific set of values.

For instance, if

A
α

B
β

γ

C

γ
δ

D
α

β

E
δ

=

T
α

β

δ

{\displaystyle A^\alpha B\_\beta{}^\gamma C\_{\gamma\delta} + D^\alpha{}\_\beta{} E\_\delta = T^\alpha{}\_\beta{}\_\delta }

is in four dimensions (that is, each index runs from 0 to 3 or from 1 to 4), then because there are three free indices (*α*, *β*, *δ*), there are 43 = 64 equations. Three of these are:

A
0

B
1

0

C

00

A
0

B
1

1

C

10

A
0

B
1

2

C

20

A
0

B
1

3

C

30

D
0

1

E
0

=

T
0

1

0

A
1

B
0

0

C

00

A
1

B
0

1

C

10

A
1

B
0

2

C

20

A
1

B
0

3

C

30

D
1

0

E
0

=

T
1

0

0

A
1

B
2

0

C

02

A
1

B
2

1

C

12

A
1

B
2

2

C

22

A
1

B
2

3

C

32

D
1

2

E
2

=

T
1

2

2

.

{\displaystyle \begin{align}
 A^0 B\_1{}^0 C\_{00} + A^0 B\_1{}^1 C\_{10} + A^0 B\_1{}^2 C\_{20} + A^0 B\_1{}^3 C\_{30} + D^0{}\_1{} E\_0 &= T^0{}\_1{}\_0 \\
 A^1 B\_0{}^0 C\_{00} + A^1 B\_0{}^1 C\_{10} + A^1 B\_0{}^2 C\_{20} + A^1 B\_0{}^3 C\_{30} + D^1{}\_0{} E\_0 &= T^1{}\_0{}\_0 \\
 A^1 B\_2{}^0 C\_{02} + A^1 B\_2{}^1 C\_{12} + A^1 B\_2{}^2 C\_{22} + A^1 B\_2{}^3 C\_{32} + D^1{}\_2{} E\_2 &= T^1{}\_2{}\_2.
\end{align}}

This illustrates the compactness and efficiency of using index notation: many equations which all share a similar structure can be collected into one simple tensor equation.

### Indices are replaceable labels

Replacing any index symbol throughout by another leaves the tensor equation unchanged (provided there is no conflict with other symbols already used). This can be useful when manipulating indices, such as using index notation to verify vector calculus identities or identities of the Kronecker delta and Levi-Civita symbol (see also below). An example of a correct change is:

A
α

B
β

γ

C

γ
δ

D
α

β

E
δ

→

A
λ

B
β

μ

C

μ
δ

D
λ

β

E
δ

,

{\displaystyle A^\alpha B\_\beta{}^\gamma C\_{\gamma\delta} + D^\alpha{}\_\beta{} E\_\delta \rightarrow A^\lambda B\_\beta{}^\mu C\_{\mu\delta} + D^\lambda{}\_\beta{} E\_\delta \,,}

whereas an erroneous change is:

A
α

B
β

γ

C

γ
δ

D
α

β

E
δ

↛

A
λ

B
β

γ

C

μ
δ

D
α

β

E
δ

.

{\displaystyle A^\alpha B\_\beta{}^\gamma C\_{\gamma\delta} + D^\alpha{}\_\beta{} E\_\delta \nrightarrow A^\lambda B\_\beta{}^\gamma C\_{\mu\delta} + D^\alpha{}\_\beta{} E\_\delta \,.}

In the first replacement, *λ* replaced *α* and *μ* replaced *γ* *everywhere*, so the expression still has the same meaning. In the second, *λ* did not fully replace *α*, and *μ* did not fully replace *γ* (incidentally, the contraction on the *γ* index became a tensor product), which is entirely inconsistent for reasons shown next.

### Indices are the same in every term

The free indices in a tensor expression always appear in the same (upper or lower) position throughout every term, and in a tensor equation the free indices are the same on each side. Dummy indices (which implies a summation over that index) need not be the same, for example:

A
α

B
β

γ

C

γ
δ

D
α

δ

E
β

=

T
α

β

δ

{\displaystyle A^\alpha B\_\beta{}^\gamma C\_{\gamma\delta} + D^\alpha{}\_\delta E\_\beta = T^\alpha{}\_\beta{}\_\delta }

as for an erroneous expression:

A
α

B
β

γ

C

γ
δ

D
α

β

γ

E
δ

.

{\displaystyle A^\alpha B\_\beta{}^\gamma C\_{\gamma\delta} + D\_\alpha{}\_\beta{}^\gamma E^\delta. }

In other words, non-repeated indices must be of the same type in every term of the equation. In the above identity, *α*, *β*, *δ* line up throughout and *γ* occurs twice in one term due to a contraction (once as an upper index and once as a lower index), and thus it is a valid expression. In the invalid expression, while *β* lines up, *α* and *δ* do not, and *γ* appears twice in one term (contraction) *and* once in another term, which is inconsistent.

### Brackets and punctuation used once where implied

When applying a rule to a number of indices (differentiation, symmetrization etc., shown next), the bracket or punctuation symbols denoting the rules are only shown on one group of the indices to which they apply.

If the brackets enclose *covariant indices* – the rule applies only to *all covariant indices enclosed in the brackets*, not to any contravariant indices which happen to be placed intermediately between the brackets.

Similarly if brackets enclose *contravariant indices* – the rule applies only to *all enclosed contravariant indices*, not to intermediately placed covariant indices.

## Symmetric and antisymmetric parts

### Symmetric part of tensor

Parentheses, ( ), around multiple indices denotes the symmetrized part of the tensor. When symmetrizing *p* indices using *σ* to range over permutations of the numbers 1 to *p*, one takes a sum over the permutations of those indices *α**σ*(*i*) for *i* = 1, 2, 3, …, *p*, and then divides by the number of permutations:

A

(

α
1

α
2

⋯

α
p

)

α

p
1

⋯

α
q

=

1

p
!

∑

σ

A

α

σ
(
1
)

⋯

α

σ
(
p
)

α

p
1

⋯

α

q

.

{\displaystyle
 A\_{(\alpha\_1\alpha\_2\cdots\alpha\_p)\alpha\_{p + 1}\cdots\alpha\_q} =
 \dfrac{1}{p!} \sum\_{\sigma} A\_{\alpha\_{\sigma(1)}\cdots\alpha\_{\sigma(p)}\alpha\_{p + 1}\cdots\alpha\_{q}} \,.
}

For example, two symmetrizing indices mean there are two indices to permute and sum over:

A

(
α
β
)
γ
⋯

=

1

2
!

(

A

α
β
γ
⋯

A

β
α
γ
⋯

)

{\displaystyle A\_{(\alpha\beta)\gamma\cdots} = \dfrac{1}{2!} \left(A\_{\alpha\beta\gamma\cdots} + A\_{\beta\alpha\gamma\cdots} \right)}

while for three symmetrizing indices, there are three indices to sum over and permute:

A

(
α
β
γ
)
δ
⋯

=

1

3
!

(

A

α
β
γ
δ
⋯

A

γ
α
β
δ
⋯

A

β
γ
α
δ
⋯

A

α
γ
β
δ
⋯

A

γ
β
α
δ
⋯

A

β
α
γ
δ
⋯

)

{\displaystyle
 A\_{(\alpha\beta\gamma)\delta\cdots} =
 \dfrac{1}{3!} \left(A\_{\alpha\beta\gamma\delta\cdots}
 + A\_{\gamma\alpha\beta\delta\cdots}
 + A\_{\beta\gamma\alpha\delta\cdots}
 + A\_{\alpha\gamma\beta\delta\cdots}
 + A\_{\gamma\beta\alpha\delta\cdots}
 + A\_{\beta\alpha\gamma\delta\cdots}
 \right)
}

The symmetrization is distributive over addition;

A

(
α

(

B

β
)
γ
⋯

C

β
)
γ
⋯

)

=

A

(
α

B

β
)
γ
⋯

A

(
α

C

β
)
γ
⋯

{\displaystyle A\_{(\alpha} \left(B\_{\beta)\gamma\cdots} + C\_{\beta)\gamma\cdots} \right) = A\_{(\alpha}B\_{\beta)\gamma\cdots} + A\_{(\alpha}C\_{\beta)\gamma\cdots}}

Indices are not part of the symmetrization when they are:

* not on the same level, for example;

A

(
α

B

β

γ
)

=

1

2
!

(

A

α

B

β

γ

A

γ

B

β

α

)

{\displaystyle A\_{(\alpha}B^{\beta}{}\_{\gamma)} = \dfrac{1}{2!} \left(A\_{\alpha}B^{\beta}{}\_{\gamma} + A\_{\gamma}B^{\beta}{}\_{\alpha} \right)}
* within the parentheses and between vertical bars (i.e. |⋅⋅⋅|), modifying the previous example;

A

(
α

B

β

γ
)

=

1

2
!

(

A

α

B

β
γ

A

γ

B

β
α

)

{\displaystyle A\_{(\alpha}B\_{|\beta|}{}\_{\gamma)} = \dfrac{1}{2!} \left(A\_{\alpha}B\_{\beta \gamma} + A\_{\gamma}B\_{\beta \alpha} \right)}

Here the *α* and *γ* indices are symmetrized, *β* is not.

### Antisymmetric or alternating part of tensor

Square brackets, [ ], around multiple indices denotes the *anti*symmetrized part of the tensor. For *p* antisymmetrizing indices – the sum over the permutations of those indices *α**σ*(*i*) multiplied by the signature of the permutation sgn(*σ*) is taken, then divided by the number of permutations:

**Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "http://mathoid-facade/v1/":): {\displaystyle \begin{align} & A\_{[\alpha\_1\cdots\alpha\_p]\alpha\_{p+1}\cdots\alpha\_q} \\[3pt] ={} & \dfrac{1}{p!} \sum\_{\sigma}\sgn(\sigma) A\_{\alpha\_{\sigma(1)}\cdots\alpha\_{\sigma(p)}\alpha\_{p+1}\cdots\alpha\_{q}} \\ ={} & \delta\_{\alpha\_1 \cdots \alpha\_p}^{\beta\_1 \dots \beta\_p} A\_{\beta\_1 \cdots \beta\_p\alpha\_{p+1}\cdots\alpha\_q} \\ \end{align} }**

where *δ**β*1⋅⋅⋅*βp*
*α*1⋅⋅⋅*αp* is the generalized Kronecker delta of degree 2*p*, with scaling as defined below.

For example, two antisymmetrizing indices imply:

A

[
α
β
]
γ
⋯

=

1

2
!

(

A

α
β
γ
⋯

−

A

β
α
γ
⋯

)

{\displaystyle A\_{[\alpha\beta]\gamma\cdots} = \dfrac{1}{2!} \left(A\_{\alpha\beta\gamma\cdots} - A\_{\beta\alpha\gamma\cdots} \right)}

while three antisymmetrizing indices imply:

A

[
α
β
γ
]
δ
⋯

=

1

3
!

(

A

α
β
γ
δ
⋯

A

γ
α
β
δ
⋯

A

β
γ
α
δ
⋯

−

A

α
γ
β
δ
⋯

−

A

γ
β
α
δ
⋯

−

A

β
α
γ
δ
⋯

)

{\displaystyle
 A\_{[\alpha\beta\gamma]\delta\cdots} =
 \dfrac{1}{3!} \left(A\_{\alpha\beta\gamma\delta\cdots}
 + A\_{\gamma\alpha\beta\delta\cdots}
 + A\_{\beta\gamma\alpha\delta\cdots}
 - A\_{\alpha\gamma\beta\delta\cdots}
 - A\_{\gamma\beta\alpha\delta\cdots}
 - A\_{\beta\alpha\gamma\delta\cdots}
 \right)
}

as for a more specific example, if *F* represents the electromagnetic tensor, then the equation

# 0

F

[
α
β
,
γ
]

=

1

3
!

(

F

α
β
,
γ

F

γ
α
,
β

F

β
γ
,
α

−

F

β
α
,
γ

−

F

α
γ
,
β

−

F

γ
β
,
α

)

{\displaystyle
 0 = F\_{[\alpha\beta, \gamma]} = \dfrac{1}{3!} \left(
 F\_{\alpha\beta,\gamma}
 + F\_{\gamma\alpha,\beta}
 + F\_{\beta\gamma,\alpha}
 - F\_{\beta\alpha,\gamma}
 - F\_{\alpha\gamma,\beta}
 - F\_{\gamma\beta,\alpha}
 \right) \,
}

represents Gauss's law for magnetism and Faraday's law of induction.

As before, the antisymmetrization is distributive over addition;

A

[
α

(

B

β
]
γ
⋯

C

β
]
γ
⋯

)

=

A

[
α

B

β
]
γ
⋯

A

[
α

C

β
]
γ
⋯

{\displaystyle
 A\_{[\alpha} \left(B\_{\beta]\gamma\cdots} + C\_{\beta]\gamma\cdots} \right) =
 A\_{[\alpha}B\_{\beta]\gamma\cdots} + A\_{[\alpha}C\_{\beta]\gamma\cdots}
}

As with symmetrization, indices are not antisymmetrized when they are:

* not on the same level, for example;

A

[
α

B

β

γ
]

=

1

2
!

(

A

α

B

β

γ

−

A

γ

B

β

α

)

{\displaystyle
 A\_{[\alpha}B^{\beta}{}\_{\gamma]} =
 \dfrac{1}{2!} \left(A\_{\alpha}B^{\beta}{}\_{\gamma} - A\_{\gamma}B^{\beta}{}\_{\alpha} \right)
}
* within the square brackets and between vertical bars (i.e. |⋅⋅⋅|), modifying the previous example;

A

[
α

B

β

γ
]

=

1

2
!

(

A

α

B

β
γ

−

A

γ

B

β
α

)

{\displaystyle
 A\_{[\alpha}B\_{|\beta|}{}\_{\gamma]} =
 \dfrac{1}{2!} \left(A\_{\alpha}B\_{\beta \gamma} - A\_{\gamma}B\_{\beta \alpha} \right)
}

Here the *α* and *γ* indices are antisymmetrized, *β* is not.

### Sum of symmetric and antisymmetric parts

Any tensor can be written as the sum of its symmetric and antisymmetric parts on two indices:

A

α
β
γ
⋯

=

A

(
α
β
)
γ
⋯

A

[
α
β
]
γ
⋯

{\displaystyle A\_{\alpha\beta\gamma\cdots} = A\_{(\alpha\beta)\gamma\cdots}+A\_{[\alpha\beta]\gamma\cdots}}

as can be seen by adding the above expressions for *A*(*αβ*)*γ*⋅⋅⋅ and *A*[*αβ*]*γ*⋅⋅⋅. This does not hold for other than two indices.

## Differentiation

See also: Four-gradient, d'Alembertian, Intrinsic derivative
For compactness, derivatives may be indicated by adding indices after a comma or semicolon.

### Partial derivative

While most of the expressions of the Ricci calculus are valid for arbitrary bases, the expressions involving partial derivatives of tensor components with respect to coordinates apply only with a coordinate basis: a basis that is defined through differentiation with respect to the coordinates. Coordinates are typically denoted by *x**μ*, but do not in general form the components of a vector. In flat spacetime with linear coordinatization, a tuple of *differences* in coordinates, Δ*x**μ*, can be treated as a contravariant vector. With the same constraints on the space and on the choice of coordinate system, the partial derivatives with respect to the coordinates yield a result that is effectively covariant. Aside from use in this special case, the partial derivatives of components of tensors are useful in building expressions that are covariant, albeit still with a coordinate basis if the partial derivatives are explicitly used, as with the covariant and Lie derivatives below.

To indicate partial differentiation of the components of a tensor field with respect to a coordinate variable *x**γ*, a *comma* is placed before an appended lower index of the coordinate variable.

A

α
β
⋯
,
γ

=

∂

∂

x
γ

A

α
β
⋯

{\displaystyle A\_{\alpha\beta\cdots,\gamma} = \dfrac{\partial}{\partial x^\gamma} A\_{\alpha\beta\cdots}}

This may be repeated (without adding further commas):

A

α
1

α
2

⋯

α
p

,

α

p
1

⋯

α
q

=

∂

q
−
p

∂

x

α
q

⋯
∂

x

α

p
2

∂

x

α

p
1

A

α
1

α
2

⋯

α
p

.

{\displaystyle
 A\_{\alpha\_1\alpha\_2\cdots\alpha\_p\,,\,\alpha\_{p+1}\cdots\alpha\_q} =
 \dfrac{\partial^{q-p}}{\partial x^{\alpha\_q}\cdots\partial x^{\alpha\_{p+2}}\partial x^{\alpha\_{p+1}}} A\_{\alpha\_1\alpha\_2\cdots\alpha\_p}.
}

These components do *not* transform covariantly, unless the expression being differentiated is a scalar. This derivative is characterized by the product rule and the derivatives of the coordinates

x

α

,
γ

=

δ

α

γ

,

{\displaystyle x^{\alpha}{}\_{, \gamma} = \delta^{\alpha}{}\_\gamma ,}

where *δ* is the Kronecker delta.

### Covariant derivative

To indicate covariant differentiation of any tensor field, a *semicolon* ( ; ) is placed before an appended lower (covariant) index. Less common alternatives to the semicolon include a *forward slash* ( / ) or in three-dimensional curved space a single vertical bar ( | ).

For a contravariant vector, its covariant derivative is:

A

α

;
β

=

A

α

,
β

Γ

α

γ
β

A
γ

{\displaystyle A^{\alpha}{}\_{;\beta} = A^{\alpha}{}\_{,\beta} + \Gamma^{\alpha} {}\_{\gamma\beta}A^\gamma}

where Γ*αβγ* is a Christoffel symbol of the second kind.

For a covariant vector, its covariant derivative is:

A

α
;
β

=

A

α
,
β

−

Γ

γ

α
β

A
γ

.

{\displaystyle A\_{\alpha ;\beta} = A\_{\alpha,\beta} - \Gamma^{\gamma} {}\_{\alpha\beta}A\_\gamma \,.}

For an arbitrary tensor:

T

α
1

⋯

α
r

β
1

⋯

β
s

;
γ

=

T

α
1

⋯

α
r

β
1

⋯

β
s

,
γ

Γ

α
1

δ
γ

T

δ

α
2

⋯

α
r

β
1

⋯

β
s

⋯

Γ

α
r

δ
γ

T

α
1

⋯

α

r
−
1

δ

β
1

⋯

β
s

−

Γ
δ

β
1

γ

T

α
1

⋯

α
r

δ

β
2

⋯

β
s

−
⋯
−

Γ
δ

β
s

γ

T

α
1

⋯

α
r

β
1

⋯

β

s
−
1

δ

.

{\displaystyle \begin{align}
 T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s ; \gamma}
 & \\
 = T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s , \gamma}
 &+ \, \Gamma^{\alpha\_1}{}\_{\delta \gamma} T^{\delta \alpha\_2 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s} + \cdots + \Gamma^{\alpha\_r}{}\_{\delta \gamma} T^{\alpha\_1 \cdots \alpha\_{r-1} \delta}{}\_{\beta\_1 \cdots \beta\_s} \\
 &- \, \Gamma^\delta{}\_{\beta\_1 \gamma} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\delta \beta\_2 \cdots \beta\_s} - \cdots - \Gamma^\delta{}\_{\beta\_s \gamma} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_{s-1} \delta}\,.
\end{align}}

The components of this derivative of a tensor field transform covariantly, and hence form another tensor field. This derivative is characterized by the product rule and applied to the metric tensor *gμν* it gives zero:

g

μ
ν
;
γ

=
0

.

{\displaystyle g\_{\mu \nu ; \gamma} = 0 \,.}

The covariant formulation of the directional derivative of any tensor field along a vector *vγ* may be expressed as its contraction with the covariant derivative, e.g.:

v
γ

A

α
;
γ

.

{\displaystyle v^\gamma A\_{\alpha ;\gamma} \,.}

One alternative notation for the covariant derivative of any tensor is the subscripted nabla symbol ∇*β*. For the case of a vector field *Aα*:

∇
β

A
α

=

∂

A
α

∂

x
β

Γ
α

γ
β

A
γ

.

{\displaystyle \nabla\_\beta A^\alpha = \frac{\partial A^\alpha}{\partial x^\beta} + \Gamma^\alpha{}\_{\gamma\beta}A^\gamma .}

### Lie derivative

The Lie derivative is another derivative that is covariant, but which should not be confused with the *covariant derivative*. It is defined even in the absence of a metric tensor. The Lie derivative of a type (*r*, *s*) tensor field *T* along (the flow of) a contravariant vector field *X**ρ* may be expressed as

(

L

X

T

)

α
1

⋯

α
r

β
1

⋯

β
s

=

X
γ

T

α
1

⋯

α
r

β
1

⋯

β
s

,
γ

−

X

α
1

,
γ

T

γ

α
2

⋯

α
r

β
1

⋯

β
s

−
⋯
−

X

α
r

,
γ

T

α
1

⋯

α

r
−
1

γ

β
1

⋯

β
s

X

γ

,

β
1

T

α
1

⋯

α
r

γ

β
2

⋯

β
s

⋯

X

γ

,

β
s

T

α
1

⋯

α
r

β
1

⋯

β

s
−
1

γ

.

{\displaystyle \begin{align}
 (\mathcal{L}\_X T)^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s}
 & \\
 = X^\gamma T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s , \gamma}
 & - \, X^{\alpha\_1}{}\_{, \gamma} T^{\gamma \alpha\_2 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s} - \cdots - X^{\alpha\_r}{}\_{, \gamma} T^{\alpha\_1 \cdots \alpha\_{r-1} \gamma}{}\_{\beta\_1 \cdots \beta\_s} \\
 & + \, X^{\gamma}{}\_{, \beta\_1} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\gamma \beta\_2 \cdots \beta\_s} + \cdots + X^{\gamma}{}\_{, \beta\_s} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_{s-1} \gamma} \,.
\end{align}}

This derivative is characterized by the product rule and the fact that the derivative of the given contravariant vector field *X**ρ* is zero.

(

L

X

X

)

ρ

=
[
X
,
X

]

ρ

=
0

.

{\displaystyle (\mathcal{L}\_X X)^{\rho} = [X, X]^{\rho} = 0 \,.}

The Lie derivative of a type (*r*, *s*) relative tensor field Λ of weight *w* along (the flow of) a contravariant vector field *X**ρ* may be expressed as

(

L

X

Λ

)

α
1

⋯

α
r

β
1

⋯

β
s

=

X
γ

Λ

α
1

⋯

α
r

β
1

⋯

β
s

,
γ

−

X

α
1

,
γ

Λ

γ

α
2

⋯

α
r

β
1

⋯

β
s

−
⋯
−

X

α
r

,
γ

Λ

α
1

⋯

α

r
−
1

γ

β
1

⋯

β
s

X

γ

,

β
1

Λ

α
1

⋯

α
r

γ

β
2

⋯

β
s

⋯

X

γ

,

β
s

Λ

α
1

⋯

α
r

β
1

⋯

β

s
−
1

γ

w

X

γ

,
γ

Λ

α
1

⋯

α
r

β
1

⋯

β

s

.

{\displaystyle \begin{align}
 (\mathcal{L}\_X \Lambda)^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s}
 & \\
 = X^\gamma \Lambda^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s , \gamma}
 & - \, X^{\alpha\_1}{}\_{, \gamma} \Lambda^{\gamma \alpha\_2 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s} - \cdots - X^{\alpha\_r}{}\_{, \gamma} \Lambda^{\alpha\_1 \cdots \alpha\_{r-1} \gamma}{}\_{\beta\_1 \cdots \beta\_s} \\
 & + \, X^{\gamma}{}\_{, \beta\_1} \Lambda^{\alpha\_1 \cdots \alpha\_r}{}\_{\gamma \beta\_2 \cdots \beta\_s} + \cdots + X^{\gamma}{}\_{, \beta\_s} \Lambda^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_{s-1} \gamma} \\
 & + \, wX^{\gamma}{}\_{, \gamma} \Lambda^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_{s}}\,.
\end{align}}

## Notable tensors

### Kronecker delta

The Kronecker delta is like the identity matrix

δ

β

α

A

β

=

A

α

δ

ν

μ

B

μ

=

B

ν

{\displaystyle \begin{align}
 \delta^{\alpha}\_{\beta} \, A^{\beta} &= A^{\alpha} \\
 \delta^{\mu}\_{\nu} \, B\_{\mu} &= B\_{\nu} \,
\end{align}}

when multiplied and contracted. The components *δ**α*
*β* are the same in any basis and form an invariant tensor of type (1, 1), i.e. the identity of the tangent bundle over the identity mapping of the base manifold, and so its trace is an invariant.
Its trace is the dimensionality of the space; for example, in four-dimensional spacetime,

δ

ρ

ρ

=

δ

0

0

δ

1

1

δ

2

2

δ

3

3

=
4
.

{\displaystyle \delta^{\rho}\_{\rho} = \delta^{0}\_{0} + \delta^{1}\_{1} + \delta^{2}\_{2} + \delta^{3}\_{3} = 4 .}

The Kronecker delta is one of the family of generalized Kronecker deltas. The generalized Kronecker delta of degree 2*p* may be defined in terms of the Kronecker delta by (a common definition includes an additional multiplier of *p*! on the right):

δ

β
1

⋯

β
p

α
1

⋯

α
p

=

δ

β
1

[

α
1

⋯

δ

β
p

α
p

]

{\displaystyle \delta^{\alpha\_1 \cdots \alpha\_p}\_{\beta\_1 \cdots \beta\_p} = \delta^{[\alpha\_1}\_{\beta\_1} \cdots \delta^{\alpha\_p]}\_{\beta\_p}}

and acts as an antisymmetrizer on *p* indices:

δ

β
1

⋯

β
p

α
1

⋯

α
p

A

β
1

⋯

β
p

=

A

[

α
1

⋯

α
p

]

.

{\displaystyle \delta^{\alpha\_1 \cdots \alpha\_p}\_{\beta\_1 \cdots \beta\_p} \, A^{\beta\_1 \cdots \beta\_p} = A^{[\alpha\_1 \cdots \alpha\_p]} .}

### Metric tensor

The metric tensor *g**αβ* is used for lowering indices and gives the length of any space-like curve

# length

∫

y
1

y
2

g

α
β

d

x

α

d
γ

d

x

β

d
γ

d
γ

,

{\displaystyle \text{length} = \int^{y\_2}\_{y\_1} \sqrt{ g\_{\alpha \beta} \frac{d x^{\alpha}}{d \gamma} \frac{d x^{\beta}}{d \gamma} } \, d \gamma \,,}

where *γ* is any smooth strictly monotone parameterization of the path. It also gives the duration of any time-like curve

# duration

∫

t
1

t
2

−
1

c
2

g

α
β

d

x

α

d
γ

d

x

β

d
γ

d
γ

,

{\displaystyle \text{duration} = \int^{t\_2}\_{t\_1} \sqrt{ \frac{-1}{c^2} g\_{\alpha \beta} \frac{d x^{\alpha}}{d \gamma} \frac{d x^{\beta}}{d \gamma} } \, d \gamma \,,}

where *γ* is any smooth strictly monotone parameterization of the trajectory. See also line element.

The inverse matrix *g**αβ* of the metric tensor is another important tensor, used for raising indices:

g

α
β

g

β
γ

=

δ

γ

α

.

{\displaystyle g^{\alpha \beta} g\_{\beta \gamma} = \delta^{\alpha}\_{\gamma} \,.}

### Riemann curvature tensor

If this tensor is defined as

R
ρ

σ
μ
ν

=

Γ
ρ

ν
σ
,
μ

−

Γ
ρ

μ
σ
,
ν

Γ
ρ

μ
λ

Γ
λ

ν
σ

−

Γ
ρ

ν
λ

Γ
λ

μ
σ

,

{\displaystyle R^\rho{}\_{\sigma\mu\nu} = \Gamma^\rho{}\_{\nu\sigma,\mu}
 - \Gamma^\rho{}\_{\mu\sigma,\nu}
 + \Gamma^\rho{}\_{\mu\lambda}\Gamma^\lambda{}\_{\nu\sigma}
 - \Gamma^\rho{}\_{\nu\lambda}\Gamma^\lambda{}\_{\mu\sigma} \,,
}

then it is the commutator of the covariant derivative with itself:

A

ν
;
ρ
σ

−

A

ν
;
σ
ρ

=

A

β

R

β

ν
ρ
σ

,

{\displaystyle A\_{\nu ; \rho \sigma} - A\_{\nu ; \sigma \rho} = A\_{\beta} R^{\beta}{}\_{\nu \rho \sigma} \,,}

since the connection Γ*αβμ* is torsionless, which means that the torsion tensor

Γ
λ

μ
ν

−

Γ
λ

ν
μ

{\displaystyle \Gamma^\lambda{}\_{\mu\nu} - \Gamma^\lambda{}\_{\nu\mu}\,}

vanishes.

This can be generalized to get the commutator for two covariant derivatives of an arbitrary tensor as follows:

T

α
1

⋯

α
r

β
1

⋯

β
s

;
γ
δ

−

T

α
1

⋯

α
r

β
1

⋯

β
s

;
δ
γ

=
−

R

α
1

ρ
γ
δ

T

ρ

α
2

⋯

α
r

β
1

⋯

β
s

−
⋯
−

R

α
r

ρ
γ
δ

T

α
1

⋯

α

r
−
1

ρ

β
1

⋯

β
s

R
σ

β
1

γ
δ

T

α
1

⋯

α
r

σ

β
2

⋯

β
s

⋯

R
σ

β
s

γ
δ

T

α
1

⋯

α
r

β
1

⋯

β

s
−
1

σ

{\displaystyle \begin{align}
 &T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s ; \gamma \delta}
 - T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s ; \delta \gamma} \\
 = - &R^{\alpha\_1}{}\_{\rho \gamma \delta} T^{\rho \alpha\_2 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_s}
 - \cdots
 - R^{\alpha\_r}{}\_{\rho \gamma \delta} T^{\alpha\_1 \cdots \alpha\_{r-1} \rho}{}\_{\beta\_1 \cdots \beta\_s} \\
 {}+{} &R^\sigma{}\_{\beta\_1 \gamma \delta} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\sigma \beta\_2 \cdots \beta\_s}
 + \cdots
 + R^\sigma{}\_{\beta\_s \gamma \delta} T^{\alpha\_1 \cdots \alpha\_r}{}\_{\beta\_1 \cdots \beta\_{s-1} \sigma} \,
\end{align}}

which are often referred to as the *Ricci identities*.