General Relativity
The Stress-Energy Tensor
The 16-component source of gravity — energy, momentum, pressure and stress packaged into Tμν
The stress-energy tensor Tμν is the symmetric rank-2 tensor that encodes energy density, momentum density, pressure, and shear stress at every point of spacetime, and it is the source term on the right-hand side of Einstein's field equations, Gμν = (8πG/c⁴) Tμν. Its covariant divergence vanishes, ∇μTμν = 0, expressing the local conservation of energy and momentum. Because it contains pressure as well as energy, general relativity says pressure itself gravitates — a fact with no Newtonian analogue.
- Symbol & rankTμν — symmetric rank-2, 10 independent components
- Field equationsGμν = (8πG/c⁴) Tμν
- Conservation∇μTμν = 0
- Units of every componentJ/m³ = Pa (energy density = pressure)
- Perfect fluidTμν = (ρ + p/c²)uμuν + p gμν
- Coupling constant8πG/c⁴ ≈ 2.08 × 10⁻⁴³ s²·kg⁻¹·m⁻¹
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
What the stress-energy tensor is
In special relativity, energy and momentum merge into a single four-vector, the four-momentum pμ = (E/c, px, py, pz). For a continuous distribution of matter and fields, one four-vector per particle is not enough — we need to know how much four-momentum sits in each little volume and how it flows across each little surface. The object that answers both questions at once is the stress-energy tensor (also called the energy-momentum tensor), written Tμν.
The definition is compact: Tμν is the flux of the μ-component of four-momentum across a surface of constant xν. Written as a 4×4 matrix with the index order (t, x, y, z), it has a natural block structure:
┌ T⁰⁰ T⁰ˣ T⁰ʸ T⁰ᶻ ┐ ┌ energy energy-flux / c ┐
Tᵘᵛ = │ Tˣ⁰ Tˣˣ Tˣʸ Tˣᶻ │ = │ density (= c · momentum density) │
│ Tʸ⁰ Tʸˣ Tʸʸ Tʸᶻ │ │ ———————— ———————————————————————│
└ Tᶻ⁰ Tᶻˣ Tᶻʸ Tᶻᶻ ┘ └ momentum momentum flux ┘
density (pressure + shear)
Reading the blocks:
- T00 — energy density (J/m³). For ordinary matter this is dominated by rest-mass energy, ρc².
- T0i = Ti0 — momentum density × c, equivalently energy flux / c. The relativistic identity T0i = Ti0 is E = mc² in tensor clothing: energy flux and momentum density are the same physical thing.
- Tij — momentum flux, the 3×3 Cauchy stress tensor. Its diagonal entries Txx, Tyy, Tzz are pressures (normal stresses); its off-diagonal entries are shear stresses. For an isotropic fluid, Tij = p δij.
Two structural facts matter. First, Tμν is symmetric: Tμν = Tνμ. Symmetry of the spatial block enforces conservation of angular momentum; symmetry of the mixed block is the statement that energy flux equals c² × momentum density. Second, every component carries the same units — energy per unit volume, J/m³, which is identical to pressure, Pa. That single unit is the tell that pressure and energy density belong in the same object.
Why energy — not just mass — is the source of gravity
Newton's theory has a scalar source: Poisson's equation ∇²Φ = 4πGρ ties the gravitational potential Φ to mass density ρ. But relativity forbids a scalar source, for a simple reason. Mass and energy are equivalent (E = mc²), and energy is not the same in every reference frame — a moving object carries more energy, and a box of gas carries energy in its pressure and heat. If the source were a single number, different observers would disagree about how strong gravity is at the same event, which is impossible.
The fix is to promote the source to a tensor that transforms correctly under Lorentz boosts. The stress-energy tensor is precisely that object: boosting mixes its components — energy density picks up contributions from momentum flux, pressure feeds into energy density — in exactly the way E = mc² requires. Einstein's insight, completed in November 1915, was that the geometry side of the equation must be a symmetric, divergence-free, rank-2 tensor built from curvature. The unique such object (up to a cosmological term) is the Einstein tensor Gμν = Rμν − ½ R gμν. Matching it to matter gives:
G^μν + Λ g^μν = (8πG / c⁴) T^μν
Here Gμν is the Einstein tensor (built from the Ricci tensor Rμν and Ricci scalar R), Λ is the cosmological constant, gμν is the inverse metric, G = 6.674 × 10⁻¹¹ m³·kg⁻¹·s⁻² is Newton's constant, and c = 2.998 × 10⁸ m/s. The coupling 8πG/c⁴ ≈ 2.08 × 10⁻⁴³ s²·kg⁻¹·m⁻¹ is minuscule, which is why you need something as extreme as a neutron star or the entire mass of the Sun to bend light by a measurable arcsecond.
How it works, component by component
- Pick an observer. The split of Tμν into energy, momentum, and stress is observer-dependent. For an observer with four-velocity uμ (normalized uμuμ = −c²), the energy density they measure is ε = Tμν uμ uν / c² (equal to ρc² for ordinary matter), and the momentum density is a projection of Tμν uν onto their spatial slice.
- Read the diagonal. In the matter's own rest frame the tensor is diagonal for a fluid: Tμν = diag(ρc², p, p, p). The corner is energy density; the three remaining diagonals are the pressure pushing outward in each direction.
- Add the off-diagonals for real materials. A solid under shear, a viscous fluid, or an electromagnetic field fills in the Tij off-diagonals (shear/Maxwell stresses) and the T0i entries (Poynting flux for light).
- Feed it into Einstein's equations. Every non-zero component sources curvature. Pressure appears with the same weight as energy density in the trace, so it genuinely bends spacetime.
- Check conservation. Take the covariant divergence: ∇μTμν = 0 must hold automatically, because the geometry side satisfies the contracted Bianchi identity ∇μGμν = 0.
The perfect-fluid form and its special cases
The workhorse of relativistic astrophysics and cosmology is the perfect fluid: no viscosity, no heat conduction, isotropic pressure. Its stress-energy tensor is
T^μν = (ρ + p/c²) u^μ u^ν + p g^μν (signature −+++)
where ρ is the mass-energy density, p is the isotropic pressure, uμ is the fluid four-velocity (normalized uμuμ = −c²), and gμν is the inverse metric. In the fluid rest frame uμ = (c, 0, 0, 0) and this collapses to diag(ρc², p, p, p). A single formula, tuned by the equation of state p = p(ρ), then describes wildly different contents of the universe:
| Component | Equation of state | What it is | Cosmological role |
|---|---|---|---|
| Dust (pressureless matter) | p = 0 | Galaxies, cold dark matter, slow-moving mass | ρ ∝ a⁻³ (dilutes with volume) |
| Radiation / ultrarelativistic gas | p = ρc²/3 | Photons, neutrinos, hot early universe | ρ ∝ a⁻⁴ (dilutes + redshifts) |
| Stiff fluid | p = ρc² | Maximally rigid matter (sound speed = c) | ρ ∝ a⁻⁶ |
| Cosmological constant / vacuum | p = −ρc² | Dark energy, Λ | ρ = constant (drives acceleration) |
| Curvature-like fluid | p = −ρc²/3 | Effective term for spatial curvature | ρ ∝ a⁻² |
The parameter w = p/(ρc²) is the equation-of-state parameter: w = 0 (dust), w = 1/3 (radiation), w = −1 (dark energy). The measured value from Planck and supernova surveys is w ≈ −1.03 ± 0.03, consistent with a pure cosmological constant.
Worked point: pressure gravitates
Take the Newtonian limit of Einstein's equations for a static, weak field. The source of the potential is not ρ alone but the combination that appears in the Tolman–Whittaker (active gravitational) mass density:
ρ_active = ρ + 3p/c² → ∇²Φ = 4πG (ρ + 3p/c²)
The factor of 3 comes from the three spatial pressure terms in the trace of Tμν. Consequences:
- Positive pressure adds to gravity. Squeezing matter harder makes it gravitate more, not less. This is why you cannot indefinitely hold up a collapsing star by raising its internal pressure — beyond a point (the Tolman–Oppenheimer–Volkoff limit, ≈ 2.2–2.9 M⊙ for neutron stars) the extra pressure only accelerates collapse into a black hole.
- Radiation gravitates more per joule than dust. For radiation ρ + 3p/c² = ρ + 3(ρ/3) = 2ρ, twice the naive value.
- Large negative pressure repels. For dark energy p = −ρc², so ρ + 3p/c² = ρ − 3ρ = −2ρ < 0. The active mass is negative, gravity effectively pushes, and the expansion of the universe accelerates — the phenomenon discovered in 1998 by the Supernova Cosmology Project and the High-z Supernova Search Team (Nobel Prize 2011).
Conservation: ∇μTμν = 0
The single equation ∇μTμν = 0 is the covariant law of energy-momentum conservation. Splitting by the free index ν:
- ν = 0 → conservation of energy (a continuity equation for T00 plus its flux).
- ν = i → conservation of momentum (this is the relativistic Euler equation for a fluid).
In flat spacetime the covariant derivative becomes an ordinary one and the law reads ∂μTμν = 0, exactly the four-dimensional continuity/Euler equations. In curved spacetime the Christoffel terms Γ hidden inside ∇ represent energy and momentum exchanged with the gravitational field itself — which is why gravitational potential energy is not part of Tμν and why energy is only locally conserved, not globally, in general relativity.
Remarkably, you do not have to impose ∇μTμν = 0 as a separate axiom. The Einstein tensor obeys the contracted Bianchi identity ∇μGμν ≡ 0 as a geometric fact. Since Gμν = (8πG/c⁴)Tμν, conservation of the matter source is forced by the geometry. Geometry tells matter how to move, and it does so consistently.
Representative energy densities
Because every component of Tμν is an energy density (J/m³), it is instructive to compare the rest-energy density ρc² of common systems with their ordinary pressures — the huge gap is why rest mass, not pressure, dominates gravity in everyday life.
| System | Rest-energy density ρc² (J/m³) | Typical pressure p (Pa) |
|---|---|---|
| Air at sea level | ≈ 1.1 × 10¹⁷ | 1.0 × 10⁵ |
| Liquid water | ≈ 9.0 × 10¹⁹ | 1.0 × 10⁵ |
| Sun's core | ≈ 1.4 × 10²² | ≈ 2.5 × 10¹⁶ |
| Neutron-star interior | ≈ 4 × 10³⁴ | ≈ 10³⁴ (pressure ~ ρc²) |
| CMB radiation (today) | ≈ 4.2 × 10⁻¹⁴ | ≈ 1.4 × 10⁻¹⁴ (= ρc²/3) |
| Cosmological dark energy | ≈ 5.3 × 10⁻¹⁰ | ≈ −5.3 × 10⁻¹⁰ (= −ρc²) |
Notice the last two rows: for radiation p is exactly one-third of the energy density, and for dark energy it is minus the energy density. In dense stellar matter pressure climbs to the same order as ρc², and that is exactly the regime where its gravitational contribution becomes decisive.
The electromagnetic stress-energy tensor
Fields carry energy-momentum too. The electromagnetic field has
T^μν_EM = (1/μ₀) [ F^μα F^ν_α − ¼ g^μν F_αβ F^αβ ]
where Fμν is the Faraday tensor and μ₀ = 1.257 × 10⁻⁶ T·m/A is the vacuum permeability. Its T00 is the familiar field energy density ½(ε₀E² + B²/μ₀); its T0i is the Poynting vector S = E × B/μ₀ divided by c; and its Tij is the Maxwell stress tensor. This tensor is traceless (Tμμ = 0), which is precisely why pure radiation has the equation of state p = ρc²/3: tracelessness forces 3p = ρc².
Common misconceptions
- "The stress-energy tensor is just mass density." No — that is only T00 in the low-velocity limit. The whole point is that momentum density, energy flux, pressure, and shear all sit in the same object and all gravitate.
- "Pressure doesn't affect gravity." It does. The active gravitational mass density is ρ + 3p/c². Everyday pressures are negligible only because they are ~10¹⁵ times smaller than ρc², not because pressure is exempt.
- "∇μTμν = 0 means energy is globally conserved." Only locally. In a general curved or expanding spacetime there is no conserved total energy of matter, because energy is exchanged with the gravitational field — photon redshift in an expanding universe is the standard example.
- "Tμν includes the energy of gravity itself." It does not. The gravitational field has no local energy density in general relativity (the equivalence principle lets you transform gravity away at a point). Any "gravitational energy" is captured by pseudotensors, not Tμν.
- "The tensor could be asymmetric." The metric (Hilbert) definition Tμν = (−2/√−g) δ(√−g Lmatter)/δgμν is automatically symmetric; symmetry is required for angular-momentum conservation.
- "Vacuum has zero stress-energy." The quantum vacuum has Tμν = −ρvac gμν with p = −ρc² — this is the cosmological constant, and getting its value to match observation (rather than the naive field-theory estimate 10¹²⁰ times too large) is the cosmological constant problem.
A short history
The notion of a stress tensor for the electromagnetic field goes back to Maxwell (1873) and its four-dimensional form to Minkowski (1908) and Max Abraham. Einstein, guided by Marcel Grossmann's tensor calculus, arrived at the field equations Gμν = (8πG/c⁴)Tμν in November 1915, choosing the geometry side precisely so that the Bianchi identity would guarantee ∇μTμν = 0. David Hilbert derived the same equations days later from a variational principle, and it was this action approach that gave the clean, manifestly symmetric definition of Tμν as the response of the matter action to a change in the metric. Richard Tolman worked out the pressure contribution to active gravitational mass in the 1930s, and the perfect-fluid tensor became the foundation of Friedmann–Lemaître cosmology and of the Tolman–Oppenheimer–Volkoff equation for relativistic stars in 1939.
Frequently asked questions
What does the stress-energy tensor represent physically?
T^μν is a 4×4 symmetric matrix with 16 components (10 independent because it is symmetric) that describes the flux of the μ-component of four-momentum across a surface of constant x^ν. In practical terms: T^00 is energy density (in J/m³), T^0i = T^i0 is momentum density times c (equivalently energy flux over c), and the spatial block T^ij is the flux of i-momentum in the j-direction — its diagonal entries are pressures and its off-diagonal entries are shear stresses. It is the general-relativistic bookkeeping device for 'how much energy-momentum is here and how is it flowing.'
Why is the stress-energy tensor the source of gravity instead of just mass?
In Newtonian gravity the source is mass density ρ. But mass and energy are the same thing (E = mc²) and energy is frame-dependent, so a relativistic theory cannot use a single scalar as the source — it needs an object that transforms correctly under Lorentz boosts and includes energy flux, momentum, and stresses. That object is T^μν. Einstein's equations G^μν = (8πG/c⁴) T^μν therefore make ALL of energy density, pressure, and momentum flux curve spacetime, not just rest mass.
What is the stress-energy tensor of a perfect fluid?
A perfect fluid (no viscosity, no heat conduction, isotropic pressure) has T^μν = (ρ + p/c²) u^μ u^ν + p g^μν, where ρ is the mass-energy density, p is the isotropic pressure, u^μ is the four-velocity, and g^μν is the inverse metric (signature −+++). In the fluid rest frame this is simply diag(ρc², p, p, p): the time-time entry is energy density and the three spatial diagonals are the pressure. This single form describes dust (p = 0), radiation (p = ρc²/3), and the cosmological vacuum (p = −ρc²).
Does pressure really curve spacetime?
Yes. The 'active gravitational mass' that sources gravity is proportional to ρc² + 3p (the Tolman–Whittaker or Komar mass density), not just ρc². Positive pressure ADDS to gravitational attraction — this is why very dense stars cannot be stabilized by raising pressure indefinitely and instead collapse, and why radiation (p = ρc²/3) gravitates 'more' per unit energy than dust. Conversely, a large NEGATIVE pressure (tension), as with dark energy where p = −ρc², makes 3p overwhelm ρc² and drives accelerated cosmic expansion.
What does the equation ∇_μ T^μν = 0 mean?
It is the local conservation of energy and momentum written covariantly: the covariant divergence of the stress-energy tensor vanishes at every event. The ν = 0 component encodes energy conservation and the ν = i components encode momentum conservation. In flat spacetime it reduces to the familiar ∂_μ T^μν = 0. In curved spacetime the extra Christoffel-symbol terms represent energy-momentum exchanged with the gravitational field, so energy is only locally conserved. Crucially, this law is not imposed separately — it follows automatically from the Bianchi identity ∇_μ G^μν = 0 satisfied by the Einstein tensor.
Is the stress-energy tensor symmetric, and why?
Yes, T^μν = T^νμ. The equality of the off-diagonal spatial components T^ij = T^ji is required for conservation of angular momentum (an asymmetric stress tensor would produce infinite angular accelerations in a point of continuum). The equality of T^0i and T^i0 expresses the relativistic fact that energy flux and momentum density are the same thing up to a factor of c² — a consequence of E = mc². The symmetric (Belinfante–Rosenfeld or metric/Hilbert) definition T^μν = (−2/√−g) δ(√−g L_matter)/δg_μν is automatically symmetric.
What are the units and values of the stress-energy tensor components?
All components of T^μν carry units of energy density, joules per cubic metre (J/m³), which is the same as pressure, pascals (Pa). Energy density T^00 for water is ρc² ≈ 1000 × (3×10⁸)² ≈ 9 × 10¹⁹ J/m³, dwarfing its ordinary pressure of ~10⁵ Pa — which is exactly why everyday pressure has a negligible gravitational effect while rest-mass energy dominates. In Einstein's equations the coupling 8πG/c⁴ ≈ 2.08 × 10⁻⁴³ s²·kg⁻¹·m⁻¹ is astonishingly small, so it takes an enormous energy density to produce measurable curvature.