Gas in a box

The gas in a box is a central model in Classical Statistical Mechanics. It serves as a bridge between microscopic mechanics and macroscopic thermodynamic behavior.
The system consists of many particles (atoms or molecules), confined in a box. It can be modeled at different levels:

When the box is placed in contact with a large heat bath at fixed temperature T, the gas eventually reaches thermal equilibrium. In this situation:

pi=eβEiZ.

Coolness

The parameter β is called coolness. Justification: when β is larger, the probability of the more energetic states it tiny.

Temperature

The parameter that is physically more intuitive than coolness is temperature, T. Temperature is defined as the inverse of coolness, scaled by a fundamental constant.

T=1kβorβ=1kT$$Here,$k$is[[01CONCEPTS/BoltzmannsconstantBoltzmannsconstant]]($1.3806491023$joules/kelvin).Itisaconversionfactorthatconnectsourmacroscopictemperaturescale(Kelvin)tothemicroscopicenergyscale.Withthisdefinition,theBoltzmanndistributioncanbewritteninitsmorecommonform:$$pi=eEi/kTZ

A low temperature (large β) makes the exponential term decay very quickly, meaning only the lowest energy states are probable. A high temperature (small β) "flattens" the distribution, making higher energy states more accessible.

The Physical Meaning of Temperature

While temperature is fundamentally a statistical parameter, it gains a clear physical meaning when we apply it to the gas in a box. In this model, the energy of the states (Ei) is primarily the total kinetic energy of the particles.

If we use the Boltzmann distribution to calculate the average or expected energy of a single particle in the gas, the result of the calculation is remarkably simple:

Ekinetic=32kT

This is a crucial insight, derived from the equipartition theorem. It shows that for a gas, the abstract parameter T is directly proportional to the average kinetic energy of its constituent particles. The "hotness" we feel is a macroscopic manifestation of the average speed of microscopic particles.

This holds only for a classical ideal gas whose energy is purely quadratic. For other systems, temperature must be understood via its thermodynamic definition, via derivatives of entropy or partition functions

The Significance of Boltzmann's Constant

The fact that k is an incredibly small number is a profound discovery. It reveals the vast difference in scale between our world and the atomic world.

Since k is tiny (on the order of 1023), the energy of a single particle (32kT) is also minuscule. However, the total thermal energy of the gas in the box is a tangible, macroscopic quantity. For the total energy to be large when the energy per particle is so small, the gas must be composed of an enormous number of particles.

This logic allows us to estimate the number of atoms in a given amount of gas. The result is on the order of 1023, a number known as Avogadro's number. Therefore, the statistical model of a gas in a box, through the tiny value of Boltzmann's constant, provides powerful evidence for the atomic nature of matter.

Pressure

Imagine a cubic box of side length L containing N particles (molecules) of mass m, moving in random directions.

Take one molecule moving with velocity vx along the x-axis.

Δpx=mvx(mvx)=2mvx.

So, each collision transfers 2mvx of momentum to the wall.

Now, how often does this particle hit the wall?

Thus, average force from this one particle on the wall is

F=ΔpxΔt=2mvx2L/|vx|=mvx2L.

Now we can compute the force per unit area (area of wall = L2):

Pone particle=FL2=mvx2L3=mvx2V.

For N particles, the total pressure is, since ρ=N/V,

P=mVi=1Nvx,i2=ρmvx2,

where vx2 is the average over all particles.

By symmetry (since velocity distribution is isotropic):

vx2=vy2=vz2=13v2,

where v2=vx2+vy2+vz2. Thus,

P=ρmvx2=13ρmv2.