In mathematics, especially in applications of linear algebra to physics, the Einstein notation or Einstein summation convention is a notational convention useful when dealing with coordinate formulas. Mathematics is the body of Knowledge and Academic discipline that studies such concepts as Quantity, Structure, Space and Linear algebra is the branch of Mathematics concerned with Physics (Greek Physis - φύσις in everyday terms is the Science of Matter and its motion. It was introduced by Albert Einstein in 1916. Albert Einstein ( German: ˈalbɐt ˈaɪ̯nʃtaɪ̯n; English: ˈælbɝt ˈaɪnstaɪn (14 March 1879 – 18 April 1955 was a German -born theoretical [1]
According to this convention, when an index variable appears twice in a single term, once in an upper (superscript) and once in a lower (subscript) position, it implies that we are summing over all of its possible values. In typical applications, the indices are 1,2,3 (representing the three dimensions of physical Euclidean space), or 0,1,2,3 or 1,2,3,4 (representing the four dimensions of space-time, or Minkowski space), but they can have any range, even (in some applications) an infinite set. In Physics and Mathematics, Minkowski space (or Minkowski spacetime) is the mathematical setting in which Einstein's theory of Special relativity In Set theory, an infinite set is a set that is not a Finite set. Abstract index notation is an improvement of Einstein notation. Abstract index notation is a mathematical notation for Tensors and Spinors that uses indices to indicate their types rather than their components in a particular basis
In general relativity, the Greek alphabet and the Roman alphabet are used to distinguish whether summing over 1,2,3 or 0,1,2,3 (usually Roman, i, j, . General relativity or the general theory of relativity is the geometric theory of Gravitation published by Albert Einstein in 1916 The Greek alphabet (Ελληνικό αλφάβητο is a set of twenty-four letters that has been used to write the Greek language since the late 9th or early . . for 1,2,3 and Greek,
,
, . . . for 0,1,2,3). As in sign conventions, the convention used in practice varies: Roman and Greek may be reversed.
When there is a fixed basis, one can work with only subscripts, but in general one must distinguish between superscripts and subscripts; see below.
It is important to keep in mind that no new physical laws or ideas result from using Einstein notation; rather, it merely helps in identifying relationships and symmetries often 'hidden' by more conventional notation.
In some fields, Einstein notation is referred to simply as index notation, or indicial notation. The use of the implied summation of repeated indices is also referred to as the Einstein Sum Convention.
Contents |
The basic idea of Einstein notation is very simple. It allows one to replace something bulky, such as:

typically written as:

with something even simpler, in Einstein notation:

In Einstein notation, indices such as i in the equation above can appear as either subscripts or superscripts. The position of the index has a specific meaning. It is important, of course, not to interpret an index appearing in the superscript position as if it were an exponent, which is the convention in standard algebra. Here, the superscripted i above the symbol x represents an integer-valued index running from 1 to n.
The virtue of Einstein notation is that an index appearing two or more times in a single term implies summation across that index, so that the summation symbol is unnecessary. Since the summation in effect "eliminates" the index over which the sum is taken, the summation index does not appear on the opposite side of the equals sign.
First, we can use Einstein notation in linear algebra to distinguish easily between vectors and covectors: upper indices represent the components of vectors, while lower indices represent the components of covectors. Linear algebra is the branch of Mathematics concerned with However, vectors themselves (not their components) have lower indices, and covectors have upper indices.
Given a vector space V and its dual space V * , one represents vectors (elements of V) with subscripts, as in
, and covectors with superscripts, as in
. In Mathematics, any Vector space V has a corresponding dual vector space (or just dual space for short consisting of all Linear functionals In Linear algebra, a coordinate vector is an explicit representation of a vector in an abstract vector space as an ordered list of numbers or equivalently as an This article deals with Linear maps from a Vector space to its field of scalars These maps may be functionals in the traditional However, the components of vectors and covectors follow the opposite convention: if ei are a basis for V and ei are the dual basis for V * , then vectors are represented as:

and covectors are represented as

This is because a component of a vector (a coefficient in some basis) is the value of a covector: the coefficient of ei is the value of the corresponding covector in the dual basis: ai = ei(v). In linear algebra a dual basis is a set of vectors that forms a basis for the Dual space of a vector space Note that ei is a covector, but ai is a scalar. More prosaically, you pair components with vectors; since vectors have lower indices, components have upper indices.
In terms of covariance and contravariance of vectors, lower indices represent (components of!) covariant vectors (covectors), while upper indices represent (components of!) contravariant vectors (vectors): they transform covariantly (resp. For other uses of "covariant" or "contravariant" see Covariance and contravariance. For other uses of "covariant" or "contravariant" see Covariance and contravariance. This article deals with Linear maps from a Vector space to its field of scalars These maps may be functionals in the traditional In Linear algebra, a coordinate vector is an explicit representation of a vector in an abstract vector space as an ordered list of numbers or equivalently as an , contravariantly) with respect to change of coordinates.
A particularly confusing notation is to use the same letter both for a (co)vector and its components, as in:


Here vi does not mean "the covector v", but rather, "the components of the vector v".

Hence the lower index indicates which column you are in.

Hence the upper index indicates which row you are in.
In the presence of a non-degenerate form (an isomorphism
), (for instance a Riemannian metric or Minkowski metric), one can raise and lower indices. In Riemannian geometry, a Riemannian manifold ( M, g) (with Riemannian metric g) is a real Differentiable manifold M In Physics and Mathematics, Minkowski space (or Minkowski spacetime) is the mathematical setting in which Einstein's theory of Special relativity In mathematics and mathematical physics given a Tensor on a manifold M, in the presence of a nonsingular form on M (such as a Riemannian metric or
A basis gives such a form (via the dual basis), hence when working on
with a fixed basis, one can work with just subscripts. In linear algebra a dual basis is a set of vectors that forms a basis for the Dual space of a vector space
However, if one changes coordinates, the way that coefficients change depends on the variance of the object, and one cannot ignore the distinction; see covariance and contravariance of vectors. For other uses of "covariant" or "contravariant" see Covariance and contravariance.
In Einstein notation, the usual element reference
for the mth row and nth column of matrix
becomes
. We can then write the following operations in Einstein notation as follows.
Given a row vector vi and a column vector ui of the same size, we can take the inner product viui, which is a scalar: it's evaluating the covector on the vector. In Mathematics, an inner product space is a Vector space with the additional Structure of inner product.
Given a matrix
and a (column) vector vj, the coefficients of the product
are given by
.
We can represent matrix multiplication as:

This expression is equivalent to the more conventional (and less compact) notation:

Given a matrix
, summing over a common index
yields the trace. In Mathematics, matrix multiplication is the operation of multiplying a matrix with either a scalar or another matrix In Linear algebra, the trace of an n -by- n Square matrix A is defined to be the sum of the elements on the Main diagonal
The outer product of the column vector u by the row vector v yields an M × N matrix A:

In Einstein notation, we have:

Since i and j represent two different indices, and in this case over two different ranges M and N respectively, the indices are not eliminated by the multiplication. In Linear algebra, the outer product typically refers to the tensor product of two vectors. Both indices survive the multiplication to become the two indices of the newly-created matrix A.
Given a tensor field and a basis (of linearly independent vector fields), the coefficients of the tensor field in a basis can be computed by evaluating on a suitable combination of the basis and dual basis, and inherits the correct indexing. In Mathematics, Physics and Engineering, a tensor field is a very general concept of variable geometric quantity We list notable examples.
Throughout, let ei be a basis of vector fields (a moving frame). In Mathematics, a moving frame is a flexible generalization of the notion of an Ordered basis of a Vector space often used to study the extrinsic differential

which follows from the formula
![T = \nabla_X Y - \nabla_Y X - [X,Y].](../../../../math/e/6/8/e68c00b5b7fb4e22c63954088ed58024.png)

This also applies for some operations that are not tensorial, for instance:

where
is the covariant derivative. In the mathematical field of Differential geometry, a metric tensor is a type of function defined on a Manifold (such as a Surface in space In the mathematical field of Differential geometry, a metric tensor is a type of function defined on a Manifold (such as a Surface in space In Differential geometry, the notion of torsion is a manner of characterizing a twist or screw of a Moving frame around a curve In the Mathematical field of Differential geometry, the Riemann curvature tensor or Riemann–Christoffel tensor is the most standard way to express In Mathematics, Physics and Engineering, a tensor field is a very general concept of variable geometric quantity In Mathematics and Physics, the Christoffel symbols, named for Elwin Bruno Christoffel (1829–1900 are coordinate-space expressions for the Levi-Civita In Mathematics, the covariant derivative is a way of specifying a Derivative along Tangent vectors of a Manifold. Equivalently,

![[e_i,e_j] = \gamma_{ij}^k e_k](../../../../math/b/7/d/b7da2745ba44a5444bdde15530effa6c.png)
where [ei,ej] is the Lie bracket. Lie bracket can refer to Lie algebra Lie bracket of vector fields Equivalently,
![\gamma_{ij}^k = e^k[e_i,e_j].](../../../../math/5/7/8/5780a0b24e8526482b5e77ab9567b185.png)
In mechanics and engineering, vectors in 3D space are often described in relation to orthogonal unit vectors i, j and k. In Mathematics, two Vectors are orthogonal if they are Perpendicular, i In Mathematics, a unit vector in a Normed vector space is a vector (often a spatial vector) whose length is 1 (the unit length

If the basis vectors i, j, and k are instead expressed as e1, e2, and e3, a vector can be expressed in terms of a summation:

In Einstein notation, the summation symbol is omitted since the index i is repeated once as an upper index and once as a lower index, and we simply write

Using e1, e2, and e3 instead of i, j, and k, together with Einstein notation, we obtain a concise algebraic presentation of vector and tensor equations. History The word tensor was introduced in 1846 by William Rowan Hamilton to describe the norm operation in a certain type of algebraic system (eventually For example,

Since

where
is the Kronecker delta, which is equal to 1 when i = j, and 0 otherwise, we find

One can use
to lower indices of the vectors; namely,
and
. In Mathematics, the Kronecker delta or Kronecker's delta, named after Leopold Kronecker ( 1823 - 1891) is a function of two Then

Note that, despite ui = ui for any fixed i, it is incorrect to write

since on the right hand side the index i is repeated both times as an upper index and so there is no summation over i according to the Einstein convention. Rather, one should explicitly write the summation:

For the cross product,


where
and
, with εijk the Levi-Civita symbol defined by:

One then recovers

from
. In Mathematics, the cross product is a Binary operation on two vectors in a three-dimensional Euclidean space that results in another vector which The Levi-Civita symbol, also called the Permutation symbol or antisymmetric symbol, is a mathematical symbol used in particular in Tensor In other words, if
, then
, so that
.
In the traditional usage, one has in mind a vector space V with finite dimension n, and a specific basis of V. In Mathematics, a vector space (or linear space) is a collection of objects (called vectors) that informally speaking may be scaled and added In Mathematics, the dimension of a Vector space V is the cardinality (i Basis vector redirects here For basis vector in the context of crystals see Crystal structure. We can write the basis vectors as e1, e2, . . . , en. Then if v is a vector in V, it has coordinates
relative to this basis.
The basic rule is:

In this expression, it was assumed that the term on the right side was to be summed as i goes from 1 to n, because the index i does not appear on both sides of the expression. (Or, using Einstein's convention, because the index i appeared twice. )
The i is known as a dummy index since the result is not dependent on it; thus we could also write, for example:

An index that is not summed over is a free index and should be found in each term of the equation or formula. Compare dummy indices and free indices with free variables and bound variables. In Mathematics, and in other disciplines involving Formal languages including Mathematical logic and Computer science, a free variable is a
The value of the Einstein convention is that it applies to other vector spaces built from V using the tensor product and duality. In Mathematics, the tensor product, denoted by \otimes may be applied in different contexts to vectors matrices, Tensors Vector In Mathematics, any Vector space V has a corresponding dual vector space (or just dual space for short consisting of all Linear functionals For example,
, the tensor product of V with itself, has a basis consisting of tensors of the form
. Any tensor T in
can be written as:
. V*, the dual of V, has a basis e1, e2, . . . , en which obeys the rule
. Here δ is the Kronecker delta, so
is 1 if i =j and 0 otherwise. In Mathematics, the Kronecker delta or Kronecker's delta, named after Leopold Kronecker ( 1823 - 1891) is a function of two
As

the row-column coordinates on a matrix correspond to the upper-lower indices on the tensor product.
Einstein summation is clarified with the help of a few simple examples. Consider four-dimensional spacetime, where indices run from 0 to 3:


The above example is one of contraction, a common tensor operation. In Multilinear algebra, a tensor contraction is an operation on one or more Tensors that arises from the natural pairing of a finite- Dimensional The tensor
becomes a new tensor by summing over the first upper index and the lower index. Typically the resulting tensor is renamed with the contracted indices removed:

For a familiar example, consider the dot product of two vectors a and b. The dot product is defined simply as summation over the indices of a and b:

which is our familiar formula for the vector dot product. Remember it is sometimes necessary to change the components of a in order to lower its index; however, this is not necessary in Euclidean space, or any space with a metric equal to its inverse metric (e. In the mathematical field of Differential geometry, a metric tensor is a type of function defined on a Manifold (such as a Surface in space g. , flat spacetime).