Index Notation and the Metric Tensor Formalism

Take a perfectly ordinary four-vector, Aμ=(2, 1, 0, 0)A^{\mu} = (2,\ 1,\ 0,\ 0), and boost it to β=0.6\beta = 0.6. Its components become A′μ=(1.75, −0.25, 0, 0)A'^{\mu} = (1.75,\ -0.25,\ 0,\ 0). Now build two numbers out of it. The first is ∑μAμAμ=4+1=5\sum_{\mu}A^{\mu}A^{\mu} = 4 + 1 = \mathbf{5} — a sum of squares, the thing every instinct trained on Euclid reaches for. The second is AμAμ=4−1=3A^{\mu}A_{\mu} = 4 - 1 = \mathbf{3} — the same components, one index lowered. In the boosted frame the first is 1.752+0.252=3.1251.75^2 + 0.25^2 = \mathbf{3.125}; it has changed by 37%37\%. The second is 1.752−0.252=3.00001.75^2 - 0.25^2 = \mathbf{3.0000}; it has not changed at all. The first is not a scalar. It is a number that is computable in any frame and means something different in each — the physics equivalent of a typo that compiles. The second is a Lorentz invariant, and the only thing separating them is that one index was lowered before the sum. In the chapter's locked signature (+,−,−,−)(+,-,-,-) the whole machine is one array, ημν=diag(+1,−1,−1,−1)\eta_{\mu\nu} = \mathrm{diag}(+1,-1,-1,-1), and one rule: contract one index up with one index down, never two the same way. What the rule guarantees is not a convention but a theorem — the covariant index transforms with the inverse matrix, because the metric is preserved. Everything else, up to "any equation with matching free indices is automatically relativistic", is a corollary.

Key takeaways
  • Index notation labels four-vector components by μ=0,1,2,3\mu = 0,1,2,3, with xμ=(ct,x,y,z)x^{\mu} = (ct, x, y, z), and the Einstein summation convention (1916) sums any index appearing once up and once down.
  • The metric tensor in this chapter's locked signature is ημν=diag(+1,−1,−1,−1)\eta_{\mu\nu} = \mathrm{diag}(+1,-1,-1,-1) — timelike-positive. It is its own inverse (ημαηαν=δμν\eta^{\mu\alpha}\eta_{\alpha\nu} = \delta^{\mu}{}_{\nu}), so lowering an index just flips the sign of the three spatial components: Aμ=(A0,−A⃗)A_{\mu} = (A^0, -\vec{A}).
  • Hence the only invariant two four-vectors admit: A⋅B=ημνAμBν=AμBμ=A0B0−A⃗⋅B⃗A\cdot B = \eta_{\mu\nu}A^{\mu}B^{\nu} = A^{\mu}B_{\mu} = A^0B^0 - \vec{A}\cdot\vec{B}. In this signature pμpμ=+m2c2p^{\mu}p_{\mu} = +m^2c^2 and □=∂μ∂μ=1c2∂t2−∇2\Box = \partial^{\mu}\partial_{\mu} = \frac{1}{c^2}\partial_t^2 - \nabla^2 — both flip in the mostly-plus convention, and mixing the two is the commonest source of an imaginary mass.
  • The owned theorem: the inverse matrix is not a new object — it is a lowered index. From ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta alone, defining Λμν≡ημαΛαβηβν\Lambda_{\mu}{}^{\nu} \equiv \eta_{\mu\alpha}\Lambda^{\alpha}{}_{\beta}\eta^{\beta\nu} gives Λμν=(Λ−1)νμ\Lambda_{\mu}{}^{\nu} = (\Lambda^{-1})^{\nu}{}_{\mu}, hence the master identity Λμα Λμβ=δαβ\Lambda^{\mu}{}_{\alpha}\,\Lambda_{\mu}{}^{\beta} = \delta_{\alpha}{}^{\beta}.
  • Corollary (manifest covariance). That identity makes every matched up-down contraction invariant, for tensors of any rank — so any equation whose free indices match on both sides is automatically Lorentz-covariant. You can check relativistic consistency by looking at the indices.
  • Key idea: index bookkeeping is a theorem, not a convention. Preserving the metric forces the lower index to transform by Λ−1\Lambda^{-1}, the two matrices then cancel inside every contraction, and Lorentz invariance becomes a syntax rule you can enforce with your eyes.
The core insight

A four-vector's components are frame-dependent; its contractions are not. The metric converts one into the other, and index position is the flag telling you which side of the machine you are on. Upper indices transform with Λ\Lambda, lower indices with Λ−1\Lambda^{-1} — not a definition someone chose, but what ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta forces. Once forced, the two matrices annihilate each other inside any up-down pair, and the whole content of "this equation is relativistically correct" collapses into "the free indices match".

Where this lives today

The formalism outgrew relativity within a decade. Its central promise — that an equation whose indices match is automatically valid in every coordinate system — is exactly what general relativity needs, and there ημν\eta_{\mu\nu} becomes a dynamical field gμν(x)g_{\mu\nu}(x) while every rule in this article survives verbatim, with one addition: ∂μ\partial_{\mu} is replaced by the covariant derivative ∇μ\nabla_{\mu}, built from the connection Levi-Civita supplied in 1917. Einstein's field equations Gμν=8πG Tμν/c4G_{\mu\nu} = 8\pi G\,T_{\mu\nu}/c^4 are a statement whose correctness of form you can verify with your eyes: two free lower indices on each side, none repeated illegally. In quantum field theory the discipline is load-bearing rather than decorative. Every Lagrangian is a Lorentz scalar by construction, and "by construction" means all indices contracted up-with-down: L=12∂μϕ ∂μϕ−12m2ϕ2\mathcal{L} = \tfrac12\partial^{\mu}\phi\,\partial_{\mu}\phi - \tfrac12 m^2\phi^2, or −14FμνFμν-\tfrac14 F^{\mu\nu}F_{\mu\nu}. The Dirac equation (iγμ∂μ−m)ψ=0(i\gamma^{\mu}\partial_{\mu} - m)\psi = 0 contracts a matrix-valued upper index against a derivative's lower one, and the signature sits in plain sight inside γμγν+γνγμ=2ημν\gamma^{\mu}\gamma^{\nu} + \gamma^{\nu}\gamma^{\mu} = 2\eta^{\mu\nu}. The same machinery reappears in machine learning as einsum, where the index string is the entire specification of the operation — the summation convention, rediscovered by people who had never heard of Ricci.

The physical picture

Euclidean geometry lets you be sloppy. With δij\delta_{ij} as the metric, lowering an index changes nothing — A1=A1A^1 = A_1 — so nobody bothers with the distinction and A⃗⋅B⃗=∑iAiBi\vec{A}\cdot\vec{B} = \sum_i A_iB_i works with every index in the same place. Minkowski geometry forbids this, and the reason is one array: ημν=diag(+1,−1,−1,−1)\eta_{\mu\nu} = \mathrm{diag}(+1,-1,-1,-1). Lowering an index with η\eta flips the sign of the three spatial components and leaves the time component alone: if Aμ=(A0, A⃗)A^{\mu} = (A^0,\ \vec{A}) then Aμ=(A0, −A⃗)A_{\mu} = (A^0,\ -\vec{A}). That one sign flip is the whole difference between a scalar and a number. Contract up with down and it produces the difference of squares that a boost preserves. Contract up with up and you get a sum of squares — a perfectly well-defined number in each frame, and a different number in each frame. The overview's case, unpacked: with Aμ=(2,1,0,0)A^{\mu} = (2,1,0,0), lowering gives Aμ=(2,−1,0,0)A_{\mu} = (2,-1,0,0), so AμAμ=4−1=3A^{\mu}A_{\mu} = 4 - 1 = 3, and under a boost to β=0.6\beta = 0.6 (γ=1.25\gamma = 1.25, γβ=0.75\gamma\beta = 0.75) the components become A′μ=(1.75,−0.25,0,0)A'^{\mu} = (1.75, -0.25, 0, 0) with A′μAμ′=1.752−0.252=3.0000A'^{\mu}A'_{\mu} = 1.75^2 - 0.25^2 = 3.0000 — unmoved, while the illegal sum slides from 55 to 3.1253.125. The formalism is designed so that you cannot make this mistake without seeing it. In AμAμA^{\mu}A_{\mu} the repeated index appears once up and once down — legal. In ∑μAμAμ\sum_{\mu}A^{\mu}A^{\mu} it appears twice up, and the summation convention pointedly refuses to apply: you had to write the ∑\sum by hand, which is the notation telling you that what you are computing is not a scalar. Index notation is a type system, and the up-down rule is its type check.

The core equations

The signature is the chapter's locked (+,−,−,−)(+,-,-,-), timelike-positive, and every sign below flips in the mostly-plus convention. State your η\eta and stay in it.

xμ=(ct, x, y, z),ημν=diag(+1,−1,−1,−1),ds2=ημν dxμdxν=c2dt2−dx2−dy2−dz2(1)x^{\mu} = (ct,\ x,\ y,\ z), \qquad \eta_{\mu\nu} = \mathrm{diag}(+1,-1,-1,-1), \qquad \mathrm{d}s^2 = \eta_{\mu\nu}\,\mathrm{d}x^{\mu}\mathrm{d}x^{\nu} = c^2\mathrm{d}t^2 - \mathrm{d}x^2 - \mathrm{d}y^2 - \mathrm{d}z^2 \qquad (1)

where: μ=0,1,2,3\mu = 0,1,2,3; the Einstein summation convention sums a repeated index appearing once up and once down. Physical reading: the chapter's convention, owned by The Minkowski Metric. Timelike ds2>0\mathrm{d}s^2 > 0, so c dτ=+ds2c\,\mathrm{d}\tau = +\sqrt{\mathrm{d}s^2} and proper time is real and positive. In (−,+,+,+)(-,+,+,+) this line reads ds2=−c2dt2+…\mathrm{d}s^2 = -c^2\mathrm{d}t^2 + \ldots and every subsequent sign in this article flips with it.

Aμ=ημνAν=(A0, −A⃗),Aμ=ημνAν,ημαηαν=δμν(2)A_{\mu} = \eta_{\mu\nu}A^{\nu} = (A^0,\ -\vec{A}), \qquad A^{\mu} = \eta^{\mu\nu}A_{\nu}, \qquad \eta^{\mu\alpha}\eta_{\alpha\nu} = \delta^{\mu}{}_{\nu} \qquad (2)

where: ημν\eta^{\mu\nu} — the inverse metric, numerically the same array; δμν\delta^{\mu}{}_{\nu} — the Kronecker delta. Physical reading: η2=I\eta^2 = I, so raising undoes lowering exactly. Lowering flips only the spatial signs. This is a gift of flatness — in a curved spacetime the inverse metric is a genuinely different array — and it is what makes index gymnastics cheap.

  A⋅B  =  ημνAμBν  =  AμBμ  =  A0B0−A⃗⋅B⃗  (3)\boxed{\;A\cdot B \;=\; \eta_{\mu\nu}A^{\mu}B^{\nu} \;=\; A^{\mu}B_{\mu} \;=\; A^0B^0 - \vec{A}\cdot\vec{B}\;} \qquad (3)

where: the only Lorentz scalar you can build from two four-vectors. Physical reading: a difference of squares, hence indefinite — A⋅AA\cdot A can be positive, negative or zero for nonzero AA. The zero-norm case is not a degeneracy but the photon: kμ=(ω/c, k⃗)k^{\mu} = (\omega/c,\ \vec{k}) with ∣k⃗∣=ω/c|\vec{k}| = \omega/c has k⋅k=0k\cdot k = 0 while kμ≠0k^{\mu} \neq 0. The four-vectors themselves are owned by Four-Vectors and Lorentz Invariance and Invariants; this article supplies the machinery.

∂μ≡∂∂xμ=(1c∂∂t, ∇),∂μ=(1c∂∂t, −∇),□≡∂μ∂μ=1c2∂2∂t2−∇2(4)\partial_{\mu} \equiv \frac{\partial}{\partial x^{\mu}} = \left(\frac{1}{c}\frac{\partial}{\partial t},\ \nabla\right), \qquad \partial^{\mu} = \left(\frac{1}{c}\frac{\partial}{\partial t},\ -\nabla\right), \qquad \Box \equiv \partial^{\mu}\partial_{\mu} = \frac{1}{c^2}\frac{\partial^2}{\partial t^2} - \nabla^2 \qquad (4)

where: □\Box — the d'Alembertian. Physical reading: note the index position on ∂μ\partial_{\mu}. The gradient with respect to an upper-index coordinate is naturally a lower-index object — the chain rule, not a convention — and it catches everybody once. In (−,+,+,+)(-,+,+,+) the d'Alembertian is the exact negative of ours, which leaves □ϕ=0\Box\phi = 0 unaffected and □ϕ=ρ\Box\phi = \rho ruined.

pμ=(E/c, p⃗),  pμpμ=E2c2−∣p⃗∣2=+ m2c2  (5)p^{\mu} = (E/c,\ \vec{p}), \qquad \boxed{\;p^{\mu}p_{\mu} = \frac{E^2}{c^2} - |\vec{p}|^2 = +\,m^2c^2\;} \qquad (5)

where: mm — the invariant mass. Physical reading: +m2c2+m^2c^2, not −m2c2-m^2c^2 — the base article for this page prints the latter, because it was written in the other signature. Unpacked, this contraction is the energy–momentum relation of relativistic dynamics, and that unpacking belongs to Four-Momentum and Energy–Momentum Relation. Here it is an example of a contraction, and nothing more.

Deriving the structure

Derivation AThe metric machinery, rebuilt from scratch in the timelike-positive signature

The base article for this page is written entirely in (−,+,+,+)(-,+,+,+) — metric, scalar product, mass shell and d'Alembertian all carry the opposite sign to ours. Each is correct in its own house and wrong in ours, so nothing below is transcribed: the machinery is rebuilt from the interval up, and the four signs are the point of the exercise.

Step 1. Fix η\eta from the interval. The interval is ds2=c2dt2−dx2−dy2−dz2\mathrm{d}s^2 = c^2\mathrm{d}t^2 - \mathrm{d}x^2 - \mathrm{d}y^2 - \mathrm{d}z^2, and writing it as the quadratic form ημνdxμdxν\eta_{\mu\nu}\mathrm{d}x^{\mu}\mathrm{d}x^{\nu} with x0=ctx^0 = ct forces ημν=diag(+1,−1,−1,−1)\eta_{\mu\nu} = \mathrm{diag}(+1,-1,-1,-1). Why: η\eta's entries are not a choice — they are read off an invariant that experiment fixed. The only freedom is an overall sign, and that is the convention.

Step 2. Invert it, and lower an index. η\eta is diagonal with entries ±1\pm1, so η2=I\eta^2 = I: it is its own inverse, ημν\eta^{\mu\nu} has the same entries as ημν\eta_{\mu\nu}, and ημαηαν=δμν\eta^{\mu\alpha}\eta_{\alpha\nu} = \delta^{\mu}{}_{\nu}. Lowering reads Aμ=ημνAν=(A0,−A1,−A2,−A3)A_{\mu} = \eta_{\mu\nu}A^{\nu} = (A^0, -A^1, -A^2, -A^3). Why: three signs flip, one does not — get that backwards and you have silently changed convention. The round trip closes: raising again gives ημνAν=(A0,−(−A1),…)=Aμ\eta^{\mu\nu}A_{\nu} = (A^0, -(-A^1), \ldots) = A^{\mu}.

Step 3. Build the scalar product: A⋅B=ημνAμBν=AμBμ=A0B0−A⃗⋅B⃗A\cdot B = \eta_{\mu\nu}A^{\mu}B^{\nu} = A^{\mu}B_{\mu} = A^0B^0 - \vec{A}\cdot\vec{B} — bilinear, symmetric, and indefinite. Why: indefiniteness is the physics. A⋅A=(A0)2−∣A⃗∣2A\cdot A = (A^0)^2 - |\vec{A}|^2 is a difference of squares, so a nonzero four-vector can have zero norm — and those are exactly the photons, k⋅k=0k\cdot k = 0 with kμ≠0k^{\mu} \neq 0. No positive-definite metric admits any such vector.

Step 4. Do the two contractions the base gets wrong. The four-gradient ∂μ=∂/∂xμ=(1c∂t, ∇)\partial_{\mu} = \partial/\partial x^{\mu} = (\tfrac1c\partial_t,\ \nabla) carries a lower index by the chain rule, so raising gives ∂μ=(1c∂t, −∇)\partial^{\mu} = (\tfrac1c\partial_t,\ -\nabla) and □=∂μ∂μ=1c2∂t2−∇2\Box = \partial^{\mu}\partial_{\mu} = \frac{1}{c^2}\partial_t^2 - \nabla^2. The mass shell: pμ=(E/c, p⃗)p^{\mu} = (E/c,\ \vec{p}) gives pμpμ=E2/c2−∣p⃗∣2=+m2c2p^{\mu}p_{\mu} = E^2/c^2 - |\vec{p}|^2 = +m^2c^2. Why: the base prints both with the opposite sign, for the honest reason that it lives in the other convention. The wave operator's sign is invisible in □ϕ=0\Box\phi = 0 and lethal in □Aμ=μ0Jμ\Box A^{\mu} = \mu_0 J^{\mu}; the mass shell's sign is the difference between a real mass and an imaginary one. This is the mixing error the whole formalism exists to prevent. *Verified in verify_aq-sr-index-notation-metric-tensor.py: η2=I\eta^2 = I and det⁡η=−1\det\eta = -1; the raise–lower round trip returns AμA^{\mu} identically; A⋅BA\cdot B reduces to A0B0−A⃗⋅B⃗A^0B^0 - \vec{A}\cdot\vec{B}; the nonzero vector (1,1,0,0)(1,1,0,0) has zero norm; □=1c2∂t2−∇2\Box = \frac{1}{c^2}\partial_t^2 - \nabla^2 and pμpμ=+m2c2p^{\mu}p_{\mu} = +m^2c^2 (asserted not −m2c2-m^2c^2); and ημνημν=4\eta^{\mu\nu}\eta_{\mu\nu} = 4, which is signature-INDEPENDENT and therefore useless as a convention check — a fact the script asserts explicitly.*

The owned result: index bookkeeping is a theorem, not a convention

Everyone is told that upper indices transform with Λ\Lambda and lower ones with Λ−1\Lambda^{-1}, and that the two therefore cancel. Almost nobody is shown why the lower one transforms with the inverse. It is not a definition. It is forced — by the one equation that defines a Lorentz transformation in the first place.

Go deeper · Derivation B · 2 minFrom the metric condition alone, the lowered index transforms by the inverse matrix
Derivation BFrom the metric condition alone, the lowered index transforms by the inverse matrix

Take ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta — the defining condition of a Lorentz transformation, owned by The Lorentz Transformation Equations and The Minkowski Metric — and add nothing. Define the lowered-index transformation matrix in the only way the formalism allows, by lowering and raising with η\eta. What comes out is the inverse matrix, exactly, and with it a single index identity from which every invariance statement in relativity follows at once, for tensors of any rank.

Step 1. Define, don't assume. A vector transforms as A′μ=ΛμνAνA'^{\mu} = \Lambda^{\mu}{}_{\nu}A^{\nu}. Its lowered partner must transform as Aμ′=ημαA′α=ημαΛαβηβνAνA'_{\mu} = \eta_{\mu\alpha}A'^{\alpha} = \eta_{\mu\alpha}\Lambda^{\alpha}{}_{\beta}\eta^{\beta\nu}A_{\nu}, so the matrix acting on lower indices is, by construction and not by choice, \Lambda_{\mu}{}^{\nu} \;\equiv\; \eta_{\mu\alpha}\,\Lambda^{\alpha}{}_{\beta}\,\eta^{\beta\nu}. Why: there is only one way to build it — lower the row index, raise the column index — because η\eta is the only thing available. Whatever this object turns out to be, we were not free to pick it.

Step 2. Turn the metric condition into a matrix statement. From ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta, multiply on the left by (ΛT)−1(\Lambda^{\mathsf{T}})^{-1}: ηΛ=(ΛT)−1η=(Λ−1)Tη\eta\Lambda = (\Lambda^{\mathsf{T}})^{-1}\eta = (\Lambda^{-1})^{\mathsf{T}}\eta. Multiply on the right by η\eta and use η2=I\eta^2 = I: \eta\,\Lambda\,\eta \;=\; (\Lambda^{-1})^{\mathsf{T}}. Why: three lines of matrix algebra, no physics added. And ηΛη\eta\Lambda\eta is precisely the array Λμν\Lambda_{\mu}{}^{\nu} of Step 1 — lowering the first index and raising the second is left- and right-multiplication by η\eta.

Step 3. Read off the theorem. \boxed{\;\Lambda_{\mu}{}^{\nu} \;=\; \big[(\Lambda^{-1})^{\mathsf{T}}\big]_{\mu}{}^{\nu} \;=\; (\Lambda^{-1})^{\nu}{}_{\mu}\;} The lowered index transforms with the inverse matrix — and it does so because the metric is preserved, not because anyone decreed it. Why: if Λ\Lambda did not preserve η\eta, the lowered index would transform with some third, unrelated matrix, contractions would not cancel, and the whole apparatus would collapse. Index gymnastics works because the Lorentz group is defined by metric preservation. Nothing else would do.

Step 4. Extract the master identity. Contract Λμα\Lambda^{\mu}{}_{\alpha} with Λμβ\Lambda_{\mu}{}^{\beta} over the up-down pair μ\mu: \Lambda^{\mu}{}_{\alpha}\,\Lambda_{\mu}{}^{\beta} \;=\; \Lambda^{\mu}{}_{\alpha}\,(\Lambda^{-1})^{\beta}{}_{\mu} \;=\; (\Lambda^{-1}\Lambda)^{\beta}{}_{\alpha} \;=\; \delta_{\alpha}{}^{\beta}. Why: <strong>this</strong> is the engine. Whenever an upper and a lower index are summed, the two transformation matrices collapse into a Kronecker delta and vanish. It is a statement about the matrices themselves, so it does not care what they act on.

Step 5. Harvest manifest covariance. Take any tensor equation with matched free indices, say Tμνρ=SμνρT^{\mu\nu}{}_{\rho} = S^{\mu\nu}{}_{\rho}. Each index carries its own Λ\Lambda or Λ−1\Lambda^{-1}; Step 4 says every contracted pair cancels, while every free index gets the same factor on both sides. So the equation holds in one frame iff it holds in all, and a fully contracted object like AμBμA^{\mu}B_{\mu} or FμνFμνF^{\mu\nu}F_{\mu\nu} is a Lorentz scalar at any rank: A'^{\mu}B'_{\mu} = \Lambda^{\mu}{}_{\alpha}A^{\alpha}\;\Lambda_{\mu}{}^{\beta}B_{\beta} = \delta_{\alpha}{}^{\beta}A^{\alpha}B_{\beta} = A^{\alpha}B_{\alpha}. Why: <strong>you can check relativistic consistency by looking at the indices.</strong> If the free indices match on both sides and every repeated index is one up and one down, the equation is Lorentz-covariant — no computation required. If they do not, it is not, and no algebra will save it. The syntax is the physics. *Verified in verify_aq-sr-index-notation-metric-tensor.py: ηΛη=(Λ−1)T\eta\Lambda\eta = (\Lambda^{-1})^{\mathsf{T}} symbolically for a general boost (and numerically for a boost, a rotation and a boost–rotation product); ΛμαΛμβ=δαβ\Lambda^{\mu}{}_{\alpha}\Lambda_{\mu}{}^{\beta} = \delta_{\alpha}{}^{\beta} exactly; A′μBμ′=AμBμA'^{\mu}B'_{\mu} = A^{\mu}B_{\mu} symbolically; and the rank-2 case F′μνFμν′=FμνFμνF'^{\mu\nu}F'_{\mu\nu} = F^{\mu\nu}F_{\mu\nu} checked on an explicit antisymmetric array, confirming the theorem holds beyond rank 1.*

Limiting cases

CaseResultMeaning
η→δij\eta \to \delta_{ij} (Euclidean)Vi=ViV_i = V^iindex position becomes invisible and ∑iAiBi\sum_i A_iB_i is legal — why the habit is so hard to break
η→gμν(x)\eta \to g_{\mu\nu}(x)general relativitythe constant array becomes a field; gμνg^{\mu\nu} is a genuinely different array and ∂μ→∇μ\partial_\mu \to \nabla_\mu
(−,+,+,+)(-,+,+,+)A⋅B→−A⋅BA\cdot B \to -A\cdot Bevery scalar product, □\Box and pμpμp^{\mu}p_{\mu} flips sign. No measurable number changes
A⋅A=0A\cdot A = 0, A≠0A \neq 0null vectorimpossible in Euclid; here it is the photon, kμ=(ω/c,k⃗)k^{\mu} = (\omega/c, \vec{k}) with ∣k⃗∣=ω/c|\vec{k}| = \omega/c
ημνημν\eta^{\mu\nu}\eta_{\mu\nu}=δμμ=4= \delta^{\mu}{}_{\mu} = 4signature-independent — the same in both conventions, so it will never catch a signature error

Worked examples

1 · The electron whose invariant mass survives the boost

An electron (mc2=0.511 MeVmc^2 = 0.511\ \mathrm{MeV}) moves at β=0.6\beta = 0.6. Write its four-momentum, contract it, and confirm the invariant.

Step 1 — identify. γ=1/1−0.36=1.25\gamma = 1/\sqrt{1-0.36} = \mathbf{1.25}, so E=γmc2=1.25×0.511=0.63875 MeVE = \gamma mc^2 = 1.25 \times 0.511 = \mathbf{0.63875\ MeV} and pc=γβmc2=0.75×0.511=0.38325 MeVpc = \gamma\beta mc^2 = 0.75 \times 0.511 = \mathbf{0.38325\ MeV}; hence pμc=(0.63875, 0.38325, 0, 0) MeVp^{\mu}c = (0.63875,\ 0.38325,\ 0,\ 0)\ \mathrm{MeV}.

Step 2 — lower the index. pμc=ημνpνc=(0.63875, −0.38325, 0, 0) MeVp_{\mu}c = \eta_{\mu\nu}p^{\nu}c = (0.63875,\ -0.38325,\ 0,\ 0)\ \mathrm{MeV} — time untouched, spatial flipped.

Step 3 — contract. p^{\mu}p_{\mu}\,c^2 = (0.63875)^2 - (0.38325)^2 = 0.408002 - 0.146881 = \mathbf{0.261121\ MeV^2}, and (mc2)2=0.5112=0.261121 MeV2(mc^2)^2 = 0.511^2 = \mathbf{0.261121\ MeV^2} — identical to every digit carried. So pμpμ=+m2c2p^{\mu}p_{\mu} = +m^2c^2, positive in this signature, and the mass comes out real.

Step 4 — the boundary check. Do the illegal contraction instead. Adding the squares rather than subtracting them gives ∑μ(pμc)2=0.554882 MeV2\sum_{\mu}(p^{\mu}c)^2 = \mathbf{0.554882\ MeV^2}, square root 0.7449 MeV\mathbf{0.7449\ MeV}. That is not the electron's mass, nor anything's mass, and at β=0.9\beta = 0.9 the same illegal quantity gives 1.5772 MeV\mathbf{1.5772\ MeV} — a "mass" that grows with the frame — while the legal contraction still returns 0.261121 MeV20.261121\ \mathrm{MeV}^2 there, unmoved. One index, and a conserved quantity becomes a coordinate artefact. (In (−,+,+,+)(-,+,+,+): pμpμ=−0.261121 MeV2p^{\mu}p_{\mu} = -0.261121\ \mathrm{MeV}^2, m=−pμpμ/c2m = \sqrt{-p^{\mu}p_{\mu}}/c^2 — same number, different square root. Mix them and you get 0.511i0.511i.)

2 · Check an equation for relativistic correctness without computing anything

Which of these can possibly be a Lorentz-covariant law?  ∂μFμν=μ0Jν\ \partial_{\mu}F^{\mu\nu} = \mu_0 J^{\nu} ·  ∂μFμν=μ0Jν\ \partial_{\mu}F^{\mu\nu} = \mu_0 J_{\nu} ·  ∂μ∂μAν=μ0Jν\ \partial^{\mu}\partial_{\mu}A^{\nu} = \mu_0 J^{\nu} ·  FμνFμν=invariant\ F^{\mu\nu}F^{\mu\nu} = \text{invariant}.

Step 1 — apply the syntax rule. By the theorem above: (i) every repeated index once up and once down, (ii) free indices matching on both sides in position as well as name.

Step 2 — grade them. ∂μFμν=μ0Jν\partial_{\mu}F^{\mu\nu} = \mu_0J^{\nu}: repeated μ\mu is down-and-up ✓, free ν\nu is up on both sides ✓ — legal, and in fact one of Maxwell's equations. ∂μFμν=μ0Jν\partial_{\mu}F^{\mu\nu} = \mu_0 J_{\nu}: free ν\nu is up on the left and down on the right ✗ — illegal; the two sides transform with different matrices and no algebra will rescue it. ∂μ∂μAν=μ0Jν\partial^{\mu}\partial_{\mu}A^{\nu} = \mu_0J^{\nu}: repeated μ\mu up-and-down ✓, free ν\nu up on both sides ✓ — legal (the wave equation in Lorenz gauge). FμνFμνF^{\mu\nu}F^{\mu\nu}: repeated indices both up, twice ✗ — not a scalar, despite looking like one; the invariant is FμνFμνF^{\mu\nu}F_{\mu\nu}.

Step 3 — the boundary number. The last is the punchline figure's trap at rank 22, and the difference is not academic: FμνFμν=2(B2−E2/c2)F^{\mu\nu}F_{\mu\nu} = 2(B^2 - E^2/c^2) is the same in every frame, while ∑μν(Fμν)2=2(B2+E2/c2)\sum_{\mu\nu}(F^{\mu\nu})^2 = 2(B^2 + E^2/c^2) is a different number for every observer — which is why E2−c2B2E^2 - c^2B^2 appears in every textbook and E2+c2B2E^2 + c^2B^2 appears in none.

Step 4 — what the rule cannot do. It certifies the form, not the content: ∂μFμν=17 μ0Jν\partial_{\mu}F^{\mu\nu} = 17\,\mu_0J^{\nu} is perfectly covariant and perfectly wrong. Index matching says an equation could be a law of physics. Experiment says whether it is.

Physics of the portrait

Origins · 2 minTullio Levi-Civita and how this was discovered
TL
Tullio Levi-Civita
1873–1941 · Padua · Rome — the absolute differential calculus, and the mathematics Einstein could not have done without

Born in Padua on 29 March 1873, Levi-Civita studied there under Gregorio Ricci-Curbastro, and the two of them built the machinery this article is about. Ricci had been developing an "absolute differential calculus" — a way of writing geometric statements so that they hold in any coordinate system, with the indices doing the bookkeeping — and in 1900 the pair published the systematic account: Méthodes de calcul différentiel absolu et leurs applications, Mathematische Annalen 54, 125–201. It is the origin of tensor analysis as physicists use it, and of the up-down discipline in this article. It might have stayed a curiosity of Italian differential geometry. Instead, in 1912, a struggling Einstein turned to his friend Marcel Grossmann for the mathematics of a gravitational theory, and Grossmann pointed him at Ricci and Levi-Civita. Einstein learned the absolute differential calculus from their work, adopted it wholesale, and in the 1916 paper laying out general relativity introduced the labour-saving device that carries his name — the summation convention, which drops the ∑\sum on any repeated index. He and Levi-Civita corresponded intensively through 1915–1917. In 1917 Levi-Civita supplied the missing geometric idea, parallel transport (Nozione di parallelismo in una varietà qualunque, Rendiconti del Circolo Matematico di Palermo 42, 173), which turned the index calculus into genuine geometry and gave the connection that bears his name. Levi-Civita taught at Padua from 1898 and moved to Rome in 1918. In 1938 the Fascist racial laws stripped him, as a Jew, of his chair and of his membership of every Italian scientific academy. He died in Rome on 29 December 1941, largely isolated. The notation survived him completely: every equation on this page is written in it.

History
1900
— Ricci-Curbastro and Levi-Civita publish Méthodes de calcul différentiel absolu et leurs applications (Mathematische Annalen 54, 125–201): tensor analysis with up-down index bookkeeping.
1905
— Poincaré's Comptes Rendus note (140, 1504, 5 June) names the Lorentz transformation and proves the transformations form a group. It contains no four-dimensional formalism.
1906
— Poincaré's Palermo memoir (Rendiconti del Circolo Matematico di Palermo 21, 129–175; received 23 July 1905, published February 1906) introduces the four-dimensional treatment with x⁴ = ict, the invariant quadratic form, and the first four-vectors.
1908
— Minkowski's Raum und Zeit (Cologne, 21 September) makes four-dimensional geometry and its invariant quadratic form the language of relativity.
1912
— Marcel Grossmann points Einstein to the Ricci–Levi-Civita absolute differential calculus as the mathematics for a theory of gravitation.
1916
— Einstein's Die Grundlage der allgemeinen Relativitätstheorie (Annalen der Physik 49, 769) introduces the summation convention: a repeated index is summed and the sigma is dropped.
1917
— Levi-Civita introduces parallel transport (Rendiconti del Circolo Matematico di Palermo 42, 173), turning the index calculus into geometry.

Going further

Texts. Rindler, Introduction to Special Relativity, 2nd ed., §§7–8 · Griffiths, Introduction to Electrodynamics, 4th ed., ch. 12 · Schutz, A First Course in General Relativity, ch. 3 · Misner, Thorne & Wheeler, Gravitation, ch. 2–3 (in (−,+,+,+)(-,+,+,+) — read the warning card first). Primary: Ricci-Curbastro & Levi-Civita, Math. Ann. 54 (1900) 125; Einstein, Ann. Phys. 49 (1916) 769.

Provenance. The base article is written entirely in the mostly-plus signature (−,+,+,+)(-,+,+,+) — metric card, interval, scalar product, d'Alembertian and mass shell all carry the opposite sign to this chapter's locked convention. Nothing was transcribed; every equation was re-derived in (+,−,−,−)(+,-,-,-), and the four sign changes are itemised in the warning card. Its third derivation card boxes E2=(pc)2+(mc2)2E^2 = (pc)^2 + (mc^2)^2 — relativistic dynamics, out of band; named here as a forward pointer, not derived. What this article proves, and the base merely asserts, is that the covariant index transforms by Λ−1\Lambda^{-1} because the metric is preserved: from ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta alone, ηΛη=(Λ−1)T\eta\Lambda\eta = (\Lambda^{-1})^{\mathsf{T}}, hence ΛμαΛμβ=δαβ\Lambda^{\mu}{}_{\alpha}\Lambda_{\mu}{}^{\beta} = \delta_{\alpha}{}^{\beta}, hence manifest covariance at any rank. Every printed number is recomputed in verify_aq-sr-index-notation-metric-tensor.py, which also asserts pμpμ=+m2c2p^{\mu}p_{\mu} = +m^2c^2, □=1c2∂t2−∇2\Box = \frac{1}{c^2}\partial_t^2 - \nabla^2, and that ημνημν=4\eta^{\mu\nu}\eta_{\mu\nu} = 4 is signature-blind. Signature: (+,−,−,−)(+,-,-,-), timelike-positive.

Builds on. Four-Vectors · The Minkowski Metric · The Spacetime Interval · Lorentz Invariance and Invariants · The Lorentz Transformation Equations. Leads to. Lorentz Invariance and Invariants · Causal Structure of Spacetime · Hyperbolic Geometry of Boosts · Four-Momentum.

Why can't I just put all the indices upstairs and insert minus signs by hand?

You can, and people did for about a decade, and it is why the early literature is so hard to read. The trouble is that the minus signs are not attached to components but to contractions — and once you have tensors of rank two or three, or derivatives, or products of several objects, there is no reliable way to remember where they go. The up-down convention outsources the bookkeeping to the notation: the metric has already put the sign in, so a legal contraction cannot be wrong. The habit worth breaking is writing AμAμA^{\mu}A^{\mu} and thinking "sum over μ\mu" — the summation convention deliberately does not fire on that, which is the notation refusing to compute a non-scalar for you.

Is η really a tensor if its components never change?

Yes — and the constancy is a special feature, not an exception. A (0,2)(0,2) tensor transforms as ημν′=ΛαμΛβνηαβ\eta'_{\mu\nu} = \Lambda^{\alpha}{}_{\mu}\Lambda^{\beta}{}_{\nu}\eta_{\alpha\beta}, and that is literally the equation ΛTηΛ=η\Lambda^{\mathsf{T}}\eta\Lambda = \eta. So η\eta is transforming like a tensor; it simply comes out numerically unchanged, exactly as δij\delta_{ij} does under rotations. That numerical invariance is not a property of tensors in general — it is the defining property of the Lorentz group, turned around. In general relativity the allowed transformations are no longer Lorentz ones, the components do change, and gμν(x)g_{\mu\nu}(x) becomes a dynamical field. The tensor was always a tensor; only the group shrank.

The four-gradient ∂_μ has a lower index. Why, when x^μ has an upper one?

The chain rule, not a convention. Under x′μ=Λμνxνx'^{\mu} = \Lambda^{\mu}{}_{\nu}x^{\nu} the derivative transforms as ∂μ′=∂xν∂x′μ∂ν=(Λ−1)νμ ∂ν\partial'_{\mu} = \frac{\partial x^{\nu}}{\partial x'^{\mu}}\partial_{\nu} = (\Lambda^{-1})^{\nu}{}_{\mu}\,\partial_{\nu} — with the inverse matrix, which by this article's theorem is exactly how a lower index transforms. So ∂μ\partial_{\mu} is naturally covariant and its index position is forced. The payoff: the four-divergence ∂μAμ\partial_{\mu}A^{\mu} is a scalar with no metric inserted by hand, and □=∂μ∂μ\Box = \partial^{\mu}\partial_{\mu} needs exactly one raise — giving 1c2∂t2−∇2\frac{1}{c^2}\partial_t^2 - \nabla^2 here.

Does anything physical depend on the choice of signature?

Nothing whatever. Proper times, invariant masses, cross-sections, decay rates — every measurable number is identical in (+,−,−,−)(+,-,-,-) and (−,+,+,+)(-,+,+,+). What differs is the sign of ds2\mathrm{d}s^2, of every scalar product, of □\Box and of pμpμp^{\mu}p_{\mu}, and which square root extracts a physical quantity: here cΔτ=+s2c\Delta\tau = +\sqrt{s^2} and m=pμpμ/cm = \sqrt{p^{\mu}p_{\mu}}/c; there cΔτ=−s2c\Delta\tau = \sqrt{-s^2} and m=−pμpμ/cm = \sqrt{-p^{\mu}p_{\mu}}/c. The danger is never in using one convention — it is in silently using two, and the symptom is an imaginary mass or an imaginary proper time.

What does "manifestly covariant" buy me, if I could transform both sides by hand?

The ability to see correctness instead of computing it. Transforming by hand is feasible at rank 1 and hopeless beyond: a rank-3 tensor equation in four dimensions has 6464 components, each a sum of 6464 terms. The theorem above collapses all of it into a syntax rule, and once the rule holds the equation holds in every inertial frame with no computation at all. That is why theorists write Lagrangians rather than component equations: a Lorentz-invariant Lagrangian is one with no free indices, and you can check that by looking.

Why is η^μν η_μν = 4 a bad way to check my signature?

Because it comes out 44 in both conventions, and that is no accident: ημνημν=δμμ=4\eta^{\mu\nu}\eta_{\mu\nu} = \delta^{\mu}{}_{\mu} = 4 is the trace of the identity in four dimensions, and it never touches the pattern of signs — only the fact that η\eta is its own inverse, true either way. It is a useful check that your raising and lowering are consistent; it is a useless check that you are in the right signature. For that you need a quantity whose sign the convention flips: pμpμ=+m2c2p^{\mu}p_{\mu} = +m^2c^2 here and −m2c2-m^2c^2 there; U⋅U=+c2U\cdot U = +c^2 here and −c2-c^2 there; a timelike s2>0s^2 > 0 here and <0< 0 there. The verify script asserts all three — because the one number everyone checks is the one number that cannot tell you.

Before this

Where this leads