Einstein summation convention
The Einstein summation convention implies that when an index occursmore than once in the same expression, the expression is implicitlysummed over all possible values for that index. Therefore, in order touse the summation convention, it must be clear from the contextover what range indices should be summed.
The Einstein summation convention is illustrated in the below examples.
- 1.
Let be a orthogonal basis in .Then the inner product of the vectors and , is
- 2.
Let be a vector space
with basis anda dual basis
. Then, for a vector and dual vectors and , we have
This example shows that the summation convention is “distributive” ina natural way.
- 3.
Chain rule
. Let,, and, be smooth functions
. Then
where the right hand side is summed over .
An index which is summed is called a dummy index or dummy variable.For instance, is a dummy index in . An expression does not depend ona dummy index, i.e., .It is common that one must change the name of dummy indices. Forinstance, above, in Example 2 when we calculated, it was necessary to change the index in to so that it would not clash with .
When using the Einstein summation convention, objects are usually indexedso that when summing, one index will always be an “upper index” andthe other a “lower index”.Then summing should only take place over upper and lower indices.In the above examples, we have followedthis rule. Therefore we did not write in the first example since has two upper indices. This is consistent; it is not possibleto take the inner product of two vectors without a metric, which is here.The last example illustrates that when we consider as a “lowerindex” in, then the chain ruleobeys this upper-lower rule for the indices.