HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, especially the usage of linear algebra in
mathematical physics Mathematical physics is the development of mathematics, mathematical methods for application to problems in physics. The ''Journal of Mathematical Physics'' defines the field as "the application of mathematics to problems in physics and the de ...
and
differential geometry Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
, Einstein notation (also known as the Einstein summation convention or Einstein summation notation) is a notational convention that implies summation over a set of indexed terms in a formula, thus achieving brevity. As part of mathematics it is a notational subset of Ricci calculus; however, it is often used in physics applications that do not distinguish between tangent and cotangent spaces. It was introduced to physics by Albert Einstein in 1916.


Introduction


Statement of convention

According to this convention, when an index variable appears twice in a single term and is not otherwise defined (see Free and bound variables), it implies summation of that term over all the values of the index. So where the indices can range over the set , y = \sum_^3 x^i e_i = x^1 e_1 + x^2 e_2 + x^3 e_3 is simplified by the convention to: y = x^i e_i The upper indices are not exponents but are indices of coordinates, coefficients or basis vectors. That is, in this context should be understood as the second component of rather than the square of (this can occasionally lead to ambiguity). The upper index position in is because, typically, an index occurs once in an upper (superscript) and once in a lower (subscript) position in a term (see ' below). Typically, would be equivalent to the traditional . In general relativity, a common convention is that * the
Greek alphabet The Greek alphabet has been used to write the Greek language since the late 9th or early 8th century BC. It was derived from the earlier Phoenician alphabet, and is the earliest known alphabetic script to systematically write vowels as wel ...
is used for space and time components, where indices take on values 0, 1, 2, or 3 (frequently used letters are ), * the
Latin alphabet The Latin alphabet, also known as the Roman alphabet, is the collection of letters originally used by the Ancient Rome, ancient Romans to write the Latin language. Largely unaltered except several letters splitting—i.e. from , and from � ...
is used for spatial components only, where indices take on values 1, 2, or 3 (frequently used letters are ), In general, indices can range over any indexing set, including an infinite set. This should not be confused with a typographically similar convention used to distinguish between tensor index notation and the closely related but distinct basis-independent abstract index notation. An index that is summed over is a ''summation index'', in this case "". It is also called a dummy index since any symbol can replace "" without changing the meaning of the expression (provided that it does not collide with other index symbols in the same term). An index that is not summed over is a ''free index'' and should appear only once per term. If such an index does appear, it usually also appears in every other term in an equation. An example of a free index is the "" in the equation v_i = a_i b_j x^j, which is equivalent to the equation v_i = \sum_j(a_ b_ x^).


Application

Einstein notation can be applied in slightly different ways. Typically, each index occurs once in an upper (superscript) and once in a lower (subscript) position in a term; however, the convention can be applied more generally to any repeated indices within a term. When dealing with covariant and contravariant vectors, where the position of an index indicates the type of vector, the first case usually applies; a covariant vector can only be contracted with a contravariant vector, corresponding to summation of the products of coefficients. On the other hand, when there is a fixed coordinate basis (or when not considering coordinate vectors), one may choose to use only subscripts; see ' below.


Vector representations


Superscripts and subscripts versus only subscripts

In terms of covariance and contravariance of vectors, * upper indices represent components of contravariant vectors ( vectors), * lower indices represent components of covariant vectors ( covectors). They transform contravariantly or covariantly, respectively, with respect to change of basis. In recognition of this fact, the following notation uses the same symbol both for a vector or covector and its ''components'', as in: \begin v = v^i e_i = \begin e_1 & e_2 & \cdots & e_n \end \begin v^1 \\ v^2 \\ \vdots \\ v^n \end \\ w = w_i e^i = \begin w_1 & w_2 & \cdots & w_n \end \begin e^1 \\ e^2 \\ \vdots \\ e^n \end \end where v is the vector and v^i are its components (not the i th covector v ), w is the covector and w_i are its components. The basis vector elements e_i are each column vectors, and the covector basis elements e^i are each row covectors. (See also ; duality, below and the examples) In the presence of a non-degenerate form (an isomorphism , for instance a Riemannian metric or Minkowski metric), one can raise and lower indices. A basis gives such a form (via the dual basis), hence when working on with a Euclidean metric and a fixed orthonormal basis, one has the option to work with only subscripts. 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.


Mnemonics

In the above example, vectors are represented as matrices (column vectors), while covectors are represented as matrices (row covectors). When using the column vector convention: * "Upper indices go up to down; lower indices go left to right." * "Covariant tensors are row vectors that have indices that are below (co-row-below)." * Covectors are row vectors: \begin w_1 & \cdots & w_k \end. Hence the lower index indicates which ''column'' you are in. * Contravariant vectors are column vectors: \begin v^1 \\ \vdots \\ v^k \end Hence the upper index indicates which ''row'' you are in.


Abstract description

The virtue of Einstein notation is that it represents the invariant quantities with a simple notation. In physics, a scalar is invariant under transformations of basis. In particular, a Lorentz scalar is invariant under a Lorentz transformation. The individual terms in the sum are not. When the basis is changed, the ''components'' of a vector change by a linear transformation described by a matrix. This led Einstein to propose the convention that repeated indices imply the summation is to be done. As for covectors, they change by the inverse matrix. This is designed to guarantee that the linear function associated with the covector, the sum above, is the same no matter what the basis is. The value of the Einstein convention is that it applies to other vector spaces built from using the tensor product and duality. For example, , the tensor product of with itself, has a basis consisting of tensors of the form . Any tensor in can be written as: \mathbf = T^\mathbf_. , the dual of , has a basis , , ..., which obeys the rule \mathbf^i (\mathbf_j) = \delta^i_j. where is the Kronecker delta. As \operatorname(V, W) = V^* \otimes W the row/column coordinates on a matrix correspond to the upper/lower indices on the tensor product.


Common operations in this notation

In Einstein notation, the usual element reference A_ for the m-th row and n-th column of matrix A becomes _. We can then write the following operations in Einstein notation as follows.


Inner product

The inner product of two vectors is the sum of the products of their corresponding components, with the indices of one vector lowered (see #Raising and lowering indices): \langle\mathbf u,\mathbf v\rangle = \langle\mathbf e_i, \mathbf e_j\rangle u^i v^j = u_j v^j In the case of an orthonormal basis, we have u^j = u_j, and the expression simplifies to: \langle\mathbf u,\mathbf v\rangle = \sum_j u^j v^j = u_j v^j


Vector cross product

In three dimensions, the cross product of two vectors with respect to a positively oriented orthonormal basis, meaning that \mathbf e_1\times\mathbf e_2=\mathbf e_3, can be expressed as: \mathbf \times \mathbf = \varepsilon^i_ u^j v^k \mathbf_i Here, \varepsilon^i_ = \varepsilon_ is the Levi-Civita symbol. Since the basis is orthonormal, raising the index i does not alter the value of \varepsilon_, when treated as a tensor.


Matrix-vector multiplication

The product of a matrix with a column vector is: \mathbf_ = (\mathbf \mathbf)_ = \sum_^N A_ v_ equivalent to u^i = _j v^j This is a special case of matrix multiplication.


Matrix multiplication

The matrix product of two matrices and is: \mathbf_ = (\mathbf \mathbf)_ =\sum_^N A_ B_ equivalent to _k = _j _k


Trace

For a square matrix , the trace is the sum of the diagonal elements, hence the sum over a common index .


Outer product

The outer product of the column vector by the row vector yields an matrix : _j = u^i v_j = _j Since and represent two ''different'' indices, there is no summation and the indices are not eliminated by the multiplication.


Raising and lowering indices

Given a tensor, one can raise an index or lower an index by contracting the tensor with the metric tensor, . For example, taking the tensor , one can lower an index: g_ _\beta = T_ Or one can raise an index: g^ ^\alpha = T^


See also

* Tensor * Abstract index notation * Bra–ket notation * Penrose graphical notation * Levi-Civita symbol * DeWitt notation


Notes

#This applies only for numerical indices. The situation is the opposite for abstract indices. Then, vectors themselves carry upper abstract indices and covectors carry lower abstract indices, as per the example in the introduction of this article. Elements of a basis of vectors may carry a lower ''numerical'' index and an upper ''abstract'' index.


References


Bibliography

* .


External links

* * * {{tensors Mathematical notation Multilinear algebra Tensors Riemannian geometry Mathematical physics Albert Einstein