Tensor Algebra: Contraction, Symmetrization and Antisymmetrization
The tensor product hands you a way to build ever-larger tensors — feed two objects in, get one of higher rank out — but it never removes structure. The moment you want a number from a curvature tensor, or want to know why the metric is symmetric and the electromagnetic field is not, you need operations that go the other way: they take a tensor and return a tensor of definite, usually lower, rank, and they do it without invoking a metric, a derivative, or any coordinate choice. Three such operations run the whole of index calculus. Contraction sums a matched upper–lower pair and drops the rank by ; symmetrization and antisymmetrization split a tensor by how it behaves when you permute its slots. Each is purely algebraic, purely local — it happens independently at every point of the manifold — and each commutes with the tensor transformation law, which is precisely what earns them the right to be called tensor operations at all. What makes them powerful is that they are the only structure-preserving moves available before any geometry is imposed. Contraction is how every coordinate-invariant scalar in relativity — the Ricci scalar, the field invariant , the trace of the stress–energy tensor — is ultimately manufactured. Antisymmetrization is the algebraic engine of determinants, the Levi-Civita symbol and the entire calculus of differential forms. Symmetrization is why a line element only ever sees the symmetric part of the metric. This article builds all three from the transformation law and shows how their combinatorics quietly decides the shape of tensors across physics.
- Contraction sums a tensor over one upper and one lower index, lowering the rank by ; on a tensor it returns the trace , a coordinate-independent scalar.
- Symmetrization and antisymmetrization project a tensor onto its symmetric and alternating parts, normalized by over permuted indices of the same variance.
- All three are pointwise, linear, basis-free maps that commute with the transformation law, so they send tensors to tensors of a definite type.
- Any rank-2 tensor splits uniquely as ; in that is independent components, symmetric plus antisymmetric.
- Symmetric with antisymmetric contracts to zero, — the selection rule that decides which pieces of a tensor survive a saturation of indices.
- Key idea: contraction pairs an upper index with a lower one and sums, lowering rank by and commuting with the transformation law; symmetrization and antisymmetrization are idempotent -normalized projectors onto definite permutation symmetry — all three are pointwise, linear, basis-free tensor-to-tensor maps.
Contraction pairs an upper with a lower index and sums, lowering rank by and commuting with the transformation law; symmetrization and antisymmetrization are idempotent -normalized projectors onto definite permutation symmetry — all three are pointwise, linear, basis-free tensor-to-tensor maps.
Where this lives today
These operations are not historical curiosities; they are the silent arithmetic behind every modern computation in gravitation. When a numerical-relativity code evolves two merging black holes to produce the waveforms that LIGO and Virgo match against, it is contracting the Riemann tensor to form the Ricci and stress–energy tensors thousands of times per grid point per timestep, and it relies on the antisymmetries and the Bianchi identity to cut the curvature's naive components in down to the that are actually independent — without that reduction the computation would be intractable. The same index combinatorics is what modern tensor-algebra software (xAct, Cadabra, and the symbolic engines inside Mathematica and SageManifolds) automates, letting researchers antisymmetrize, symmetrize and contract expressions with hundreds of terms and trust the result. And the split into irreducible symmetric-traceless, trace and antisymmetric parts is the organizing principle behind the decomposition of the Riemann tensor into Ricci and Weyl pieces, the latter carrying the tidal, gravitational-wave degrees of freedom that propagate through empty space. Every one of these applications rests on the elementary fact proved above: contraction and (anti)symmetrization map tensors to tensors, so an equation built from them holds in every frame.
The physical picture
Picture a tensor as a multilinear machine with slots: some slots (upper indices) eat one-forms, the matched slots (lower indices) eat vectors, and the machine spits out a number linear in each input. Contraction is the act of feeding one of the machine's vector slots directly back into its own one-form slot and summing over every basis direction — exactly the trace of a matrix. Two slots vanish, the rank drops by , and what is left is a smaller machine that no longer depends on the frame you happened to choose. Crucially, the upper index carries a Jacobian and the lower index carries its inverse, so when you set them equal and sum, the two factors annihilate by the chain rule and the answer transforms as a genuine tensor. That cancellation is the whole reason a contraction is legal while, say, summing two upper indices is not.
Symmetrization and antisymmetrization sort a tensor's information by how it reacts when you relabel its slots. The symmetric part is the unordered content — invariant under any swap of the chosen indices — and it governs metrics, symmetric connections and the stress–energy tensor. The antisymmetric (alternating) part is the oriented content — it flips sign under an odd permutation and so encodes orientation, area and volume — and it is the raw material of determinants, the field strength and differential forms. For two indices these two parts are complementary and exhaustive: every rank-2 tensor is the sum of a symmetric and an antisymmetric piece, and nothing else. The factors are not cosmetic; they are exactly the average over the permutations that makes each operation a projector, so applying it twice changes nothing.
The core equations
The defining move is contraction. Given a tensor, choose one upper and one lower slot, set their indices equal, and sum over the range under the Einstein convention. The rank drops by exactly and the result is again a tensor.
where: — the original tensor; — the repeated index summed over its range ; — the resulting tensor. The choice of which pair to contract matters: different pairings of a high-rank tensor give genuinely different lower-rank tensors. The simplest and most important instance is the full contraction of a mixed tensor, which leaves no free indices at all and so must be a scalar — the trace.
where: — the single contraction, an invariant number; — the dimension of the manifold. Because the Jacobian on the upper index cancels the inverse Jacobian on the lower one, this number is the same in every coordinate system. Symmetrization projects onto the part of a tensor that is invariant under any permutation of a chosen set of indices of the same variance. Round brackets denote it, and the makes it an average.
where: — the symmetric group of all permutations of objects; — one such permutation; — the normalization that turns the sum into a projector. The bracket may enclose any subset of like indices; indices left outside are spectators. Antisymmetrization is the same average with a sign inserted for each odd permutation. Square brackets denote it, and it kills any term in which two of the bracketed indices coincide.
where: — for even and for odd permutations; — the fully alternating part. In dimensions the antisymmetrization of more than indices vanishes identically, since some value must repeat. For two indices the two projections are complementary and give the unique additive decomposition of any rank-2 tensor. This is the workhorse identity of index algebra.
where: — the symmetric part; — the antisymmetric part. In these carry and independent components, summing to the full . Symmetry and antisymmetry interact through contraction in a way that acts as a selection rule: a fully symmetric tensor contracted on both indices against a fully antisymmetric one gives zero, and a mixed tensor's contraction against a symmetric object sees only its symmetric part.
where: — a symmetric tensor; — an antisymmetric tensor; — an arbitrary tensor, of which only the antisymmetric part survives the contraction against . This single rule explains why the metric ignores the antisymmetric and why , being symmetric, annihilates any antisymmetric partner. Antisymmetrization at its extreme is the totally alternating Levi-Civita symbol, and contracting it against a matrix reproduces the determinant — the bridge from index algebra to volumes and orientation.
where: — the totally antisymmetric symbol with ; — the components of a linear map. The determinant is thus nothing but the fully antisymmetric combination of a matrix's columns, which is why it changes sign when two columns are swapped.
The claim that contraction is a legitimate tensor operation is not self-evident: summing selected components looks like a basis-dependent act, yet the output is supposed to transform as a tensor of rank . We prove it in the cleanest possible setting — a mixed tensor, whose single contraction leaves no free index and so ought to be a pure scalar — by pushing its transformation law through the sum and watching the Jacobian and its inverse annihilate each other via the chain rule. The identical cancellation then works pairwise inside any higher-rank tensor.
Step 1. Write the transformation law for a tensor: . Why: an upper index transforms with the Jacobian and a lower index with its inverse — the two variance types are exactly opposite, which is the fact the whole argument hinges on.
Step 2. Impose the contraction in the primed frame by setting and summing: . Why: the object we want to prove is a scalar is defined by this diagonal sum, so we must evaluate it and see what coordinate dependence, if any, remains.
Step 3. Collapse the Jacobian product with the chain rule: . Why: summing a Jacobian against its inverse over the shared index is precisely the chain rule for composing , and it produces the identity — the coordinate change has cancelled itself out.
Step 4. Substitute to finish: . Why: the contracted value is literally unchanged by the coordinate transformation, so it is a genuine scalar. Applying the same pairwise cancellation to one upper–lower pair inside a tensor leaves a bona fide tensor. (Wald 1984, §2.3; MTW §3.4.)
Go deeper · Derivation B · 1 minThe unique split and its component counts
We show that every rank-2 tensor decomposes uniquely into a symmetric and an antisymmetric part, and then count how many independent components each carries in dimensions. Uniqueness is what makes the decomposition physically meaningful — it lets one speak of the symmetric part of a tensor — and the counts are the numbers that decide, for instance, that a symmetric rank-2 tensor in four dimensions has ten components (the metric, the stress–energy) while an antisymmetric one has six (the field strength).
Step 1. Exhibit the split explicitly: , the first term symmetric, the second antisymmetric. Why: this proves existence outright — any tensor can be written this way — and it is manifestly built from the two projectors of equations (3) and (4) applied to .
Step 2. Prove uniqueness: suppose with both pairs symmetric/antisymmetric. Then is simultaneously symmetric and antisymmetric, hence zero. Why: an object equal to both its transpose and its transpose must vanish, so the two candidate splits coincide — the decomposition is unique, not merely possible.
Step 3. Count the symmetric components: . Why: an entry is fixed by an unordered pair of indices — the off-diagonal pairs, since , plus the diagonal entries that have no partner.
Step 4. Count the antisymmetric components: , and check . Why: antisymmetry forces the diagonal and ties each below-diagonal entry to minus its mirror, leaving only the distinct pairs; the two counts sum to the unrestricted total , confirming the split is complete. In : . (Carroll 2004, §1.5; Schutz 2009, Ch. 3.)
Go deeper · Derivation C · 1 minFrom the Levi-Civita symbol to the determinant
The determinant is the unique fully antisymmetric function of a matrix's columns, so it must be expressible through the alternating Levi-Civita symbol; we make that precise and, along the way, derive the contracted epsilon identity that reduces products of two symbols to antisymmetrized Kronecker deltas. This is the identity that later turns into a genuine tensor density and lets one manipulate volume elements and cross products with pure index algebra.
Step 1. Note that is alternating in its 's and in its 's, so their product is totally antisymmetric in both index groups and can only be a constant times . Why: any tensor with those exact symmetries lives in a one-dimensional space, so two such objects can differ only by an overall scalar.
Step 2. Fix the constant by evaluating at : the left side is , and the antisymmetrized deltas on the right contribute times surviving permutations, so the prefactor is . Why: matching a single well-chosen component pins down the one free constant, giving .
Step 3. Contract the repeated index pairs: . Why: summing over the matched index pairs collapses to and reduces the antisymmetrized deltas to one Kronecker delta — the everyday form used to simplify curls, cross products and -contractions.
Step 4. Read off the determinant: since is alternating in the 's it must be proportional to , and the proportionality constant is by definition . Why: this is exactly the antisymmetrized product of the columns of ; its sign-flip under column exchange and its vanishing for a repeated column are the defining properties of the determinant. (MTW Ch. 3; Wald Appendix B, with Lorentzian sign conventions.)
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Trace of a tensor | A single contraction of a tensor gives a scalar — the trace, invariant under any change of basis. | |
| Symmetric tensor | A symmetric tensor is its own symmetric part; its antisymmetric part vanishes (e.g. the metric ). | |
| Antisymmetric tensor | An antisymmetric tensor equals its antisymmetric part (e.g. the field strength ). | |
| Too many indices | In dimensions, total antisymmetrization over more than slots vanishes — some value must repeat. | |
| Idempotence | Re-projecting an already-projected object changes nothing — the normalization makes the maps projectors. |
Worked examples
1 · Splitting a concrete tensor and counting components
Take the rank-2 tensor in three dimensions with components . Find its symmetric and antisymmetric parts, verify they reconstruct , and count the independent components of each.
Step 1. The symmetric part is , i.e. . Averaging with its transpose gives , which is manifestly symmetric across the diagonal.
Step 2. The antisymmetric part is , i.e. : . The diagonal is zero, as antisymmetry demands, and each entry below the diagonal is minus its mirror above.
Step 3. Reconstruct: adding the two matrices returns exactly — for example the entry is and the entry is , both original. The split is unique and complete.
Step 4. Count: in the symmetric part has independent components (three diagonal, three off-diagonal pairs) and the antisymmetric part has (the three entries above the diagonal). These sum to , the full component count of an unrestricted tensor — the arithmetic check that no information was lost.
2 · The Levi-Civita symbol, a determinant and a contraction check
In three dimensions, use to evaluate the determinant of , then verify the single-contraction identity .
Step 1. The epsilon expansion runs over the six permutations of , one for each nonzero . Reading columns of , the even permutations contribute , , with sign, and the odd ones with .
Step 2. Insert the numbers. The three positive terms are , , ; the three negative terms are , , . So .
Step 3. Cross-check by cofactor expansion along the first column: . The two routes agree, confirming the antisymmetrized-column definition really is the determinant.
Step 4. Now the contraction identity. In , , so it predicts . Test : the surviving terms are and , summing to . Test : every term needs on the left symbol but on the right, so no term is simultaneously nonzero and the sum is . Both cases confirm .
Physics of the portrait
Tensor algebra did not fall from the sky with general relativity; it was built, deliberately and against considerable indifference, by an Italian mathematician who spent a decade convinced that the whole of geometry could be reduced to the bookkeeping of upper and lower indices.
Origins · 1 minGregorio Ricci-Curbastro and how this was discovered
Ricci-Curbastro, professor at Padua, created between roughly 1884 and 1894 what he called the absolute differential calculus — the systematic theory of quantities that transform tensorially, together with the operations that preserve that character. His notation of covariant (lower) and contravariant (upper) indices, and the operation of contraction that pairs and sums them, are exactly the machinery of this article. For years the work was regarded as an elegant but idle formalism; even Ricci's colleagues saw little use for a calculus whose main virtue was that its equations held in every coordinate system. In 1900 he and his former student Tullio Levi-Civita published the definitive exposition, Méthodes de calcul différentiel absolu et leurs applications, in the Mathematische Annalen, laying out symmetrization, contraction and the transformation law in the form still taught today. The vindication came a decade later: when Einstein, guided by Marcel Grossmann, searched for a language in which the laws of gravitation could be written independently of the observer, he found it waiting, fully formed, in Ricci's calculus. The invariants of general relativity — the Ricci tensor and the Ricci scalar that carry his name — are contractions in precisely his sense.
Going further
References. Misner, Thorne & Wheeler, Gravitation (1973), §3.2–3.5 · Wald, General Relativity (1984), §2.3 and Appendix B · Carroll, Spacetime and Geometry (2004), §1.5–1.7 · Schutz, A First Course in General Relativity, 2nd ed. (2009), Ch. 3 · Hartle, Gravity (2003), Ch. 20. The component counts , and the independent Riemann components in (from with the Riemann symmetries plus the Bianchi identity), are standard results of the symmetry analysis in this article. The contracted Levi-Civita identity and the determinant expansion are derived in the Levi-Civita derivation above; sign conventions depend on the choice of metric signature. The perfect-fluid trace assumes the signature.
Builds on: General Tensors and the Tensor Product · The Tensor Transformation Law · Tangent Vectors and the Tangent Space · Cotangent Space and One-Forms. Leads to: Raising and Lowering Indices · The Invariant Volume Element · Tensor Densities and Weights · The Metric Tensor and the Line Element.
Ask the tutor: Ask me to antisymmetrize a specific tensor, count the independent components of any symmetry type in dimensions, or walk through why one particular contraction of the Riemann tensor gives the Ricci tensor while another gives zero.
Why does contracting an upper with a lower index give a tensor, but summing two upper indices does not?
Because the two index positions transform by opposite factors. An upper index picks up a Jacobian and a lower index its inverse; when you set an upper equal to a lower and sum, those two factors meet and cancel via the chain rule, leaving something that transforms as a tensor of rank lowered by . If instead you sum two upper indices, you have two Jacobians and nothing to cancel them, so the result depends on the coordinate system and is not a tensor. To pair two like indices legitimately you first raise or lower one with the metric — then it is genuinely an upper against a lower, and the cancellation goes through.
What is the difference between the Levi-Civita symbol and the Levi-Civita tensor?
The symbol is a fixed array of and , defined by total antisymmetry and , identical in every coordinate system by fiat. It is not a tensor: under a coordinate change its natural transform picks up a factor of the Jacobian determinant, so it behaves as a tensor density of weight . The genuine tensor is obtained by multiplying with , giving , which does transform correctly and defines the invariant volume element. This article uses the symbol for the pure algebra of determinants; the promotion to a tensor via belongs to the invariant-volume-element article that follows.
Do the factors matter, or are they just convention?
They matter for one specific and useful property: idempotence. With the normalization, symmetrization and antisymmetrization are true projectors — applying either one twice gives the same result, and — because you are genuinely averaging over the permutations rather than merely summing them. Some texts (notably in older differential-forms literature) drop the factor and absorb it elsewhere, which is legitimate but then the operations are no longer projectors and factors of reappear in identities like the wedge product. The convention used here, matching MTW, Wald and Carroll, keeps the algebra clean: a projector squared is itself.
How do these operations produce the independent components of the Riemann tensor?
The Riemann tensor starts with components in four dimensions, but antisymmetrization and symmetrization conditions slash that number. It is antisymmetric in its first pair, , and in its second pair, ; each antisymmetric pair has independent values, and the symmetry under swapping the pairs makes the block symmetric, giving . The first Bianchi identity imposes one further condition in four dimensions, removing exactly one, leaving . Every step is an application of the operations in this article.
When I contract a tensor, does it matter which pair of indices I choose?
Yes, in general it does. A single high-rank tensor admits several distinct contractions, and they usually give different lower-rank tensors. The Riemann tensor is the classic example: contracting its first and third indices, , defines the Ricci tensor, whereas contracting the first and second, , gives zero by the antisymmetry , and contracting the first and fourth gives . So one must specify the slots. The only case where the choice is immaterial is a tensor, which has just one upper and one lower index, so its single contraction — the trace — is unambiguous.
Why is the metric taken symmetric — could it have an antisymmetric part?
A metric appears only through the line element , and the product is symmetric under . By the selection rule of equation (6), a symmetric object contracted against sees only the symmetric part of : any antisymmetric piece would contract to zero and make no contribution to lengths or angles whatsoever. So one loses nothing by declaring the metric symmetric from the start, and every standard formulation of general relativity does. Theories that do keep an antisymmetric part (Einstein–Cartan with torsion, or non-symmetric gravitation) are using that part for something other than the line element — typically to encode spin or additional fields.