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]
https://davidtong.org/teaching/statistical-physics/statmechhtml/S4#S4.SS4. David Tong, Statistical Physics, §4.4: Gibbs free energy and the thermodynamic Euler relation
A short first law of thermodynamics check, for neighboring equilibrium states with , isThe 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, soAn 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.
For a computed scale at stipulated , . Combining this with the photon number density givesThis 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]
https://davidtong.org/teaching/cosmology/cosmohtml/S2#S2.SS5.SSS2. David Tong, Cosmology, §2.5.2: entropy conservation and heating when relativistic species disappear
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.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 310 3 a Solution Created 2026-10-03 Updated 2026-10-06
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 givesSince ,The differential is therefore exact:After fixing the irrelevant additive entropy zero, the entropy density at zero chemical potential isMore 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, givesThis 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 ratioWhen 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.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 310 3 c Solution Created 2026-10-03 Updated 2026-10-06
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 , soThis is the nonrelativistic Maxwell-Boltzmann distribution limit of the Bose-Einstein distribution. The given Gaussian Gamma function integral givesSince and , the entropy density at zero chemical potential is . Its leading nonrelativistic entropy at zero chemical potential is thereforeAn 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 hasThe 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, thenand gives the same result. This specifies how the relativistic expression can legitimately be combined with the nonrelativistic one.
