Home / Learn / Exam prep / GATE Physics / Lesson 5.3
All lessons

Module 5: Thermodynamics and statistical physics · Lesson 5.3 · about 40 min

The classical ideal gas and equipartition

The ideal gas from a phase-space partition function: thermal wavelength, Sackur-Tetrode entropy, the Gibbs paradox and entropy of mixing, chemical potential, when classical statistics hold, the generalised equipartition and virial theorems, gases in gravity and centrifuges, and the Langevin paramagnet.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 5 · about 40 minutes. By the end you will be able to derive the full thermodynamics of an ideal gas from one integral, resolve the Gibbs paradox, judge when classical statistics are safe, use equipartition for any power-law energy, and handle gases in external fields. The kinetic-theory basics (Maxwell speeds, mean free path, simple equipartition) are in the IIT JAM lesson on kinetic theory; here we derive them.

For a classical gas the partition function is a Gaussian integral over momenta times the volume. Planck's constant fixes the size of a phase-space cell, the N! removes double counting, and out comes everything: PV = NkT, U, S and μ.

1. The ideal gas partition function

For one particle, divide phase space into cells of volume h3:

Z1=1h3∫d3xd3pe−p2/2mkT=Vλ3,λ=h2πmkT
λ
the thermal de Broglie wavelength: 0.050 nm for helium at 300 K, 0.19 μm for rubidium at 1 μK
V/λ³
the number of thermal "boxes" a particle can occupy
Physical meaning
Classical statistics hold when each particle has many boxes to itself: nλ³ ≪ 1. For helium gas at room conditions nλ³ ≈ 3×10⁻⁶; for electrons in a metal it is about 10⁴, which is why they need Fermi-Dirac statistics.

For N identical particles ZN=Z1N/N!. With Stirling’s formula, F=−kTln⁡ZN=−NkT[ln⁡(V/Nλ3)+1], and then:

P=NkTV,U=32NkT,μ=kTln⁡(nλ3),S=Nk[ln⁡VNλ3+52]

The last one is the Sackur-Tetrode equation. It contains h, yet it is a classical result that agrees with calorimetry: for argon at 300 K and 1 bar it gives 155 J mol⁻¹ K⁻¹, matching measured third-law entropies. It fails as T→0 (it goes negative), where nλ3 is no longer small.

2. The Gibbs paradox and mixing

Leave out the N! and the entropy has ln⁡V instead of ln⁡(V/N). Joining two identical boxes of the same gas would then “create” 2Nkln⁡2 of entropy although nothing changed. Gibbs resolved this by dividing by N!: identical particles cannot be labelled, a point quantum mechanics later made exact.

For genuinely different gases the mixing entropy is real:

ΔSmix=−Nk∑ixiln⁡xi(same T,P)

Worked example. 1 mol of He and 3 mol of Ne: ΔS=−R[ln⁡14+3ln⁡34]=18.7 J/K.

3. Equipartition, generalised

For any canonical coordinate xi (a q or a p), integrating by parts in the canonical average gives

⟨xi∂H∂xj⟩=δijkT

provided xie−βH vanishes at the ends of the range. Consequences:

Term in H Mean value Example
ax2 (quadratic) 12kT kinetic energy, harmonic potential
`$a x $` (linear)
`$a x ^s$`

So an ultra-relativistic gas (H=c|𝐩|) has U=3NkT, yet still PV=NkT, because Z1∝V whatever the dispersion relation. And a fully classical linear triatomic like CO₂ would have CV=(3+2+2×4)R/2=6.5R; the measured 3.5R near room temperature shows most vibrations frozen (lesson 5.2).

Virial theorem. Summing over coordinates, 2⟨K⟩=⟨𝐫⋅∇V⟩. For V∝rn: 2⟨K⟩=n⟨V⟩. For the walls of a box it gives PV=23⟨K⟩; for a self-gravitating star (n=−1) E=−K, so a star that radiates energy heats up: a negative heat capacity.

4. Gases in external fields

The Boltzmann factor includes potential energy, so density follows n(𝐫)∝e−U(𝐫)/kT.

  • Gravity: n(z)=n(0)e−mgz/kT, scale height H=kT/mg (7.6 km for N₂ at 250 K). Each molecule carries an extra ⟨mgz⟩=kT, so a tall isothermal column has C=52k per molecule.
  • Centrifuge: in the rotating frame U=−12mω2r2, so n(R)/n(0)=emω2R2/2kT. Two isotopes separate by eΔmω2R2/2kT, only about 1.5% per stage for UF₆.
  • Harmonic trap: a Gaussian cloud of width kT/mω2 with peak n(0)λ3=N(ℏω/kT)3: the route to Bose-Einstein condensation in lesson 5.5.

Worked example. UF₆ (352 u) at 300 K in a centrifuge of radius 5.0 cm at 500 rev/s: 12mω2R2=1.74kT, so the wall density is e1.74=5.7 times the axis density.

Langevin paramagnet. A classical dipole free to point anywhere: Z1∝sinh⁡x/x, ⟨cos⁡θ⟩=coth⁡x−1/x, and at small x the Curie-law value x/3. The same function gives the Debye orientational polarisability p2/3kT of polar molecules.

“Every degree of freedom carries ½kT.” Only quadratic terms do, and only when the levels are closely spaced compared with kT. A linear term carries kT, a quartic kT/4. And quantised modes whose spacing exceeds kT carry almost nothing: vibrations of N₂ at room temperature, rotations of H₂ below 50 K, conduction electrons in a metal.

  • Z1=V/λ3, λ=h/2πmkT; ZN=Z1N/N!.
  • PV=NkT, U=32NkT, μ=kTln⁡(nλ3)<0, Sackur-Tetrode S=Nk[ln⁡(V/Nλ3)+52].
  • Classical statistics need nλ3≪1.
  • The N! removes the Gibbs paradox; mixing different gases gives −Nk∑xln⁡x.
  • ⟨xi∂H/∂xj⟩=δijkT: kT/s for a term ∝|x|s; virial 2⟨K⟩=n⟨V⟩.
  • External fields: n∝e−U/kT (barometric law, centrifuge, traps); Langevin coth⁡x−1/x.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the GATE practice page.

Next: lesson 5.4, Bose-Einstein and Fermi-Dirac statistics, for what happens when nλ3 is no longer small. Try fibub’s real gas calculator to see where interactions, rather than quantum effects, make a gas non-ideal.

Going on to CSIR NET? The kinetic theory of transport uses the same molecular speeds for viscosity, conduction and diffusion.

Check yourself

1A classical particle moves in one dimension in the potential V = bx⁴. Its mean potential energy is
2Two samples of the same ideal gas at the same T and P are allowed to mix. The entropy change is
3The classical treatment of an ideal gas is valid when

Sources

  • R. K. Pathria and P. D. Beale, Statistical Mechanics, 4th ed. (Academic Press, 2021), chapters 1 to 3
  • K. Huang, Statistical Mechanics, 2nd ed. (Wiley, 1987), chapters 6 and 8
  • S. J. Blundell and K. M. Blundell, Concepts in Thermal Physics, 2nd ed. (Oxford, 2010), chapters 19 and 21
  • D. V. Schroeder, An Introduction to Thermal Physics (Addison-Wesley, 2000), chapters 2 and 6
  • GATE Physics (PH) syllabus, Statistical Physics section, published by the organising institute each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.