FIG.30 · §07.2 TENSOR CALCULUS

TENSORS ON CURVED SPACE

Indexed objects that don't lie about which way they point.

§ 01

What is a tensor?

The §07.1 manifold gave us a space that locally looks like R4\mathbb{R}^4. At every point pp of that space there is a tangent space TpMT_p M — a flat vector space that captures the directions one can move from pp — and its dual, the cotangent space TpMT_p^* M, whose elements are linear functionals on TpMT_p M. A vector field assigns a tangent vector to each point. A covector field assigns a covector. But GR's equations of motion, its field equations, its conservation laws — all of them involve objects with multiple indices. The objects with multiple indices are tensors.

The coordinate-free definition: a type-(p, q) tensor at a point pp is a multilinear map

T:TpM××TpMp×TpM××TpMqRT: \underbrace{T_p^*M \times \cdots \times T_p^*M}_{p} \times \underbrace{T_pM \times \cdots \times T_pM}_{q} \to \mathbb{R}

It eats pp covectors and qq vectors and returns a number. Linearly in each slot. The requirement of linearity is the whole definition — everything else follows from it. A scalar is a (0, 0) tensor: it takes no arguments and returns a number. A vector is a (1, 0) tensor: feed it a covector, get a number. A covector is a (0, 1) tensor: feed it a vector, get a number. The Metric tensor gg is a (0, 2) tensor: feed it two vectors, get their inner product. The Riemann curvature tensor is a (1, 3) tensor: feed it three vectors and a covector, get the curvature of spacetime in that direction.

FIG.30a — five canonical tensor ranks drawn as index-slot diagrams. Cyan boxes above the central blob are contravariant (upper) indices; amber boxes below are covariant (lower) indices. The component count underneath each diagram is 4^(p+q) — the number of independent numbers needed to specify the tensor in 4D spacetime.
loading simulation

The scene above is the single most important picture in tensor calculus. A rank-(1, 3) tensor has 4 upper slots and 3 lower slots — 256 components in 4D. But those 256 numbers are not arbitrary: they are the components of one geometric object in one basis, and they transform in a completely determined way when you change coordinates. The transformation law is what makes a tensor a tensor.

§ 02

Components and bases

Pick a coordinate chart xμx^\mu on the manifold. The coordinate vectors μ=/xμ\partial_\mu = \partial/\partial x^\mu form a basis for TpMT_p M; their duals dxμdx^\mu form a basis for TpMT_p^* M. In this basis, the tensor TT of type (p, q) has np+qn^{p+q} components, written with pp upper (contravariant) indices and qq lower (covariant) indices:

Tμ1μpν1νqT^{\mu_1\cdots\mu_p}{}_{\nu_1\cdots\nu_q}

The full tensor is recovered by summing over all index combinations — the Einstein summation convention: any index repeated once up and once down is summed over. A tensor of type (0, 2), for example, expands as

EQ.01
T=TμνeμeνT = T^{\mu\nu} \, \mathbf{e}_\mu \otimes \mathbf{e}_\nu

where \otimes is the tensor product — the instruction to "one factor acts on the first argument, the other on the second." Every rank-(p, q) tensor decomposes this way: np+qn^{p+q} components, np+qn^{p+q} basis elements, one sum (the Einstein convention handles the bookkeeping). The indices up and down are not decorative. They tell you exactly how each component transforms.

§ 03

The transformation laws

A coordinate change xμxμx^\mu \to x'^\mu induces a change of basis. The Jacobian of the transformation is xμ/xν\partial x'^\mu/\partial x^\nu; its inverse is xν/xμ\partial x^\nu/\partial x'^\mu. These two matrices are the entire story of index gymnastics.

A contravariant (upper-index) component — one that belongs to the tangent space TpMT_p M — transforms with the Jacobian:

Va=xaxμVμV'{}^a = \frac{\partial x'{}^a}{\partial x^\mu}\, V^\mu

A covariant (lower-index) component — one that belongs to the cotangent space TpMT_p^* M — transforms with the inverse Jacobian:

ωa=xμxaωμ\omega'_a = \frac{\partial x^\mu}{\partial x'{}^a}\, \omega_\mu

These are not two separate facts. They are the same fact stated for each type of slot. The reason for the split is that the two transformations are inverses of each other — and their product (a scalar contraction) is invariant:

EQ.02
Vμωμ=VμωμV'{}^\mu \omega'_\mu = V^\mu \omega_\mu

If you rotate your coordinate frame, the vector components transform one way and the covector components transform the other way, and their contraction is unchanged. This is the precise meaning of "coordinate-independent."

FIG.30b — a fixed orange vector V in the plane, with two coordinate frames: white (Cartesian S) and purple (rotated S'). The HUD reports the components in both frames. Drag the slider to rotate S'. The vector arrow does not move — only its description changes. The Jacobian is the rotation matrix; its inverse (the transpose) governs the covector components.
loading simulation

The general rule for a type-(p, q) tensor is: apply one Jacobian factor for each upper index and one inverse-Jacobian factor for each lower index. A (0, 2) tensor transforms as

Tab=xμxaxνxbTμνT'_{ab} = \frac{\partial x^\mu}{\partial x'{}^a}\,\frac{\partial x^\nu}{\partial x'{}^b}\, T_{\mu\nu}

Two inverse-Jacobian factors, one for each lower slot. The Metric tensor gμνg_{\mu\nu} is exactly this kind of object — and its transformation law is what ensures that the inner product gμνuμvνg_{\mu\nu} u^\mu v^\nu is a coordinate-independent number even though uμu^\mu, vνv^\nu, and gμνg_{\mu\nu} each transform individually.

§ 04

Index gymnastics

The Metric tensor gμνg_{\mu\nu} does triple duty: it assigns lengths to tangent vectors, angles between them, and it provides the canonical isomorphism between the tangent space and the cotangent space. The latter operation is index-lowering:

Vμ=gμνVνV_\mu = g_{\mu\nu}\, V^\nu

Feed the metric a contravariant vector VνV^\nu in one slot and leave the other slot open — the result is a covector VμV_\mu with the same "physical content" but in the dual space. The inverse metric gμνg^{\mu\nu} (defined by gμλgλν=δνμg^{\mu\lambda} g_{\lambda\nu} = \delta^\mu_\nu) raises indices:

Vμ=gμνVνV^\mu = g^{\mu\nu}\, V_\nu

These two operations together constitute index gymnastics — the bookkeeping that keeps track of which space each object lives in. The squared length of a vector is

EQ.03
VμVμ=gμνVμVνV^\mu V_\mu = g_{\mu\nu}\, V^\mu V^\nu

In flat Minkowski spacetime with gμν=ημν=diag(1,1,1,1)g_{\mu\nu} = \eta_{\mu\nu} = \mathrm{diag}(1,-1,-1,-1), lowering an index just flips the signs of the spatial components — the physical content is trivially related to its dual. In a curved geometry the metric components vary from point to point, and the lowered components can look very different from the raised ones.

FIG.30c — V^μ (cyan bars, left) and V_μ = g_{μν} V^ν (amber bars, right) for a fixed vector in 3D. Toggle the metric between flat (η-like) and curved (spherical g = diag(1, r², r²sin²θ)). In the flat case the covariant components differ only by signs. In the curved case the angular components are scaled by r² and r²sin²θ — position-dependent stretching imposed by the geometry of the space.
loading simulation

The scene makes the point bluntly: in a curved space, raising and lowering is not trivial. The metric encodes the geometry — the departure of the space from flat — and the difference between VμV^\mu and VμV_\mu is a direct readout of that geometry. In the spherical metric at radius rr and polar angle θ\theta, the φ\varphi-component of the lowered vector is gφφVφ=r2sin2 ⁣θVφg_{\varphi\varphi} V^\varphi = r^2 \sin^2\!\theta \cdot V^\varphi, stretched by the circumference factors. This is not a choice of notation. It is what the space is.

§ 05

Why this matters

The transformation laws are not an inconvenience to be managed. They are the entire point. Consider Newton's second law Fi=maiF^i = ma^i. Written in Cartesian coordinates it holds; transformed naively to polar coordinates it fails — extra terms appear that look like forces but are just coordinate artifacts. The solution, which and Gregorio Ricci-Curbastro systematised in their 1900 Méthodes de calcul différentiel absolu, is to write all physical laws as equations between tensors. If Tμν=0T^{\mu\nu} = 0 in one coordinate system, then by the tensor transformation law, Tμν=(xμ/xα)(xν/xβ)Tαβ=0T'^{\mu\nu} = (\partial x'^\mu/\partial x^\alpha)(\partial x'^\nu/\partial x^\beta) T^{\alpha\beta} = 0 in every coordinate system. The vanishing of a tensor is coordinate-independent.

Albert Einstein learned this machinery from Marcel Grossmann in 1912, when he was searching for a relativistic theory of gravity that would be valid in any coordinate system — not just inertial frames. The tensor calculus of Ricci and Levi-Civita was the answer. The Einstein field equations

Gμν=8πGTμνG_{\mu\nu} = 8\pi G\, T_{\mu\nu}

are a tensor equation: GμνG_{\mu\nu} on the left (the Einstein tensor, a (0,2) object built from the curvature of spacetime) equals TμνT_{\mu\nu} on the right (the stress-energy tensor, a (0,2) object built from the distribution of matter and energy). Both sides transform identically under any coordinate change. The equation is therefore valid on a mountaintop, in free-fall, in polar coordinates, in Kruskal coordinates deep inside a black hole — in any chart on the manifold.

The index calculus built in this section is the language that makes that possible. Every downstream result — the geodesic equation, the Riemann tensor, the covariant derivative, the Einstein equations, the Schwarzschild solution — is written in this language. The indices are not bookkeeping clutter. They are the grammar of a coordinate-independent physics.