This is a microcanonical approach to the problem of the mixture of two ideal gases. It involves a somewhat tricky integral over the surface of an N-dimensional hypersphere, and as far as I can tell is an example beloved of professors for exam questions. It might be a good one to become familiar with if you’re taking a statistical physics course.

Question

Enclosed in a box of volume V are N1 molecules of species 1 with mass m1 and N2 molecules of species 2 with mass m2. The system can be considered as an ideal gas with the total energy E.

  1. Calculate the phase space volume Ω(E,V,N1,N2) for the case N1>>1 and N2>>1.
  2. Calculate the entropy of the system as a function of the ratio N1/N2 for constant N=N1+N2. Discuss the dependence of the entropy on N1/N2 and determine the value of N1/N2 at which the entropy is maximal.
  3. Calculate the pressure P=T(SV)E,N1,N2 of the system. How do the different molecular species contribute to the total pressure?
  4. Consider a situation in which the container is separated into two volume V1 and V2 containing only molecules of species 1 and 2 respectively. The total energy of the system is E and the two compartments are in thermal and mechanical equilibrium. Calculate the entropy of mixing, that is, compare the entropy of the unmixed state with that of the mixture.

Solution

1. Calculating Phase Space Volume

To calculate the phase space volume in this case, it will be necessary to integrate over the surface of a 3N-dimensional sphere, obtained by transforming the momentum variables.

Ω(E)=1N1!N2!·1h3Ndqi=13N1dpij=13N2dpjΘ(EH(pi,qi))

A few notes:

  • The factorials arise from that we are dealing with two independent gas species.
  • The integral over dq is just the volume VN of the hypersphere.
  • Theta is the Heaviside step function.

Momentum transformations

At this point, it’s sensible to introduce some momentum transformations for the integration:

p1pi=pi2m1dpi=2m1dpip2pj=pj2m2dpj=2m2dpj

Putting these back in leads to:

Ω=VN(2m1)3N12(2m2)3N22h3NN1!N2!i=13NdpiΘ(Ei=13Npi2)Ω=VN(2m1)3N12(2m2)3N22h3NN1!N2!·π3N2E3N2(3N2)!

We can now split Ω into parts by introducing the reduced mass μ=m1m2m1+m2 of the two molecular species:

(1)Ω=VNπ3N2(2μE)3N2h3NN!(3N2)!Ωid·N!N1!N2!(m1μ)3N12(m2μ)3N22Ωmixed

The first part of the above equation corresponds to the phase space volume of a system of N identical particles and mass μ. We’ll call it Ωid. The second part we’ll call Ωmixed.

2. Finding the entropy

Splitting the phase space volume up into two parts proves helpful when taking the entropy since one can now use the standard result for an ideal gas for Ωid:

S=kBlnΩ=kB[ln(Ωid)+ln(Ωmixed)]=Sid+Smixed

The standard result for Sid is the result for an ideal gas, particle mass μ, particle number N:

(2)SidNkB=ln[VN(4πμE3h2N)32]+52

For the second part, Smixed, including Stirling’s approximation:

(3)SmixedkB=NlnNN1lnN1N2lnN2+N1ln(m1μ)32+N2ln(m2μ)32

If we define the ratio between the two species numbers:

η:=N1N2;N1N=η1+η;N2N=11+η

we can use η to rewrite (3):

(4)SmixedkBN=η1+η(ln(m1μ)32lnη1+η)+11+η(ln(m2μ)32ln11+η)

To find the maximum entropy, we need only differentiate the mixed contribution since the identical contribution is not a function of η:

Sη=!0;η0=(m1m2)32

We ought to check whether this is a maximum:

2Sη2|η0=1η(1+η)2<0

3. Calculating the pressure

To calculate the pressure, using the equation given, we need only differentiate Sid since Smixed is not a function of volume:

P=T(SidV)E,N1,N2=NkBTV=N1kBTV1+N2kBTV2=P1+P2

So we can see both gases contribute to the pressure according to their number of particles.

4. Entropy of mixing

In this case we are to consider the gases in their respective volumes before the partition is removed and they are mixed together. So for gas 1:

SN1N1kB=ln[V1N(4πm1E3h2N)32]+52

And the same for gas 2.

Using again the reduced mass,

SN1N1kB=(ln[VN(4πμE3h2N)32]+52)+ln(m1μ)32

SN2N2kB=(ln[VN(4πμE3h2N)32]+52)+ln(m2μ)32

The entropy after mixing will be higher than before, so the change in entropy will be

ΔS=Sid+SmixedSN1SN2ΔSkB=N1lnN1NN2lnN2N.