Entropy density of a photon gas Created 2026-10-14 Updated 2026-10-20
The entropy density of a photon gas is its entropy per physical volume, . For homogeneous equilibrium vacuum radiation with two states of electromagnetic polarization and zero photon chemical potential,
The first equality is the entropy density at zero chemical potential, obtained from the thermodynamic Euler relation with internal energy . The second uses the photon gas equation of state, and . If an independently constrained photon number gives a nonzero chemical potential, the general entropy density is and need not hold. This distinction explains why the absence of a conserved number matters for entropy as well as for the spectral shape. [ref]
A short first law of thermodynamics check, for neighboring equilibrium states with , is
The thermodynamic Euler relation fixes the additive normalization. Equivalently, this radiation entropy tends to zero with temperature at fixed volume; no contribution from the containing walls is included. Interpreting as transferred heat and as boundary work requires a reversible thermodynamic process. For a reversible thermodynamic process that is also an adiabatic process, there is no entropy production or entropy exchange, so
An irreversible adiabatic process can produce entropy even without heat exchange, so the word adiabatic alone is insufficient to infer .
For an analytic example, expand an initially equilibrated photon gas reversibly from to , keeping only the same two photon states of electromagnetic polarization. Its temperature halves, its energy density becomes , its entropy density of a photon gas becomes , and its total entropy stays . The internal energy halves rather than remaining fixed: the missing half leaves as work against radiation pressure,
This is a stipulated reversible radiation model, not a report of a piston experiment. Maintaining a real cavity along this path requires controlling wall heat exchange and including the wall heat capacity in any actual apparatus balance.
Figure 1.
Analytic reversible photon gas expansion: entropy conservation and pressure work
. Original fixed-species model with from 1 to 8 and no entropy production. The left panel shows , and on a logarithmic vertical scale. The right panel plots ; the shaded integral is . Total entropy remains constant even though both entropy density and internal energy decrease. Details.
For a computed scale at stipulated , . Combining this with the photon number density gives
This is the total equilibrium radiation entropy divided by its mean photon number, not a separately assigned entropy carried by each labeled particle. During the ideal expansion, and is fixed, so the mean number also stays constant. This follows from the path; it was not imposed as the independent number constraint used to establish chemical potential.
The beautiful connection is that expansion lowers each typical photon energy and dilutes the radiation in just the proportions needed to retain its equilibrium spectral shape and total entropy. For the cosmic microwave background, homogeneous expansion of the universe has physical volume proportional to the cube of the scale factor; fixed-species cosmological entropy conservation therefore gives . This describes preservation of an already established Planck photon distribution and connects the FIRAS spectral observation in photon gas to an entropy prediction; FIRAS did not perform a direct entropy measurement. When other equilibrated species disappear and transfer energy into radiation, use the effective number of relativistic entropy degrees of freedom, : the conserved quantity for the combined sector is , under the corresponding equilibrium and no-entropy production assumptions. A changing species population, separate decoupled sectors or entropy production requires an appropriate entropy balance rather than the pure photon gas formula. [ref]
Nonrelativistic entropy at zero chemical potential Created 2026-10-06 Updated 2026-11-05
For a dilute nonrelativistic gas with and zero chemical potential, the Bose-Einstein distribution approaches the Maxwell-Boltzmann distribution. Expanding in the number density integral gives . Since and , the entropy density at zero chemical potential gives and hence the displayed leading expression. This includes the internal multiplicity ; a single real scalar field has .
The displayed asymptotic uses natural units . Thus and are both energy scales, and is dimensionless. Restoring SI units replaces this ratio by and includes in the physical entropy per particle.
Consider a species in thermal equilibrium, with energy density and pressure depending on temperature and with vanishing chemical potential, as in the supplied thermodynamic relation. Put . The first law of thermodynamics gives
Since ,
The differential is therefore exact:
After fixing the irrelevant additive entropy zero, the entropy density at zero chemical potential is
More precisely the first law leaves an additive constant in ; extensivity fixes that constant for the usual entropy-density normalization. A nonzero chemical potential would instead require , so the stated formula is not a universal identity for a decoupled massive species with conserved particle number.
For a reversible thermodynamic process that is an adiabatic process in a comoving volume, and the cosmological perfect-fluid continuity equation gives . Differentiating the extensive expression explicitly, or using the exact differential above, gives
This is cosmological entropy conservation for the closed equilibrium gas with no entropy-producing energy injection.
For radiation in cosmology, , so . Comparing and yields the coefficient ratio
When all relativistic species share the same temperature and count, the familiar normalizations are and . More generally the energy and entropy effective counts can differ; the common here uses the assumptions stated in the question.
Use the dark-sector temperature in every dimensionless integration variable: and . Assume a single real scalar field, , and fast number-changing reactions keeping . For , the populated momenta satisfy , so
This is the nonrelativistic Maxwell-Boltzmann distribution limit of the Bose-Einstein distribution. The given Gaussian Gamma function integral gives
Since and , the entropy density at zero chemical potential is . Its leading nonrelativistic entropy at zero chemical potential is therefore
An internal multiplicity would multiply this expression; the absence of in the printed result assumes a real one-state scalar.
Now use the constant separately conserved visible and dark entropy ratio and the relativistic visible-bath entropy law, . Since ,
Thus the cannibal-sector temperature ratio has
The numerical coefficient is approximately . The visible-bath temperature is the photon temperature while that bath is internally thermalized; after distinct visible species acquire different temperatures, its total entropy must instead use the appropriate temperature-weighted .
The displayed relativistic scalar entropy formula must not be continued into this regime with held constant. If it is used as an effective definition at arbitrary temperature, then
and gives the same result. This specifies how the relativistic expression can legitimately be combined with the nonrelativistic one.