Metric Compatibility
A connection and a metric are, at birth, strangers that happen to live on the same manifold. The metric is a ruler-and-protractor: it reports how long a vector is and what angle two vectors make. The connection — assembled in aq-gr-affine-connection and made to act through the covariant derivative of aq-gr-covariant-derivative — is a pure transport rule: it says how to carry a vector from one tangent space to the neighbouring one, with no reference to length whatsoever. Nothing in the definition of either object forces them to agree. You can build a perfectly good connection that stretches every vector it moves, and a perfectly good metric that the connection completely ignores. Metric compatibility is the single postulate that welds the two together. It demands that the covariant derivative of the metric vanish, — the metric is covariantly constant. Read geometrically, this is the promise that when a vector is parallel transported (the transport of aq-gr-parallel-transport) along any curve at all, its length never changes and the angle it makes with any other transported vector never drifts. The ruler carried by the connection stays calibrated against the ruler defined by the metric. The payoff is the fundamental theorem of (pseudo-)Riemannian geometry: out of the enormous space of possible connections, the twin demands "preserve lengths" and "no torsion" select exactly one, whose coefficients are the Christoffel symbols of aq-gr-christoffel-symbols. Physically that theorem is the equivalence principle wearing geometric clothing — and it is the quiet reason that index-raising commutes with differentiation, that geodesics keep a fixed causal character, and that makes sense at all.
- Metric compatibility is the postulate : the metric tensor is covariantly constant, so the transport rule respects the measuring rule.
- Geometrically it means parallel transport preserves every inner product — vector lengths and the angles between vectors are invariant along any curve.
- Together with vanishing torsion it uniquely fixes the connection to be the Levi-Civita connection, whose coefficients are the Christoffel symbols .
- It makes the covariant derivative commute with raising and lowering indices, and forces for the inverse metric too.
- It is a physical assumption — the equivalence principle in geometric form — not a mathematical necessity; non-metricity theories such as Weyl geometry deliberately relax it, measuring the failure by the tensor .
- Key idea: demanding that the metric be covariantly constant, , makes parallel transport preserve all inner products; combined with zero torsion it singles out the unique Levi-Civita connection given by the Christoffel symbols.
Where this lives today
The postulate that once looked like a mathematician's tidiness is now an experimental target. Because a non-metric connection would let a transported clock or ruler drift its calibration, metric compatibility is tested every time we check that atomic transition frequencies are the same here and in distant galaxies. Bounds on any spacetime variation of fundamental constants — from quasar absorption spectra, from the Oklo natural fission reactor, and from laboratory optical-clock comparisons now reaching parts in — all constrain the non-metricity that Weyl first contemplated in 1918. At the theoretical frontier the same freedom is being reopened deliberately: symmetric-teleparallel gravity recasts gravitation with zero curvature and zero torsion but nonzero non-metricity , so that the entire gravitational field lives in — the very object GR sets to zero. Whether such "" theories can match cosmological data as well as standard GR, and whether the cosmic-acceleration story needs anything beyond a metric-compatible connection, is an active research question. Metric compatibility, in other words, is no longer a definition to memorize but a hypothesis the universe keeps being asked to confirm.
The physical picture
Picture carrying a ruler and a protractor across a curved surface, always keeping them "as parallel as possible" in the sense fixed by the connection. Two things could in principle happen. The ruler could quietly stretch, so that a vector which measured one metre at the start reads a metre and a half after a long detour; and the protractor could drift, so that two vectors initially at right angles end up oblique. Metric compatibility is the flat refusal of both. It is the guarantee that the geometry's own notion of distance — encoded in — is exactly the notion of distance the connection preserves as it slides vectors around. The rule for moving vectors is forced to honour the rule for measuring them. That is what lets us differentiate inside a dot product just as in flat space, : the metric can be slid past the derivative because it does not change under it. The most vivid demonstration is a closed loop on a sphere. Transport a vector all the way around a spherical triangle and it comes back rotated — that rotation is curvature, the connection at work — but it comes back exactly the same length. Length preservation is compatibility; the rotation is a separate fact about torsion-free curvature. The first figure separates these two effects cleanly.
The index changes with nothing here — length is fixed — but the direction rotates, and that is the crucial split: compatibility is about magnitude, curvature is about direction. It is the geometric form of the equivalence principle. In a freely falling laboratory the metric looks like Minkowski's with vanishing first derivatives, so special relativity's constancy of intervals holds instantaneously; asserting "locally inertial everywhere" is precisely . Without compatibility, freely falling rods and clocks would silently recalibrate as they moved, and no experiment has ever seen that happen. The fundamental theorem is the punchline the second figure makes concrete. An arbitrary connection in four dimensions carries sixty-four independent numbers. Metric compatibility clamps forty of them; demanding zero torsion clamps the remaining twenty-four; sixty-four constraints on sixty-four unknowns leave exactly one connection standing — the Christoffel symbols. Nature, to every precision yet measured, uses that one.
The core equations
The whole subject is one equation and its consequences. The metric-compatibility condition says the covariant derivative of the metric tensor vanishes identically — every component, at every point, for every direction of differentiation. It is a postulate about the connection, imposed by hand.
where: — covariant derivative associated with the connection; — components of the metric tensor. Physical reading: the metric is covariantly constant, so parallel transport moves vectors without ever touching their lengths or mutual angles. Written out through the connection coefficients, equation (1) becomes an algebraic relation between the coordinate derivatives of the metric and the 's. The covariant derivative of any tensor subtracts one connection term for each lower index, so two negative pieces appear.
where: — ordinary partial (coordinate) derivative; — connection coefficients. Physical reading: any gradient of the metric must be exactly matched by the terms, so where the metric varies from point to point the connection cannot be zero. Solving (2) — with the extra input that the connection is symmetric in its lower indices — gives the unique closed form for the coefficients: the Christoffel symbols, built purely from first derivatives of the metric and the inverse metric.
where: — inverse metric, defined by ; — symmetric, torsion-free connection coefficients. Physical reading: gravity's connection is completely determined by the metric — there is no independent "force field" beyond the geometry itself. The geometric meaning is cleanest along a curve. Compatibility lets the metric pass through the derivative of an inner product, so the rate of change of is carried entirely by the covariant derivatives of and .
where: — two vector fields along the curve; — covariant derivative along the curve; — parameter along the curve. Physical reading: no term survives, precisely because it is zero — this is the whole content of compatibility in action. Impose that both vectors are parallel transported, , and the inner product is frozen: lengths and angles ride along unchanged.
where: — the statement that is parallel transported. Physical reading: the geometry ships a whole orthonormal frame from point to point without distortion — the basis of local inertial frames. Because is covariantly constant, so is its inverse, and index-raising or lowering therefore commutes with covariant differentiation — one of the workhorse manipulations of general relativity.
where: — inverse metric; — lowered-index component. Physical reading: you may slide indices up and down freely inside a , which is what makes covariant tensor calculus internally consistent. Finally, when compatibility is dropped the failure is itself a tensor. The non-metricity tensor measures exactly how much a vector's norm changes per unit transport, and it vanishes identically in any metric-compatible theory.
where: — non-metricity, zero in GR; — tangent of an affinely parametrized geodesic, . Physical reading: in GR , so a geodesic's tangent keeps a constant norm and a particle's worldline cannot change between timelike, null, and spacelike.
The goal is to prove that metric compatibility together with the torsion-free (symmetric) condition determines the connection uniquely and to produce its closed form. The strategy is a classic index trick: write the compatibility condition three separate times with the free indices cyclically permuted, then add the first two and subtract the third. Symmetry of the connection makes six of the resulting connection terms cancel in pairs, leaving a single that can be freed by contracting with the inverse metric. The result is equation (3), the Christoffel symbols, and it establishes the fundamental theorem of Riemannian geometry.
Step 1. Expand compatibility and move the partial derivative to one side: . Why: this converts the geometric statement into an algebraic relation in which the unknown 's appear linearly, ready to be solved.
Step 2. Cyclically permute to get a second copy, . Why: permuting the same identity generates independent equations that share the same 's, so combining them can isolate one particular coefficient.
Step 3. Permute once more for the third copy, . Why: three cyclic versions are exactly what is needed so that the unwanted terms line up to cancel in the next step.
Step 4. Form (Step 1) + (Step 2) − (Step 3). Using the symmetry (zero torsion), four of the six terms cancel pairwise and the survivors combine to give . Why: this is where torsion-freeness earns its keep — without symmetry the antisymmetric parts would not cancel and no closed form would exist.
Step 5. Contract both sides with to strip the metric off the surviving : . Why: invertibility of the metric turns "" into "", proving the solution both exists and is unique — the fundamental theorem. *As a check: a symbolic computation on the unit 2-sphere reproduces and , and the formula correctly reduces to for a constant metric.*
Go deeper · Derivation B · 1 minParallel transport preserves lengths and angles
The goal is to show that metric compatibility is equivalent to the physical statement that inner products are conserved under parallel transport — the length of a vector and the angle between two vectors do not change as they are carried along a curve. The method is to differentiate the scalar along the curve, apply the Leibniz rule for the covariant derivative, and watch the metric term vanish by compatibility. Whatever remains is proportional to the transport equations, so if the vectors are transported the whole thing is zero. This is the result that makes local orthonormal frames globally meaningful.
Step 1. For a scalar the ordinary and covariant derivatives coincide, so with . Why: promoting the plain derivative to a covariant one lets us use the tensorial Leibniz rule and the compatibility identity, which live at the level of .
Step 2. Apply the product rule: . Why: the covariant derivative distributes across products exactly like an ordinary derivative, so the three factors each contribute one term.
Step 3. Invoke compatibility, , killing the first term to leave . Why: this is the single place compatibility is used — remove it and a stray term survives and lengths drift.
Step 4. Impose parallel transport, , so . Setting gives const; keeping them distinct gives constant . Why: both the norms and the angle between the vectors are frozen, which is precisely "the ruler and protractor never change" — the geometric meaning of compatibility. *The derivation is reversible: preservation of all inner products under transport implies , so the two statements are equivalent.*
Go deeper · Derivation C · 1 minThe residual freedom — connection equals Christoffel plus contortion
The goal is to make precise a subtle and often-missed point: metric compatibility by itself does not fix the connection. It leaves a residual freedom parametrized entirely by the torsion. The method is to recall that the difference of any two connections is a genuine tensor, then ask what compatibility permits that tensor to be. The answer is a contortion tensor built from torsion, so the general metric-compatible connection is the Christoffel symbol plus contortion. Setting torsion to zero recovers Levi-Civita, and this is exactly why the fundamental theorem needs two postulates, not one.
Step 1. Define the torsion as the antisymmetric part of the connection in its lower indices, ; unlike itself this transforms as a tensor. Why: the non-tensorial, symmetric part of is what compatibility pins down, so the leftover freedom must live in the tensorial, antisymmetric torsion.
Step 2. Build the contortion tensor from torsion, , which when its first and third indices are lowered is antisymmetric in that pair. Why: that antisymmetry is exactly the condition for adding to a compatible connection without spoiling — it contributes nothing to the symmetric metric equation.
Step 3. Write the general solution , where is the Christoffel symbol of equation (3). Setting makes and recovers the unique Levi-Civita connection. Why: this displays compatibility's residual freedom explicitly — the connection is fixed only once torsion is also chosen (zero, in GR; nonzero in Einstein–Cartan gravity). *Setting recovers the Christoffel symbols, as expected. In the torsion carries components — exactly the freedom left after the 40 compatibility equations constrain the 64 connection components.*
Limiting cases
How the condition specializes or is deliberately relaxed in the important settings:
| Case | Result | Meaning |
|---|---|---|
| Flat / inertial frame | In Cartesian coordinates on Minkowski space the metric is constant, the Christoffel symbols vanish, compatibility is trivial, and . | |
| Levi-Civita (GR) | Both compatibility and zero torsion hold; the connection is the unique Christoffel connection used throughout general relativity. | |
| Einstein–Cartan / torsion | Compatibility retained but torsion allowed; the connection gains a contortion piece. Lengths are still preserved, but the uniqueness theorem no longer applies. | |
| Non-metricity (metric-affine) | Compatibility deliberately dropped; measures how vector norms change under transport, as in Weyl geometry and symmetric-teleparallel gravity. |
Worked examples
1 · Metric compatibility on the sphere, checked explicitly (confidence builder)
Take the round 2-sphere of radius with , so , . Compute its Christoffel symbols from equation (3) and verify by hand.
Step 1. The inverse metric is diagonal, and . Only depends on a coordinate, and . Every other first derivative of the metric vanishes, so at most a handful of 's can be nonzero.
Step 2. Apply equation (3). For . For . All other components are zero. Notice these are independent of — the sphere's shape fixes the connection, its size does not.
Step 3. Now test compatibility directly from equation (2): . The two terms cancel exactly. A symbolic pass over all indices confirms for every — the Christoffel connection is metric-compatible on the sphere, as the fundamental theorem guarantees.
2 · Counting the freedom in four dimensions
In spacetime dimensions, count the independent components of a general affine connection, the equations imposed by metric compatibility, and the components of torsion, and confirm that compatibility plus zero torsion leaves a unique connection.
Step 1. A connection has one upper and two lower indices with no symmetry assumed, so independent components. This is the full pool of freedom before any postulate.
Step 2. Metric compatibility carries one free index ( choices) and a symmetric pair ( choices), for independent equations. That leaves components undetermined.
Step 3. Torsion is antisymmetric in , so it has components — exactly the residual freedom. Setting therefore imposes the missing 24 equations and constraints fix all 64 components. The connection is unique: it is the Levi-Civita connection given by the Christoffel symbols.
Physics of the portrait
Metric compatibility is where two centuries of pure geometry became physics. The condition was implicit in Riemann's manifolds and Christoffel's symbols, but its meaning — that transport preserves length — only became visible once someone gave the connection an intrinsic, coordinate-free interpretation. That someone was Levi-Civita.
Origins · 1 minTullio Levi-Civita and how this was discovered
Tullio Levi-Civita, an Italian mathematician trained at Padua under Gregorio Ricci-Curbastro, gave the covariant derivative its geometric soul. In 1900 he and Ricci published the absolute differential calculus — tensor calculus — the formalism Einstein would borrow to write general relativity in 1915. But Levi-Civita's decisive personal contribution came in 1917, when he introduced the notion of parallelism on an arbitrary manifold: a coordinate-free rule for saying that a vector at one point is "the same" as a vector at a neighbouring point. This is parallel transport, and it revealed that the Christoffel symbols, until then a computational bookkeeping device, actually encode how vectors are dragged through a curved space. His construction singled out the connection that leaves lengths and angles invariant — the metric-compatible, torsion-free connection now universally called the Levi-Civita connection. It is the unique connection GR uses, and the fundamental theorem of Riemannian geometry is the statement that Levi-Civita's two demands, compatibility and symmetry, determine it completely. Einstein corresponded warmly with him and once said the Italian's work was among the most elegant he knew; when the Fascist racial laws of 1938 stripped Levi-Civita of his chair and his memberships, the loss was felt across all of mathematical physics. The concept he named turned the metric and the connection from two independent structures into one.
Going further
Texts. Misner, Thorne & Wheeler, Gravitation, §8.5 and Ch. 10 (connections and the metric) · Wald, General Relativity, §3.1 (the derivative operator and metric compatibility, eqs. 3.1.21–3.1.30) · Carroll, Spacetime and Geometry, §3.2 (covariant derivative, compatibility eq. 3.23, Christoffel eq. 3.27) · Schutz, A First Course in General Relativity, §6 · Hartle, Gravity, §8. The Christoffel formula (3) follows from the three-permutation derivation; follows from ; and the contortion decomposition reduces to Levi-Civita at zero torsion. A symbolic computation on the round 2-sphere reproduces , and confirms for every index; the component count in gives exactly. No empirical inputs are needed beyond the signature convention and units .
Prerequisites. The Covariant Derivative · The Affine Connection · Parallel Transport · Christoffel Symbols. Leads to. The Levi-Civita Connection · The Geodesic Equation · The Torsion Tensor · Killing Vectors.
Ask the tutor: Ask me to parallel-transport a vector around a loop on any surface and watch its length stay fixed while its direction rotates — the clearest way to feel why is the equivalence principle in disguise.
Is metric compatibility a theorem or an assumption?
It is an assumption — a physical postulate about which connection nature uses. Mathematically a manifold can carry any number of connections, and most of them are not compatible with a given metric: they stretch vectors as they transport them. General relativity postulates that the physical connection is the one for which , because that is the geometric content of the equivalence principle — freely falling rulers and clocks keep their calibration. Once you also postulate zero torsion, the fundamental theorem elevates this to uniqueness: there is exactly one such connection, the Levi-Civita connection. So compatibility is an assumption; the uniqueness of its consequence is the theorem.
Why exactly are there two minus signs in ∇μ g_αβ?
Because the covariant derivative of a tensor subtracts one connection term for every lower index and adds one for every upper index. The metric has two lower indices and no upper ones, so it collects two corrections: . Each term "corrects" one index for the fact that the coordinate basis itself twists from point to point. Had you differentiated the inverse metric instead, the two indices would be upstairs and you would get two terms — and, reassuringly, that expression also vanishes in a compatible theory.
Does compatibility mean spacetime is flat?
No, and this is a common confusion. Compatibility is about lengths under transport, not about curvature. A vector parallel-transported around a closed loop on a curved manifold comes back rotated — that rotation is curvature and it is entirely consistent with compatibility — but it comes back the same length. The sphere is the standard example: it is intensely curved, yet its Levi-Civita connection is perfectly metric-compatible, as the worked example shows. Curvature lives in the second derivatives of the metric (the Riemann tensor); compatibility is a condition on how the first derivatives feed the connection. The two ideas are independent.
What actually goes wrong in a theory without metric compatibility?
Vector norms stop being invariant under transport. In Weyl's 1918 geometry, for instance, a vector carried around a closed loop can return rescaled by a factor depending on the path — so a clock's ticking rate would depend on its history, and two identical atoms brought together from different journeys could disagree on their transition frequencies. Einstein's immediate objection to Weyl's theory was exactly this: we do not observe such "second clock effects", so the non-metricity must be extremely small. The failure is quantified by the tensor ; every high-precision test of the constancy of atomic spectra across space and time is, in effect, a bound on .
How does compatibility let me raise and lower indices inside a derivative?
Because a covariantly constant object can be slid freely past . Since and (by the same token) , the metric behaves like a constant with respect to covariant differentiation: , i.e. . This is the property that keeps tensor calculus consistent — you can lower an index and then differentiate, or differentiate and then lower, and get the same answer. Without compatibility these two operations would disagree, and the whole apparatus of covariant conservation laws such as would lose its meaning.
Why does a geodesic keep the same causal character?
Because compatibility freezes the norm of its tangent vector. An affinely parametrized geodesic satisfies , and then , where the metric passed through the derivative only because . So is constant along the whole geodesic. If it starts negative (timelike), it stays negative; if zero (null), it stays null; if positive (spacelike), spacelike. This is why a massive particle's worldline can be normalized to once and for all, and why light rays remain light rays — the causal structure is preserved by transport.