Equation of State in Cosmology
Every smooth ingredient of the cosmos — photons, neutrinos, baryons, cold dark matter, the mysterious dark energy — is modelled in relativistic cosmology as a perfect fluid, an idealisation the cosmological principle makes almost exact. Homogeneity and isotropy forbid any preferred direction, so there is no shear, no viscosity, no bulk flow: a comoving fluid is described completely by two numbers, its energy density and its isotropic pressure . Einstein's equations need one more relation to close the system — the thermodynamic link between those two numbers. That relation is the equation of state, and for the components that matter it collapses to a single dimensionless constant through . The reason deserves top billing is that it does double duty. Through the fluid equation it fixes how fast a species thins out as space grows, giving the dilution law : a universal from volume dilution, times an extra measuring the work pressure does during expansion. And through the acceleration equation it fixes whether that species pulls the expansion up or slows it down, because gravity in general relativity responds to . Pressureless dust () simply spreads over a larger volume; radiation () redshifts on top of that, fading one power faster; a cosmological constant () refuses to dilute at all, behaving as an unchanging tension in space itself. Feed three such fluids into the Friedmann equations and the entire arc of cosmic history falls out — a radiation era, a matter era, and the dark-energy era we have just entered. The threshold separates gravity that attracts from gravity that repels, which is why pinning down the dark-energy to a percent is a central goal of modern cosmology.
- The cosmological equation of state ties the isotropic pressure of a homogeneous cosmic fluid to its energy density through one dimensionless number: .
- Substituted into the fluid (continuity) equation, produces the dilution law , so different components fade at different rates as the scale factor grows.
- Matter has (), radiation has (), and a cosmological constant has ( constant); the extra power for radiation is the redshift of each photon.
- Because radiation dilutes faster than matter and matter faster than dark energy, the Universe passes in turn through radiation-, matter-, and dark-energy-dominated eras.
- The acceleration equation shows expansion speeds up when — the exact line dividing ordinary attractive gravity from the repulsive gravity of dark energy.
- Observations favour for dark energy; a phantom value or a time-varying remain live possibilities under active test.
- Key idea: A single number fixes how fast a cosmic component dilutes () and whether it decelerates or accelerates the expansion (threshold ).
Where this lives today
The dark-energy equation of state is a headline number of observational cosmology. Type Ia supernovae calibrate the expansion history, baryon acoustic oscillations lay a "standard ruler" across redshift, and the cosmic microwave background anchors the early-time densities; together they currently place within a few percent of , consistent with a pure cosmological constant. The live question is whether is exactly and constant, or evolves. Surveys fit the Chevallier–Polarski–Linder form and hunt for any ; in 2024–2025 the DESI spectroscopic survey, combined with supernovae and the CMB, reported a mild preference for evolving dark energy that has not yet reached decisive significance. A confirmed departure from would rule out the cosmological constant and point to a dynamical field — quintessence, whose ranges from to as the field rolls. Euclid, the Vera Rubin Observatory's LSST, and the Nancy Grace Roman telescope are built in large part to measure to the sub-percent precision that would settle whether the vacuum is static.
The physical picture
Picture a comoving box that stretches along with the Universe. When the scale factor doubles, every edge doubles and the volume grows eightfold. Any conserved particles — massive or massless — simply spread over that larger volume, so their number density falls as . That is the common floor shared by every species and is pure geometry. What separates one component from another is what happens to the energy each particle carries as space stretches. A cold, massive particle keeps its rest energy, so matter fades at exactly the volume rate, . A photon does not: its wavelength is stretched by the expansion, , so each photon loses energy as , and radiation fades one power faster, .
The parameter is really a bookkeeping of how expensive pressure is for the fluid. A positive pressure () pushes outward on the receding boundary and does work, draining energy faster than volume alone — which is exactly why radiation fades faster than matter. A negative pressure () is a tension: the fluid resists being stretched, and the expansion does work on it. For that inflow of work precisely balances the volume growth, so the density never changes — the vacuum gains energy at just the rate needed to fill the new space, which is why a cosmological constant behaves like a fixed property of spacetime rather than a diluting substance. The same decides the fate of the expansion. In general relativity pressure gravitates, entering the source of the acceleration equation with a factor of three: the active gravitational density is . Ordinary matter and radiation have and decelerate the expansion, while a fluid with makes that combination negative — its gravity repels — and the expansion accelerates. Track all three species at once and their crossings lay out cosmic history: the steep radiation line dominates first, then matter, then the flat dark-energy line takes over near the present day.
The core equations
The whole subject rests on one modelling choice: that a comoving cosmic fluid is barotropic, its pressure a function of its energy density alone. For the dominant components that function is linear, and the definition below is the entire content of the equation of state.
where: — isotropic pressure of the fluid; — energy density, equal to ; — mass-equivalent density ; — dimensionless equation-of-state parameter; — speed of light. Reading: is just the pressure measured in units of the energy density — dimensionless, positive or negative, and everything else in the article follows from its value. Local energy conservation in an expanding spacetime, , gives the fluid or continuity equation. It says the energy density falls both because the volume grows and because pressure does work on the expanding boundary.
where: — time rate of change of the energy density; — the Hubble parameter; — the enthalpy density, which is the combination that sources dilution beyond the pure of volume. Reading: if pressure were zero the equation would give simple volume dilution; the pressure term is precisely the "extra" physics that distinguishes species. Combining (1) and (2) with held constant integrates to a single power law — the most-used result in the field. It is the master formula from which every scaling is read.
where: — present-day energy density, evaluated at ; — scale factor normalised to unity today; — assumed constant. Reading: the exponent carries all the information. Set and get (matter); set and get (radiation); set and the exponent vanishes, so is constant. The second Friedmann or acceleration equation shows how the same controls dynamics. Because pressure gravitates in general relativity, the source term is , not alone.
where: — second time derivative of the scale factor; — Newton's constant; — the sign-determining factor. Reading: since and , the sign of is set entirely by . Ordinary fluids decelerate; a fluid with makes gravity push outward. Setting in (4) isolates the single value of that marks the boundary between a slowing and a speeding-up universe.
where: — accelerating expansion; — the critical equation of state at which gravity neither attracts nor repels on the largest scales. Reading: this is the operational definition of dark energy — any component negative enough in pressure to cross this line. For a barotropic fluid the adiabatic sound speed comes straight from the slope of , which is another face of .
where: — sound speed in the fluid; — the derivative at fixed entropy. Reading: radiation () has , the speed of sound in a photon gas; matter has . A negative gives a formally imaginary sound speed — a signal that dark energy is not a simple barotropic fluid but usually a field with its own effective sound speed. Because CDM contains several species at once, the total is a sum of terms, each scaling with its own , and this is what actually enters the Friedmann equation.
where: — present radiation density (); — present matter density (); — present dark-energy density (). Reading: the dominant term changes with because the exponents differ — the ordering of exponents is the ordering of the cosmic eras.
The single most consequential fact about any cosmic species is how quickly its energy density fades as the Universe grows, and that fact is not inserted by hand — it is forced by energy conservation the moment we adopt a constant equation of state. The goal here is to take the perfect-fluid continuity equation, feed in with fixed, integrate cleanly, and arrive at the closed-form power law , so that the three headline scalings of matter, radiation, and the cosmological constant can be read directly off one exponent rather than memorised separately.
Step 1. Start from the fluid equation and substitute the equation of state, using , to get . Why: this is the only place the physics of the fluid enters; once is chosen, the equation is a first-order linear relation between and .
Step 2. Separate the variables by dividing through by and rewriting the time derivative as a scale-factor derivative, , which gives
Why: separating variables is legitimate only because is constant, so the factor can be pulled outside the integral — a time-varying would leave an integral in the exponent instead.
Step 3. Integrate both sides, giving . Why: both integrands are exact logarithmic derivatives, so the integration is immediate and the constant of integration is all that remains to be fixed.
Step 4. Exponentiate and pin the constant with present-day values, at , to obtain
Why: normalising at today is the natural choice because all densities are quoted relative to their present values, and it makes dimensionless with now.
Step 5. Read off the special cases from the exponent: gives (matter, pure volume dilution); gives (radiation); gives , a constant density (cosmological constant); and gives the steepest causal fall-off . Why: this is the payoff — a single formula reproduces every canonical scaling, so the whole zoo of components is encoded in one number.
Go deeper · Derivation B · 1 minWhy radiation carries the extra factor of one over a
The dilution law tells us radiation scales as , one power steeper than matter, but the formula alone does not explain where that extra power comes from. The goal of this derivation is to rebuild from microphysics — counting photons and tracking their individual energies separately — so the abstract exponent becomes a physical story of volume dilution times cosmological redshift, and then to confirm independently from the kinetic pressure of a photon gas.
Step 1. Count the photons. After decoupling their number is conserved, so their density falls purely with the growing volume, . Why: number conservation is the same geometric dilution matter feels, so this factor is the common floor and cannot be what distinguishes radiation.
Step 2. Track each photon's energy. Its wavelength is stretched by the expansion, , so its energy . Why: this is the cosmological redshift acting on a single quantum — the piece that has no analogue for a cold massive particle, which keeps its rest energy.
Step 3. Multiply the two effects: , matching the dilution law at since . Why: energy density is number density times energy per particle, so the two independent powers simply add in the exponent.
Step 4. Cross-check the value of from pressure. Kinetic theory of an isotropic photon gas gives directly, because a massless gas exerts a pressure equal to one third of its energy density. Why: an entirely separate argument — radiation pressure — lands on , confirming that the fluid picture and the microscopic picture are the same physics seen two ways.
Go deeper · Derivation C · 1 minThe acceleration threshold at w equals minus one third
Cosmic acceleration is not a small correction but a change of sign, and the equation of state controls that sign exactly. The goal here is to obtain the acceleration equation from the two Friedmann equations, expose the source term in which pressure gravitates with a factor of three, and substitute the equation of state to show that the expansion switches from decelerating to accelerating precisely at — the dividing line any candidate for dark energy must cross.
Step 1. Write the first Friedmann equation as the energy constraint,
with the spatial curvature. Why: this is the Einstein equation and fixes the expansion rate from the energy density; differentiating it is the route to the acceleration.
Step 2. Differentiate with respect to time and eliminate using the fluid equation , which makes the curvature term drop out and leaves
Why: the curvature term cancels because the same appears in both the constraint and its derivative, isolating a clean statement about that depends only on the fluid content.
Step 3. Substitute the equation of state to get
Why: this reduces the dynamics to a single parameter — the entire question of the Universe's fate collapses onto the sign of .
Step 4. Analyse the sign. With and , the expansion decelerates for , coasts at (), and accelerates for . Why: at the threshold the attractive gravity of the energy density is exactly cancelled by the repulsive contribution of its negative pressure, which is why is the defining line for dark energy.
Limiting cases
The power of the linear equation of state is that a short table of values captures every fluid the standard model needs, plus the effective fluids that mimic curvature and stiff matter.
| Case | Result | Meaning |
|---|---|---|
| Non-relativistic matter (dust) | Cold dark matter and baryons; thermal pressure negligible next to rest energy, so pure volume dilution. | |
| Radiation / relativistic species | Photons and (early) neutrinos; the extra is the cosmological redshift of each quantum. | |
| Cosmological constant / vacuum | Density independent of ; drives constant and de Sitter expansion — the endpoint of CDM. | |
| Spatial curvature (effective) | Not a real fluid, but the curvature term scales like one; sits exactly on the acceleration boundary. | |
| Stiff / kination fluid | The steepest causal equation of state (); the kinetic energy of a fast-rolling scalar field behaves this way. | |
| Phantom energy | Density increases with expansion; if real, ends in a finite-time "Big Rip". Allowed by some data fits, physically pathological. |
Worked examples
1 · When did radiation give way to matter? (fully worked)
Take the present density parameters (matter, ) and (radiation, , photons plus relativistic neutrinos). Find the scale factor and redshift of matter–radiation equality, and the photon temperature there, given K.
Step 1. Equality is where the two densities cross. Using the dilution law for each, . The cancels on both sides, leaving , so
Step 2. Convert to redshift with : , so . Before this redshift radiation dominated the expansion; after it, matter did — the transition that lets structure begin to grow.
Step 3. The photon temperature scales as , so , corresponding to a thermal energy eV. Equality falls at , , K — comfortably before recombination at , so the Universe was already matter-dominated when the CMB was released.
2 · When did the expansion start to accelerate? (fully worked)
Take a flat CDM model with and , neglecting radiation. Find the present deceleration parameter , and the redshift at which acceleration began.
Step 1. The deceleration parameter is , and for a mix of fluids the acceleration equation gives . Today, with matter () and (),
The negative value is the direct statement that the Universe is accelerating now.
Step 2. Acceleration begins when , i.e. when the total changes sign: . Using the scalings, , so
Step 3. In redshift, , so . The cosmos was decelerating until and has been accelerating since, with today. Note that matter and dark energy are only equal somewhat later, at (from ) — acceleration starts before formally dominates, because pressure enters with a factor of three.
3 · Reading off a scaling law (quick)
A hypothetical component dilutes as . What is its equation of state? Match exponents in the dilution law: , so and . Its sound speed is , so it is causal, lying between radiation () and the stiff limit (); it decelerates the expansion since .
Physics of the portrait
The equation of state is where thermodynamics meets gravitation, and no one saw that junction more clearly, or earlier, than the Belgian priest-physicist who first read Einstein's cosmological constant as a pressure.
Origins · 1 minGeorges Lemaître and how this was discovered
Georges Lemaître trained as a civil engineer, served in the First World War, was ordained a Catholic priest, and then reshaped cosmology. In 1927, two years before Hubble's paper, he derived an expanding-universe solution of Einstein's equations and predicted a linear velocity–distance relation from the redshifts of galaxies — the relation now called the Hubble–Lemaître law. In 1931 he proposed that the expansion traced back to a dense initial state, the "primeval atom," the conceptual seed of the Big Bang. But his sharpest contribution to this subject came in 1934. Where Einstein had introduced the cosmological constant in 1917 as a reluctant geometric device to keep the Universe static, Lemaître reinterpreted it physically: is the energy of the vacuum, with density and — crucially — a pressure equal to minus that energy density. In his words, one must "associate a pressure to the density of energy of vacuum." That is exactly the equation of state , written down six decades before observations would demand it. Lemaître thus supplied the modern reading of dark energy: not empty geometry but a fluid with strongly negative pressure whose gravity repels. He lived to hear, days before his death in 1966, that the cosmic microwave background had been found — evidence for the hot, dense beginning he had championed.
Going further
Texts. Ryden, Introduction to Cosmology, 2nd ed., ch. 5 (fluid and acceleration equations) · Carroll & Ostlie, An Introduction to Modern Astrophysics, 2nd ed., ch. 29 · Dodelson, Modern Cosmology, 2nd ed., ch. 2 · Mo, van den Bosch & White, Galaxy Formation and Evolution, ch. 3 · Peebles, Principles of Physical Cosmology, ch. 5. The key results of this article are: the dilution law from integrating the fluid equation with constant ; the three canonical scalings , , and constant for ; the acceleration threshold from equation (4); and the sound speed , giving for radiation. The worked numbers use standard CDM parameters , , , yielding matter–radiation equality , acceleration onset , and present deceleration parameter . The identification of vacuum pressure as traces to Lemaître (1934).
Prerequisites. The Fluid and Acceleration Equations · The Scale Factor and Cosmic Expansion · The FLRW Metric · Homogeneity and Isotropy in Cosmology. Leads to. The Friedmann Equations · Critical Density and the Density Parameters · Cosmological Redshift.
Ask the tutor: Ask me to slide from down to and watch the dilution law, the sound speed, and the fate of the expansion change at each step.
Why does a single number w capture so much physics?
Because the cosmological principle strips a cosmic fluid down to two quantities — energy density and isotropic pressure — and a barotropic relation ties them together. With no shear, heat flow, or bulk velocity, is the entire thermodynamic content. For the dominant components that relation is linear, , and enters both governing equations: the fluid equation (how fast the density dilutes) and the acceleration equation (whether gravity attracts or repels). Two of the most important questions about a species — how it fades, and what it does to the expansion — are answered by the same number.
How can the vacuum keep a constant energy density while space expands?
Follow the fluid equation. It reads , and for the pressure is , so and therefore exactly. Physically, the expansion does work against the vacuum's tension, and that work is precisely what is needed to fill each new parcel of volume at the same density. Energy does not appear from nowhere in any suspicious sense — in general relativity total energy is not globally conserved in an expanding spacetime, and the fluid equation is the correct local statement of energy–momentum conservation. Constant density is what it demands when pressure equals minus the energy density.
Does negative pressure mean the dark energy has negative mass?
No. The energy density of dark energy is positive; only its pressure is negative. The confusion comes from the acceleration equation, whose source is , not . For a cosmological constant this is , negative even though . So the "active gravitational density" driving the expansion is negative, producing repulsion — but it is built from a positive energy and a more-negative pressure, not from any negative mass.
Why is there a factor of three in front of the pressure?
It comes from the structure of the stress-energy tensor in Einstein's equations. The acceleration equation is sourced by because the mass density contributes once while the isotropic pressure contributes through all three spatial components — one factor per spatial direction. This is a purely relativistic effect: in Newtonian gravity pressure does not gravitate at all. It is why radiation, despite a modest energy density, decelerated the early Universe strongly, and why negative pressure can flip the sign of gravity.
What is the difference between w = −1/3 and w = −1?
They mark two different thresholds. The value is the acceleration boundary: any fluid with makes and drives — the minimum requirement to be called dark energy. The value is the cosmological constant, the special case where the density is exactly constant and the equation of state matches vacuum energy. A component could accelerate the Universe with, say, (still evolving, still diluting slowly) without being a true cosmological constant. Distinguishing "" from " exactly" is the whole observational program of dark-energy surveys.
Can w change over cosmic time, and how would we know?
Yes — nothing forbids a time-varying equation of state, and a rolling scalar field (quintessence) generically produces one. When is not constant the dilution law generalises to , reducing to the power law only when is fixed. Surveys parametrise the evolution as and measure from the expansion history in supernovae, baryon acoustic oscillations, and the CMB. A significant would prove dark energy evolves and rule out a pure cosmological constant. As of the mid-2020s the evidence is suggestive but not decisive, which is why the next generation of surveys is being built.