Tensor Algebra and the Tensor Product
Physics keeps writing down objects with more than one index — the stress tensor , the field strength , the metric , the Riemann curvature — and then declaring, almost as an afterthought, how their components transform under a change of coordinates. The tensor product reverses this order of business. Given a single vector space and its dual , it manufactures every one of these multi-index objects cleanly, without ever choosing coordinates, so that the index gymnastics and transformation laws come out as theorems rather than definitions. Fix a basis afterward and the indices reappear; they were bookkeeping all along. The engine that makes this work is a single universal property. A bilinear map is linear in each slot but not in the pair , which puts it just out of reach of ordinary linear algebra. The tensor product is a new vector space with a bilinear map , engineered so that every bilinear becomes an ordinary linear map — multilinearity converted, once and for all, into linearity. Because this property is stated by an existence-and-uniqueness clause, it pins down up to a unique isomorphism: any two honest constructions are canonically the same. Concretely, with bases one realizes as the span of formal products subject only to bilinearity, and its dimension is the product of the factor dimensions — the fact that most sharply separates from the direct sum . Iterating gives the tensor algebra , the free associative algebra whose quotients are the symmetric algebra, the exterior algebra of differential forms, and the Clifford algebra of spinors. Throughout, is finite-dimensional over a field (think or ) with ; curvature, connections, and forms are left to neighbouring articles.
- The tensor product is the universal space that linearizes bilinearity: every bilinear map out of factors uniquely through it as a linear map.
- If and are bases of and , then is a basis of , so — a product, not the sum of the direct sum.
- A type- tensor is an element of : a multilinear object with contravariant (upper) and covariant (lower) slots.
- The identifications and make the natural home of linear maps, contraction, and the trace.
- The tensor algebra is the free associative algebra on , parent of the symmetric, exterior, and Clifford algebras.
- Key idea: The tensor product converts multilinearity into linearity — is the unique space through which every bilinear map factors — so indices, transformation laws, contraction, and the metric are all bookkeeping for elements of iterated tensor products of and .
The tensor product converts multilinearity into linearity: is the unique space through which every bilinear map factors. Everything about tensors — indices, transformation laws, contraction, the metric — is bookkeeping for elements of iterated tensor products of and .
Where this lives today
The tensor product is the working algebra of modern quantum physics and a frontier of computation. In quantum information the state space of a joint system is , and "most tensors are not simple" is the precise statement that entanglement is generic — the resource that quantum computers, teleportation, and Bell tests all exploit. That same structure powers large-scale simulation: tensor-network methods such as matrix product states (MPS/DMRG) and PEPS represent an exponentially large many-body wavefunction as a web of small contracted tensors, turning impossible ground-state calculations into tractable ones — and the language crossed into machine learning, where every deep-learning framework is literally a "tensor" library doing these contractions on GPUs. On the geometric side, the same bookkeeping that names the metric runs LIGO's numerical-relativity codes, evolving the ten components of to predict the waveforms of merging black holes. And separability — deciding whether a mixed state factors or is entangled — is computationally hard in general, keeping the simple-versus-general distinction at the center of quantum-complexity research.
The physical picture
Think of a simple tensor as a stored recipe: fed a bilinear measuring device it returns a number, but it is kept as an honest vector so recipes can be added and scaled. The tensor product is the smallest space holding all such recipes, and its defining trick is that the awkward two-argument linearity of a bilinear map becomes ordinary one-argument linearity inside it. The cleanest model is matrices: when , the space is exactly the matrices, a simple tensor is the rank-one outer product , and a general tensor is any matrix — a sum of rank-one pieces. "Most matrices have rank greater than one" is precisely "most tensors are not simple."
Indices are just coordinates on these spaces. An upper index labels a basis of (contravariant, like a vector's components), a lower index labels a basis of (covariant, like a functional); the placement records which factor a slot belongs to, so contraction can pair one of each. This is why the same construction, iterated over and , delivers vectors, covectors, operators, metrics, and curvature as special cases distinguished only by their counts of upper and lower slots. The second figure shows the most physical instance: the split of into symmetric and antisymmetric parts, which in four-dimensional spacetime separates the ten metric components from the six of the electromagnetic field.
The core equations
Everything begins with a single map. The tensor product supplies a target space and a rule that turns an ordered pair of vectors into one vector living inside it; every identity below describes how this map behaves.
where: — vector spaces over a field ; — their tensor product, a new vector space; — a simple (decomposable) tensor, the image of the pair. Reading it: pairs go in, single honest vectors come out, ready to be added and scaled. The map is not linear in the pair but linear in each slot separately. These bilinearity relations are not theorems; they are the defining relations built into the construction, and they let a scalar slide freely between the factors.
where: — scalars in ; . Reading it: , so is not a commutative product — scalars cross the sign, the vectors never do. The property that names uniquely is universality: every bilinear map out of is secretly a linear map out of , in exactly one way.
where: — any target vector space; — a bilinear map; — the unique linear factorization; — "there exists a unique." Reading it: specifying a bilinear map is the same labour as specifying a linear map on the tensor product, so proofs reduce to checking simple tensors. Choosing a basis of each factor and forming all one-from-each products gives a basis of the tensor product, so its dimension is the product of the two.
where: — basis of , ; — basis of , ; — product, not the sum . Reading it: this is the algebraic difference between and , and why a rank-2 tensor in dimensions has components. Iterating over and produces the general tensor. A type- tensor lives in copies of and of , and expanding it on the product basis exposes the sea of upper and lower indices.
where: — components, summed over repeated indices (Einstein convention); — basis of in the contravariant (upper) slots; — dual basis with in the covariant (lower) slots. Reading it: the index picture is just components on this basis, and it fixes the transformation law — upper indices transform by the Jacobian , lower by its inverse, so a contracted pair is invariant. The most useful identification makes linear maps into tensors: a map is the same datum as an element of — a covector reads the input, a vector supplies the output.
where: — a covector measuring the input; — the output direction; — canonical isomorphism in finite dimensions. Reading it: with this is , so an operator carries one upper and one lower index, — the index structure of a matrix explained. Contraction is dual to building tensors up: it feeds a vector slot into a covector slot, collapsing both to a scalar. On an operator's single pair of slots it is exactly the trace, basis-independent by construction.
where: — the contraction map, a linear functional; — the covector's value on the vector; — the ground field. Reading it: on a higher tensor one pairs one upper with one lower slot, lowering the type by , e.g. a tensor. Stacking all tensor powers of into one graded object gives the tensor algebra, whose multiplication is itself. It is "free": it imposes no relations beyond linearity and associativity.
where: — the full (contravariant) tensor algebra; — the degree- piece; — graded direct sum, multiplication raising degree additively. Reading it: quotient by for the symmetric algebra, by for the exterior algebra, by for the Clifford algebra.
The goal is to prove that deserves its name by verifying the universal property in full: that for every target the bilinear maps correspond bijectively to the linear maps , realized by an explicit, unique factorization . This is the single fact from which every canonical isomorphism in the article descends. Let be bilinear; the claim is .
Step 1. Define the factorization on a general tensor by summing over its simple pieces, ; every element is such a finite sum since simple tensors span. Why: setting is forced, and additivity dictates the value on sums.
Step 2. Check well-definedness. Two expressions for the same tensor differ by the defining bilinearity relations of , and a bilinear annihilates exactly those relations, so the sum is independent of the representation. Why: this is the crux — well-definedness fails for an arbitrary function on pairs, and matching bilinearity to bilinearity rescues it.
Step 3. Confirm linearity and uniqueness together. Additive and homogeneous on the spanning simple tensors, is linear on all of ; and any linear with agrees with on that spanning set, hence everywhere. Why: the "" upgrades existence into a characterization, forbidding two inequivalent tensor products.
Step 4. Close the bijection. Each linear conversely yields a bilinear , and and are mutually inverse. Why: a bijection both ways makes "bilinear map" and "linear map on the tensor product" interchangeable — the whole point. This matches Roman and Stone & Goldbart.
Go deeper · Derivation B · 1 minThe dimension of the tensor product is the product of the dimensions
The goal is to prove rigorously that is a basis of , hence — both spanning and independence — using the universal property to manufacture the functionals that detect independence. This result most sharply separates from and underlies every component count in the article. Let and be bases of and .
Step 1. Show spanning by pushing bilinearity through, ; since simple tensors span, so do the . Why: bilinearity distributes the product over the basis expansions, reducing all simple tensors to the basis products.
Step 2. Build detecting functionals. For each the map is bilinear, so by universality it descends to a linear . Why: independence cannot be tested on formal sums; the universal property supplies honest functionals that read out one coordinate slot each.
Step 3. Evaluate on the candidate basis, . If , applying gives for every . Why: a family on which a dual family acts as is automatically independent — the biorthogonality argument.
Step 4. Count. Spanning plus independence make a basis of elements, so , not . Why: the matrix model has entries, agreeing with Arfken–Weber–Harris and Riley–Hobson–Bence.
Go deeper · Derivation C · 1 minEvery rank-two tensor splits into symmetric and antisymmetric parts
The goal is to prove that when is invertible in , the space decomposes as a direct sum realized by complementary projectors built from the swap operator, with dimensions and adding to . This is the algebraic reason the metric and the field strength, both rank-2 covariant tensors, are so different. Define the swap on .
Step 1. Form the projectors . Since , one has , , , and . Why: an involution splits a space into its eigenspaces, and are the eigenprojectors — the factor is why the characteristic must differ from .
Step 2. Decompose : in components is symmetric and antisymmetric, and the split is unique. Why: and lie in eigenspaces for distinct eigenvalues, meeting only at zero.
Step 3. Count: (unordered pairs with repetition), (strict pairs). Why: a symmetric array is fixed by its diagonal plus upper triangle, an antisymmetric one by its strict upper triangle with zero diagonal — the two triangles shaded in the figure.
Step 4. Verify completeness, . Why: for this is — the metric's ten components and the field strength's six — exactly the relativity bookkeeping.
Limiting cases
The tensor product specializes and degenerates in ways that double as sanity checks on the general theory.
| Case | Result | Meaning |
|---|---|---|
| One factor is the ground field | Tensoring with the field does nothing, : is the unit object for , as is for multiplication. | |
| Simple versus general tensors | , simple tensors a measure-zero cone | Rank-one matrices are vanishingly rare; a generic tensor is a genuine sum of simple pieces, so entanglement is the rule, not the exception. |
| Dual and Hom identifications | Canonical in finite dimensions; in infinite dimensions only an injection, until is completed to a topological tensor product. | |
| Symmetric–antisymmetric split (rank 2) | Valid when ; . The parts never mix, so the adjectives are basis-free. | |
| Higher rank, | has components; Sym and no longer exhaust it | The swap group is now , and mixed-symmetry pieces (Young diagrams) appear alongside the fully symmetric and antisymmetric parts. |
Worked examples
1 · Splitting a rank-2 tensor and counting components (fully worked)
Take with and the rank-2 tensor with components . Decompose it into symmetric and antisymmetric parts, confirm the component counts, and then read off the spacetime () counts that separate the metric from the field strength.
Step 1. Form the symmetric part . With transpose , this is , unchanged under swapping indices. The symmetric part is .
Step 2. Form the antisymmetric part . Its diagonal is forced to zero and the off-diagonal entries are negatives, so it carries one independent number. The antisymmetric part is .
Step 3. Check reconstruction and counts. The parts sum to . For the dimensions are symmetric and antisymmetric, . The split is for .
Step 4. Scale to spacetime. For the same formulas give and , with . The symmetric ten are the independent components of a metric ; the antisymmetric six are the components of — three electric and three magnetic. In four dimensions : metric versus field strength.
2 · The trace as a contraction, and its basis independence (fully worked)
Regard the operator as a tensor with . Contract its two slots, and confirm that the result survives a change of basis.
Step 1. Contraction pairs the single upper slot with the single lower slot, . Reading the diagonal, . The contraction is .
Step 2. See why this is coordinate-free. A tensor transforms by similarity , and by cyclicity, so belongs to the operator, not the basis. The upper index transforms by the Jacobian and the lower by its inverse; contracting cancels the two exactly. The contracted scalar is basis-independent.
Step 3. Connect it to the tensor picture. Writing and applying collapses the sum to — the same , seen as evaluating each dual-basis covector on its partner. Contraction trace the canonical pairing.
Physics of the portrait
The tensor product arrived decades before physics knew it needed it. Its inventor was not a physicist but a Prussian schoolteacher whose masterwork was ignored for a generation, only to become the silent scaffolding of relativity, quantum mechanics, and gauge theory.
Origins · 1 minHermann Grassmann and how this was discovered
Hermann Günther Grassmann was a gymnasium teacher in Stettin who never held a university chair, yet in his 1844 Ausdehnungslehre (theory of extension) he built, essentially from nothing, the first systematic calculus of multilinear quantities — the ancestor of the tensor product, the exterior product, and linear algebra as we now teach it. He treated vectors as abstract entities to be added and multiplied, defined an antisymmetric product that is the modern wedge , and grasped dimension, independence, and subspaces years before they became standard. The work was so far ahead of its notation-poor time that mathematicians found it impenetrable; discouraged, Grassmann turned to linguistics, producing a celebrated translation of the Rig-Veda and a law of Indo-European phonology (Grassmann's law) that made him more famous among philologists in his lifetime. Vindication came late: Hankel, Clifford, and Gibbs recognized in the 1870s–80s that his extension algebra contained the vector and exterior calculus physics was groping toward, and Cartan's differential forms are Grassmann's antisymmetric products made into a calculus. When Ricci and Levi-Civita assembled the tensor calculus Einstein would use for gravity, and when quantum theory placed composite systems in tensor products of Hilbert spaces, both built on the foundation Grassmann laid alone, in a schoolroom, for an audience not yet ready.
Going further
Texts. Roman, Advanced Linear Algebra, 3rd ed., Ch. 14 — the cleanest universal-property treatment · Stone & Goldbart, Mathematics for Physics, Ch. 10 · Nakahara, Geometry, Topology and Physics, 2nd ed., §2.5 · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 4 · Hassani, Mathematical Physics, Ch. 25–26 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, tensor chapter. Key numerical checks: (1) , and a tensor at has components; (2) the rank-2 split satisfies , giving at ; (3) the matrix decomposes as ; (4) the trace is invariant under .
Prerequisites. Vector spaces and linear maps · Dual Spaces and Linear Functionals · Bilinear and multilinear maps. Leads to. Covariant and Contravariant Tensors · The Metric Tensor · Tensor Contraction and the Trace · Differential Forms · Manifolds and Tangent Spaces.
Ask the tutor: Ask me to walk through why a specific physical object — the metric, , a spin-coupled state, or the stress tensor — lands in exactly its tensor-product space, and we will count its slots and components together.
What is the difference between V ⊗ W and V ⊕ W?
They are built from the same two spaces but answer different questions. The direct sum collects a vector from each space independently: its elements are pairs , its dimension is , and it fits when two systems merely coexist. The tensor product collects interactions: its elements are sums of products , its dimension is , and it fits when a quantity depends bilinearly on one input from each space — a bilinear form, a joint quantum state, a matrix. Quick tell: if the natural map into your space is linear in the pair, you want ; if linear in each argument separately, you want .
Why is v ⊗ w called a "simple" tensor, and what does that have to do with entanglement?
A simple (or decomposable) tensor can be written as a single product ; as a matrix it has rank one. Most tensors are not simple — they are sums like , the identity matrix, rank two, provably not any single . In quantum mechanics the joint state of two systems lives in ; a simple tensor is a separable (product) state, while a non-simple tensor is an entangled state whose parts have no independent description. So "most tensors are not simple" is, word for word, "most joint states are entangled" — the backbone of quantum information.
What does the universal property actually buy me in practice?
It converts hard constructions into one-line checks. To define a linear map out of you never worry about the messy relations among simple tensors: you just write a bilinear map on , and the universal property hands you a unique linear map for free. That is exactly how the trace, the determinant, contraction, and every canonical identification in this article are built. It also settles uniqueness: because the property pins down up to a single canonical isomorphism, you may use any construction — quotient of a free space, matrices, bilinear forms — and know they all agree.
Why do tensors carry upper and lower indices?
Because a general tensor is assembled from two kinds of slot, and the index position records which. An upper (contravariant) index labels a factor of and transforms by the Jacobian, like a vector's components; a lower (covariant) index labels a factor of and transforms by the inverse Jacobian, like a functional. The identification is why an operator has one of each, : it reads a vector (lower slot) and returns one (upper slot). The point of the opposite laws is that contracting an upper against a lower index cancels the two Jacobians, leaving an invariant — which is why physical laws carry balanced indices.
Is the tensor product commutative or associative?
There are canonical isomorphisms (the swap) and , so up to these natural identifications is both commutative and associative — which is what lets us write without parentheses. But equality is too strong: and are different elements in different (isomorphic) spaces, and treating them as literally equal is exactly the mistake that collapses , where antisymmetry is the whole content. So: commutative and associative up to canonical isomorphism, never as a naive equality.
Does any of this survive in infinite dimensions, as for Hilbert spaces?
Partly, and the caveats matter. The algebraic tensor product is defined in any dimension and the universal property holds verbatim. What breaks are the finite-dimensional identifications: becomes only an inclusion (the algebraic product captures just the finite-rank operators), and weakens to an injection. Quantum mechanics therefore uses the completed (Hilbert) tensor product , the completion in the natural norm, so that infinite superpositions of product states — the generic entangled states — are included. Same algebra, plus a completion step.