The Metric Tensor and the Line Element
Strip a manifold of everything but its smooth structure and you are left with a bureaucrat's map: points carry labels, charts tell you which label sits next to which, and that is all. You cannot yet ask how far apart two points are, whether two directions are perpendicular, how much time a clock reads along a worldline, or which events can signal which. Every one of those questions is answered by a single extra object laid over the manifold — the metric tensor . At each point it is a symmetric, nondegenerate bilinear map that eats two tangent vectors and returns a real number, the exact generalization of the Euclidean dot product to a space that may be curved and may carry a coordinate mesh as crooked as you like. From everything metrical descends. Its components assemble into the line element , the infinitesimal squared interval between neighbouring events; integrating along a curve returns its length, or in Lorentzian signature the proper time a clock accumulates. Nondegeneracy hands you the inverse metric and with it the raising and lowering of indices. The signature — the fixed pattern of signs of the eigenvalues, protected by Sylvester's law of inertia — decides whether you are doing Riemannian geometry () or the Lorentzian geometry () of relativity, where the same tensor that measures distance also carves the light cones and orders cause before effect. Through Einstein's equations this geometric object becomes dynamical: the metric is the gravitational field.
- The metric tensor is a symmetric, nondegenerate rank- tensor field that puts an inner product on every tangent space, turning a bare manifold into a geometry.
- Its components define the line element — the invariant infinitesimal squared interval from which lengths, angles, and proper time all follow.
- Nondegeneracy () guarantees an inverse , letting you raise and lower indices and identify each vector with a unique one-form.
- Signature is a coordinate-independent invariant: positive-definite gives Riemannian geometry, the Lorentzian gives spacetime and its causal structure.
- Position-dependent components are not curvature — flat space in polar coordinates already has ; genuine curvature is what no coordinate change can remove.
- Key idea: the metric is the one geometric object that converts a featureless smooth manifold into a space with measurable lengths, angles, and causal relations, and the line element is its coordinate-invariant fingerprint.
The metric tensor is the single geometric object that converts a featureless smooth manifold into a space with measurable lengths, angles, and causal relations; the line element is its coordinate-invariant fingerprint.
Where this lives today
The metric is not a historical relic but the daily working object of gravitational physics. When LIGO and Virgo detect a gravitational wave, what passes through the detector is a ripple in the spacetime metric itself: the line element becomes , and the strain read out — a fractional length change near — directly measures a perturbation to . The Event Horizon Telescope's black-hole images trace light along null geodesics of the Kerr metric, whose and components fix the shadow's size and asymmetry. Closer to home, every GPS satellite clock runs fast by about microseconds per day — a shift computed entirely from the difference between orbit and ground, one that would drift positioning by kilometres a day if uncorrected. From Riemann's abstract quadratic form to detector templates, the metric is what modern gravitation actually measures.
The physical picture
Think of the metric as a ruler-and-protractor bolted onto every point, and possibly re-calibrated as you move. Hand it a small displacement — a tangent vector with components — and it returns the true physical length of that step through . In flat Euclidean space written in Cartesian coordinates the ruler is the identity matrix everywhere and the formula is just the infinitesimal Pythagorean theorem, . The metric's job is to generalize Pythagoras: it allows cross terms, and it allows the coefficients to vary from point to point, so the length of a fixed coordinate step depends on where you take it and which way it points. A crucial early lesson is that varying coefficients need not mean a curved space. Lay ordinary polar coordinates on the perfectly flat plane and the metric becomes : the angular ruler grows with radius simply because a fixed increment sweeps a longer arc far from the origin. The geometry is still flat — its curvature tensor vanishes identically — but the components advertise position dependence. Coordinate artefacts and genuine curvature look identical in the raw numbers ; only invariants can tell them apart.
Nondegeneracy is the second pillar. It says no nonzero vector is orthogonal to everything, equivalently , and it is exactly what lets you invert the component matrix. The inverse is a perfect two-way dictionary between the tangent space and its dual — every vector has a unique metric-dual one-form and back — the machinery behind raising and lowering indices. Without it the inverse metric and even the Levi-Civita connection would be undefined. In Lorentzian signature the metric also sorts directions, something a Euclidean ruler never could. A displacement is timelike, null, or spacelike as is negative, zero, or positive (in ). The null directions form the light cone at each point, the timelike interior is what a massive observer can reach, and the whole causal order of spacetime is fixed before a single equation of motion is written.
The core equations
Everything begins with the metric as a pointwise inner product — a bilinear map symmetric in its two slots, , so the order of the vectors never matters and "the angle between and " is well posed. It is the single operation from which lengths () and angles follow. Feeding it an infinitesimal displacement and expanding in a coordinate basis produces the line element, the workhorse of the whole subject — a quadratic form in the coordinate differentials whose coefficients are the metric components.
where: — infinitesimal squared interval, a scalar invariant; — metric components in the chart , literally the metric evaluated on the coordinate basis vectors ; — coordinate-differential basis one-forms; repeated indices summed. Two algebraic conditions promote a generic -tensor to a genuine metric. Symmetry makes the inner product order-independent, and nondegeneracy makes the component matrix invertible — both coordinate-independent statements.
where: — symmetry, so the antisymmetric part is invisible to ; — nondegeneracy, the passport to an inverse metric. That inverse is the matrix reciprocal of the components, a -tensor whose existence is guaranteed precisely by nondegeneracy; it is the object that raises indices.
where: — inverse-metric components; — Kronecker delta ( if , else ); the last two relations trade a vector for its metric-dual one-form and back. Under a change of chart the components pick up two inverse-Jacobian factors, the defining behaviour of a -tensor and exactly what conspires with the differentials to leave untouched.
where: — new coordinates; — Jacobian matrix of the coordinate change; — components in the new chart. The raw numbers change chart to chart; only invariants carry geometry. Integrating the line element along a curve returns a physical length (Riemannian) or proper time / proper length (Lorentzian); the absolute value inside the root handles both signs of .
where: — parameter along the curve ; — tangent (velocity) vector; — arc length (Riemannian) or / proper length (Lorentzian). For a timelike worldline is the clock reading. The flat spacetime of special relativity is the reference point: in inertial coordinates the metric is the constant Minkowski array, whose one negative eigenvalue makes the geometry Lorentzian rather than Euclidean.
where: — flat-spacetime metric in inertial coordinates with . The lone minus sign encodes all of causality; flip the whole array and you get the equally common convention. Finally, demanding that the connection leave the metric alone singles out a unique way to differentiate on a curved space, expressed entirely in terms of the metric and its first derivatives.
where: — covariant derivative; — Christoffel symbols of the Levi-Civita connection. Metric compatibility means parallel transport preserves lengths and angles; with zero torsion it fixes uniquely (the fundamental theorem of Riemannian geometry).
The goal is to prove that although each component changes when you switch charts, the full contraction does not — it is a genuine scalar. This is why physics is written in terms of rather than the bare components: the interval between two nearby events is a fact about spacetime, not about the mesh you draped over it. We transform both the differentials and the components into a new chart and watch the Jacobians annihilate pairwise.
Step 1. Coordinate differentials transform with one Jacobian factor each, . Why: the are basis one-forms in the cotangent space, and this is exactly the one-form (covariant differential) transformation rule.
Step 2. The components transform with two inverse Jacobian factors, . Why: this is the definition of a -tensor, and it carries the opposite Jacobian to the differentials — the mismatch is what will cancel.
Step 3. Insert both into the primed line element: . Why: everything is now written in the unprimed chart, so the surviving structure becomes visible once the Jacobians meet.
Step 4. Collapse each Jacobian against its inverse by the chain rule, and likewise for . Why: a coordinate transformation and its inverse are literally inverse matrices, so their product is the identity — this is where the two opposite transformation laws pay off.
Step 5. The deltas collapse the sums, leaving . Why: the line element is identical in both charts, so it is a scalar — the invariant physical interval that the coordinate-dependent components merely encode.
Go deeper · Derivation B · 1 minFlat space wearing curved-looking components: the polar plane
The goal is to show explicitly that position-dependent metric components are not the same thing as curvature, by taking the unambiguously flat Euclidean plane and rewriting its metric in polar coordinates. The result, , has a component that varies with position, yet the space is the same flat plane it always was — a distinction that trips up nearly every newcomer and is worth nailing down by direct calculation.
Step 1. Start Cartesian: with , the constant identity. Why: this is manifestly the flat plane with the simplest possible metric, our fixed reference point.
Step 2. Substitute and differentiate: and . Why: the line element is built from the differentials, so we need how depend on via the chain rule.
Step 3. Square and add. The coefficient is ; the coefficient is ; the cross term is . Why: the Pythagorean identity cleans up the diagonal terms and the cross term cancels exactly, leaving a diagonal metric.
Step 4. Read off , so . Why: the angular ruler grows with radius because a fixed subtends a longer arc farther out — pure coordinate geometry.
Step 5. Compute the curvature of this metric and it vanishes identically; every component of the Riemann tensor is zero. Why: curvature is coordinate-independent, so the flat plane stays flat no matter how baroque the chart — position dependence of alone is never evidence of curvature.
Go deeper · Derivation C · 1 minWhy a metric may be taken symmetric with no loss
The goal is to justify the standing assumption . A general rank-two tensor need not be symmetric, so why insist a metric is? Because the line element contracts against the manifestly symmetric object , and any antisymmetric part contributes exactly nothing there — it is invisible to every length and angle, so keeping it would be idle baggage.
Step 1. Split any -tensor uniquely into symmetric and antisymmetric parts, with and . Why: this decomposition is basis-independent and exhausts the tensor, so we can treat the two pieces separately.
Step 2. Contract the antisymmetric part with the differentials: . Why: is symmetric under , and the contraction of a symmetric object with an antisymmetric one always vanishes.
Step 3. Therefore . Why: only the symmetric part reaches the line element, so all metrical content lives there and the antisymmetric part is geometrically inert.
Step 4. Impose nondegeneracy on that symmetric part, . Why: this promotes a mere symmetric bilinear form into a genuine metric, equipping it with an inverse and the power to raise and lower indices.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Flat Euclidean 3-space, Cartesian | , the identity; positive-definite, signature ; ordinary geometry | |
| Flat space, spherical coordinates | same flat geometry, but now depends on position — coordinate artefact, not curvature | |
| Minkowski spacetime, inertial | ; Lorentzian ; defines light cones | |
| 2-sphere of radius | genuinely curved Riemannian metric; no chart makes constant everywhere | |
| Weak static field | a single component carries Newtonian gravity and clock rates; the Newtonian potential |
Worked examples
1 · Proper time and differential aging (numeric)
In Minkowski spacetime a stay-at-home twin remains at rest while a traveller flies out and back at constant speed , returning after a coordinate time years read by the stay-at-home clock. Use the metric alone to find how much each twin ages.
Step 1. The elapsed time on any clock is the proper time read from the metric along its worldline, , so for motion at speed . This is equation (5) specialized to a timelike straight segment.
Step 2. The stay-at-home twin has , so and the ageing is simply . Coordinate time and this twin's proper time coincide because the twin sits at fixed position.
Step 3. The traveller moves at throughout (the turnaround is brief), so . Integrating, .
Step 4. The traveller returns years younger. There is no paradox: the two worldlines are different curves between the same pair of events, and the metric assigns each its own length. The straight inertial worldline of the stay-at-home twin has the longest proper time — a maximum, not a minimum. Home twin ages 20 yr, traveller ages 16 yr, difference 4 yr.
2 · Gravitational redshift from one metric component (numeric)
A photon climbs the m tower of the 1959 Pound-Rebka experiment. Using the weak-field metric component , predict the fractional frequency shift.
Step 1. Static clocks tick at rates set by : the proper time per unit coordinate time is . A photon's frequency measured by local static observers therefore shifts between two heights by .
Step 2. In the weak field with the Newtonian potential; to first order the fractional shift is , where is the local gravitational acceleration.
Step 3. Insert the numbers: .
Step 4. A photon climbing out of the well is redshifted by this fraction — barely two parts in , yet Pound and Rebka measured it to about 10% via the Mössbauer effect, and modern optical clocks confirm the same physics at the level. One metric component reproduces gravitational time dilation. Δν/ν ≈ 2.46×10⁻¹⁵ redshift.
3 · Area from the metric determinant (numeric)
Model the Earth as a sphere of radius km. From the induced 2-sphere metric, compute the total surface area and the area of the polar cap above latitude N.
Step 1. The sphere's line element is , so the component matrix is and its determinant is . The invariant area element is .
Step 2. Total area integrates from to and from to : . Numerically , the textbook surface area of the Earth.
Step 3. Latitude N is polar angle , so the cap runs : .
Step 4. Evaluate: , about of the globe. Every step used only — the determinant that reappears as the invariant volume element on any curved background. Total 5.10×10⁸ km², cap above 60°N 3.42×10⁷ km².
Physics of the portrait
The metric tensor is not a relativist's invention: it descends from a nineteenth-century revolution in pure geometry, the moment mathematicians realized a space could carry its own intrinsic notion of distance with no ambient room to sit in. The person who made that leap in full generality gave his name to the whole subject.
Origins · 1 minBernhard Riemann and how this was discovered
Georg Friedrich Bernhard Riemann was a shy, sickly, deeply original mathematician who in a single 1854 lecture laid the foundation of everything in this article. Asked by Gauss for a habilitation talk, he chose the boldest of three proposed topics, "Über die Hypothesen, welche der Geometrie zu Grunde liegen" (On the hypotheses that lie at the foundations of geometry), and used it to invent the manifold of arbitrary dimension carrying a positive-definite quadratic form — the metric — as its intrinsic measure of length. Crucially he separated the metric from curvature, showing distance is extra structure freely specified on the manifold, and introduced the curvature now bearing his name to say when a space is genuinely bent rather than merely oddly coordinated. Gauss, who had glimpsed the intrinsic geometry of surfaces in his 1827 Theorema Egregium, reportedly left astonished. Riemann had no physics in mind, yet speculated that physical space might be non-Euclidean and tied to the forces within it — an idea sixty years ahead of Einstein. He died of tuberculosis at thirty-nine; his geometry waited for Einstein, who with Marcel Grossmann's help from 1912 recognized that Riemann's metric, given Lorentzian signature and made dynamical, is exactly the gravitational field — a programme completed by the generally covariant field equations of November 1915.
Going further
Texts. Misner, Thorne & Wheeler, Gravitation, §2.2–2.5 and §13.1 · Wald, General Relativity, §2.3 and §3.1 · Carroll, Spacetime and Geometry, §2.4–2.5 · Hartle, Gravity, ch. 7 · Schutz, A First Course in General Relativity, ch. 2 and 6. Key results: the pairwise cancellation of Jacobians makes a scalar; the polar-coordinate line element has a vanishing Riemann tensor; metric compatibility fixes the Christoffel symbols uniquely; the Minkowski signature is with the timelike/null/spacelike classification following from the sign of . Worked numbers: twin proper time yr; Pound-Rebka ; sphere area km² and cap km² at km.
Prerequisites. Tangent Vectors and the Tangent Space · Cotangent Space and One-Forms · General Tensors and the Tensor Product · The Tensor Transformation Law. Leads to. Metric Signature and Lorentzian Geometry · Raising and Lowering Indices · The Invariant Volume Element · Tensor Densities and Weights.
Ask the tutor: Give me any line element and I will read off its metric, tell you whether the space is actually curved, and walk you through the proper-time or area calculation step by step.
Is the metric tensor the same thing as a matrix?
Not quite. The components in a chosen chart do assemble into a symmetric matrix you compute with — invert it, take its determinant, contract it with vectors. But the tensor is the coordinate-independent object those numbers represent, and the matrix changes chart to chart via two Jacobian factors (equation 4), a transformation law a plain matrix has no reason to obey. Two very different matrices — in Cartesian coordinates and in polar — represent the same metric on the same flat plane. The tensor is physical; the matrix is one of its infinitely many coordinate portraits.
Why must the metric be symmetric?
Because its only job that involves order — the line element — cannot see any antisymmetric part. When you contract with , and the differentials are symmetric under swapping and , any antisymmetric piece contributes exactly zero (the third derivation shows this in one line). So an antisymmetric part would be pure decoration: it would never affect a length, an angle, or a proper time. Since geometry is defined by those measurable quantities, we discard the inert antisymmetric part from the start and take with no loss of generality. Antisymmetric rank-two tensors matter elsewhere — the electromagnetic field is one — but they are not metrics.
What is the difference between the metric and curvature?
The metric is more basic: it directly gives distances, angles, and times, and you can write it down freely on any manifold. Curvature is derived — built from the second derivatives of the metric through the Christoffel symbols and the Riemann tensor — and measures whether the geometry can be flattened. This is why position-dependent components are not automatically curvature: polar coordinates make on the flat plane, whose curvature is zero. Genuine curvature, as on a sphere, is the obstruction to finding any chart in which the metric becomes constant — an honest invariant that no change of coordinates can fake or remove.
Why can the squared interval be negative?
Because in relativity the metric is Lorentzian, not Euclidean — its signature carries one minus sign, . The name "" is traditional but misleading: it is a quadratic form, not the square of a real number, so it can take either sign. The sign is precisely the useful information. A displacement with is timelike, meaning a massive clock can travel along it, and is the proper time it reads. A displacement with is null, the path of light, and is spacelike, connecting events that cannot influence each other. The single minus sign is where all of causality is stored.
How does one metric component encode gravity?
In a static weak field the time-time component carries the Newtonian potential, . Because clocks tick at the rate , a clock lower in the well runs slower — gravitational time dilation. Worked example 2 turns this into the Pound-Rebka redshift , and the same difference between orbit and ground dominates the 38 microsecond-per-day correction that keeps GPS accurate. Newtonian gravity is just the leading deviation of a single metric component from its flat value ; the other components govern light bending, frame dragging, and strong fields.
Why does the length formula use the absolute value of the squared interval?
Because a single formula, equation (5), serves both signatures and every kind of curve. In Riemannian geometry is always positive and the bars do nothing. In Lorentzian geometry the sign tracks the curve's causal character: negative for a timelike worldline, positive for a spacelike one, zero for a null one. Taking lets return a real proper time along a timelike path and a real proper length along a spacelike path with one expression. For null curves the integrand vanishes and one must use an affine parameter instead, since light rays have zero proper time — "length" degenerates exactly on the light cone.