The Electrodynamic Thermodynamics: The Photon Gas, the Pair Plasma, and the Fock-Space Trace

----> Simplified version of this article

Introduction

The question. A thermal state is a mixed state, and a mixed state is not a field configuration. What object in the promoted theory carries it, and why should the answer be a trace rather than an ensemble of classical fields? Once the trace is written, two gases follow — a bosonic one and a fermionic one — and the question becomes whether one temperature can govern both.

The claim. The thermal state is the Gibbs trace over the promoted Fock space. The photon gas contributes two polarisations and the Stefan–Boltzmann density; the pair plasma contributes two fermion species with opposite chemical potentials and one neutrality condition. One temperature, two statistics, and one trace.

The answer.

$$ \boxed{\; Z=\mathrm{Tr}\,e^{-H/k_BT}, \qquad \varepsilon_\gamma=\frac{8\pi^{5}}{15}\frac{(k_BT)^{4}}{h^{3}c^{3}}, \qquad p_\gamma=\frac{\varepsilon_\gamma}{3}, \qquad n_{e^{-}}=n_{e^{+}}\ \Longrightarrow\ \mu=0 \;} $$

with the photon's two polarisations and the pair's two spin states counted.

What it does not do. It does not derive the free energy from a lattice, and it does not treat the interacting plasma's transport. It states the two ideal gases, their mixture, and the trace that defines them.

Standing. The conventions are those of Algebra and Element Conventions: the metric is $\delta_{\imath\jmath}$ with four $+1$, the weight is $\varepsilon=(1,-1,-1,-1)$, the measure is $\mathrm d^4r_\Phi$ with the $1/c$ in the time slot, and the charge is $ϙ$ with $ϙ^{2}/(4\pi)=\alpha$. The thermal weight uses $k_B$ explicitly, and the mode count uses $h$, the action per cycle: one state occupies the phase-space volume $h^{3}$, and a quantum carries the action $h$.

The Trace

The thermal state is

$$ \rho=\frac{1}{Z}e^{-H/k_BT}, \qquad Z=\mathrm{Tr}\,e^{-H/k_BT}, $$

and the trace is over the Fock space the promotion built. Every thermal expectation is $\mathrm{Tr}(\rho\,\mathcal O)$, and the two statistics enter through the trace's basis: the bosonic modes count with $+$, the fermionic with $-$.

The trace factorises, and the factorisation is the derivation. The Hamiltonian is a sum of mode terms, $H=\sum_r\omega_r n_r$, and the modes are independent. So the trace is a product, and each mode contributes a geometric series:

$$ Z_{\mathrm B}=\prod_r\sum_{n=0}^{\infty}e^{-n\omega_r/k_BT} =\prod_r\bigl(1-e^{-\omega_r/k_BT}\bigr)^{-1}, \qquad Z_{\mathrm F}=\prod_r\sum_{n=0}^{1}e^{-n\omega_r/k_BT} =\prod_r\bigl(1+e^{-\omega_r/k_BT}\bigr). $$

Taking the logarithm turns the product into a sum, and differentiating with respect to $\omega_r/k_BT$ turns the sum into the occupation:

$$ \log Z_{\mathrm B/F}=-\sum_r\mp\log\bigl(1\mp e^{-\omega_r/k_BT}\bigr), \qquad \langle n_r\rangle_{\mathrm B}=\frac{1}{e^{\omega_r/k_BT}-1}, \qquad \langle n_r\rangle_{\mathrm F}=\frac{1}{e^{(\omega_r-\mu)/k_BT}+1}, $$

where the upper sign is bosonic. The two occupation numbers are the whole of the statistics' thermal content; the rest of the thermodynamics is a sum over modes.

quantity boson fermion
$\log Z_r$ $-\log(1-e^{-\omega/k_BT})$ $+\log(1+e^{-\omega/k_BT})$
$\langle n_r\rangle$ $(e^{\omega/k_BT}-1)^{-1}$ $(e^{\omega/k_BT}+1)^{-1}$
$\langle n_r\rangle$ at $\omega\ll k_BT$ $k_BT/\omega$ $1/2$
$\langle n_r\rangle$ at $\omega\gg k_BT$ $e^{-\omega/k_BT}$ $e^{-\omega/k_BT}$

The pressure, from the trace. The pressure is the volume derivative at fixed temperature, $p=k_BT\,\partial\log Z/\partial V$. A mode's energy is $\omega=ck$ with $k\propto V^{-1/3}$, so $\partial\omega/\partial V=-\omega/(3V)$ and

$$ p=\frac{k_BT}{Z}\frac{\partial Z}{\partial V} =-\sum_r\langle n_r\rangle\frac{\partial\omega_r}{\partial V} =\frac{1}{3V}\sum_r\omega_r\langle n_r\rangle=\frac{\varepsilon}{3}. $$

The factor $\frac13$ is therefore not an equation of state assumed for radiation; it is the scaling of a massless mode's energy with the volume. A massive mode changes it, and the change is the mass correction computed below.

The KMS condition. The thermal state is the state whose correlators are periodic in imaginary time, and the period is $h/(k_BT)$. The condition is the definition's, and it is what the finite-temperature propagators satisfy. At $T=2.725\ \mathrm{K}$ the period is $h/(k_BT)=1.76\times10^{-11}\ \mathrm{s}$. The KMS Condition states the general form.

The Photon Gas

The density. Two polarisations, $\omega=ck$, and the measure one state per $h^{3}$:

$$ \varepsilon_\gamma=2\int\frac{\mathrm d^{3}p}{h^{3}}\frac{cp}{e^{cp/k_BT}-1} =\frac{8\pi^{5}}{15}\frac{(k_BT)^{4}}{h^{3}c^{3}} =aT^{4}, \qquad a=7.5657\times10^{-16}\ \mathrm{J\,m^{-3}K^{-4}} . $$

The coefficient is $\pi^{2}/15$ written with $h$: the $8\pi^{5}/15$ is $\pi^{2}/15$ times $(2\pi)^{3}$, the factor that converts the angular measure to cycles. The integral is $\int_0^\infty x^{3}\mathrm dx/(e^{x}-1)=\pi^{4}/15$, and the $x^{3}$ is the density of states in the variable $x=cp/k_BT$.

The pressure. $p_\gamma=\varepsilon_\gamma/3$, the massless gas's equation of state. The factor $\frac13$ is the trace of the stress tensor's spatial part, and it is the same tracelessness the Maxwell stress has classically.

The number. With $\int_0^\infty x^{2}\mathrm dx/(e^{x}-1)=2\zeta(3)$,

$$ n_\gamma=\frac{16\pi\zeta(3)}{h^{3}c^{3}}(k_BT)^{3} =2.029\times10^{7}\left(\frac{T}{\mathrm K}\right)^{3}\ \mathrm{m^{-3}} . $$

The number is not conserved — the photon is its own antiparticle and the chemical potential is zero — so the number is a function of $T$ and not an independent variable.

The entropy. From $S=k_B(\log Z+E/k_BT)$ and $p=\varepsilon/3$, $s_\gamma=(\varepsilon_\gamma+p_\gamma)/T=4\varepsilon_\gamma/(3T)=4aT^{3}/3$. It scales as $T^{3}$ while the energy scales as $T^{4}$, so their ratio is $\varepsilon_\gamma/s_\gamma=3T/4$; at $2.725\ \mathrm{K}$ that is $2.04\ \mathrm{K}$ in energy units, or $2.82\times10^{-23}\ \mathrm{J}$ per unit entropy.

The present universe, in numbers. At $T=2.725\ \mathrm{K}$,

quantity value
$n_\gamma$ $4.11\times10^{8}\ \mathrm{m^{-3}}$
$\varepsilon_\gamma$ $4.17\times10^{-14}\ \mathrm{J\,m^{-3}}=0.260\ \mathrm{eV\,cm^{-3}}$
$p_\gamma$ $1.39\times10^{-14}\ \mathrm{Pa}$
$s_\gamma$ $2.04\times10^{-14}\ \mathrm{J\,m^{-3}K^{-1}}=1.48\times10^{9}\,k_B\,\mathrm{m^{-3}}$
$\rho_\gamma=\varepsilon_\gamma/c^{2}$ $4.64\times10^{-31}\ \mathrm{kg\,m^{-3}}$

The mass density is the smallest entry in the table and the one most often quoted: a cubic metre of the microwave background weighs $4.64\times10^{-31}\ \mathrm{kg}$, which is $2.8\times10^{-4}$ of a proton mass.

Why the photon gas is the category's. The two polarisations are the two physical modes of the promotion, and the count is the same count as Gupta–Bleuler's. The gas is the thermal read of the promoted photon. The longitudinal and scalar modes are not in the trace because they are not in the physical space; the ghost cancellation is exact at every temperature, and it is the reason the count is two and not four.

The Pair Plasma

The two species. Electrons and positrons, each with two spin states, and the chemical potentials opposite: $\mu_{e^{-}}=-\mu_{e^{+}}=\mu$. The symmetry is the charge conjugation's, and it is what makes the pair's numbers equal when $\mu=0$.

The neutrality condition. The plasma is neutral, $n_{e^{-}}-n_{e^{+}}=0$, and the condition gives $\mu=0$ when no other charge is present. The proof is one line: the positron integral is the electron integral with $\mu\to-\mu$, so the condition reads $n(\mu)=n(-\mu)$, and $n(\mu)$ is strictly increasing because its integrand's derivative in $\mu$ is positive. Hence $\mu=-\mu$ and $\mu=0$. With a background of ions the condition is $n_{e^{-}}-n_{e^{+}}=n_{\mathrm{ion}}$ and fixes a non-zero $\mu$; the article treats the neutral pair case and states the background's effect.

The integrals. With $m$ the electron's mass,

$$ n_{e^{-}}=2\int\frac{\mathrm d^{3}p}{h^{3}}\frac{1}{e^{(E_p-\mu)/k_BT}+1}, \qquad E_p=\sqrt{p^{2}c^{2}+m^{2}c^{4}}, $$

and the positron's is the same with $\mu\to-\mu$. In the massless limit and at $\mu=0$, $n=12\pi\zeta(3)(k_BT)^{3}/(h^{3}c^{3})$ per species, which is $\frac34$ of the photon's number at the same temperature; the $\frac34$ is the Fermi–Dirac trace's, and it comes from the factor $1-2^{-2}=\frac34$ in the series.

The energy and the pressure. $\varepsilon_{e^{-}+e^{+}}=\frac78\frac{\pi^{2}}{15}\frac{(k_BT)^{4}}{h^{3}c^{3}}$ per species in the massless limit, so the pair contributes $\frac74\varepsilon_\gamma=1.75\,aT^{4}$ in total, and $p=\varepsilon/3$. The $\frac78$ is the fermionic analogue of the photon's $1$, and it comes from $1-2^{-3}=\frac78$ in the energy series.

The threshold. Below $k_BT\sim m_ec^{2}$ the pairs annihilate and the density is Boltzmann-suppressed by $e^{-mc^{2}/k_BT}$. The pair threshold is $2m_ec^{2}=1.022\ \mathrm{MeV}$, which is $1.19\times10^{10}\ \mathrm{K}$ if the whole energy is thermal; the suppression begins one factor of two earlier, at $k_BT=m_ec^{2}$, that is $T=5.93\times10^{9}\ \mathrm{K}$, because the high-energy tail supplies the second half. The two numbers differ by the factor two in $2m_ec^{2}$, and both are quoted because the literature uses both.

The mass correction, with a number. Expanding the integrand in $m^{2}/p^{2}$ gives

$$ n=n_0\left[1-\frac{\ln 2}{3\zeta(3)}\left(\frac{m_ec^{2}}{k_BT}\right)^{2}\right], \qquad \frac{\ln 2}{3\zeta(3)}=0.192 , $$

so at $k_BT=2m_ec^{2}$ the density is low by $0.192/4=4.8$ per cent relative to the massless formula. The correction is the leading term of a series in $(m/k_BT)^{2}$, and it is the same series that softens the equation of state.

The freeze-out. The pairs disappear when the annihilation rate falls below the expansion rate, at $k_BT\sim m_ec^{2}/20\approx25\ \mathrm{keV}$. At that temperature the Boltzmann factor is $e^{-20}=2.06\times10^{-9}$, so the residual pair abundance is of order one part in $10^{9}$ of the photon number. The observed electron excess is of the same order, but it is set by the baryon asymmetry and not by this freeze-out; the agreement is an order, not an identity.

The Mixture

The total pressure. $p=p_\gamma+p_{e^{-}}+p_{e^{+}}$, and the total energy is the sum. The two gases have one temperature when they are in equilibrium, and two when they decouple.

The effective count. Write the total energy as $\varepsilon=g_*\,aT^{4}/2$, where the factor $\frac12$ is the photon's two polarisations. Then

$$ g_*=2+\frac78\times4=2+3.5=5.5 , $$

so $\varepsilon=2.75\,aT^{4}$ above the pair threshold. The same $g_*$ counts the entropy, because every species is massless there and the $\frac78$ is the same for energy and entropy.

species spin states weight contribution to $g_*$
photon $2$ $1$ $2$
$e^{-}$ $2$ $\frac78$ $1.75$
$e^{+}$ $2$ $\frac78$ $1.75$
total $6$ — $5.5$

Below $k_BT\ll m_ec^{2}$ the pairs are gone and $g_*=2$; the transition is not a jump but the Boltzmann suppression of the two fermion lines, and it is complete by $k_BT\sim m_ec^{2}/10$.

Why one temperature. In equilibrium the two gases exchange energy through pair annihilation and Compton scattering, and the rates are fast compared with the expansion. At $k_BT=1\ \mathrm{MeV}$ the photon number density is $n_\gamma=2.029\times10^{7}\times(1.16\times10^{10})^{3}=3.2\times10^{37}\ \mathrm{m^{-3}}$, the annihilation cross section times $c$ is $\pi r_e^{2}c=7.5\times10^{-21}\ \mathrm{m^{3}s^{-1}}$, and the rate $n\langle\sigma v\rangle$ is of order $10^{17}\ \mathrm{s^{-1}}$ against an expansion rate of order $1\ \mathrm{s^{-1}}$. The ratio is more than fifteen orders of magnitude, which is what "in equilibrium" means here.

The decoupling. The pair plasma decouples when the annihilation rate falls below the expansion rate, and after that the two temperatures evolve differently. The category's thermodynamics is the equilibrium case; the decoupled case is the cosmology's, and the corpus treats it there.

The trace anomaly's thermal reading. The trace anomaly is a zero-temperature statement, but it survives at finite temperature as a contribution to the pressure's deviation from $\varepsilon/3$. The deviation is of order $\alpha^{2}(k_BT)^{4}/m^{4}$ in the low-temperature expansion, and it is the thermal Euler–Heisenberg term. At $k_BT=m_ec^{2}$ its relative size is $\alpha^{2}=(1/137)^{2}=5.3\times10^{-5}$, and it falls as $(k_BT/m_ec^{2})^{4}$. The category does not compute it here; it states where it comes from.

The Degenerate Limit: Two Numbers Where One Was Enough

The bound, and what it buys. The Fermi occupation satisfies $0\le f_F\le1$ for every energy. A classical gas has no such bound, and neither does a Bose gas; so at $T=0$ a Fermi gas is not a vacuum but a filled sphere. That single inequality is the whole difference between this band and the two below it.

The numbers at $T=0$. With $k_F=(6\pi^{2}n/g)^{1/3}$,

$$ p=\frac{1}{5m}\Bigl(\frac{6\pi^{2}}{g}\Bigr)^{2/3}n^{5/3}\ \text{(non-relativistic)}, \qquad p\propto n^{4/3}\ \text{(ultra-relativistic)}, $$

and both powers are exact. A gas with a pressure at zero temperature is a gas with a pressure that costs no heat — degeneracy pressure, which no classical fluid and no photon gas has. The two powers differ because the trace identity differs: the ultra-relativistic gas has $\varepsilon=3p$, the non-relativistic one does not, and the trace fixes which power of $n$ the pressure carries rather than the other way round.

The count of independent data is the real content. A classical gas needs one number at $T=0$ and two above it; this gas needs two above $T=0$ in every regime, degenerate or not:

regime data why
$T=0$ $n$ the Fermi momentum fixes everything
$T>0$, non-degenerate $n$, $T$ the classical limit, $\mu\ll m$
$T>0$, degenerate $n$, $T$ Fermi pressure plus a $T^{2}$ correction
spin-polarised $n$, $T$, $P$ a third variable with no conjugate potential

The equation of state is a surface and not a curve, and the surface has a fold at $T=0$ where one coordinate suffices. That is the thermodynamic face of exclusion: a bounded occupation makes the state space a sphere of fixed volume, and the sphere's radius is the density.

The trace, exactly. For the massive gas

$$ \varepsilon-3p=\frac{g\,m}{(2\pi)^{3}}\int\!\mathrm d^{3}k\,\frac{m}{\omega}f_F=\bigl\langle m\bar{\tilde\Xi}\,\tilde{\Xi}\bigr\rangle , $$

which vanishes at $m=0$ and is positive at every finite mass. The trace measures the condensate and not the occupation: a gas of any density has $\varepsilon=3p$ in the massless limit, and every departure from that is proportional to $\langle m\bar\psi\psi\rangle$. This is the fermionic counterpart of the scalar's trace identity, and it holds at $T=0$ as well — the degenerate limit is not a separate thermodynamics, only a corner of the same one.

The gap, now with a sharper face. The Fock space knows the spin: the label is in the mode set, and a polarised state is a distinct state of the same field with a different Fermi surface for each species. The closure nevertheless has no spin potential $\mu_{\mathrm{spn}}$ to price the polarisation, so $P$ is a variable without a conjugate. This is worse than the classical band's version of the same gap, not better: there the spin was a classical vector whose potential nobody had written; here the label exists in the algebra and the potential is still absent. The gap is therefore not an artefact of the classical description — it survives the quantisation that supplies the label, which is the strongest statement the corpus can make about it.

What Second Quantisation Changes

The statistics. The classical gas has no exclusion and no stimulated emission. The trace has both, and the two occupation numbers are the difference. A classical Maxwell gas at the photon's density would have $n_\gamma$ set independently of $T$; the trace ties it to $T$ through the chemical potential's vanishing.

The vacuum energy. The normal ordering removes the zero-point sum, so the vacuum's energy is zero by convention and the thermal energy is the excitation's. A different convention shifts the zero and changes nothing observable, because only energy differences enter $Z$ and only $\partial\log Z/\partial V$ enters $p$.

The number. The photon's number is not conserved and the pair's is conserved only in the neutral combination. The trace's chemical potentials are the statement: $\mu_\gamma=0$ exactly, and $\mu_{e^{-}}=-\mu_{e^{+}}$ with the common value fixed by neutrality.

The Single-Carrier Limit

When one gas dominates — the photon gas in the early universe after the pairs annihilate, the pair plasma in the early universe before — the mixture reduces to one component and the other's contribution is a correction. The limit is stated so that the reader knows which of the two descriptions a given article uses, and it is the same limit the fluid slot states. In the photon-dominated limit $g_*=2$ and every formula above is the photon's; in the pair-dominated limit $g_*=5.5$ and the photon's two polarisations are one part in $5.5$ of the total.

Checks

  1. The trace. $Z=\mathrm{Tr}\,e^{-H/k_BT}$ over the Fock space; the modes factorise.
  2. The occupations. Bose–Einstein and Fermi–Dirac, with $\mu=0$ for the photon.
  3. The photon density. $aT^{4}$ with $a=7.566\times10^{-16}\ \mathrm{J\,m^{-3}K^{-4}}$.
  4. The photon pressure. $\varepsilon/3$ from $\partial\omega/\partial V=-\omega/(3V)$.
  5. The photon number. $2.029\times10^{7}(T/\mathrm K)^{3}\ \mathrm{m^{-3}}$.
  6. The present numbers. $T=2.725\ \mathrm{K}$ gives $n=4.11\times10^{8}\ \mathrm{m^{-3}}$ and $\varepsilon=4.17\times10^{-14}\ \mathrm{J\,m^{-3}}$.
  7. The present mass density. $\varepsilon/c^{2}=4.64\times10^{-31}\ \mathrm{kg\,m^{-3}}$.
  8. The pair's $\mu$. Zero by neutrality, because $n(\mu)$ is strictly increasing.
  9. The pair's number. $\frac34$ of the photon's per species; $12\pi\zeta(3)$ against $16\pi\zeta(3)$.
  10. The pair's energy. $\frac78$ of the photon's per species; $\frac74$ in total, so $1.75\,aT^{4}$.
  11. The threshold. $2m_ec^{2}=1.022\ \mathrm{MeV}$; $1.19\times10^{10}\ \mathrm{K}$, with suppression from $5.93\times10^{9}\ \mathrm{K}$.
  12. The freeze-out. $k_BT\sim25\ \mathrm{keV}$; $e^{-20}=2.06\times10^{-9}$.
  13. The mixture. $g_*=2+\frac78\times4=5.5$; $\varepsilon=2.75\,aT^{4}$.
  14. The residue. $\alpha^{2}(k_BT)^{4}/m^{4}$; $5.3\times10^{-5}$ relative at $k_BT=m_ec^{2}$.

Summary

The thermal state is the Gibbs trace over the promoted Fock space. The photon gas has two polarisations, $\varepsilon=aT^{4}$, $p=\varepsilon/3$ and zero chemical potential; the pair plasma has two species with opposite chemical potentials, neutrality giving $\mu=0$, and $\frac34$ of the photon's number and $\frac78$ of its energy per species in the massless limit.

The mixture has one temperature in equilibrium, $g_*=5.5$, and $\varepsilon=2.75\,aT^{4}$ above the pair threshold. The trace anomaly's thermal residue is the pressure's deviation from $\varepsilon/3$, of order $\alpha^{2}(k_BT)^{4}/m^{4}$. Second quantisation changes the statistics, the vacuum energy's convention and the chemical potentials, and nothing else.

Summary of Notation

symbol meaning
$Z$ the partition function, the Fock-space trace
$\rho$ the Gibbs state, $e^{-H/k_BT}/Z$
$a$ $8\pi^{5}k_B^{4}/(15h^{3}c^{3})$, the radiation constant
$n_\gamma$ the photon number density
$\mu$ the pair's chemical potential, zero by neutrality
$\varepsilon$ the energy density
$p$ the pressure
$g_*$ $2+\frac78\times4=5.5$, the effective species count

Further Reading