Mathematics · Advanced Topics

Tensor Calculus & Differential Geometry

Tensors generalize vectors and matrices to arbitrary rank and coordinate system. Differential geometry is their natural home — curved spaces, covariant derivatives, and the Riemann curvature tensor are the mathematical language of general relativity and gauge theories.

PrerequisitesLinear algebra (Ch. LA) · Vectors and calculus (Ch. 24–25) · General relativity (Ch. GR) · Group theory (Ch. GT)
Learning Goals
  • Define a tensor of type (p, q) by its transformation law and explain why tensor equations are valid in all coordinate systems.
  • Compute Christoffel symbols from the metric and use them to write the covariant derivative and the geodesic equation.
  • Calculate the Riemann tensor from Christoffel symbols, and obtain the Ricci tensor, Ricci scalar, and Einstein tensor by contraction.
  • State Stokes' theorem in differential-form language and show how it unifies the fundamental theorem of calculus, Green's theorem, and the divergence theorem.
  • Write Maxwell's equations as F=dA,dF=0,d(∗F)=∗JF = dA, dF = 0, d(*F) = *J and identify gauge invariance as A→A+dλA \to A + d\lambda.

TC.1 Tensors

Definition TC.1 — Tensor
A tensor of type (p, q) is a multilinear map from p copies of a dual space V* and q copies of a vector space V to the reals. In component form, a (1,1) tensor T transforms as:T′μν=∂x′μ∂xα∂xβ∂x′ν TαβT'^{\mu}{}_{\nu} = \dfrac{\partial x'^{\mu}}{\partial x^{\alpha}} \dfrac{\partial x^{\beta}}{\partial x'^{\nu}}\, T^{\alpha}{}_{\beta}A tensor equation valid in one coordinate system is valid in all — this is the power of tensor notation for expressing physical laws (general covariance).

Contraction: sum over a repeated upper and lower index. Contracts a (p,q) tensor to (p−1, q−1). The trace: T=TμμT = T^{\mu}{}_{\mu} is a scalar.

Raising and lowering indices: with the metric gμνg_{\mu\nu}:Tμ=gμνTνT_\mu = g_{\mu\nu} T^\nu. In flat Minkowski space: gμν=diag⁡(−1,+1,+1,+1)g_{\mu\nu} = \operatorname{diag}(-1, +1, +1, +1).

The Levi-Civita tensor εμνρσ\varepsilon^{\mu\nu\rho\sigma} (totally antisymmetric, ε0123=1/−g\varepsilon^{0123} = 1/\sqrt{-g}) is used to construct dual tensors and volume forms.

TC.2 Covariant Derivative and Christoffel Symbols

On a curved manifold, ordinary partial derivatives do not transform as tensors. The covariant derivative corrects for the change of basis:

∇μVν=∂μVν+ΓμλνVλ(covariant derivative of a vector)\nabla_\mu V^\nu = \partial_\mu V^\nu + \Gamma^{\nu}_{\mu\lambda} V^\lambda \qquad \text{(covariant derivative of a vector)}(TC.1)
Γμνλ=12gλσ(∂μgνσ+∂νgμσ−∂σgμν)(Christoffel symbols)\Gamma^{\lambda}_{\mu\nu} = \tfrac{1}{2} g^{\lambda\sigma} \left(\partial_\mu g_{\nu\sigma} + \partial_\nu g_{\mu\sigma} - \partial_\sigma g_{\mu\nu}\right) \qquad \text{(Christoffel symbols)}(TC.2)

The Christoffel symbols are NOT tensors (they vanish in local inertial frames). Key properties: Γμνλ=Γνμλ\Gamma^{\lambda}_{\mu\nu} = \Gamma^{\lambda}_{\nu\mu} (symmetric in lower indices), metric compatibility∇λgμν=0\nabla_\lambda g_{\mu\nu} = 0 (parallel transport preserves lengths).

Geodesic equation: the straightest path on a curved manifold (generalizes straight lines). Free-falling particles follow geodesics:

d2xμdτ2+Γνρμdxνdτdxρdτ=0(geodesic equation)\frac{d^2 x^\mu}{d\tau^2} + \Gamma^{\mu}_{\nu\rho} \frac{dx^\nu}{d\tau} \frac{dx^\rho}{d\tau} = 0 \qquad \text{(geodesic equation)}(TC.3)

TC.3 Curvature

The Riemann curvature tensor measures the failure of parallel transport around a loop. The commutator of covariant derivatives:

[∇μ,∇ν] Vρ=RρσμνVσ(defines the Riemann tensor)[\nabla_\mu, \nabla_\nu]\, V^\rho = R^{\rho}{}_{\sigma\mu\nu} V^\sigma \qquad \text{(defines the Riemann tensor)}(TC.4)
Rρσμν=∂μΓνσρ−∂νΓμσρ+ΓμλρΓνσλ−ΓνλρΓμσλR^{\rho}{}_{\sigma\mu\nu} = \partial_\mu \Gamma^{\rho}_{\nu\sigma} - \partial_\nu \Gamma^{\rho}_{\mu\sigma} + \Gamma^{\rho}_{\mu\lambda} \Gamma^{\lambda}_{\nu\sigma} - \Gamma^{\rho}_{\nu\lambda} \Gamma^{\lambda}_{\mu\sigma}(TC.5)

Contractions give lower-rank tensors:Ricci tensor: Rμν=RλμλνR_{\mu\nu} = R^{\lambda}{}_{\mu\lambda\nu} (trace of Riemann).Ricci scalar: R=gμνRμνR = g^{\mu\nu} R_{\mu\nu} (full trace).Einstein tensor: Gμν=Rμν−12gμνRG_{\mu\nu} = R_{\mu\nu} - \tfrac{1}{2} g_{\mu\nu} R (divergence-free: ∇μGμν=0\nabla^\mu G_{\mu\nu} = 0).

Symmetries of Riemann: Rμνρσ=−RνμρσR_{\mu\nu\rho\sigma} = -R_{\nu\mu\rho\sigma}, Rμνρσ=−RμνσρR_{\mu\nu\rho\sigma} = -R_{\mu\nu\sigma\rho}, Rμνρσ=RρσμνR_{\mu\nu\rho\sigma} = R_{\rho\sigma\mu\nu},Rμ[νρσ]=0R_{\mu[\nu\rho\sigma]} = 0 (first Bianchi). Number of independent components: n²(n²−1)/12 (= 20 in 4D spacetime).

Example TC.1 — Christoffel Symbols for the 2-Sphere

Calculate the Christoffel symbols for the 2-sphere ds2=R2(dθ2+sin⁡2θdϕ2)ds^{2} = R^{2}(d\theta^{2} + \sin^{2}\theta d\phi^{2}).

Metric:gθθ=R2, gϕϕ=R2sin⁡2θ, gθϕ=0g_{\theta\theta} = R^2,\ g_{\phi\phi} = R^2 \sin^2\theta,\ g_{\theta\phi} = 0. Inverse: gθθ=1/R2, gϕϕ=1/(R2sin⁡2θ)g^{\theta\theta} = 1/R^2,\ g^{\phi\phi} = 1/(R^2 \sin^2\theta).
Non-zero symbols:Γϕϕθ=−12gθθ∂θgϕϕ=−12(1/R2)×2R2sin⁡θcos⁡θ=−sin⁡θcos⁡θ\Gamma^{\theta}_{\phi\phi} = -\tfrac{1}{2} g^{\theta\theta} \partial_\theta g_{\phi\phi} = -\tfrac{1}{2}(1/R^2) \times 2R^2 \sin\theta\cos\theta = -\sin\theta\cos\theta.
More symbols:Γθϕϕ=Γϕθϕ=12gϕϕ∂θgϕϕ=121R2sin⁡2θ×2R2sin⁡θcos⁡θ=cot⁡θ\Gamma^{\phi}_{\theta\phi} = \Gamma^{\phi}_{\phi\theta} = \tfrac{1}{2} g^{\phi\phi} \partial_\theta g_{\phi\phi} = \tfrac{1}{2} \dfrac{1}{R^2 \sin^2\theta} \times 2R^2 \sin\theta\cos\theta = \cot\theta.
Geodesics:Great circles! The geodesic equation gives d2θ/ds2−sin⁡θcos⁡θ(dϕ/ds)2=0d^{2}\theta/ds^{2} - \sin\theta \cos\theta (d\phi/ds)^{2} = 0. For equatorial orbit θ=π/2:dϕ/ds\theta=\pi/2: d\phi/ds = const (great circle). Deviation from great circle: parallel transport of a vector around a loop at colatitude θ rotates it by the enclosed solid angle 2π(1−cos⁡θ)2\pi(1-\cos\theta) (for the equator this is 2π,i.e.no2\pi, i.e. no net rotation). This geometric phase is holonomy — related to Berry phase.

TC.4 Differential Forms

A p-form is a totally antisymmetric (0,p) tensor. They integrate naturally over p-dimensional surfaces:

ω=ωμ1⋯μp dxμ1∧⋯∧dxμp(p-form)\omega = \omega_{\mu_1 \cdots \mu_p}\, dx^{\mu_1} \wedge \cdots \wedge dx^{\mu_p} \qquad (p\text{-form})(TC.6)

The exterior derivative d maps p-forms to (p+1)-forms: d² = 0 (nilpotent). The Hodge star * maps p-forms to (n−p)-forms (n = dimension).

Theorem TC.1 — Stokes' Theorem (General)
Forany(n−1)For any (n-1)-form ω on an n-manifold M with boundary ∂M\partial M:∫Mdω=∫∂Mω\int_M d\omega = \int_{\partial M} \omegaThis unifies: the fundamental theorem of calculus (n=1n=1), Green's theorem (n=2n=2), Stokes' theorem (n=2,an=2, a surface in 3D space), and the divergence theorem (n=3n=3). Maxwell's equations in form language: dF=0dF = 0 (Bianchi), d(∗F)=∗Jd(*F) = *J (equation of motion) — elegant and coordinate-free.

Gauge theory in form language: the electromagnetic potential is a 1-formA=Aμ dxμA = A_\mu\, dx^\mu. Field strength: F=dA=12(∂μAν−∂νAμ) dxμ∧dxνF = dA = \tfrac{1}{2}(\partial_\mu A_\nu - \partial_\nu A_\mu)\, dx^\mu \wedge dx^\nu. Gauge transformation: A → A + dλ (for scalar λ). F is gauge-invariant: d(dλ) = 0. Non-Abelian gauge fields (Yang-Mills): F = dA + A ∧ A — the A∧A term encodes self-interaction (gluons interact with gluons).

TC.5 Fiber Bundles and Topology

A fiber bundle is a manifold E (total space) that locally looks like a product B × F (base × fiber) but may be twisted globally. Physical examples:

Tangent bundle TM: at each point of spacetime, attach the tangent space. Tensors are sections of tensor products of TM and T*M.

Principal bundle: a Lie group G acts on the fiber. Gauge fields are connections on principal bundles. Curvature of the connection = field strength F. The Chern-Weil homomorphism maps topological invariants (Chern classes) to integrals of F ∧ F — this is the mathematical basis of the TKNN formula in topological insulators.

Characteristic classes: Chern class c₁(E) = [F/(2π)] ∈ H²(M, ℤ) — the integral of F/(2π) over a closed surface is an integer (first Chern number). This is the mathematical origin of quantization in physics: charge quantization, magnetic monopole charge, quantum Hall conductance.

Definition TC.2 — Common Traps
  • Indices are bookkeeping, not decoration: upper and lower positions encode transformation behavior.
  • Repeated indices imply summation: free indices must match on both sides of an equation.
  • Partial derivatives are not tensorial in curved coordinates: covariant derivatives correct for connection terms.
  • The metric raises and lowers indices: it also defines lengths, angles, and contractions.
Exercises — TC.1–TC.5 Tensor Calculus
1.
Calculate the Riemann tensor and Ricci scalar for a 2-sphere of radius R. Verify that R=2/R2R = 2/R^{2}.
R⁻²
Straightforward
2.
Parallel transport a vector around a spherical triangle with vertices at the North Pole, (θ=π/2,ϕ=0\theta=\pi/2, \phi=0), and (θ=π/2,ϕ=π/2\theta=\pi/2, \phi=\pi/2). By what angle (degrees) is the vector rotated?
degrees
Intermediate
3.Write Maxwell's equations in differential form language: F=dA,dF=0,d(∗F)=∗JF = dA, dF = 0, d(*F) = *J. Show how these reduce to the standard vector equations.
Intermediate
4.Describe Chern-Simons theory and its role in the fractional quantum Hall effect. What is the connection between the Chern-Simons level k, anyon statistics, and the filling fraction?
Challenging
Key Takeaways
  • Tensors transform as products of Jacobians. Tensor equations are coordinate-independent.
  • Covariant derivative: ∇μVν=∂μVν+ΓμλνVλ\nabla_\mu V^\nu = \partial_\mu V^\nu + \Gamma^\nu_{\mu\lambda} V^\lambda. Metric compatible: ∇g=0\nabla g = 0.
  • Riemann tensor RσμνρR^\rho_{\sigma\mu\nu}: measures curvature via [∇μ,∇ν]Vρ\nabla_\mu, \nabla_\nu] V^\rho. Ricci scalar R=gμνRμνR = g^{\mu\nu} R_{\mu\nu}.
  • Differential forms: d2=0d^{2} = 0. Stokes: ∫Mdω=∫∂Mω—\int_{M} d\omega = \int_{\partial M} \omega — unifies all integration theorems.
  • Maxwell in forms: F=dA,dF=0,d∗F=∗JF = dA, dF = 0, d*F = *J. Gauge: A→A+dλA \to A + d\lambda leaves F invariant.
  • Fiber bundles: connections = gauge fields, curvature = field strength. Chern numbers are topological integers.