Adiabatic work in a comoving volume Created 2026-10-20 Updated 2026-11-05
For a homogeneous cosmic fluid, the physical volume bounded by fixed comoving coordinates obeys . The cosmological continuity equation therefore gives . This is the first law of thermodynamics with conserved entropy and no additional chemical work. The internal energy of that volume need not be constant: a component with negative pressure gains internal energy as the universe expands. Local stress-energy conservation does not imply a global conserved energy for an arbitrary expanding spacetime.
Cosmological continuity equation Created 2026-09-24 Updated 2026-11-05
In natural units, conservation of the stress-energy tensor for a homogeneous perfect fluid in an FLRW metric gives the displayed equation for its energy density and pressure. It is equivalent to . For a constant equation-of-state parameter , separation gives . If instead denotes mass density, the pressure term is .
This is local stress-energy conservation; it does not in general define a globally conserved total energy for an expanding universe. The adiabatic work in a comoving volume makes this distinction explicit.
Cosmological Euler equation in synchronous gauge Created 2026-09-24 Updated 2026-11-05
For scalar perturbations in cosmic time with , define the covariant fluid velocity potential by . The linear momentum density is . Normalize scalar anisotropic stress bywhere derivatives inside these parentheses are Cartesian comoving derivatives. Then . Spatial stress-energy conservation gives, for nonzero scalar Fourier modes,Writing reproduces the form with ; the coefficient depends on that stress normalization. The time derivative acts on the entire momentum-density product, not only on .
For pressureless matter with zero scalar stress, background reduces the equation to . The physical peculiar velocity is and therefore decays as . This checks the difference between covariant velocity potential and physical velocity and the expansion factor in the conservative equation.
Diffeomorphism Noether identity for a scalar field Created 2026-10-05 Updated 2026-10-07
Simultaneously varying a metric tensor and a scalar field by the Lie derivative along a compactly supported vector field leaves a covariant matter action invariant. Integration by parts gives the displayed Noether identity. It implies stress-energy conservation when the scalar equation holds without needing to impose the metric field equation.
Karim A. Malik 2026-11-05
Karim A. Malik developed the treatment of gauge-invariant cosmological curvature with David Wands, David H. Lyth and Andrew R. Liddle. Their 2000 analysis derived large-scale evolution from stress-energy conservation, exposing how a non-adiabatic pressure perturbation can change the uniform-density curvature perturbation.[ref]
A new approach to the evolution of cosmological perturbations on large scales by David Wands and others. Sections II–V: pressure source and generalized adiabatic perturbations
Linearized Einstein equations Created 2026-09-24 Updated 2026-11-05
The Linearized Einstein equations retain first-order terms in a metric perturbation about the Minkowski metric. Use metric signature , coordinates , andIn Lorenz gauge in linearized gravity, , the first-order Einstein tensor is . HenceThe source must satisfy background stress-energy conservation, , since taking the divergence of the left-hand side gives zero. In units this becomes .
The equation is a sourced wave equation, not just a static Poisson equation. A retarded solution additionally needs a radiation boundary condition for linearized gravity; homogeneous gravitational waves can otherwise be added. The expansion is controlled only where the neglected higher-order metric perturbations remain small.
For constant , the perfect fluid stress tensor and inverse perturbed spatial metric give at first order. Normalizing the velocity makes at this order. Stress-energy conservation yields the synchronous perfect-fluid density equation and Cosmological Euler equation in synchronous gauge; the pressure projection includes , which changes the velocity damping from to .
// Target: cosmology.bigb
Assume a metric theory in four dimensions, a Levi-Civita connection, covariant stress-energy conservation and field equations linear in second metric derivatives. The contracted Bianchi identity selects . Its trace-reversed equation is . In the convention and signature , nonrelativistic matter gives . The Poisson equation fixes . Reversing the curvature convention reverses this displayed coupling sign without changing the physical theory. The strong equivalence principle alone does not establish uniqueness without the stated additional assumptions.
For a matter-dominated fluid with constant , combine stress-energy conservation in synchronous gauge with the scalar trace Einstein equation. Discard pressure corrections to the background gravitational and velocity-damping terms while retaining the potentially large pressure-gradient term . This produces the displayed leading nonrelativistic equation. It is not an exact equation at finite . At negligible pressure the growing and decaying matter-era solutions are and .
// Target: cosmology.bigb
The number current is , where is the rest-frame number density and the unit four-velocity. Its covariant continuity equation is , equivalently . Integration over a spacetime volume and the divergence theorem equate the particle numbers crossing its boundary. This conservation law is separate from stress-energy conservation.
Define the momentum density , lowering its spatial label with , so the mixed stress-energy tensor obeys and . All products of or its derivatives with are second order and must be dropped in linear cosmological perturbation theory.
For , the three terms in stress-energy conservation areHere the trace vanishes, , and . ThusFor , spatial pressure gradients vanish because this is a purely vector cosmological perturbation. The first two terms areIn the remaining contraction, the two background-connection times momentum density terms cancel:The other terms are and . ConsequentlyExpanding this conservation law and using the background cosmological continuity equation gives the equivalent peculiar velocity equation, when ,
Use metric signature and a bulk four-velocity normalized by . A perfect fluid in general relativity is isotropic in its local rest frame, with no rest-frame energy flux or anisotropic stress. In an orthonormal frame in spacetime comoving with that fluid,Here is rest-frame energy density divided by , including random kinetic energy, and is isotropic pressure. For a particle gas, and , with the rest-frame particle distribution. Isotropy makes the off-diagonal spatial stresses and net energy flux vanish.
Introduce the spatial projector of a timelike congruenceThe only isotropic decomposition with the preceding components isSince both sides are tensors, equality in the comoving orthonormal frame in spacetime establishesCoordinate-independent definitions of the two scalar fields areThus is not, in general, only the sum of the particle rest masses per volume.
The microscopic averaging notation needs a normalization qualification. The normalization of an averaged four-velocity matters because a literal average of normalized microscopic four-velocities is not normally a normalized bulk four-velocity. For example, six equally weighted streams with the same ordinary speed , directed along the positive and negative coordinate axes, have an isotropic velocity distribution andThe physical rest-frame bulk four-velocity is , not this unnormalized average. Even taking the source's schematic kinetic expression literally with prefactor givesSubstituting and the same into the claimed fluid expression would instead increase by . The standard result therefore requires a normalized bulk velocity and a carefully defined rest-frame total energy density; it does not follow with both microscopic identifications interpreted literally. More generally the bulk velocity can be defined as the future-directed timelike energy eigenvector of the stress-energy tensor.
The equation is local stress-energy conservation. In a weak gravitational field and the nonrelativistic limit its leading energy component gives mass conservation,while its spatial components give momentum conservation, or the inviscid Euler equationsThe next energy order gives conservation of internal plus kinetic energy, including pressure work and gravitational work. These are local conservation laws, not an assertion that arbitrary curved spacetimes possess a global conserved total energy.
For relativistic dust, , with . Expanding stress-energy conservation givesContract with . Metric compatibility and the fixed normalization implyConsequentlyThis is the covariant mass conservation equation. Substituting it back, wherever , givesThus the dust's fluid elements follow timelike geodesics. With , the proper time is an affine parameter, and explicitlyThe absence of pressure removes the force produced by pressure gradients; gravity is encoded by the Levi-Civita connection. At a point with this calculation makes no claim about a fluid velocity.
For nonrelativistic particles the energy density is dominated by rest energy, while their isotropic kinetic pressure is approximately . ThereforeThe matter pressure is negligible in this approximation, including in the gravitational combination . For isotropic radiation in cosmology, implies one third of the energy density in each diagonal spatial stress:
Because the two fluids do not exchange energy or momentum, they are separately conserved cosmological fluids: for each, rather than merely conservation of their sum. In a comoving volume proportional to , the first law of thermodynamics givesEquivalently this follows by projecting the individual stress-energy conservation equation along the common comoving four-velocity. Differentiating and dividing by yieldsFor constant equation-of-state parameter ,The extra power for radiation in cosmology represents the cosmological redshift of photon energies in addition to number dilution. Differentiating the total Friedmann equation gives only the total continuity equation; the separate equations also use the stated absence of interactions between components.
For this question use the Levi-Civita connection, its metric compatibility and the usual curvature symmetries. In the index ordering of Question 1, put and . Contract the second Bianchi identity in its derivative index and curvature index . The curvature symmetries giveNow contract . The left-hand side becomes , while the right-hand side becomes . ThusUsing yields the contracted Bianchi identityTaking the covariant divergence of the Einstein field equations, with constant , then gives . The matter equation is therefore consistent with the geometric identity rather than imposing an extra incompatible condition on the metric.
Stress-energy conservation expresses the local balance of energy and momentum, including their transport and the effects of the gravitational Levi-Civita connection. In a freely falling frame at a point it reduces there to the familiar ordinary divergence law. A global conserved energy requires additional geometric structure, such as a timelike Killing vector field; it does not follow in an arbitrary spacetime just by replacing a covariant derivative with an ordinary derivative.
For relativistic dust,With signature , implies . Contracting gives ; where , substitution then gives . Thus the continuity law combines rest-mass conservation and free geodesic motion for this matter model.
For the Newtonian limit, take and , consistently with Question 3. Use the static weak field sourced by the time-independent, slowly moving matter, retaining first order in and leading order in the spatial speed. Write spatial gradients with here; these are Euclidean spatial indices in the Newtonian equation. The Levi-Civita connection formula givesThe exact change from proper time to in the spatial geodesic equation isTerms containing spatial velocities are negligible at leading order, leavingAn additive constant in is immaterial to this acceleration and is normally fixed by the asymptotic time normalization. With units restored, .
At the same order, staticity and the curvature definition giveThe trace of the four-dimensional Einstein equations is , so their trace-reversed form isFor nonrelativistic dust, , , so and . Keeping leading matter terms therefore gives . Combining this with the geometric expression yieldsThis trace reversal is essential: equating directly to would miss the factor of two. The approximation is the quasistatic Newtonian sector; arbitrary independently imposed gravitational radiation is not part of that sector.
For a perfect fluid in general relativity, let be rest-frame total energy density divided by , its isotropic pressure, and its four-velocity, normalized by . ThenThe contracted Bianchi identity and the Einstein field equations give stress-energy conservation, , for a constant cosmological constant. Contract with and use the normalization to obtainIn comoving coordinates and the covariant divergence is , where a dot is a cosmic time derivative and the Hubble parameter. ThereforeFor a fixed region in comoving coordinates, let be its physical volume, where is a fixed coordinate-volume integral, and let . Since ,Thus the cosmological perfect-fluid continuity equation is exactly equivalent to the adiabatic first law of thermodynamics, , for every nonzero such region. Conversely, expanding that first law of thermodynamics and dividing by recovers the same equation. No heat or particle flux crosses the comoving boundary; interacting components separately need source terms, although the total still obeys this conservation equation.
There is a sign inconsistency in the supplied formula sheet worth isolating. Its Riemann curvature tensor and Ricci tensor conventions, together with its stated metric signature, give for with constant . Its vacuum Einstein field equations with then require , whereas its printed vacuum Friedmann equation gives . For example, , and satisfy the latter but leave the former's component equal to . Changing the geometric cosmological constant term to repairs this mismatch. The conservation derivation is unaffected; below take the geometric cosmological constant to be zero and include any vacuum energy as a fluid, so no ambiguous sign enters.
A semicolon denotes the covariant derivative for the Levi-Civita connection. For example, the four lower indices of the Riemann curvature tensor contribute four connection terms:Here is a partial derivative, are Christoffel symbols, and repeated indices are summed from to . Write for the metric tensor, for its inverse metric, for the Ricci tensor, and for the Ricci scalar. This tensor contraction agrees with the paper's .
By metric compatibility, the inverse metric may pass through each covariant derivative. Contracting the second Bianchi identity with giveswhere is the same covariant derivative as the semicolon. Next contract with . Antisymmetry of the first pair gives , soThus the contracted Bianchi identity is . Raising the remaining index and using metric compatibility provesThe Einstein tensor therefore has identically zero covariant divergence, without imposing any field equation. This makes the Einstein field equations compatible with stress-energy conservation, , where is the stress-energy tensor. The connection terms describe how energy and momentum are compared at neighboring points; ordinary componentwise partial derivatives would not give a coordinate-independent conservation law in curved spacetime.
For a contravariant vector field , the covariant derivative isThe Levi-Civita connection is the unique torsion-free connection satisfying metric compatibility. Its Christoffel symbols in a coordinate basis areThere is generally no symmetry interchanging the upper index with a lower one. The Christoffel symbols themselves are not the components of a tensor.
An ordinary partial derivative of the components of a vector field includes the apparent change caused by the varying coordinate basis. The connection term corrects for that change, so obeys the tensor component transformation law. It gives coordinate-independent ways to express parallel transport, geodesics and stress-energy conservation in curved spacetime.
Past exam of the general relativity II course of the University of Oxford 2015 3 c Solution 2026-10-25
Set , the Hubble parameter. The first supplied component of the Einstein field equations gives the Friedmann acceleration equationSubstitution into the second supplied equation givesTherefore the first Friedmann equation isDifferentiate this equation with respect to cosmic time:Insert the Friedmann acceleration equation on the left and cancel , which is nonzero for . This givesThis is the cosmological continuity equation, expressing stress-energy conservation for the perfect fluid in general relativity. No division by was made, so the derivation remains valid at a cosmological bounce or an instant of maximum expansion.
Past exam of the general relativity II course of the University of Oxford 2021 1 a Solution 2026-10-25
Write , for the expansion scalar, for the four-acceleration, and for the spatial projector of a timelike congruence. The normalization of the four-velocity gives and . The product rule and metric compatibility give the covariant derivative of the perfect fluid in general relativity stress-energy tensor:Its tensor contraction with the four-velocity isand its projection with the spatial projector of a timelike congruence isThus stress-energy conservation implies the relativistic perfect-fluid energy equation and the relativistic Euler equation:Conversely, the two displayed equations set both projections of to zero. Since , they imply . This establishes equivalence, including points where , without dividing by that quantity.