Index Notation and Summation Conventions
Index notation labels components of vectors, covectors, matrices, tensors, basis vectors, tensor factors, and summation variables. It is a compression scheme for linear algebra. Used carefully, it makes matrix products, contractions, angular-momentum identities, and tensor-product bookkeeping transparent; used casually, it hides convention errors.
The site default is conservative: sums are usually written explicitly unless a page declares that Einstein summation convention is being used. This page explains both styles and the translation between them.
Indices Label Components
Section titled “Indices Label Components”After a basis is chosen, a vector can be written
The index labels the component attached to . It is not a physical observable by itself; it is a coordinate label relative to a basis.
A covector, or dual vector, may be written
where is the dual basis satisfying
The placement of indices can carry meaning. In this finite-dimensional language, upper indices often denote vector components and lower indices often denote covector components. Many quantum pages use simpler matrix notation when no distinction is needed.
Explicit Sums
Section titled “Explicit Sums”The safest convention is to write sums explicitly:
Here is the matrix component that sends input component into output component . The repeated is summed, while remains as the free output index.
For matrix multiplication,
This says that acts first on the input index , then maps the intermediate index to the output index .
Einstein Summation Convention
Section titled “Einstein Summation Convention”Einstein summation convention suppresses the summation sign when an index is repeated once upstairs and once downstairs:
The repeated index is summed. The free index is not summed. The free indices must match on both sides of an equation.
Thus
is shorthand for
Einstein convention is efficient, but only after it has been declared. Do not assume it in a page that has not opted into it.
Free, Dummy, and Repeated Indices
Section titled “Free, Dummy, and Repeated Indices”A free index labels the component of the object being defined. In
is free and is dummy. The dummy index can be renamed:
The expression
has free indices unless a summation convention or explicit sum says otherwise. It is not the same kind of object as .
As a rule of thumb, an index should not appear more than twice in one term under Einstein convention. If it does, rewrite the expression with explicit sums.
Kronecker Delta
Section titled “Kronecker Delta”The Kronecker delta is the identity matrix in index notation:
It leaves components unchanged:
It also collapses explicit sums:
In an orthonormal basis, the inner product of basis vectors is often written
The same symbol appears in many forms because it represents the identity pairing between matching labels.
Levi-Civita Symbol
Section titled “Levi-Civita Symbol”In three dimensions, the Levi-Civita symbol is antisymmetric in all indices and is defined by
with sign changes under swaps of indices and zero when any two indices are equal.
In Euclidean Cartesian three-vector notation, authors often sum repeated lower spatial indices. With that convention, it encodes cross products:
with repeated lower spatial indices summed. It also appears in angular-momentum and Pauli-matrix identities, for example
The Levi-Civita symbol is a convention-heavy object. Sign errors often come from swapping index order, mixing orientation conventions, or silently changing whether indices start from or from .
Matrix Components and Dirac Notation
Section titled “Matrix Components and Dirac Notation”In an orthonormal basis , an operator has components
If
then is the input column index and is the output row index. With a state
the components of are
This is the same rule as matrix multiplication. Dirac notation emphasizes the operator and basis vectors; index notation emphasizes the component labels.
Tensor-Product and Multi-Indices
Section titled “Tensor-Product and Multi-Indices”For a bipartite basis , a state may be written
The pair is a multi-index: it records both subsystem labels. A local operator acts as
This identity is a useful antidote to missing identity factors. The indices act on subsystem , while the Kronecker delta carries subsystem through unchanged.
Worked Example
Section titled “Worked Example”Let
Using explicit sums,
and
With Einstein convention, the same calculation is simply
after declaring that repeated indices are summed.
Common Mistakes
Section titled “Common Mistakes”- Assuming repeated indices are summed when the page has not declared Einstein convention.
- Leaving different free indices on the two sides of an equation.
- Using the same dummy index for two unrelated sums in a way that creates ambiguity.
- Forgetting that usually means output row , input column .
- Treating Kronecker deltas as decorative rather than as identity maps over specified labels.
- Swapping Levi-Civita indices and losing a minus sign.
- Suppressing tensor-product identity factors before subsystem ordering is clear.
Cross-Links
Section titled “Cross-Links”- Mathematical Notation Used in This Volume
- Bases and Coordinates
- Matrices as Linear Maps
- Dirac Notation as Linear Algebra
- Tensor Products
- Angular Momentum Algebra
- Representation Translation Table
- Symbol Map
References
Section titled “References”- M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed., Wiley, 2005.
- G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists, 7th ed., Academic Press, 2013.
- S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
Exercises
Section titled “Exercises”- Translate into an explicit sum.
Solution
Assuming Einstein summation convention,
The index is free, while is summed.
- Simplify using Einstein convention.
Solution
First contract over :
Then contract over :
- In three dimensions, what is ?
Solution
The index order is obtained from by one swap, so