For a scalar field, . Apply the product rule to the stress-energy tensor, using metric compatibility to pass the covariant derivative through :
The middle terms cancel because the Levi-Civita connection gives a symmetric Hessian of a scalar field. Thus, with the sign conventions of this question, the scalar stress-energy divergence identity becomes
The last equality is the Klein-Gordon equation. This stress-energy conservation follows from the field equation and metric compatibility; it does not require imposing the Einstein field equations.
Use signature and local inertial coordinates . Write and , where is rest mass density. The perfect fluid in general relativity has components
Here is energy density, is energy flux, is momentum density, and is the flux of the th momentum component through a surface normal to . In the local rest frame these reduce to energy density , zero energy and momentum flow, and isotropic pressure . The equation expresses local stress-energy conservation. Its temporal and spatial components give energy and momentum balance; in flat coordinates, for example, .
For relativistic dust, . Contracting its divergence with , and using metric compatibility together with , gives
Consequently . Substituting this continuity equation back into the divergence leaves . Wherever matter is present,
so the individual particles follow geodesics.
The electromagnetic four-force law must preserve the particle's rest mass. Thus , and requiring this for arbitrary timelike four-velocities makes the electromagnetic field tensor antisymmetric. Its six independent components comprise the electric field and magnetic field. With the stated signature and , one consistent convention is
It gives the spatial force and energy transfer . Under a Lorentz transformation, transforms as a rank-two contravariant tensor; its electric and magnetic components consequently mix. A four-potential supplies , unchanged by . The Maxwell equations are
These combine the source equations and the homogeneous equations into covariant tensor statements; is the four-current.
For charged relativistic dust, the matter tensor exchanges four-momentum with the electromagnetic field: , while their total stress-energy tensor is conserved. Identical particles of rest mass and electric charge have . Contraction with again gives mass continuity because . Removing that term gives
Using zero divergence for the matter tensor alone in this last step would omit the electromagnetic Lorentz force.
Put and . The contracted Bianchi identity and metric compatibility give
Taking the trace of the field equation in four dimensions gives . For , eliminate :
Ordinary covariantly coupled matter obeys stress-energy conservation, . Its trace need not be constant, so the trace coefficient fixed by stress-energy conservation is
This restores the Einstein tensor and is the only coefficient compatible with arbitrary conventional matter without adding a new constraint or changing the matter conservation law. Other coefficients can work for specially restricted sources with constant trace, but do not give the same universal matter coupling.
The excluded case must be treated before dividing: its trace equation requires . If stress-energy is also conserved, its divergence equation requires . It can describe a restricted traceless-source sector with constant scalar curvature, not general matter such as ordinary dust. In particular it is not the general trace-free Einstein equation with source , which is a different equation.
Use coordinates , and first compute the mixed canonical stress-energy tensor supplied by spacetime translations:
Define the energy density and . Direct substitution gives
The two wave equations imply
For example, differentiating and replacing each by gives exactly by the product rule. These are respectively the two component equations , establishing stress-energy conservation explicitly.
If the given metric is used to raise the second index in these unrescaled coordinates, the result is , still conserved. To display the symmetric relativistic form with light speed , choose , instead. With , the corresponding tensor is
This states the coordinate convention explicitly rather than setting in some components but not others.
Perfect fluid in general relativity Created 2026-09-28 Updated 2026-11-05
A perfect fluid in general relativity has isotropic rest-frame pressure and no rest-frame heat flux or anisotropic stress. In units and signature , let , let be rest-frame energy density and rest-frame pressure. Its stress-energy tensor is
The energy measured with the fluid is . The orthogonal projection isolates spatial directions and gives isotropic projected stress . A fluid moving relative to another observer can have nonzero momentum density even though its own rest-frame stress is isotropic.
Projecting stress-energy conservation along and perpendicular to the four-velocity gives
These are the comoving energy balance and relativistic Euler equation. The inertial factor is enthalpy density . An equation of state is needed to close the evolution; relativistic dust sets , while an isotropic radiation fluid has . Perfect-fluid behavior does not require irrotational motion: the potential-flow action below describes a restricted subset.
Relativistic dust Created 2026-10-18 Updated 2026-10-25
Relativistic dust is a continuum of noninteracting massive particles with one local four-velocity and negligible pressure. With signature , and rest mass density , its stress-energy tensor has the displayed form. Contracting stress-energy conservation with and using metric compatibility gives . Substituting back yields wherever : each particle follows a geodesic. The cosmological pressureless matter model is a homogeneous application.
Retarded quadrupole field Created 2026-10-05 Updated 2026-10-07
For a compact slowly moving source in the weak-field approximation, with no incoming homogeneous wave and , the retarded Linearized Einstein equations give this leading far-zone trace-reversed metric perturbation. The key consequence of stress-energy conservation is . The physical gravitational wave is obtained by the transverse-traceless projector.
Ricci curvature sourced by a Klein-Gordon scalar field Created 2026-09-24 Updated 2026-11-05
For a real Klein-Gordon field in dimensions, fix metric signature , zero cosmological constant and . Write the stress-energy tensor with an explicit normalization :
Its trace is . Substitution into the Trace-reversed Einstein field equations in D dimensions cancels the metric-proportional gradient term and gives
The convention gives the coefficient ; the usual canonically normalized scalar field has . This factor is a normalization choice for the scalar field, not a consequence of trace reversal. The Klein-Gordon equation gives stress-energy conservation, since .[ref]
For a real scalar field in one spatial dimension with metric signature and potential , the stress-energy conservation law is . The force on the field to the left of a fixed cut is at the cut when the far-left boundary flux vanishes. Finite-energy field configurations also permit this conclusion by spatial cutoffs, without assuming pointwise decay of all derivatives.
For relativistic dust with nowhere-zero density, stress-energy conservation implies zero four-acceleration. If its normalized four-velocity has hypersurface orthogonality, then and . The interior product of the first identity gives . The Poincaré lemma supplies locally; spatial coordinate functions constant along the smooth flow of give , and . The resulting synchronous coordinates describe the dust until the local coordinate construction fails.
Synchronous perfect-fluid density equation Created 2026-10-07 Updated 2026-10-14
For constant and velocity potential , stress-energy conservation gives the displayed density equation in synchronous gauge in cosmology. Here is the trace of the spatial metric perturbation, and primes denote conformal time. In particular cold baryons obey . A positive sign in front of on the left contradicts this potential convention.
In four dimensions, the contracted Bianchi identity gives for the displayed equation. Its trace is . For ,
Compatibility with covariant stress-energy conservation for unrestricted conventional matter therefore requires , yielding the Einstein tensor. Other coefficients impose constant trace on conserved sources. The exceptional equation instead requires ; conservation additionally makes constant. A trace-free equation sourced by is a different system and does not impose vanishing matter trace.
In linear cosmological perturbation theory, an unsourced vector cosmological perturbation of a perfect fluid in synchronous gauge obeys stress-energy conservation in the form , where is the momentum density, the conformal Hubble parameter, and the prime a conformal time derivative. Its conserved quantity is . For constant equation-of-state parameter , the background cosmological continuity equation gives . Thus a pressureless matter vector velocity falls as , while a radiation vector velocity is constant. This statement assumes vanishing vector anisotropic stress and no momentum exchange with another component.