Tensor Algebra and Index Notation
Tensor Algebra and Index Notation is the systematic calculus of multilinear objects expressed through indexed components, where covariant and contravariant indices transform oppositely under change of basis. Key result: Tensors are defined intrinsically as multilinear maps, but index notation with the Einstein summation convention provides a coordinate-free-equivalent computational machinery in which contraction, raising/lowering, and symmetrization become algebraic operations. Applies in: differential geometry, general relativity, continuum mechanics, quantum field theory, machine learning. Who/when: Ricci-Curbastro and Levi-Civita (1900) systematized the "absolute differential calculus"; Einstein popularized index notation (1916).
A tensor is an invariant object; its components are not. The genius of index notation is that it tracks how components must transform by attaching to each index a transformation slot. An expression is a valid tensor equation if and only if every free index matches in position (up/down) and name on both sides, and every repeated index appears exactly once up and once down. This "index balance" is a syntactic guarantee of geometric meaning — a typechecker for physics.
Formal Statement
Let be an -dimensional vector space over with dual . A tensor of type (contravariant rank , covariant rank ) is a multilinear map
Derivation hint: Multilinearity means linearity in each argument separately; the space of all such maps is canonically isomorphic to . Given a basis of and dual basis of with , the components are
Derivation hint: Evaluate the multilinear map on basis covectors (upper slots) and basis vectors (lower slots); multilinearity recovers on arbitrary arguments.
Whenever an index appears once as a superscript and once as a subscript in a single term, summation over its range is implied:
Derivation hint: This is purely notational; it suppresses for contractions. A repeated index is "dummy" (summed); an unrepeated index is "free" and labels a component.
Under a change of basis with inverse Jacobian (so ), the components of a -tensor transform as
Derivation hint: Substitute the basis change into [2] and use multilinearity; upper indices pull the inverse Jacobian (contravariant), lower indices pull the Jacobian (covariant). Conversely, any indexed array obeying [4] defines a unique tensor.
Let be an array. If for every tensor the contraction (summed over a complementary set of indices) yields a tensor, then is itself a tensor.
Derivation hint: Write the transformation of and , equate, and exploit arbitrariness of to peel off its transformation matrix, leaving the tensor law for .
Why It Holds / Derivation
We show that an equation with matched free indices is frame-independent.
Step 1. Suppose both and are components of -tensors . By [4],
Derivation hint: Apply the specialization of [4] to each side independently.
Step 2. If in one frame, subtract: . Multiply by :
Derivation hint: Linearity of the transformation in the components; a zero array maps to a zero array.
Step 3. Hence in every frame. The equation is invariant.
Contraction is tensorial. Set in and sum:
The key identity collapses the two transformation matrices, leaving a -tensor (scalar). This is why contraction lowers type by and yields an invariant. Derivation hint: Contracting one upper with one lower index pairs a Jacobian with its inverse, which annihilate to a Kronecker delta.
∎Ricci-Curbastro developed the absolute differential calculus between 1884 and 1900, the systematic theory of how differential expressions could be made invariant under arbitrary coordinate changes. With his student Tullio Levi-Civita, he published Méthodes de calcul différentiel absolu et leurs applications (1900), introducing the covariant/contravariant index machinery and what would become the Ricci tensor. The work languished until 1912–1915, when Einstein, guided by his friend Marcel Grossmann, recognized that this calculus was precisely the mathematics needed for a generally covariant theory of gravitation. Ricci's notation — upper and lower indices — survives essentially unchanged in modern physics.
Building Intuition
Think of a vector as an arrow that exists independently of any grid you draw. When you switch from a coarse grid to a fine grid, the basis vectors shrink but the arrow is unchanged, so its components must grow to compensate — they transform contra (against) the basis. Hence "contravariant," upper index. A covector (gradient, a stack of level surfaces) does the opposite: refine the grid and its components shrink with the basis — "covariant," lower index. The Einstein convention's "one up, one down" rule is the algebraic statement that an upper-index growth and a lower-index shrinkage cancel, producing a number everyone agrees on. Raising and lowering indices with the metric is just the geometric act of converting "arrow" descriptions to "stack" descriptions using the inner product to measure projection.
Worked Examples
Given: A rigid body has inertia tensor (in kg·m², a -symmetric tensor; here Cartesian so up/down coincide)
Find: Angular momentum and rotational kinetic energy .
Step 1 — contract once (lower one free index remains):
Derivation hint: Sum over for each fixed ; one free index ⇒ result is a covector.
Step 2 — contract again with (no free index ⇒ scalar):
Derivation hint: Full contraction of a -tensor with two copies of a vector gives an invariant scalar.
Answer:
Given: Claim — in Cartesian coordinates the Maxwell stress combination is symmetric and its divergence-related contraction is well posed.
Step 1 — check index balance. has two free upper indices on both sides:
- : free . ✓
- : supplies free ; has up and down (dummy, summed). ✓
Both terms carry exactly free — the equation is well formed.
Derivation hint: Every free index appears in the same position on every additive term; dummy index is balanced up/down.
Step 2 — symmetry. Swap : since and are symmetric.
Derivation hint: Product of components commutes; Kronecker delta is symmetric.
Step 3 — trace. . With in 3D:
Derivation hint: sums the diagonal of the identity = dimension .
Answer:
Common Misconceptions
A repeated index summed twice up or twice down is NOT a tensor contraction. Writing (both up) or (no balance) violates the convention. In Cartesian coordinates where the metric is the identity, such expressions accidentally give the right number, masking the error — but they fail to transform correctly under general coordinate changes. Always pair one upper with one lower index. Equally, a free index must appear in the same position on both sides: is meaningless (a vector cannot equal a covector); you need .
Consider in 2D the array of Christoffel symbols. It carries three indices and looks like a -tensor, but it is not a tensor. Under coordinate change it picks up an inhomogeneous second-derivative term:
Derivation hint: Differentiate the basis transformation; the extra term comes from the derivative acting on the position-dependent Jacobian. The presence of the second term means violates [4]. This is precisely why partial derivatives of tensors are not tensors, motivating the covariant derivative, whose Christoffel correction cancels the inhomogeneous piece. A correct array passing index balance can still fail to be a tensor.
Connections
Tensor algebra is the static, point-wise skeleton on which Differential Geometry builds the dynamics: smoothly varying tensors become tensor fields, and the failure of to be tensorial (the Christoffel Symbols counterexample) leads to the Covariant Derivative and Curvature Tensor. The metric tensor supplies the inner product enabling Raising and Lowering Indices, linking and — this is the index-notation face of the Musical Isomorphism. Symmetrization and antisymmetrization of indices generate the Exterior Algebra of differential forms, where antisymmetric -tensors become -forms. The abstract multilinear-map definition connects to the universal property in Multilinear Algebra and the Tensor Product of vector spaces.
Real-World Applications
Historical Development
Subtleties & Limits
Index notation's power obscures genuine conceptual subtleties. (1) Coordinate vs. abstract indices: Penrose's abstract index notation uses indices as type markers without committing to a basis, reconciling the computational clarity of indices with coordinate-freedom — but the precise category-theoretic semantics of mixing abstract and coordinate indices remains a pedagogical minefield. (2) Density and weight: Tensor densities (e.g., , the Levi-Civita symbol ) transform with Jacobian determinant powers and are not tensors; tracking weights consistently is error-prone and lacks universal notational standards. (3) Higher categories: Generalizing tensor contraction to graphical/string-diagram calculus and to symmetric monoidal categories raises open questions about canonical forms and the complexity of optimal tensor-network contraction — the latter is NP-hard, a live problem in computational physics and machine learning. (4) Infinite dimensions: In infinite-dimensional or operator-algebraic settings, and the clean raising/lowering duality breaks, so index notation requires careful reinterpretation.
See Also
Differential Geometry · Christoffel Symbols · Curvature Tensor · Raising and Lowering Indices · Tensor Product · Musical Isomorphism · Levi-Civita Symbol · Abstract Index Notation