Index Notation and the Summation Convention
Vector calculus written with arrows and named operators is geometrically vivid but algebraically treacherous: try proving by pushing arrows around and you will lose a sign more often than not. Index notation removes the guesswork by trading each vector for its ordered list of Cartesian components, with . Once vectors are just indexed real numbers, every vector operation becomes ordinary algebra, and the entire geometric content of three-dimensional space is carried by two constant symbols plus one bookkeeping rule. The rule is the Einstein summation convention: an index appearing exactly twice in a single multiplicative term is silently summed over its full range, and the is dropped. Such a repeated index is a dummy — its name is irrelevant, so , internal plumbing you may rename at will. An index appearing once is a free index; it labels an output slot and must appear identically in every term and on both sides. These two constraints — at most two occurrences per index, free indices matched throughout — catch the great majority of algebra errors before a single number is computed. The two structural symbols are the Kronecker delta , which substitutes indices and encodes orthonormality, and the Levi-Civita symbol , totally antisymmetric with , which encodes orientation and manufactures the cross product and the determinant. Their single contraction, the epsilon-delta identity, is the engine of the whole subject: it collapses any product of two cross products into a difference of dot products, turning celebrated vector identities into three-line exercises and generalising cleanly to the Cartesian tensors of continuum mechanics and the four-index tensors of relativity.
- Index notation labels components by subscripts, for the -th Cartesian component of , so geometric objects become algebraic symbols with explicit slots.
- The summation convention drops the sum sign: an index repeated in a term is summed over its range, so .
- The Kronecker delta (substitution) and the Levi-Civita symbol (antisymmetriser) are the only two building blocks; together they encode dot product, cross product, and every vector identity.
- The master identity collapses two cross products into dot products, so BAC-CAB and curl-of-curl fall out in a few lines.
- Bookkeeping self-checks: free indices must match across every term; a dummy index appears at most twice; three occurrences is meaningless.
- The same machinery runs vector calculus through — gradient, divergence, curl, Laplacian — and is literally how `einsum` computes tensor contractions in modern libraries.
- Key idea: Repeated index ⇒ sum; the pair plus the identity converts every vector identity into routine algebra.
Where this lives today
The summation convention long ago escaped the blackboard and became executable code. Every major numerical library — NumPy, PyTorch, TensorFlow, JAX — ships an `einsum` ("Einstein summation") primitive whose subscript string is the convention: `np.einsum('ijk,j,k->i', eps, a, b)` computes a cross product, `'i,i->'` a dot product, `'ii->'` a trace, each by naming which indices repeat. Deep-learning frameworks lean on it because a network layer is a chain of tensor contractions, and index strings make the pattern explicit and the memory layout optimisable. In numerical relativity the same notation, promoted to four indices and a metric, is what codes solve when they evolve for the gravitational waveforms LIGO and Virgo match against black-hole mergers; lattice QCD contracts colour and spinor indices billions of times per configuration, and finite-element solvers evaluate at every quadrature point. A notation invented to tame vector identities on paper became the natural interface between the algebra of physics and the tensor hardware of computing.
The physical picture
Stop picturing a vector as an arrow and picture it as a labelled column of three numbers, each in a numbered slot; the subscript is just the slot's address. An index equation is then a single line that is secretly three, nine, or twenty-seven scalar equations at once, one for every value the free indices can take. Summation is the default because almost every sum in vector algebra runs over a repeated component label, and hiding the lets the eye track the only thing that matters: which indices are free and which are tied together. The first figure shows this literally, computing a dot product by pairing slots.
The Kronecker delta is a do-nothing-but-rename operator: merely relabels the summed slot, so it is the Cartesian identity matrix and encodes orthonormality, . The Levi-Civita symbol is its opposite temperament, an antisymmetriser that flips sign whenever two indices swap and vanishes the instant any two coincide — why the cross product of parallel vectors is zero and a determinant flips sign when two rows swap. The second figure shows the epsilon as a cyclic wheel and the one identity that makes the subject mechanical.
The core equations
The whole toolkit fits on one page, but every symbol earns its place. We begin with the convention, then the two structural symbols, then the operations they generate, and finally the differential operators that carry index notation into vector calculus. The summation convention is a definition, not a theorem: writing an index twice is an instruction to sum. Applied to two vectors it reproduces the dot product with no sign, and the result is a scalar because no free index survives.
where: — Cartesian components of ; — repeated (dummy) index, summed to ; — definition, the implied by repetition. Reading: two paired subscripts mean multiply-and-add over all three axes. The Kronecker delta gives the components of the identity in an orthonormal frame. Its defining property in calculations is substitution: contracting it against any object renames the free index, and its trace counts the dimension.
where: — identity/metric components in Cartesian coordinates; — contraction relabels a free index; — trace equals the dimension. Reading: whenever you see a delta contracted with a live index, delete the delta and rename. The Levi-Civita symbol is totally antisymmetric, fixed by one value plus the rule that swapping any two indices flips the sign. Of its entries only six are nonzero: the three cyclic permutations of give , the three anticyclic give .
where: — totally antisymmetric symbol, ; even/odd — parity of the permutation carrying . Reading: the algebraic embodiment of right-handed orientation. The cross product is where the epsilon does its most familiar work: one free index labels the output, the two dummy indices run over the antisymmetric combinations, reproducing the determinant mnemonic automatically.
where: — -th output component; — dummy indices each summed to ; — free output index. Reading: setting gives , the first component of the cross product. The single identity that makes the notation powerful is the contraction of two epsilons over one shared index; everything downstream — triple products, curl-of-curl, Lagrange's identity — is a corollary of it.
where: — contracted index shared by both symbols; — free indices matched pairwise across both sides. Reading: two cross products sharing one axis reduce to a difference of dot-product deltas — "first-first times second-second, minus first-second times second-first". Contracting the master identity once more collapses it further; these reductions simplify epsilon-heavy expressions down to scalars.
where: — set (a second sum) in (5); — the count of nonzero entries. Reading: and are the fingerprints of three-dimensional space, appearing whenever the epsilons fully saturate. Differentiation is itself indexed, , and this one move promotes the algebra into vector calculus: gradient, divergence, curl, and Laplacian are the four ways indices attach to .
where: — gradient (free ); — divergence (contracted scalar); — curl (free ); — Laplacian. Reading: the seed is the chain rule in one symbol, and all del-operator algebra is built from it. Finally, the epsilon carries the determinant, which is why orientation, Jacobians, and the sign conventions in Stokes' and Gauss' theorems all trace back to .
where: — entries of a matrix; — supplies the signed permutation sum defining . Reading: the first form expands along rows; the symmetric second form makes the antisymmetry of under row or column swaps manifest.
The goal is to establish equation (5), , not by memorising it but by seeing why its right-hand side must have exactly this shape. It is the single most important result in the subject, since every vector identity below is a two-line consequence of it, so we derive it from scratch by asking what the two epsilons demand of their indices and enumerating the handful of cases that survive the contraction over .
Step 1. For to be nonzero, must be distinct; likewise forces distinct. Since is common and summed, surviving terms require and to each be the pair left after removing from . Why: antisymmetry means a repeated index kills the symbol, so only fully-distinct index sets contribute.
Step 2. With as sets, there are only two alignments: same order, or swapped. Same order makes the epsilons identical for the surviving , so their product is ; swapped makes one the negative of the other, product . Why: fixing the pair of labels leaves the parity of their ordering as the only freedom, and parity is exactly what the epsilon tracks.
Step 3. Encode the cases with deltas. Same order is , i.e. (); swapped is , i.e. (). Their sum gives . Why: a product of deltas is the algebraic way to say "these labels coincide", so the two survival cases become the two delta products.
Step 4. Sanity-check by contraction: gives , and a further gives . Why: the identity must reproduce the known counts and after partial and full saturation, and it does. *As a consistency check: enumerating all cases reproduces (5); the single and double contractions return and ; and throughout confirms we are working in three dimensions.*
Go deeper · Derivation B · 1 minThe BAC-CAB rule for the vector triple product
The goal is to derive the vector triple product identity using nothing but the epsilon-delta identity — a result genuinely awkward to prove with arrows that falls out in four lines of pure bookkeeping. The mnemonic name BAC-CAB records the answer, and we recover it by writing the -th component, introducing one epsilon per cross product, and contracting.
Step 1. Write the -th component, expanding the inner cross product then the outer, each contributing an epsilon: . Why: nesting two cross products yields two epsilons sharing exactly one index , the configuration the master identity simplifies.
Step 2. Align the shared index by cyclic symmetry so sits first on both, then apply (5): . Why: the identity needs the summed index leading both epsilons, and cyclic permutation costs no sign.
Step 3. Contract the deltas against , each delta relabelling an index: . Why: the delta acts as substitution, deleting itself and renaming the slot it touches.
Step 4. Read off the vectors, recognising the surviving dummy sums as dot products: . Since was arbitrary, the vector identity holds. Why: and are scalars, and the free index rides on and exactly as BAC-CAB asserts. *A quick sanity check: setting , gives LHS and RHS , confirming the identity on a concrete unit-vector case.*
Go deeper · Derivation C · 1 minCurl of a curl and the electromagnetic wave equation
The goal is to prove , the identity that turns Maxwell's curl equations into a wave equation, and to show it is the differential twin of BAC-CAB: replace the leading vector by and components by derivatives , and the same epsilon-delta contraction does all the work. The only new subtlety is that derivatives commute, which lets the divergence be pulled out cleanly at the end.
Step 1. Write in indices, the constant passing freely through the derivative: . Why: is a numerical constant, untouched by , leaving two epsilons sharing as in the triple product.
Step 2. Apply the master identity with aligned first: . Why: the same algebra as BAC-CAB Step 2 — the differential identity carries no content beyond epsilon-delta plus commuting partials.
Step 3. Contract against : . Why: the first delta pair relabels , the second .
Step 4. Recognise the operators, commuting the partials in the first term: . Why: lets move outside, exposing the divergence, while is the Laplacian. *As an additional check, taking the divergence of both sides gives , an identity because by symmetric-meets-antisymmetric. Applied to source-free Faraday plus Ampère, this identity yields the electromagnetic wave equation .*
Limiting cases
Index notation specialises and generalises cleanly with the range of the indices and the kind of frame they live in.
| Case | Result | Meaning |
|---|---|---|
| Three-dimensional Cartesian | The default of vector calculus: is the identity, has six nonzero entries, and cross product and curl live only here. | |
| -dimensional Euclidean | Dot products, traces, Laplacian generalise verbatim; the alternating symbol needs indices and the simple cross product exists only for . | |
| Relativistic / curved space | Upper and lower indices become distinct; raising and lowering use the metric , not . Cartesian notation is the flat, orthonormal limit. | |
| Rank-2 trace | Setting two free indices equal and summing yields the trace, the simplest scalar invariant. |
Worked examples
1 · The vector triple product, checked with numbers (confidence builder)
Take , , . Compute directly, then reproduce it from the BAC-CAB index formula, and confirm the two agree.
Step 1. Direct route. The inner cross product is , so .
Step 2. Index route. BAC-CAB gives , with scalar contractions and .
Step 3. Assemble: , identical to the direct result — but the index formula never computed an intermediate cross product. Both routes give .
2 · Lagrange's identity for a product of cross products
Derive in indices, then verify it on , , , .
Step 1. Write both cross products sharing a free index and contract: , the two epsilons already sharing .
Step 2. Apply (5): , exactly .
Step 3. Numerical check. The four dot products are , , , , so the right side is . Directly, and dot to . Both sides equal ; setting recovers .
3 · A determinant from the Levi-Civita symbol
Evaluate for via .
Step 1. The three even permutations give .
Step 2. The three odd permutations give .
Step 3. Sum: , confirmed by cofactor expansion . , with doing nothing but bookkeeping the signed permutation sum.
Physics of the portrait
Index notation is no single person's invention; it is the sediment of a seventy-year effort to make the geometry of space and spacetime computable. But if one figure sits at its centre it is Tullio Levi-Civita, whose name rides on the alternating symbol and whose absolute differential calculus is the language it grows into.
Origins · 1 minTullio Levi-Civita and how this was discovered
Tullio Levi-Civita was an Italian mathematician who, with his teacher Gregorio Ricci-Curbastro, built the "absolute differential calculus" — the systematic index calculus of tensors — and published its definitive account in the 1900 memoir Méthodes de calcul différentiel absolu et leurs applications. That framework gave physics its most consequential notation: a decade later it was the machinery Einstein reached for to write general relativity, and Einstein corresponded with Levi-Civita in 1915–17, calling his command of the calculus indispensable. The totally antisymmetric symbol carries his name because it is the three-dimensional shadow of the tensor densities his calculus organised. His deepest idea, parallel transport (1917), gave coordinate-independent meaning to "keeping a vector constant" along a curved path and defined the connection that still bears his name — the geometry hiding beneath the innocent derivative index . Building upward from Kronecker's substitution delta of the 1860s and downward into Einstein's 1916 summation convention, his work is the hinge on which index notation turns from a bookkeeping trick into the native language of field theory and gravitation. Dismissed from his chair in 1938 under the Fascist racial laws, he died in Rome in 1941, isolated from the community his notation had unified.
Going further
Texts. Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., ch. 2–3 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., ch. 21 · Hassani, Mathematical Physics (tensors) · Stone & Goldbart, Mathematics for Physics, §1 · Nakahara, Geometry, Topology and Physics (tensor-density and orientation subtleties) · Byron & Fuller, Mathematics of Classical and Quantum Physics (tensor algebra). The epsilon-delta identity and its contractions (, ) are re-derived here from permutation counting. The key numerical results in this article are: , Lagrange identity value , , and confirmed against cofactor expansion. The pseudotensor character of is discussed in the warning box and the FAQ on Levi-Civita.
Prerequisites. Scalar and Vector Fields. Leads to. The Gradient Operator · Divergence of a Vector Field · Curl of a Vector Field · The Del Operator and Vector Differential Identities · The Laplacian Operator.
Ask the tutor: Hand me any vector or del-operator identity you want proved and I will walk it through the epsilon-delta engine index by index.
What is the difference between a free index and a dummy index?
A free index appears exactly once in a term and labels a component of the result; a dummy index appears twice and is summed away. The test is occurrence-counting within one multiplicative term. In , the index is free — it appears once on each side and names which component of you compute — while are dummies, summed over and gone from the answer. Free indices are sacred: they must appear in the same positions in every term and on both sides. Dummies are plumbing: their names carry no meaning, so and are the same scalar, and you may rename a dummy whenever a clash threatens.
Why is an index appearing three times forbidden?
Because the convention only assigns meaning to an index occurring exactly twice: two occurrences say "sum this pair", one says "this is a free label", and three say nothing at all — the expression is undefined. In practice a triple index is a symptom that you reused a dummy name already contracted, collapsing two independent sums into one. The cure is renaming. If you want the -component of scaled by , do not write ; write , giving the dot product a private dummy and leaving free. Catching triple indices early is one of the notation's best built-in error alarms.
How does the Kronecker delta act as a substitution operator?
Whenever is contracted with a factor carrying one of its indices, it deletes itself and renames that index. Concretely , since the sum over keeps only the term; the same happens inside longer expressions, , and on itself, . The trace is the case where both indices are contracted, counting the dimension. So you should never "compute" a delta — you cancel it, hunting for the index it shares with a neighbour and performing the rename. This one habit collapses most delta-laden expressions in a single pass, which is why is called the substitution tensor.
Is the Levi-Civita symbol a genuine tensor?
Under rotations it behaves exactly like a tensor, which is why we handle it freely alongside . But under a reflection — an orientation-reversing transformation of determinant — the components pick up an extra minus sign relative to a true rank-3 tensor, so it is properly a tensor density, or pseudotensor. The consequence is that is a pseudovector: mirror-reflect the setup and it flips the "wrong" way compared with an ordinary vector like velocity. In right-handed frames this never bites; it matters in parity arguments, in orienting manifolds, and in telling polar from axial vectors.
Why do div-of-curl and curl-of-grad vanish identically?
Both are the same one-line fact: a symmetric pair of derivatives contracted against the antisymmetric gives zero. For a curl's divergence, ; the partials commute so is symmetric in while is antisymmetric, and a symmetric object contracted with an antisymmetric one over the same pair sums to zero. For a gradient's curl, by the identical argument on . Only equality of mixed partials is used, so these hold for every smooth and — which is exactly why scalar and vector potentials exist.
Does index notation only work in Cartesian coordinates?
The simple form here — where is the metric and upper versus lower indices are indistinguishable — is special to orthonormal Cartesian frames. In curvilinear coordinates or curved space you must distinguish contravariant (upper) from covariant (lower) indices, replace by a general metric that raises and lowers them, and upgrade to a covariant derivative that tracks how the basis vectors themselves change — the full absolute differential calculus of Ricci and Levi-Civita. The Cartesian version is its flat, orthonormal limit, and the right place to start: every rule you learn here — repeated-index summation, free-index matching, the epsilon-delta identity — survives into the general theory essentially unchanged.