2.9 The classical ideal gas

Calculation of the micro canonical state sum (phase volume)
For the calculation of the thermodynamic potential of a classical ideal gas we need the partition function, i.e. the phase volume of the ”free particles”, which are in a box with volume V :

Φ(E,V s,N) = 1 N!h3N ∫ H=∑ ipi2 2m +Hwalld3p 1...d3p Nd3r 1...d3r N = V N N!h3N π3N 2 (3N 2 )!(2mE)3N 2 ≈vN (4πm 3h2 ϵ)3N 2 e5N 2

(2.58)
here we have used the Stirling formula N! ≈NNe-N = (N e ) N.
Finally we get with ϵ := E N

S(E,N,V ) = k ln ⁡ (Φ(E,V s,N)) = k ln ⁡ (vN (4πm 3h2 ϵ)3N 2 e5N 2 ) = Nk ln ⁡ (v) + 3 2Nk ln ⁡ (ϵ) + k ln ⁡ ( (4πm 3h2 ) 3N 2 e5N 2 )

(2.59)
By differentiating we find:

1 T = ∂S(E,N,V ) ∂E = 3 2 kN E leading toE = 3 2NkT,

(2.60)

and

p T = ∂S(E,N,V ) ∂V = kN V leading topV = kNT.

(2.61)

Let

λ(T) := h 2πmkT,

(2.62)

then we get

S(T,V,N) = kN [ln ⁡ ( v λ3(T) ) + 5 2 ] ,

(2.63)

or

F(T,V,N) = E -TS = 3 2NkT -NkT [5 2 + ln ⁡ ( v λ3(T) )] = -NkT [1 + ln ⁡ ( v λ3(T) )] .

(2.64)

The function λ(T) is except for the factor 2π 3 the de Broglie wavelength (see above) of a particle with the thermal energy ϵ = 3 2kT. So our results only hold if λ3(T) ≪ V N.
Summing up all approximations:

The grand canonical potential and variations of the number of particles
Starting with

μ = ∂F ∂N = F N + kT = -kT ln ⁡ ( v λ3(T) ) , i.e.N = V λ3(T)e μ kT ,

(2.65)

we get

Ω(T,V,μ) = F -μN = -NkT = - kT λ3(T)V e μ kT .

(2.66)

Generally holds:

Ω(T,V,μ) = -kT∑ i ln ⁡ (∑ ni exp ⁡ (-niϵi -μ kT ))and ⟨N ⟩ = -∂Ω ∂μ = ∑ i ∑ nini exp ⁡ (-niϵi-μ kT ) ∑ ni exp ⁡ (-niϵi-μ kT ) .

(2.67)

Consequently we find

∂2Ω ∂μ2 = -∂ ⟨N ⟩ ∂μ = 1 kT [ ⟨N2⟩ - ⟨N ⟩2] .

(2.68)

Using Eq. (2.66) we get

∂Ω ∂μ(T,V,μ) = - 1 λ3(T)V e μ kT and∂2Ω ∂μ2(T,V,μ) = - 1 kT 1 λ3(T)V e μ kT

(2.69)

The relative variance of the particle number is therefor

⟨N2⟩ - ⟨N ⟩2 ⟨N ⟩2 = kT ⟨N ⟩2 ∂2Ω ∂μ2 = 1 ⟨N ⟩,

(2.70)

which is the solution for the Poisson distribution. For macroscopic systems with N ≈ 1023 particles the variance in N is negligible small.
Equivalent results hold for all other ”generalizes forces” in thermodynamics. Although we only fix the ”generalizes coordinates” of a system the forces are extremely well defined. The Legendre transformation just switches from coordinates to forces, which are in both contacts well defined and contain the same information. A random process leads to an extremely reliable result, if the involved numbers are large enough. Thermodynamic is just mathematics and its results are almost as exact as pure mathematics.