# Einstein summation convention

The Einstein summation convention implies that when an index occurs more than once in the same expression, the expression is implicitly summed over all possible values for that index. Therefore, in order to use the summation convention, it must be clear from the context over what range indices should be summed.

The Einstein summation convention is illustrated in the below examples.

1. 1.

Let $\{e_{i}\}_{i=1}^{n}$ be a orthogonal basis in $\mathbb{R}^{n}$. Then the inner product of the vectors $u=u^{i}e_{i}=(\sum_{i=1}^{n})u^{i}e_{i}$ and $v=v^{i}e_{i}=(\sum_{i=1}^{n})v^{i}e_{i}$, is

 $\displaystyle u\cdot v$ $\displaystyle=$ $\displaystyle u^{i}v^{j}e_{i}\cdot e_{j}$ $\displaystyle=$ $\displaystyle\delta_{ij}u^{i}v^{j}.$
2. 2.

Let $V$ be a vector space with basis $\{e_{i}\}_{i=1}^{n}$ and a dual basis $\{e^{i}\}_{i=1}^{n}$. Then, for a vector $v=v^{i}e_{i}$ and dual vectors $\alpha=\alpha_{i}e^{i}$ and $\beta=\beta_{i}e^{i}$, we have

 $\displaystyle(\alpha+\beta)(v)$ $\displaystyle=$ $\displaystyle\alpha_{i}v^{i}+\beta_{j}v^{j}$ $\displaystyle=$ $\displaystyle(\alpha_{i}+\beta_{i})v^{i}.$

This example shows that the summation convention is “distributive” in a natural way.

3. 3.

Chain rule. Let $F:\mathbb{R}^{m}\to\mathbb{R}^{n}$, $x\mapsto(F^{1},\cdots,F^{n})$, and $G:\mathbb{R}^{n}\to\mathbb{R}^{p}$, $y\mapsto(G^{1}(y),\cdots,G^{p}(y))$ be smooth functions. Then

 $\frac{\partial(G\circ F)^{i}}{\partial x^{j}}(x)=\frac{\partial G^{i}}{% \partial y^{k}}\big{(}F(x)\big{)}\frac{\partial F^{k}}{\partial x^{j}}(x),$

where the right hand side is summed over $k=1,\ldots,n$.

An index which is summed is called a dummy index or dummy variable. For instance, $i$ is a dummy index in $v^{i}e_{i}$. An expression does not depend on a dummy index, i.e., $v^{i}e_{i}=v^{j}e_{j}$. It is common that one must change the name of dummy indices. For instance, above, in Example 2 when we calculated $u\cdot v$, it was necessary to change the index $i$ in $v=v^{i}e_{i}$ to $j$ so that it would not clash with $u=u^{i}e_{i}$.

When using the Einstein summation convention, objects are usually indexed so that when summing, one index will always be an “upper index” and the other a “lower index”. Then summing should only take place over upper and lower indices. In the above examples, we have followed this rule. Therefore we did not write $\delta_{ij}u^{i}v^{j}=u^{i}v^{i}$ in the first example since $u^{i}v^{i}$ has two upper indices. This is consistent; it is not possible to take the inner product of two vectors without a metric, which is here $\delta_{ij}$. The last example illustrates that when we consider $k$ as a “lower index” in $\frac{\partial G^{i}}{\partial y^{k}}$, then the chain rule obeys this upper-lower rule for the indices.

Title Einstein summation convention EinsteinSummationConvention 2013-03-22 13:32:03 2013-03-22 13:32:03 PrimeFan (13766) PrimeFan (13766) 6 PrimeFan (13766) Definition msc 15A69 Summation dummy index