Earth 1

Library of human understanding

Einstein Notation

One convention removes almost every Σ from physics: if an index appears twice in a term, add up over it.

1. The one rule

An arrow in space can be stored as three numbers: how far it reaches along each of the three axes. Call them , and . The small number is an index; it says which component you mean. To measure how much two arrows point the same way (the dot product), multiply matching components and add the results:

In the sum on the right, the letter being summed over, , appears exactly twice in the term. Einstein noticed that this was true of nearly every sum in his equations, so the Σ sign told the reader nothing that the repeated letter didn’t already say. He stopped writing it:

component number i of the arrow a
an index: a placeholder that takes the values 1, 2 and 3
i appears twice, so add up the term for i = 1, 2 and 3
“means the same as”: this is shorthand, not a new fact

2. Free and dummy indices

A repeated index is called a dummy. It is used up by the sum, so its name does not matter: and are the same number. An index that appears only once in a term is free. It survives, so the expression has one value for each choice of it, and one line of notation stands for several equations.

dummy: it appears twice on the right, so it is summed from 1 to 3
free: it appears once in every term, so the line is really three equations
the entry of the table (matrix) A in row i and column j

Two checks catch most mistakes before any algebra is done:

  1. No index appears more than twice in one term. Three copies leave it unclear which two are paired.
  2. Every term, on both sides, has the same free indices. Otherwise you are claiming that a list labelled by one letter equals a list labelled by another.
Loading the interactive tool…

3. The Kronecker delta

The simplest object with two indices is a yes/no test for “are these the same index?”

Its everyday job is renaming. In the sum over runs through three terms, and the delta switches off every one except the term where equals :

So a delta next to a matching dummy index can be deleted, as long as the other index takes over its name. Summing the delta with itself counts the matching pairs, which is the number of dimensions:

4. The Levi-Civita symbol

takes three indices and keeps track of the order they come in. It is defined by three facts:

  • In the reference order it equals one: .
  • Swapping any two indices flips the sign: .
  • If two indices are equal it is zero: . Swapping the two equal indices would have to flip the sign and also change nothing, and only 0 does both.

Of its 27 entries only 6 are not zero: +1 for the orders 123, 231 and 312, where each one is the last rotated to the front, and −1 for 132, 213 and 321.

Loading the interactive tool…

The cross product of two arrows, which points at right angles to both, is a single epsilon:

Take . Of the nine pairs , only (2, 3) and (3, 2) give a non-zero epsilon, so the sum leaves two terms:

Choose “cross product” in the expander above to see all nine terms for each , with the zeros dropped. The same symbol also gives the determinant of a 3 × 3 matrix: .

5. The ε–δ identity

When two epsilons share one summed index, the product can always be rewritten with deltas alone. This single line replaces most vector-identity tables:

the shared index, summed from 1 to 3
four free indices, so the line packs 3⁴ = 81 equations
1 when (m, n) is exactly (i, j)
1 when (m, n) is (i, j) reversed

Why it works: if and differ, exactly one value of (the third number) makes non-zero. The second epsilon is then non-zero only if are the same two numbers. In the same order the two signs match and multiply to +1; in reversed order they are opposite and give −1. If , both sides are 0.

Loading the interactive tool…

The payoff is speed. The “BAC−CAB” rule for a triple cross product drops out in four lines, with no components written down:

rotating ijk to kij is two swaps, so the sign is unchanged
the ε–δ identity
each delta renames an index; a_j c_j is a · c and a_j b_j is a · b

6. Matrices

A matrix is a table with two indices, row first, then column. The usual matrix rules become one-line index statements, and the order of factors stops mattering because each factor is just a number:

walk along row i of A and down column k of B, multiplying and adding
add the diagonal: the trace
tr(AB) = tr(BA) is immediate: swap the two numbers and rename i ↔ j

Pick “matrix product” or “trace” in the expander to check the index form against the sample matrices.

7. Why Einstein needed it

Einstein introduced the convention in his 1916 paper setting out general relativity. There the indices are Greek letters such as and , running over four values: 0 for time and 1–3 for space. Almost every line contained sums over them.

Spacetime adds one refinement. Indices sit either upstairs or downstairs, and a sum always pairs one of each. The metric converts between the two and carries the geometry. The spacetime distance between two nearby events is

a small step in time (μ = 0, with x⁰ = ct) or in space (μ = 1, 2, 3)
the metric: a 4 × 4 table that says how steps combine into distance
both repeated, so this one line hides a sum of 4 × 4 = 16 terms
in flat spacetime only the 4 diagonal terms survive, and time enters with a minus sign

The field equations themselves, , have two free indices: 16 equations in one line, 10 of them independent because both sides are symmetric. In ordinary flat space with square axes, upstairs and downstairs components are equal, which is why the sections above only needed lower indices.