General Relativity

Einstein's Masterpiece: Gravity is the curvature of spacetime. Mass-energy tells spacetime how to curve, and spacetime tells mass-energy how to move.

Chapter 14: Stress-Energy Tensor

The stress-energy tensor Tμν describes the distribution of energy, momentum, and stress in spacetime. It's the source of gravity in Einstein's equations, replacing Newtonian mass density with a full description of matter and fields.

Physical Interpretation

T00 = Energy Density

\( \rho c^2 \) — mass-energy per unit volume

T0i = Momentum Density

Energy flux / momentum per unit volume

Ti0 = Energy Flux

Energy flow per unit area per unit time

Tij = Stress Tensor

Pressure (diagonal), shear stress (off-diagonal)

Key property: Tμν is symmetric (Tμν = Tνμ), ensuring angular momentum conservation.

Perfect Fluid

The most common matter model in cosmology and astrophysics:

\( T_{\mu\nu} = (\rho + p/c^2) u_\mu u_\nu + p \, g_{\mu\nu} \)

ρ = energy density, p = pressure, uμ = 4-velocity

Dust (p = 0)

\( T_{\mu\nu} = \rho u_\mu u_\nu \)

Non-relativistic matter, galaxies

Radiation (p = ρc²/3)

Equation of state w = 1/3

Photons, early universe

Dark Energy (p = -ρc²)

\( T_{\mu\nu} = -\rho c^2 g_{\mu\nu} \) (cosmological constant)

Accelerating expansion

Stiff Matter (p = ρc²)

Equation of state w = 1

Hypothetical, very early universe

Electromagnetic Field

\( T_{\mu\nu} = \frac{1}{\mu_0}\left( F_{\mu\alpha}F_\nu^{\;\alpha} - \frac{1}{4}g_{\mu\nu}F_{\alpha\beta}F^{\alpha\beta} \right) \)

Properties

  • • Trace-free: Tμμ = 0 (radiation-like)
  • • Energy density: \( u = \frac{1}{2}(\epsilon_0 E^2 + B^2/\mu_0) \)
  • • Poynting vector: \( \vec{S} = \vec{E} \times \vec{B}/\mu_0 \)
  • • Maxwell stress tensor for Tij

Conservation Law

\( \nabla_\mu T^{\mu\nu} = 0 \)

Covariant conservation of energy-momentum

This equation generalizes energy and momentum conservation to curved spacetime. It contains:

ν = 0: Energy Conservation

Rate of change of energy density + divergence of energy flux = 0

ν = i: Momentum Conservation

Euler/Navier-Stokes equations emerge from spatial components

Python: Perfect Fluid Evolution

Python
stress_energy.py103 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

Fortran: Conservation Check

Python
conservation_plot.py97 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server