Gas in a box

Basic statistical model

In quantum mechanics, the results of the quantum particle in a box can be used to look at the equilibrium situation for a quantum ideal gas in a box which is a box containing a large number of molecules which do not interact with each other except for instantaneous thermalizing collisions. This simple model can be used to describe the classical ideal gas as well as the various quantum ideal gases such as the ideal massive Fermi gas, the ideal massive Bose gas as well as black body radiation (photon gas) which may be treated as a massless Bose gas, in which thermalization is usually assumed to be facilitated by the interaction of the photons with an equilibrated mass.

Using the results from either Maxwell–Boltzmann statistics, Bose–Einstein statistics or Fermi–Dirac statistics, and considering the limit of a very large box, the Thomas–Fermi approximation (named after Enrico Fermi and Llewellyn Thomas) is used to express the degeneracy of the energy states as a differential, and summations over states as integrals. This enables thermodynamic properties of the gas to be calculated with the use of the partition function or the grand partition function. These results will be applied to both massive and massless particles. More complete calculations will be left to separate articles, but some simple examples will be given in this article.

## Thomas–Fermi approximation for the degeneracy of states

[edit]

For both massive and massless particles in a box, the states of a particle are enumerated by a set of quantum numbers [nx, ny, nz]. The magnitude of the momentum is given by

p = h 2 L n x 2 + n y 2 + n z 2 n x , n y , n z = 1 , 2 , 3 , … {\displaystyle p={\frac {h}{2L}}{\sqrt {n_{x}^{2}+n_{y}^{2}+n_{z}^{2}}}\qquad \qquad n_{x},n_{y},n_{z}=1,2,3,\ldots }

where h is the Planck constant and L is the length of a side of the box. Each possible state of a particle can be thought of as a point on a 3-dimensional grid of positive integers. The distance from the origin to any point will be

n = n x 2 + n y 2 + n z 2 = 2 L p h {\displaystyle n={\sqrt {n_{x}^{2}+n_{y}^{2}+n_{z}^{2}}}={\frac {2Lp}{h}}}

Suppose each set of quantum numbers specify f states where f is the number of internal degrees of freedom of the particle that can be altered by collision. For example, a spin 1⁄2 particle would have f = 2, one for each spin state. For large values of n, the number of states with magnitude of momentum less than or equal to p from the above equation is approximately

g = ( f 8 ) 4 3 π n 3 = 4 π f 3 ( L p h ) 3 {\displaystyle g=\left({\frac {f}{8}}\right){\frac {4}{3}}\pi n^{3}={\frac {4\pi f}{3}}\left({\frac {Lp}{h}}\right)^{3}}

which is just f times the volume of a sphere of radius n divided by eight since only the octant with positive ni is considered. Using a continuum approximation, the number of states with magnitude of momentum between p and p \+ dp is therefore

d g = π 2 f n 2 d n = 4 π f V h 3 p 2 d p {\displaystyle dg={\frac {\pi }{2}}~fn^{2}\,dn={\frac {4\pi fV}{h^{3}}}~p^{2}\,dp}

where V = L3 is the volume of the box. Notice that in using this continuum approximation, also known as Thomas−Fermi approximation, the ability to characterize the low-energy states is lost, including the ground state where ni = 1. For most cases this will not be a problem, but when considering Bose–Einstein condensation, in which a large portion of the gas is in or near the ground state, the ability to deal with low energy states becomes important.

Without using any approximation, the number of particles with energy εi is given by

N i = g i Φ ( ε i ) {\displaystyle N_{i}={\frac {g_{i}}{\Phi (\varepsilon _{i})}}}

where  g i {\displaystyle g_{i}} is the degeneracy of state i and  Φ ( ε i ) = { e β ( ε i − μ ) , for particles obeying Maxwell-Boltzmann statistics e β ( ε i − μ ) − 1 , for particles obeying Bose-Einstein statistics e β ( ε i − μ ) + 1 , for particles obeying Fermi-Dirac statistics {\displaystyle \Phi (\varepsilon _{i})={\begin{cases}e^{\beta (\varepsilon _{i}-\mu )},&{\text{for particles obeying Maxwell-Boltzmann statistics}}\\\e^{\beta (\varepsilon _{i}-\mu )}-1,&{\text{for particles obeying Bose-Einstein statistics}}\\\e^{\beta (\varepsilon _{i}-\mu )}+1,&{\text{for particles obeying Fermi-Dirac statistics}}\\\\\end{cases}}} with β = 1/kBT, the Boltzmann constant kB, temperature T, and chemical potential μ. (See Maxwell–Boltzmann statistics, Bose–Einstein statistics, and Fermi–Dirac statistics.)

Using the Thomas−Fermi approximation, the number of particles dNE with energy between E and E \+ dE is:

d N E = d g E Φ ( E ) {\displaystyle dN_{E}={\frac {dg_{E}}{\Phi (E)}}}

where  d g E {\displaystyle dg_{E}} is the number of states with energy between E and E \+ dE.

## Energy distribution

[edit]

Using the results derived from the previous sections of this article, some distributions for the gas in a box can now be determined. For a system of particles, the distribution  P A {\displaystyle P_{A}} for a variable  A {\displaystyle A} is defined through the expression  P A d A {\displaystyle P_{A}dA} which is the fraction of particles that have values for  A {\displaystyle A} between  A {\displaystyle A} and  A + d A {\displaystyle A+dA}

P A d A = d N A N = d g A N Φ A {\displaystyle P_{A}~dA={\frac {dN_{A}}{N}}={\frac {dg_{A}}{N\Phi _{A}}}}

where

* d N A {\displaystyle dN_{A}} , number of particles which have values for  A {\displaystyle A} between  A {\displaystyle A} and  A + d A {\displaystyle A+dA}
* d g A {\displaystyle dg_{A}} , number of states which have values for  A {\displaystyle A} between  A {\displaystyle A} and  A + d A {\displaystyle A+dA}
* Φ A − 1 {\displaystyle \Phi _{A}^{-1}} , probability that a state which has the value  A {\displaystyle A} is occupied by a particle
* N {\displaystyle N} , total number of particles.

It follows that:

∫ A P A d A = 1 {\displaystyle \int _{A}P_{A}~dA=1}

For a momentum distribution  P p {\displaystyle P_{p}} , the fraction of particles with magnitude of momentum between  p {\displaystyle p} and  p + d p {\displaystyle p+dp} is:

P p d p = V f N 4 π h 3 Φ p p 2 d p {\displaystyle P_{p}~dp={\frac {Vf}{N}}~{\frac {4\pi }{h^{3}\Phi _{p}}}~p^{2}dp}

and for an energy distribution  P E {\displaystyle P_{E}} , the fraction of particles with energy between  E {\displaystyle E} and  E + d E {\displaystyle E+dE} is:

P E d E = P p d p d E d E {\displaystyle P_{E}~dE=P_{p}{\frac {dp}{dE}}~dE}

For a particle in a box (and for a free particle as well), the relationship between energy  E {\displaystyle E} and momentum  p {\displaystyle p} is different for massive and massless particles. For massive particles,

E = p 2 2 m {\displaystyle E={\frac {p^{2}}{2m}}}

while for massless particles,

E = p c {\displaystyle E=pc}

where  m {\displaystyle m} is the mass of the particle and  c {\displaystyle c} is the speed of light. Using these relationships,

* For massive particles  d g E = ( V f Λ 3 ) 2 π β 3 / 2 E 1 / 2 d E P E d E = 1 N ( V f Λ 3 ) 2 π β 3 / 2 E 1 / 2 Φ ( E ) d E {\displaystyle {\begin{alignedat}{2}dg_{E}&=\quad \ \left({\frac {Vf}{\Lambda ^{3}}}\right){\frac {2}{\sqrt {\pi }}}~\beta ^{3/2}E^{1/2}~dE\\\P_{E}~dE&={\frac {1}{N}}\left({\frac {Vf}{\Lambda ^{3}}}\right){\frac {2}{\sqrt {\pi }}}~{\frac {\beta ^{3/2}E^{1/2}}{\Phi (E)}}~dE\\\\\end{alignedat}}} where Λ is the thermal wavelength of the gas.  Λ = h 2 β 2 π m {\displaystyle \Lambda ={\sqrt {\frac {h^{2}\beta }{2\pi m}}}} This is an important quantity, since when Λ is on the order of the inter-particle distance  ( V / N ) 1 / 3 {\displaystyle (V/N)^{1/3}} , quantum effects begin to dominate and the gas can no longer be considered to be a Maxwell–Boltzmann gas.
* For massless particles  d g E = ( V f Λ 3 ) 1 2 β 3 E 2 d E P E d E = 1 N ( V f Λ 3 ) 1 2 β 3 E 2 Φ ( E ) d E {\displaystyle {\begin{alignedat}{2}dg_{E}&=\quad \ \left({\frac {Vf}{\Lambda ^{3}}}\right){\frac {1}{2}}~\beta ^{3}E^{2}~dE\\\P_{E}~dE&={\frac {1}{N}}\left({\frac {Vf}{\Lambda ^{3}}}\right){\frac {1}{2}}~{\frac {\beta ^{3}E^{2}}{\Phi (E)}}~dE\\\\\end{alignedat}}} where Λ is now the thermal wavelength for massless particles.  Λ = c h β 2 π 1 / 3 {\displaystyle \Lambda ={\frac {ch\beta }{2\,\pi ^{1/3}}}}

## Specific examples

[edit]

The following sections give an example of results for some specific cases.

### Massive Maxwell–Boltzmann particles

[edit]

For this case:

Φ ( E ) = e β ( E − μ ) {\displaystyle \Phi (E)=e^{\beta (E-\mu )}}

Integrating the energy distribution function and solving for N gives

N = ( V f Λ 3 ) e β μ {\displaystyle N=\left({\frac {Vf}{\Lambda ^{3}}}\right)\,\,e^{\beta \mu }}

Substituting into the original energy distribution function gives

P E d E = 2 β 3 E π e − β E d E {\displaystyle P_{E}~dE=2{\sqrt {\frac {\beta ^{3}E}{\pi }}}~e^{-\beta E}~dE}

which are the same results obtained classically for the Maxwell–Boltzmann distribution. Further results can be found in the classical section of the article on the ideal gas.

### Massive Bose–Einstein particles

[edit]

For this case:

Φ ( E ) = e β E z − 1 {\displaystyle \Phi (E)={\frac {e^{\beta E}}{z}}-1}

where  z = e β μ . {\displaystyle z=e^{\beta \mu }.}

Integrating the energy distribution function and solving for N gives the particle number

N = ( V f Λ 3 ) Li 3 / 2 ( z ) {\displaystyle N=\left({\frac {Vf}{\Lambda ^{3}}}\right){\textrm {Li}}_{3/2}(z)}

where Lis(z) is the polylogarithm function. The polylogarithm term must always be positive and real, which means its value will go from 0 to ζ(3/2) as z goes from 0 to 1. As the temperature drops towards zero, Λ will become larger and larger, until finally Λ will reach a critical value Λc where z = 1 and

N = ( V f Λ c 3 ) ζ ( 3 / 2 ) , {\displaystyle N=\left({\frac {Vf}{\Lambda _{\rm {c}}^{3}}}\right)\zeta (3/2),}

where  ζ ( z ) {\displaystyle \zeta (z)} denotes the Riemann zeta function. The temperature at which Λ = Λc is the critical temperature. For temperatures below this critical temperature, the above equation for the particle number has no solution. The critical temperature is the temperature at which a Bose–Einstein condensate begins to form. The problem is, as mentioned above, that the ground state has been ignored in the continuum approximation. It turns out, however, that the above equation for particle number expresses the number of bosons in excited states rather well, and thus:

N = g 0 z 1 − z + ( V f Λ 3 ) Li 3 / 2 ⁡ ( z ) {\displaystyle N={\frac {g_{0}z}{1-z}}+\left({\frac {Vf}{\Lambda ^{3}}}\right)\operatorname {Li} _{3/2}(z)}

where the added term is the number of particles in the ground state. The ground state energy has been ignored. This equation will hold down to zero temperature. Further results can be found in the article on the ideal Bose gas.

### Massless Bose–Einstein particles (e.g. black body radiation)

[edit]

For the case of massless particles, the massless energy distribution function must be used. It is convenient to convert this function to a frequency distribution function:

P ν d ν = h 3 N ( V f Λ 3 ) 1 2 β 3 ν 2 e ( h ν − μ ) / k B T − 1 d ν {\displaystyle P_{\nu }~d\nu ={\frac {h^{3}}{N}}\left({\frac {Vf}{\Lambda ^{3}}}\right){\frac {1}{2}}~{\frac {\beta ^{3}\nu ^{2}}{e^{(h\nu -\mu )/k_{\rm {B}}T}-1}}~d\nu }

where Λ is the thermal wavelength for massless particles. The spectral energy density (energy per unit volume per unit frequency) is then

U ν d ν = ( N h ν V ) P ν d ν = 4 π f h ν 3 c 3 1 e ( h ν − μ ) / k B T − 1 d ν . {\displaystyle U_{\nu }~d\nu =\left({\frac {N\,h\nu }{V}}\right)P_{\nu }~d\nu ={\frac {4\pi fh\nu ^{3}}{c^{3}}}~{\frac {1}{e^{(h\nu -\mu )/k_{\rm {B}}T}-1}}~d\nu .}

Other thermodynamic parameters may be derived analogously to the case for massive particles. For example, integrating the frequency distribution function and solving for N gives the number of particles:

N = 16 π V c 3 h 3 β 3 L i 3 ( e μ / k B T ) . {\displaystyle N={\frac {16\,\pi V}{c^{3}h^{3}\beta ^{3}}}\,\mathrm {Li} _{3}\left(e^{\mu /k_{\rm {B}}T}\right).}

The most common massless Bose gas is a photon gas in a black body. Taking the "box" to be a black body cavity, the photons are continually being absorbed and re-emitted by the walls. When this is the case, the number of photons is not conserved. In the derivation of Bose–Einstein statistics, when the restraint on the number of particles is removed, this is effectively the same as setting the chemical potential (μ) to zero. Furthermore, since photons have two spin states, the value of f is 2. The spectral energy density is then

U ν d ν = 8 π h ν 3 c 3 1 e h ν / k B T − 1 d ν {\displaystyle U_{\nu }~d\nu ={\frac {8\pi h\nu ^{3}}{c^{3}}}~{\frac {1}{e^{h\nu /k_{\rm {B}}T}-1}}~d\nu }

which is just the spectral energy density for Planck's law of black body radiation. Note that the Wien distribution is recovered if this procedure is carried out for massless Maxwell–Boltzmann particles, which approximates a Planck's distribution for high temperatures or low densities.

In certain situations, the reactions involving photons will result in the conservation of the number of photons (e.g. light-emitting diodes, "white" cavities). In these cases, the photon distribution function will involve a non-zero chemical potential. (Hermann 2005)

Another massless Bose gas is given by the Debye model for heat capacity. This model considers a gas of phonons in a box and differs from the development for photons in that the speed of the phonons is less than light speed, and there is a maximum allowed wavelength for each axis of the box. This means that the integration over phase space cannot be carried out to infinity, and instead of results being expressed in polylogarithms, they are expressed in the related Debye functions.

### Massive Fermi–Dirac particles (e.g. electrons in a metal)

[edit]

For this case:

Φ ( E ) = e β ( E − μ ) + 1. {\displaystyle \Phi (E)=e^{\beta (E-\mu )}+1.\,}

Integrating the energy distribution function gives

N = ( V f Λ 3 ) [ − Li 3 / 2 ( − z ) ] {\displaystyle N=\left({\frac {Vf}{\Lambda ^{3}}}\right)\left[-{\textrm {Li}}_{3/2}(-z)\right]}

where again, Lis(z) is the polylogarithm function and Λ is the thermal de Broglie wavelength. Further results can be found in the article on the ideal Fermi gas. Applications of the Fermi gas are found in the free electron model, the theory of white dwarfs and in degenerate matter in general.

## See also

[edit]

* Gas in a harmonic trap

## References

[edit]

* Herrmann, F.; Würfel, P. (August 2005). "Light with nonzero chemical potential". American Journal of Physics. 73 (8): 717–723\. Bibcode:2005AmJPh..73..717H. doi:10.1119/1.1904623. Retrieved 2006-11-20.
* Huang, Kerson (1967). Statistical Mechanics. New York: John Wiley & Sons.
* Isihara, A. (1971). Statistical Physics. New York: Academic Press.
* Landau, L. D.; E. M. Lifshitz (1996). Statistical Physics (3rd Edition Part 1 ed.). Oxford: Butterworth-Heinemann.
* Yan, Zijun (2000). "General thermal wavelength and its applications". Eur. J. Phys. 21 (6): 625–631\. Bibcode:2000EJPh...21..625Y. doi:10.1088/0143-0807/21/6/314. S2CID 250870934.
* Vu-Quoc, L., Configuration integral (statistical mechanics), 2008. this wiki site is down; see this article in the web archive on 2012 April 28.