{'fraction_non_alphanumeric': 0.03543307086614173, 'fraction_numerical': 0.010344689056725052, 'mean_word_length': 4.474488673850891, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
On Effective Degrees of Freedom in the Early Universe

We explore the effective degrees of freedom in the early universe, from before the electroweak scale at a few femtoseconds after the Big Bang, until the last positrons disappeared a few minutes later. We first look at the established concepts of effective degrees of freedom for energy density, pressure and entropy density, and introduce effective degrees of freedom for number density as well. We discuss what happens with particle species as their temperature cools down from relativistic to semi- and non-relativistic temperatures, and then annihilates completely. This will affect the pressure as well as the entropy per particle. We also look at the transition from a quark-gluon plasma to a hadron gas. Using a list of known hadrons, we use a"cross-over"temperature of 214 MeV where the effective degrees of freedom for a quark-gluon plasma equals that of a hadron gas.


Introduction
The early Universe was filled with different particles. A tiny fraction of a second after the Big Bang, when the temperature was 10 16 K ≈ 1 TeV, all the particles in the Standard Model were present, and roughly in the same abundance. Moreover, the early Universe was in thermal equilibrium. At this time, essentially all the particles moved at velocities close to the speed of light. The average distance travelled and lifetime of these ultra-relativistic particles were very short. The frequent interactions led to the constant production and annihilation of particles, and as long as the creation rate equalled that of the annihilation rate for a particle species, their abundance remained the same. The production of massive particles requires high energies, so when the Universe expanded and the temperature dropped, the production rate of massive particles could not keep up with their annihilation rate. The heaviest particle we know about, the top quark and its antiparticle, started to disappear just one picosecond (10 −12 s) after the Big Bang. During the next minutes, essentially all the particle species except for photons and neutrinos vanished one by one. Only a very tiny fraction of protons, neutrons, and electrons, what makes up all the matter in the Universe today, survived due to baryon asymmetry (the imbalance between matter and antimatter in the Universe). The fraction of matter compared to photons and neutrinos is less than one in a billion, small enough to be disregarded in the grand scheme for the first stages of the Universe.
We know that the early Universe was close to thermal equilibrium from studying the Cosmic Microwave Background (CMB) radiation. Since its discovery in 1964 [1], the CMB has been thoroughly measured, most recently by the Planck satellite [2]. After compensating for foreground effects, the CMB almost perfectly fits that of a black body spectrum, deviating by about one part in a hundred thousand [3]. It remained so until the neutrinos decoupled. For a system in thermal equilibrium, we can use statistical mechanics to calculate quantities such as energy density, pressure, and entropy density. These quantities all depend on the number density of particles present at any given time. How the different particles contribute to these quantities depends of their nature-most important

Notations and Conventions
The effective degrees of freedom of a particle species is defined relative to the photon. This is not just an arbitrary choice, but chosen since the photon is massless, and whose density history is best known. The most important source of information about the early Universe comes from the CMB photons. Even though the photon is the natural choice as a reference particle, technically any particle could be used. Additionally, when talking about effective degrees of freedom, we most often do so in the context of energy density g ⋆ , which in most textbooks is just called "g ⋆ ". Here, we use the notation g ⋆ for that matter, and g ⋆ as a collective term for all four quantities.
The term "particle annihilations" frequently appears in this paper. Strictly speaking, we have particle creations and annihilations all the time, but in this context, "particle annihilations" refers to periods where the annihilation rate is (noticeable) faster than the production rate for a particle species.
In many textbooks, the value of the speed of light (c), the Boltzmann constant (k B ), and the Planck reduced constant ( ̵ h) are set to unity. We have chosen to keep these units in our equations to avoid any problems with dimensional analysis during actual calculations. One of the advantages of using ̵ h = c = k B = 1 is that we can use temperature, energy, and mass interchangeably. For our equations, we use k B T and mc 2 when we want to express temperature and mass in units of MeV, but in the main text, when we talk about temperature and mass, it is implied that these are k B T and mc 2 .
Simplifications are important when we first want to approach a new subject. One of our assumptions in this paper is that the early Universe was in total thermal equilibrium. There were, however, periods where this was not so. In those cases, viscous effects drove the system (the Universe) towards equilibrium. This increased the entropy. For our purposes, all viscous effects have been neglected. Some relevant papers address this issue [12][13][14].

The Standard Model Particles and Their Degeneracy
Let us start by looking at the degeneracy of the different particle species-their intrinsic degrees of freedom, g. The Standard Model of elementary particles are often displayed as in Figure 2. The quarks, leptons, and neutrinos are grouped into three families, shown as the first three columns. These are all fermions. The two last columns are the bosons. The fourth column consists of force mediator particles, also called gauge bosons. These are the eight gluons, the photon, and the three massive gauge bosons. The Higgs boson that was discovered at CERN in 2012 [15,16] comprises the fifth and last column. A particle's degeneracy depends on its nature and which properties it possesses. We have listed these as four different columns in Table 1. They are: (1) Number of different flavors. These are different types of particles with similar properties, but different masses. These are listed as separate entries in Figure 2; (2) Existence of antiparticles. Antiparticles have different charge, chirality, and color than their particle companion. Not all particles have anti-partners (e.g., the photon); (3) Number of color states. Strongly interacting particles have color charge. For quarks and their anti-partners, there are three possibilities (red, green, blue, or antired, antigreen, antiblue). Gluons have eight possible color states. These are superpositions of combined states of the three plus three colors; (4) Number of possible spin states. We remember from quantum mechanics that all bosons have integer spins, while fermions have half integer spins, both in units of ̵ h. The spin alignment of a particle in some direction is called its polarization. Quarks and the charged leptons have two possible polarizations: + 1 ⁄2 or − 1 ⁄2. Another way of saying this is that they can be either left-handed or right-handed. Neutrinos, on the other hand, can only be left-handed (and antineutrinos only right-handed), so they only have one spin state. Actually, whether neutrinos are Dirac or Majorana fermions is still an open question. Majorana fermions are their own antiparticles, while Dirac fermions have distinct particles and antiparticles. In the latter case, we expect there to be additional right-handed neutrinos and left-handed antineutrinos, whose weak interaction is suppressed. These "new" neutrinos are expected to have negligible density compared to the left-handed neutrinos and right-handed antineutrinos [17]. The book by Lesgourgues, Mangano, Miele, and Pastor [11] also discusses this topic in detail. The massive spin-1 bosons (W ± and Z 0 ) have three possible polarizations (−1, 0, 1): one longitudinal and two transverse. The massless spin-1 bosons (photons and gluons) have only two possible polarizations, namely the transverse ones. The Higgs particle is a scalar particle and has spin-0. Finally, we should say that hadrons can have multiple possible spin states, depending on their composition. At high temperatures where all the particles of the Standard Model are present, we have 28 bosonic and 90 fermionic degrees of freedom. It turns out that fermions do not contribute as much as bosons, since they can not occupy the same state. We will get back to this in the next section, and just say that fermions have 28 + 7 ⁄8 × 90 = 106.75 effective degrees of freedom for energy density, pressure, and entropy density. For the number density, the effective degrees of freedom is 28 + 3 ⁄4 × 90 = 95.5.

Statistical Mechanics of Ideal Quantum Gases in Thermodynamic Equilibrium
In this section, we briefly review the statistical mechanics of ideal quantum gases in thermal equilibrium. We also introduce the concept of effective number of degrees of freedom for a particle species, and how to count these as functions of the temperature.

Thermodynamic Functions
In order to calculate the thermodynamic functions, we need to know the single-particle energies of the system. We consider a cubic box with periodic boundary conditions, and with sides of length L and volume V = L 3 . Solving the Schrödinger equation for a particle, we find the possible momentum eigenvalues where h is the Planck constant, n i = 0, ±1, ±2, ±3, ..., and ⃗ e x , ⃗ e y , ⃗ e z are the standard units vectors in three-dimensional Euclidean space. The energy of a particle with mass m and momentum ⃗ p is E(⃗ p) = m 2 c 4 + ⃗ p 2 c 2 .
In thermal equilibrium, the probability that a single-particle state with momentum ⃗ p and energy E(⃗ p) is occupied is given by the Bose-Einstein or Fermi-Dirac distribution functions where the upper sign is for fermions and the lower sign for bosons. Moreover, k B is the Boltzmann constant and µ is the chemical potential. In order to find the total number of particles occupying a state with energy E, we must find the density of states in phase space. We see from Equation (1) that the number of possible states in momentum space is L 3 h 3 . By dividing by the volume, L 3 , as well, we are left with the factor (1 h) 3 . If there is an additional degeneracy g (for example, spin), we can write the density of states (dos) as The density of particles with momentum ⃗ p is then given by The total density of particles, n, can then be written as an integral over three-momentum involving the distribution function as n = g By multiplying the distribution function (2) with the energy and integrating over three-momentum, we obtain the energy density of the system. The pressure, P, can be found in a similar manner by multiplying the distribution function with ⃗ p 2 (3E c 2 ) (a nice derivation of this is shown by Baumann [4]). This yields the integrals Finally, let us mention the entropy density s. It can be calculated from the thermodynamic relation where the index µ T is the total chemical potential. We will get back to chemical potentials in Section 4.3.

From Momentum to Energy Integrals
It is sometimes more convenient to use energy, E, instead of the momentum, ⃗ p, as the integration variable. By integrating over all angles, we can replace d 3 ⃗ p by 4π ⃗ p 2 d⃗ p. Using the energy momentum relation, we find ⃗ p = √ E 2 − m 2 c 2 c and c⃗ p d⃗ p = E dE. We can simplify these formulas further by introducing the dimensionless variables u, z, andμ.
This yields the following expressions for the number density, energy density, and pressure for a species j, and for all species (as this is simply the sum of all particle species).
As shown in Equation (8) we can find the entropy density for a single species j and the total entropy as:

Chemical Potentials
Before we proceed, we briefly discuss the chemical potentials. We recall from statistical mechanics that we can introduce a chemical potential µ j for each conserved charge Q j . This is done by replacing the Hamiltonian H of the system with H − µ j N Q j , where N Q j is the number operator of particles with charge Q j .
In the Standard Model, there are five independent conserved charges. These are electric charge, baryon number, electron-lepton number, muon-lepton number, and tau-lepton number. This means there are also five independent chemical potentials [7]. The chemical potentials are determined by the number densities. The electric charge density is very close to zero. The baryon density is estimated to be less than a billionth of the photon density [18,19]. Lepton density is also thought to be very small, on the same order as the baryon number. According to Weinberg [7], for an early Universe scenario, we can put all these numbers equal to zero to a good approximation. For a correct representation of the Universe, the chemical potentials cannot all cancel out-otherwise, there would be no matter present today. For more general calculations including chemical potentials, the book by Weinberg is recommended [6]. The implications of a large neutrino chemical potential is discussed by Pastor and Lesgourgues [20]. Mangano, Miele, Pastor, Pisanti, and Sarikasa discuss the chemical potentials and their influence on the effective number of neutrino species [21] (we will briefly mention effective neutrino species in Section 6.2).

Massless Particle Contributions
In Equations (10)- (12), we see how dimensionless units, u, z, andμ, simplifies the integrals. In the ultrarelativistic limit, we can ignore the particle masses. Moreover, as we have set the chemical potentials to zero, we can easily solve the dimensionless integrals appearing in Equations (10b), (11b), and (12b) analytically. Since the integrals for energy density and pressure in the massless cases are the same, we find: where ζ(3) is the Riemann zeta function of argument 3. Using these results, we find the values for n, , P, and indirectly s for massless bosons and fermions: Here the subscript b is for bosons, and f is for fermions. We see that solving the integrals gives a difference between fermions and bosons, namely a factor 3 ⁄4 for the number density and 7 ⁄8 for energy density and pressure. We will call these two factors the "fermion prefactors". We also see that the pressure is simply one third that of the energy density, while the entropy density can be found by multiplying the energy density by 4 (3T).

Effective Degrees of Freedom
In most cases we cannot ignore the particle masses. In these cases, we must solve the integrals in Equations (10b), (11b), and (12b) numerically. The integrals are decreasing functions of the temperature, and they vanish in the limit k B T mc 2 → 0. We can normalize these by dividing their values by the case of the photon (but with g equal to one). As we recall,the photon has a bosonic nature with m = 0 and µ = 0. This means that for massive particles at high temperature (k B T ≫ mc 2 ), one actual degree of freedom for bosons contributes as much as one degree of freedom for photons, and the fermions a little less. As the temperature drops, and less particles are created, the effective contributions will be smaller. By including the intrinsic degrees of freedom (g), we find each particle species' effective degree of freedom, g ⋆ j : In Figure 3, we have plotted the effective degrees of freedom for massive bosons (panel a) and fermions (panel b) with g = 1 (and µ = 0) as functions of the temperature. We have also listed the results in Table B1 in Appendix B. When the temperature is equal to the mass (k B T = mc 2 ), the effective degrees of freedom for energy density is approximately 0.9 for bosons and 0.8 for fermions, compared to that of the photon. For number density, pressure, and entropy density, they are a little lower.  Figure 3. The effective degrees of freedom g⋆n, g⋆ , g⋆p, and g⋆s for bosons (a) and fermions (b) per intrinsic degree of freedom. A more detailed look at each of the four g⋆s is given in the lower four panels (c-f). Here the solid colored curves are for the bosons, and the dash-dotted colored curves are for the fermions. The grey dash-dotted curves represent the fermions' contribution compared to its own relativistic value (such that it is 100% for T → ∞). We have included the relative values at k B T = mc 2 for the four cases (marked with "+" symbols). During particle annihilations, the energy density falls slower than the other quantities due to the impact of the rest mass energy. At temperatures close to the rest mass of some massive particle species, this rest mass is substantial to their total energy.
The effective degrees of freedom are defined as functions of the corresponding variables and temperature. We find the total effective degrees of freedom for g ⋆n , g ⋆ , and g ⋆p by summing Equations (20)-(23) over all particle species j: Finally, the effective degrees of freedom associated with entropy is then: We again emphasize that Equations (24b), (25b), (26b), and (27b) are only valid for a system in thermal equilibrium (i.e., all the particles have the same temperature). It turns out that after the neutrinos decouple from the electromagnetically interacting particles (i.e., photons, electrons, and positrons) and the electrons and positrons annihilate, we cannot calculate the four g ⋆ s that straightforwardly. We will return to neutrino decoupling in Section 6.1.

Particle Evolution During the Cooling of the Universe
Our analysis starts with all the particles of the Standard Model present. As the Universe expands and cools, the annihilation rate of the more massive particles will become smaller and smaller compared to their creation rate. As the heavier particles disappear, this again will lead to a relatively larger creation rate for all the remaining lighter particle species. The overall number of particles in a comoving volume will thus remain (almost) constant. A few minutes after the Big Bang, when the temperature was down to 10 keV (corresponding to 100 million Kelvin), the Universe was mainly filled with photons and neutrinos. As we mentioned in Sections 1 and 4.3, a small-and at this stage, negligible-portion of matter survived due to the baryon asymmetry. Without the presence of antiparticles, the matter particles (i.e., nucleons and electrons) thus survived and "froze out" when their reaction rate (i.e., annihilation and creation rate) became slower than the expantion rate of the Universe (or equivalently, when the time scale of the weak interaction became longer than the age of the Universe) [8]. This process has some similarities with the decoupling of the neutrinos (which we will discuss in more detail in Section 6). These relic matter particles still interact with the photons and remain in thermal equilibrium until after the photon decoupling at around 380,000 years after the Big Bang [2]. Although negligible in the early stages of the Universe, matter eventually became the dominant energy contributor around 47,000 years after the Big Bang [10]. This is because non-relativistic (cold) matter receive their energy mainly from their rest mass. The energy density for cold matter goes as T −3 . This is solely due to the dilution of the particles. The kinetic contribution to the energy is negligible. Radiation (massless particles) goes as T −4 , because it is also subject to redshift as the Universe expands. A simple overview of events which affects the four g ⋆ s is given in Table 2. Table 2. List of events which impacts g⋆n, g⋆ , g⋆p, and g⋆s. For the particle annihilation events, we have here used the particle masses as a reference. By combining this Table with Table B1 in Appendix B, we get a more precise picture.

Quark-Gluon Plasma vs. Hadron Gas
In the early Universe, quarks and gluons moved freely around. A gas consisting of quarks and gluons at high temperature is referred to as a quark-gluon plasma, in analogy with an ordinary electromagnetic plasma. This is in contrast to today, where we do not observe free quarks, but only hadrons (e.g., pions and nucleons) that are bound states of either three quarks, three antiquarks, or a quark-antiquark pair. These different combinations are called baryons and mesons, and are both bound together by the gluons. While quarks and gluons carry color charge, the hadrons we observe are color neutral. At some critical temperature of the Universe T c , a phase transition from a quark-gluon plasma to a hadronic phase took place. We call the gas formed immediately after the phase transition a hadron gas. This is similar to the formation of atoms, where the nucleus and electrons are bound together by electric forces. The aforementioned phase transition took place when the temperature of the Universe was approximately 150-170 MeV [22,23]. The transition temperature can be calculated by so-called lattice Monte Carlo simulations. Although the study of the phase transition from a quark-gluon plasma to a hadron gas is rather difficult, we can get an estimate of the critical temperature by evaluating the effective degrees of freedom for the energy density. This estimate could be thought of as an upper limit bound, as we cannot have an increase in g ⋆ (i.e., the energy density) as the universe expands

Effective Degrees of Freedom in the QGP and HG Phases
Let us start an analysis at very high temperature, where all the elementary particles are present and effectively massless. g ⋆ is therefore at a maximum. As the temperature decreases, the various particles annihilate, and g ⋆ falls accordingly. We trace the number of effective degrees of freedom as a function of the temperature in Figure 4a. Here, the yellow dotted curve shows the effective degrees of freedom in the quark-gluon plasma phase (if it would exist for all temperatures). Without a phase transition, the quarks disappear only when the temperatures drop below their rest mass value. At the far right (colder) part of the scale, the gluons are still present together with the photons and neutrinos. In a similar manner, we can trace the effective degrees of freedom in a hadronic phase (if it would exist for all temperatures), as shown in the purple dash-dotted curve. As in the real world, relatively speaking we only have photons and neutrinos present at low temperatures. As we go left to higher temperatures, the first increase in g ⋆ is caused by the presence of electron-positron pairs. The muons and the lightest mesons (namely, the pions), are the next particles to appear. We then get a very steep increase in g ⋆ , starting at around 100 MeV. This is due to the appearance of many heavier hadrons, whose numbers grow almost exponentially as the temperature increases. We can now define a "cross-over" temperature T ⋆ , which is the temperature at which the two curves intersect. Hence, the phase with the lower number of effective degrees of freedom for energy density wins (in QCD theory, one normally compares the pressure of the two phases, and the phase with the higher pressure wins). Using the particles listed by the Particle Data Group [19] (and listed in Appendix C and D), this yields k B T ⋆ = 214 MeV. However, if there are more possible baryonic states (which there most likely are), this temperature will be lower. This cross-over temperature could be thought of as the QCD transition temperature. To get a more accurate estimate for the transition temperature, one can use the numerical method called lattice simulations. Using this latter method, one obtains a transition temperature k B T c in the 150-170 MeV range. The value depends on the number of quarks and their mass used for the calculation. Thus, our simple estimate gives us the correct order of magnitude, but a bit too high. Speculatively, however, it is possible that it can be thought of as an upper bound.
In Figure 4b, we zoom in around the transition temperature. We recognize the partly covered yellow and purple curves from panel-a, representing the QGP and HG scenarios. The green curve represents a transition temperature of the aforementioned 214 MeV. If we insist on a critical temperature of 170 MeV, we follow the yellow curve for the QGP to the right, and as we hit this temperature, we jump down to the HG curve. This discontinuous curve for g ⋆ is shown in dash-dotted red color. We will later see (Section 8) that this can be interpreted as the temperature remaining constant over a time while the degrees of freedom are reduced. The same remarks apply to the blue curve, which represents a 150 MeV transition.

A Closer Look at Each Particle Group
Let us have a closer look at how each group of particle species contributes to g ⋆ . Figure 5a shows how the different particle groups contribute to the energy density as the temperature of the Universe drops. Let us look at the simplest case first-the photon (shown as the black dashed line). It always has two degrees of freedom, and thus a constant contribution, g ⋆ γ , equal to two. The charged leptons (l) consist of the taus, muons, electrons, and their antiparticles. They are fermions, with two possible spin states. Each generation has a degeneracy of 3.5, which adds up to 10.5 at high temperatures. The magenta dash-dotted curve in Figure 5a shows how the charged lepton contribution drops around the time when the temperature (k B T) goes below that of the particle masses (mc 2 ). The tau and antitau have a mass of 1777 MeV, so when the temperature drops below this value, their abundance will drop, and at a few hundred MeV they are all but gone, and g ⋆ l will have dropped to about 7. The same process happens for the muons and electrons from k B T ∼ 100 MeV and k B T ∼ 0.5 MeV, when the value of g ⋆ l drops to 3.5, and finally zero. The case is more or less the same for the massive bosons (W ± , Z 0 , and H 0 ). They have a total degeneracy of 10, and all have masses of around 100 GeV, which means that their annihilations will overlap as seen in the red dotted curve. For neutrinos (solid blue curve), we see a fall in g ⋆ ν after they have decoupled, and the electron-positrons start to annihilate. We look closer at this in Section 6.1.
For the color-charged particles (gluons and quarks), things are a bit more complicated due to the differences before and after the QCD phase transition. In Figure 5a, we have plotted both the quark-gluon plasma and hadron gas without any transition. Instead, we have marked their value at three different transition values: k B T c = 214 MeV (marked with ◯), k B T c = 170 MeV (marked with △), and k B T c = 150 MeV (marked with ▽). The case for the gluons is straightforward-they have 16 degrees of freedom for T > T c , and zero after. Quarks-being massive-begin with 63 effective degrees of freedom, which will gradually decrease as the top, bottom, and charm particles disappear. At the time of the phase transition, this value is down to about ∼32, depending on T c .
After the phase transition, we need to count the hadronic degrees of freedom. We can distinguish these by baryons and mesons, as is done in Figure 5b. The only hadrons with masses less than k B T c are the three pions, which for T = T c have roughly three degrees of freedom. There are, however, many heavier hadrons, which single-handedly do not contribute much at low temperatures, but the sheer number of different hadronic states results in a collective significant contribution. Going from low to high temperatures in Figure 5b, the effective degrees of freedom from mesons (red dash-dotted curve) and baryons (blue dotted curve) increase almost exponentially. This value is quite different at different T c . Following the hadrons (green curve) from right to left, we see that at k B T = 150 MeV, the hadrons make up roughly 12 effective degrees of freedom. At k B T = 170 MeV, this number is approximately 19, and at k B T = 214 MeV, we have roughly 48-which is the same as the 16 + 32 degrees of freedom from the free quarks and gluons.  . Panel (a) shows the contribution to the effective degrees of freedom (dof) for energy density from all particle groups. The drop in each group's g⋆ value corresponds to ongoing annihilations of particles at that temperature. Panel (b) shows the total hadron contribution (green solid curve) to g⋆ around the QCD phase transition temperature. We have further divided this into a baryon part (blue dotted curve) and a meson part (red dash-dotted curve). We have also plotted the pions specifically (black dashed curve), as they are the main hadronic contributor to g⋆ at low temperatures. The two plots clearly show how fast the hadronic contribution increases at temperatures beyond 100 MeV. In both panels, we have marked the contribution to g⋆ from hadrons, baryons, and mesons, at the three transition values of 214 MeV (◯ symbols), 170 MeV (△ symbols), and 150 MeV (▽ symbols), respectively.

Decoupling
As we mentioned in Section 1, particles are kept in thermal equilibrium by constantly colliding (interacting) with each other. The collision rate depends on two factors-the cross section σ and the particle density n. The cross section depends on several factors, but the most important one is by which forces the particles interact. Those which feel the strong and electromagnetic force interact strongly, while those which only feel the weak force interact much weaker. The cross sections related to the different forces depend on the temperature, or more correctly on the energy involved in the reaction. How these interaction strengths change are different for the four forces. In general, they become closer in strength for higher temperatures.
When the Universe expands, dilutes, and cools, particles travel farther and farther before interacting. That is, their mean free path and lifetime increases. As mentioned in Section 5, at some time the interaction rate for some particles can become slower than the expansion rate of the Universe, and (on average) those particles will never interact again. The time at which this happens is defined as the time of decoupling. For neutrinos, this happened about one second after the Big Bang (and we will get back to this in the next section), and for photons this happened about 380, 000 years later (due to recombination and forming of neutral atoms). Let us look at the general case. First we need to introduce the concept of comoving coordinates and volumes. Comoving coordinates move with the rest frame of the Universe; i.e., they do not change as the Universe expands. An analogy of this would be to draw dots on a balloon. The actual distance between the dots increases as the balloon is inflated, but their comoving distance remains the same. For a comoving volume with constant entropy S, we can write One of the consequences of this is that the temperature will fall slower during particle annihilations (i.e., when the effective degrees of freedom decreases). To understand this, we need to look at what is going on during particle creations and annihilations, as well as rest mass energy vs. kinetic energy.
During reactions where we go from two massive particles to two lighter particles, the excess rest mass energy will be converted to kinetic energy. Thus, the lighter particles will on average have a higher kinetic energy than the other particles in the thermal "soup". Normally, this is countered by the reversed reaction-namely, reactions where two lighter particles create two more massive ones with less kinetic energy. Throughout periods where we have particle annihilations, there will be a net flow of massive particles to lighter particles plus kinetic energy. Hence, the temperature will fall slower in these periods.
In order to maintain thermal equilibrium, particles need to constantly interact. That is, there needs to be some coupling between them (directly or indirectly). If some particles decouple, it means that they on average will never interact again, so if a particle species has decoupled before an annihilation process starts, their temperature will decrease independently of those which are still coupled together. As a result, there will be two different temperatures: the photon-coupled temperature (T) (those particles that directly or indirectly interact with the photons), and the decoupled-particle temperature (T dc ). Solving Equation (28) before and after an annihilation process (indicated by subscripts "1" and "2") for the photon-coupled (γc) and decoupled (dc) particles gives us After decoupling, but before an annihilation process, the two temperatures are the same. Well, close enough, as we will briefly discuss in Section 8. Once a photon-coupled particle species start to annihilate, the degrees of freedom for (all) the coupled particles will reduce, while it will remain the same for the decoupled ones. Solving for the decoupled temperature after annihilation gives us: which we normally write as In principle, we can do this for more than one decoupled particle species, and get two or more different temperatures for the decoupled particles.

Neutrino Decoupling
Before they are decoupled, neutrinos are kept in thermal equilibrium with the photon-coupled particles mainly via weak interactions with electrons and positrons. Around one second after the Big Bang, the rate of the neutrino-electron interactions becomes slower than the rate of expansion of the Universe, H. The collision rate between neutrinos and electrons (and its antiparticle), Γ ν , is given by [6,17]: where n e is the number density of electrons and σ wk is the neutrino-electron scattering cross section. G wk = G F ( ̵ hc) 3 ≈ 1.166 × 10 −5 GeV −2 is the weak coupling constant [24,25]. By using the equation for energy density, either from Equation (11c), or better, by fast-forwarding to Equation (48), the expansion rate at the same time is given by the first Friedmann equation: The prefactors in Γ ν and H roughly cancel each other, such that we end up with This is a rough estimate, but one that is most commonly used (e.g., by Weinberg [6]). Being relativistic, the neutrino temperature T ν scales as a −1 , while the energy density and number density scale as a −4 and a −3 , respectively.

Neutrino Temperature and Entropic Degrees of Freedom
Let us look more closely at the effective degrees of freedom at the time just after the neutrinos decouple. For the entropy density before the electrons and positrons annihilate, they have 10.75 degrees of freedom, divided as 5.25 for the neutrinos and 2 + 3.5 = 5.5 for the photon plus the electron and positron. The latter one is reduced to just 2 once all the electrons and positrons have annihilated (i.e., g γc2 g γc1 = 2 5.5 = 4 11). We now have a higher photon temperature and a lower neutrino temperature. Using Equation (32), we find the neutrino temperature after all electrons and positrons have annihilated to be Hence, after the electron-positron annihilation, the neutrino temperature is 71% that of the photon temperature. Measurements of the Cosmic Microwave Background (CMB) radiation is found to be 2.73 K. This means that the neutrino background temperature should be 1.95 K (it should be mentioned that no measurement of the cosmic neutrino background have been made, or is likely to be made in the near future that would confirm this prediction).
The colder neutrinos do not contribute as much as the hotter particles to the four different g ⋆ s, and this has to be taken into account when we calculate the different effective degrees of freedom. In general, after a particle species decouples, we need to introduce a species-dependent temperature ratio into our equations; that is, T → T(T j T). Here T j is the temperature of the decoupled particle species, while T is the photon-coupled (reference) temperature. We thus get the following g ⋆n , g ⋆ , g ⋆p , and g ⋆s after electron-positron annihilation is completed The neutrino contribution during electron-positron annihilation is found by subtracting the electron-positron contribution in the following way: where the four g ⋆x e are the effective electron-positron contributions.
In reality, as can be seen in Figure 3 and Table B1, the first electron-positron annihilations began slightly before the neutrino decoupling was complete. Hence, some of the energy from the decaying electron-positron pairs heated up the neutrinos. This caused a small deviation from the above-mentioned values, which resulted in effective numbers of neutrino species slightly larger than three. This number is given to be 3.046 by Mangano [26] and 3.045 by de Salas and Pastor [27]. By using Mangano's result, a compensated result will be

Functions for n, , P, and S, and Their Implications
We can now express the complete number density, energy density, pressure, and entropy density in terms of their effective degrees of freedom: Energy density: Pressure: Entropy density: We have plotted these functions as well as the g ⋆ values in Figure 6. The energy density and pressure have the same dimension, while the dimensions of entropy density and number density differ by the Boltzmann constant (unit: J K −1 ).
When the prefactors are accounted for, the difference in s and n, and P and , lies in the deviations between g ⋆s and g ⋆n , and g ⋆p , and g ⋆ . So, let us discuss a bit more about what is actually happening. Both the increase in entropy per particle and the decrease in pressure (which we see as bumps and dips in panels (g) and (h) in Figure 6) are due to the presence of particles at semi-and non-relativistic temperatures. Before we go any farther, we should address the QCD phase transition. As not all four g ⋆ s can be continuous (as we see in panels (b)-(d) in Figure 6), we get inconsistencies and some unphysical results. For most of our plots, we use T c = 214 MeV, keeping g ⋆ continuous, leaving g ⋆n , g ⋆p , and g ⋆p discontinuous at this point.
We see from panel (a) in Figure 6 that both number density and entropy density decrease more rapidly during annihilation periods. However, this is a bit deceiving, since we are looking at their values as functions of temperature. In fact, the total entropy stays constant (it actually increases ever so slightly if we do not have perfect thermal equilibrium). Both s and n fall a bit as we cross the transition temperature. We thus get a jump in the entropy per particle at this time, as can be seen in panel (g) in Figure 6. The other bumps in entropy per particle are continuous. The entropy per particle will start to rise when the rest mass of some massive particles becomes more significant. s then flattens out and drops again as these particles gradually become less numerous. After all these massive particles have annihilated and disappeared, the value of s returns to its original value (before the annihilations started). As mentioned in Figure 3 in Section 4.5, particles whose rest mass energy is significant have a higher total energy, and thus a higher entropy. This entropy is eventually transferred to the remaining particles after they annihilate. It is important to emphasize that it is not the total entropy that changes, but rather the (total) particle number that falls and rises again. The change in entropy density after the neutrino decoupling, as we can see at the lowest temperature in panel (b) in Figure 6, is due to the fact that the neutrinos have a lower temperature and thus contribute less. Panels (e) and (f) show the evolution of n, , P, and s k B as a function of temperature. In the two lower panels, we look at the relation between entropy density and number density (g) and pressure and energy density (h). We see small fluctuations during periods with particle annihilations, especially right after the QCD phase transition. As we remember from Figure 3, this is because the pressure and number density drop quicker than energy density and entropy density at these times. The short physical explanation is that semi-and non-relativistic particles exert less pressure and have a higher entropy than relativistic particles (at the same temperature). One consequence of this is that particle numbers are not conserved, which is not a requirement for particles whose chemical potential is zero.
The same explanation goes for the fall in pressure, as seen in panel (h) in Figure 6. Non-relativistic particles exert (relatively) zero pressure. The pressure is thus at its lowest at times where the ratio of semi-and non-relativistic particles are at their highest. We see that the two most significant drops in pressure are just after the QCD phase transition and in the middle of the electron-positron annihilations. We have used a naive definition for our QCD phase transition-namely, that of the lowest energy density. In reality, this transition is quite complex, and we should interpret our result with a grain of salt. With that in mind, we go from an almost pure relativistic gas (QGP) to a case where the majority of the particles are semi-or non-relativistic (HG)-which is the reason for the jump down in pressure at T = 214 MeV.
As we will get back to in the next section, the Universe expands faster when it is matter-dominated as compared to when it is radiation-dominated. So even though the early Universe was the latter, we know from our study that we have periods with a significant fraction of semi-relativistic particles. One can thus argue that a should grow slightly faster at these times.

Time-Temperature Relation
As mentioned in Section 1, the measurements of the CMB thermal spectrum is very close to that of a perfect black body [28]. The early Universe should be very homogeneous, with the same features everywhere. How fast the early Universe expands depends on which energy contributor is dominating-the relativistic particles (radiation), or non-relativistic particles (cold matter). By solving the Friedmann equations for a flat adiabatic Universe with no cosmological constant, we find the relation between the scale factor (a) and time (t) to be a = t 1 2 for a pure radiation case, and a = t 2 3 for a pure cold matter case. Simple derivations for this are given by Ryden [10] and Liddle [29]. Similarly, a relation between the scale factor and temperature for the two extreme cases is given as T = a −1 and T = a −2 for the two cases [8,30]. This gives us the following relation between the three quantities: Just radiation: Just cold matter: For a mixture of both types of particles, we should have something in between the two single-component cases. So, if radiation is the more dominant energy contributor, a grows almost proportional to t 1 2 , or more proportional t 2 3 for the matter case. Regarding temperature, for a radiation-dominated scenario, the relation between temperature and time (after the Big Bang) can be calculated as a function of g ⋆ , as follows [19]: The Universe becomes matter-dominated at roughly 10 5 years after the Big Bang, long after the scope of this article. However, it should be noted that the temperature of both photons and matter drop as the inverse of the scale factor, even long after this radiation-matter equality. This is because temperature is determined by the kinetic energy of the particles, while the definition of a radiation-or matter-dominated Universe is that of the total energy (where rest mass is included). Being outnumbered more than a billion to one, matter is unable to cool down the photons, and the temperature of the Universe drops as the inverse of the scale factor until matter decouples from the photons.
On the other hand, when massive particles die out, their annihilation energy is transferred to the remaining particles in the thermal bath. This should make the temperature drop slower as a function of time. If we assume that this latter argument is dominant, we will get a Universe which drops in temperature more slowly when g ⋆ is decreasing. Figure 7 shows the temperature as a function of time assuming a pure radiation-dominated Universe, as given by Equation (53). During particle annihilations, we have a smooth continuous function, but this is not the case for the QGP-to-HG transition using our models. Here we have to consider the three different transition temperatures separately. Using k B T c = 214 MeV, we have a scenario where the temperature will drop more slowly right after T c . Using k B T c = 170 MeV and k B T c = 150 MeV, the degrees of freedom (g ⋆ ) will jump down at T c . For k B T c = 170 MeV, the value of g ⋆ falls from around 62 to 33, while for k B T c = 150 MeV, this value falls from around 61 to 26. This would, however, take some time. Using our simple model, the temperature and energy density of the Universe would stay constant as the Universe expands until it reaches its pure hadron-gas state.
The relation made here between time and temperature during the QCD transition is naive and simple, and the numerical values thereafter. Small deviations from our plot during the QCD transition (and for that matter, during regular particle annihilations) only affect the period on hand, and become negligible as time go on. For the k B Tc = 214 MeV transition, the temperature will drop slower after Tc, but nonetheless always decrease over time. For k B Tc = 170 MeV and k B Tc = 150 MeV, there will be a period with constant temperature and energy density while g⋆ decreases from its quark-gluon value to its hadron gas value.

On the QCD Phase Transition and Cross-Over Temperature
Our method of using k B T c = 214 MeV is based on a calculation where we add all the g ⋆ from the quark-gluon state on one hand (easy), and all the g ⋆ from the hadrons on the other hand (not so easy). We have used the hadronic particles as listed in Appendix C and D. These are the particles listed by the Particle Data Group [19]. There are additional candidates to these lists-some good candidates, and some more speculative. There could also be more hadronic states which are hard to detect. For every new hadron we add to our model, the cross-over temperature decreases. Not so much for the most massive candidates, but more so for the lighter ones.
The phase transition we have used is of first order. Only g ⋆ is continuous at this point, and g ⋆n , g ⋆p , and g ⋆s are not. This will lead to some unphysical consequences-such as an instantaneous increase of the scale factor by roughly 4% if we assume constant entropy. A proper theory about the QCD phase transition is required to address this issue, which is beyond the scope of this article. The theory we have presented here should be valid to a good approximation, before and after the QCD transition.

Conclusions
Our knowledge of the very first stages of Universe is limited. In order to know for sure what is happening at these extreme energies and temperatures, we want to recreate the conditions using particle accelerators. The Large Hadron Collider at CERN can collide protons together at energies of 13 TeV, and with their discovery of the Higgs boson, all the elementary particles predicted by the Standard Model of particle physics have been found. This is, however, most likely not the complete story. Dark matter particles are the hottest candidates to be added to our list of particles, and there is almost sure to be more particles at even higher temperatures, such as at the Grand Unified Theory (GUT) scale of T ∼ 10 16 GeV.
We have here used the statistical physics approach to counting the effective degrees of freedom in the early Universe at temperatures below 10 TeV. Some simplifications have been used, such as setting the chemical potential equal to zero for all particles. The aim of this article was to give a good qualitative introduction to the subject, as well as providing some quantitative data in the form of plots and tables.
The early Universe is often thought of as being pure radiation (just relativistic particles). However, when the temperature drops to approximately that of the rest mass of some massive particles, we get interesting results, where we have a mix of relativistic particles and semi-and non-relativistic ones. This mix is most prominent during the electron-positron annihilations, and just after the phase transition from a quark-gluon plasma to a hadron gas. Approaching this, using our "no-chemical potential" distribution functions shows us how the entropy per particle increases when the ratio of semi-and non-relativistic particles becomes significant.
The number of effective degrees of freedom for hadrons changes very quickly around the QCD transition temperature. We found a cross-over temperature of 214 MeV using the known baryons and mesons. As there could be many more possible hadronic states than we have accounted for, this cross-over temperature could be lower. This is not meant as a claim of a new QCD transition temperature, but rather as an interesting fact. Our first-order approach based purely on the distribution functions has inconsistencies at the cross-over temperature.
We have listed the effective degrees of freedom for number density (g ⋆n ), energy density (g ⋆ ), pressure (g ⋆p ), entropy density (g ⋆s ), and time (t) as function of temperature (T) in Table A1 in Appendix A. Table B1 in Appendix B lists the different effective contributions to a single intrinsic degree of freedom, corresponding to our plot in Figure 3.
Appendix A. Table for Time, g ⋆n , g ⋆ , g ⋆p , and g ⋆s Table A1. Values for time, g⋆n, g⋆ , g⋆p, and g⋆s from T = 10 TeV to 10 keV. In the region between 150-214 MeV, the values for all five quantities depend on the model's transition temperature. We should emphasize that the values for this period are based on our simple no-chemical potential model.