BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Statistical mechanics and the microcanonical ensemble

An isolated system with fixed energy, volume and particle number is described by the simplest probability density: every accessible microscopic state equally likely. Liouville's theorem shows such a density is a valid equilibrium. Counting the accessible phase-space volume Ω gives everything; for the ideal monatomic gas it uses the volume of a 3N-dimensional sphere, and integrating out all but one momentum recovers the Gaussian (Maxwell) distribution of a velocity component.

You need this first

Full reading path (6 pages)
  1. Probability: one random variable (8.044)
  2. Probability: two or more random variables (8.044)
  3. Probability: functions of a random variable (8.044)
  4. Probability: sums of random variables and the central limit theorem (8.044)
  5. Thermodynamic variables, temperature and work (8.044)
  6. The first law of thermodynamics and paths (8.044)
On this page · 5 sections
  1. Liouville's theorem
  2. The ensemble
  3. The ideal monatomic gas
  4. Microscopic distributions of the gas
  5. Summary

Statistical mechanics starts from the microscopic description of a system and derives both the probabilities of its microscopic variables and its macroscopic equations of state. Its simplest setting is the microcanonical ensemble: an isolated system with fixed energy. This lecture sets it up and applies it to the ideal gas (slides 1–17; notes pp. 1–3). (MIT's material for this lecture is Greytak's slides and the first sections of his "Notes on the Microcanonical Ensemble"; this page follows them in its own words, with its own worked example.)

Liouville's theorem#

A classical system of NN particles is a point in phase space, with 3N3N coordinates qiq_i and 3N3N momenta pip_i. A probability density ρ({p,q})\rho(\{p, q\}) over phase space flows, under Hamilton's equations, like an incompressible fluid (slide 1):

Liouville's theorem
dρdt=∂ρ∂t+∑i=13N(∂ρ∂pidpidt+∂ρ∂qidqidt)=0\frac{d\rho}{dt} = \frac{\partial\rho}{\partial t} + \sum_{i=1}^{3N}\left(\frac{\partial\rho}{\partial p_i}\frac{dp_i}{dt} + \frac{\partial\rho}{\partial q_i}\frac{dq_i}{dt}\right) = 0
In words

d rho over d t equals partial rho over partial t plus the sum from i equals 1 to 3 capital N of the quantity partial rho over partial p sub i, times d p sub i over d t plus partial rho over partial q sub i, times d q sub i over d t, equals 0

and with p˙i=−∂H/∂qi\dot p_i = -\partial H/\partial q_i and q˙i=∂H/∂pi\dot q_i = \partial H/\partial p_i this says ∂ρ∂t=∑i(∂ρ∂pi∂H∂qi−∂ρ∂qi∂H∂pi)\frac{\partial\rho}{\partial t} = \sum_i\left(\frac{\partial\rho}{\partial p_i}\frac{\partial H}{\partial q_i} - \frac{\partial\rho}{\partial q_i}\frac{\partial H}{\partial p_i}\right). If ρ\rho depends on {p,q}\{p, q\} only through the energy, ρ=ρ(H)\rho = \rho(H), the two terms cancel and ∂ρ/∂t=0\partial\rho/\partial t = 0: a density that depends only on the energy is a valid equilibrium density (slide 2).

The ensemble#

The system (notes p. 1; slide 3). NN particles in a volume VV, with enough constraints (a magnetization or magnetic field, an electric polarization or electric field, and so on) to fix the thermodynamic state once the energy is also fixed, to within a small Δ≪E\Delta \ll E:

Energy shell
E<energy≤E+ΔE < \text{energy} \le E + \Delta
In words

capital E less than energy is less than or equal to capital E plus capital delta

How many quantities must be fixed, EE among them, depends on how many independent macroscopic variables the system has; the notes work with three: EE, VV and NN. Many microscopic states satisfy the constraints.

The probability density (notes pp. 1–2; slides 4–5). The simplest choice: every accessible microscopic state is equally probable, the postulate of equal a priori probabilities on which all of statistical mechanics rests. Classically,

Microcanonical density
p({p,q})={1/ΩE<H({p,q})≤E+Δ0elsewhere,Ω(E,V,N)=∫accessible{dp,dq}p(\{p, q\}) = \begin{cases} 1/\Omega & E < H(\{p, q\}) \le E + \Delta \\ 0 & \text{elsewhere} \end{cases}, \qquad \Omega(E, V, N) = \int_{\text{accessible}}\{dp, dq\}
In words

p( p, q ) equals 1 over capital omega when capital E less than H( p, q ) is less than or equal to capital E plus capital delta; or 0 when elsewhere, capital omega ( capital E, capital V, capital N ) equals the integral over accessible of d p, d q

so Ω\Omega is the accessible volume of phase space; in quantum mechanics, Ω\Omega is the number of accessible energy eigenstates kk, those whose energy EkE_k satisfies E<Ek≤E+ΔE < E_k \le E + \Delta, a pure number (notes p. 2). (The classical volume can be made unit-free by dividing by a power of Planck's constant, as the notes mention.)

Microscopic information comes from integrating out unwanted variables (notes pp. 2–3; slide 6). For any condition XX on a subset of the variables,

Probability of a microscopic condition
p(X)=volume of accessible phase space consistent with Xtotal volume of accessible phase spacep(X) = \frac{\text{volume of accessible phase space consistent with } X}{\text{total volume of accessible phase space}}
In words

p( capital X ) equals volume of accessible phase space consistent with capital X over total volume of accessible phase space

The thermodynamic information will come from how Ω\Omega depends on EE, VV and NN.

Related quantities (notes p. 3; slide 7):

Cumulative volume, density of states and Ω
Φ(E,V,N)≡∫H({p,q})<E{dp,dq},ρ(E,V,N)≡∂Φ∂E,Ω(E,V,N)=ρ(E,V,N) Δ\Phi(E, V, N) \equiv \int_{H(\{p, q\}) < E}\{dp, dq\}, \qquad \rho(E, V, N) \equiv \frac{\partial\Phi}{\partial E}, \qquad \Omega(E, V, N) = \rho(E, V, N)\,\Delta
In words

capital phi ( capital E, capital V, capital N ) is defined as the integral over H( p, q ) less than capital E of d p, d q, rho ( capital E, capital V, capital N ) is defined as partial capital phi over partial capital E, capital omega ( capital E, capital V, capital N ) equals rho ( capital E, capital V, capital N ) capital delta

the cumulative phase-space volume, the density of states, and the volume of the energy shell.

The ideal monatomic gas#

NN atoms of mass mm in a box V=LxLyLzV = L_xL_yL_z, with H=∑i=13Npi2/(2m)H = \sum_{i=1}^{3N}p_i^2/(2m) and no potential energy inside the box (slide 8). The position integrals give VNV^N (slide 9). The momenta with H<EH < E fill the inside of a 3N3N-dimensional sphere ∑pi2=2mE\sum p_i^2 = 2mE, of radius R=2mER = \sqrt{2mE} (slide 10). Two pieces of mathematics (slide 11):

Volume of a sphere in α dimensions, and Stirling's approximation
Vα(R)=πnR2nn!,n=α2;ln⁡M!≈Mln⁡M−M(M≫1)V_\alpha(R) = \frac{\pi^nR^{2n}}{n!}, \quad n = \frac{\alpha}{2}; \qquad \ln M! \approx M\ln M - M \quad (M \gg 1)
In words

capital V sub alpha (R) equals pi to the power n R to the power 2 n over the quantity n factorial, n equals alpha over 2; log capital M ! is approximately capital M log capital M minus capital M ( capital M is much greater than 1)

So (slide 12)

Phase-space volume of the ideal gas
Φ(E,V,N)=VN (2πmE)MM!,M=3N2;Φ≈VN(4πemE3N)3N/2,ρ=3N2ΦE,Ω=3N2ΔEΦ\Phi(E, V, N) = V^N\,\frac{(2\pi mE)^M}{M!}, \quad M = \frac{3N}{2}; \qquad \Phi \approx V^N\left(\frac{4\pi emE}{3N}\right)^{3N/2}, \qquad \rho = \frac{3N}{2}\frac{\Phi}{E}, \qquad \Omega = \frac{3N}{2}\frac{\Delta}{E}\Phi
In words

capital phi ( capital E, capital V, capital N ) equals capital V ^ capital N (2 pi m capital E )^ capital M over the quantity capital M !, capital M equals 3 capital N over 2; capital phi is approximately capital V ^ capital N ( 4 pi e m capital E over the quantity 3 capital N, ) to the power 3 capital N over 2, end of power, rho equals 3 capital N over 2, times capital phi over capital E, capital omega equals 3 capital N over 2, times capital delta over capital E, times capital phi

the middle form using Stirling's approximation. With NN near 102310^{23}, the dependence on EE is enormously steep: nearly all of the sphere's volume lies just under its surface.

The page's own illustration, computed from Φ∝E3N/2\Phi \propto E^{3N/2}: the fraction of the phase-space volume with energy between (1−ϵ)E(1 - \epsilon)E and EE. Already for a few hundred degrees of freedom almost all of it lies within a few per cent of the surface; for a real gas the shell is unimaginably thin.

Microscopic distributions of the gas#

Positions (slide 13). Integrating out everything but one coordinate leaves a factor VN−1LyLzV^{N-1}L_yL_z out of VNV^N, so p(xi)=1/Lxp(x_i) = 1/L_x, uniform in the box. Two coordinates give p(xi,yj)=1/(LxLy)=p(xi) p(yj)p(x_i, y_j) = 1/(L_xL_y) = p(x_i)\,p(y_j): statistically independent.

One momentum component (slides 13–17). Fix pxp_x of one atom, with energy ϵ=px2/(2m)\epsilon = p_x^2/(2m) (a script E on the slides); the remaining 3N−13N - 1 momenta share E−ϵE - \epsilon on a sphere of one dimension less. The ratio of phase volumes splits into factors that, for large NN, simplify with lim⁡(1+x/n)n=ex\lim(1 + x/n)^n = e^x, using ⟨ϵ⟩=E/3N\langle\epsilon\rangle = E/3N, the average energy per momentum component (slides 14–16). The result (slide 17):

Distribution of one momentum component
p(px)=12π⟨px2⟩exp⁡(−px22⟨px2⟩),⟨px2⟩=2m⟨ϵ⟩p(p_x) = \frac{1}{\sqrt{2\pi\langle p_x^2\rangle}}\exp\left(-\frac{p_x^2}{2\langle p_x^2\rangle}\right), \qquad \langle p_x^2\rangle = 2m\langle\epsilon\rangle
In words

p( p sub x ) equals 1 over the square root of 2 pi the average of p sub x squared, times exp (- p sub x squared over the quantity 2 the average of p sub x squared, ), the average of p sub x squared equals 2 m the average of epsilon

a Gaussian: equal probability for all states of the whole gas becomes, for one atom, the Maxwell distribution of a velocity component.

Worked example

Spheres, factorials and helium atoms

(a) Check the sphere-volume formula in three dimensions, where n=3/2n = 3/2 and n!=Γ(5/2)≈1.329n! = \Gamma(5/2) \approx 1.329. (b) How good is Stirling's approximation for ln⁡100!\ln 100! (exactly 363.74363.74)? (c) One mole of helium (m=6.646×10−27m = 6.646 \times 10^{-27} kg, N=6.022×1023N = 6.022 \times 10^{23}) has total kinetic energy E=3.74E = 3.74 kJ. Find the energy per momentum component and the root-mean-square pxp_x and vxv_x.

(a) A three-dimensional sphere

π3/2R3/1.329≈5.568R3/1.329≈4.189R3=43πR3\pi^{3/2}R^3/1.329 \approx 5.568R^3/1.329 \approx 4.189R^3 = \frac43\pi R^3.

(b) Stirling

100ln⁡100−100≈360.52100\ln 100 - 100 \approx 360.52, against 363.74363.74: off by under 1%, and the relative error shrinks as MM grows (the missing term is of order ln⁡M\ln M).

(c) Helium

⟨ϵ⟩=E/3N=3740/(3×6.022×1023)≈2.07×10−21\langle\epsilon\rangle = E/3N = 3740/(3 \times 6.022 \times 10^{23}) \approx 2.07 \times 10^{-21} J. Then ⟨px2⟩=2m⟨ϵ⟩≈2.75×10−47\langle p_x^2\rangle = 2m\langle\epsilon\rangle \approx 2.75 \times 10^{-47} kg² m²/s², so px,rms≈5.2×10−24p_{x,\text{rms}} \approx 5.2 \times 10^{-24} kg m/s and vx,rms=px,rms/m≈790v_{x,\text{rms}} = p_{x,\text{rms}}/m \approx 790 m/s. (This EE is the energy of helium at 300 K, anticipating the next lecture's temperature.)

Summary#

  • Liouville's theorem: phase-space density flows incompressibly, so any density depending only on HH is an equilibrium density.
  • Microcanonical ensemble: fixed EE (within Δ\Delta), VV, NN; all accessible microstates equally probable, p=1/Ωp = 1/\Omega.
  • Φ\Phi is the phase volume below EE, ρ=∂Φ/∂E\rho = \partial\Phi/\partial E the density of states, Ω=ρΔ\Omega = \rho\Delta; probabilities of microscopic conditions are ratios of phase volumes.
  • Ideal gas: Φ=VN(2πmE)M/M!\Phi = V^N(2\pi mE)^M/M! with M=3N/2M = 3N/2; positions are uniform and independent, and one momentum component is Gaussian with ⟨px2⟩=2mE/3N\langle p_x^2\rangle = 2mE/3N.

Symbols on this page

Show the 53 symbols used here
α\alpha alpha.
The number of dimensions of a sphere. Say it: “alpha”.
Δ\Delta capital delta.
The small width of the energy shell. Unit: J. Say it: “capital delta”.
ε\varepsilon epsilon.
The energy p_x²/2m of one momentum component. Unit: J. Say it: “epsilon”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ρ\rho rho.
The phase-space probability density; ρ(E, V, N) = ∂Φ/∂E is the density of states. Say it: “rho”.
Ω\Omega capital omega.
The accessible phase-space volume (classically) or number of states (quantum). Say it: “capital omega”.
Γ\Gamma capital gamma.
The gamma function, Γ(n + 1) = n!. Say it: “capital gamma”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
∝\propto proportional to.
Is proportional to: doubling one doubles the other. Say it: “is proportional to”.
≡\equiv identical to.
Is defined as (or is identically equal to). Say it: “is defined as”.
≪\ll much less than.
Is much less than. Say it: “is much less than”.
≫\gg much greater than.
Is much greater than. Say it: “is much greater than”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⟨\langle angle brackets.
The average (mean value) of what is inside, ⟨…⟩. Say it: “the average of”.
∂\partial partial.
Partial derivative: the rate of change with one variable, holding the others fixed. Say it: “partial”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
HH H.
The Hamiltonian, the energy as a function of {p, q}. Unit: J. Say it: “H”.
kk k.
The label of a quantum state. Say it: “k”.
Φ\Phi capital phi.
The phase-space volume with energy below E. Say it: “capital phi”.
exp⁡\exp exponential.
The exponential function. Say it: “exp”.
xx x.
The fractional depth ε below the surface, in the plot. Say it: “x”.
tt t.
Time. Unit: s. Say it: “t”.
dd d.
The d of a derivative or of an integral. Say it: “d”.
nn n.
Half the number of dimensions, α/2. Say it: “n”.
ee e.
Euler's number. Say it: “e”.
mm m.
The mass of an atom. Unit: kg. Say it: “m”.
qq q.
A coordinate (in {p, q}, all of them). Say it: “q”.
NN N.
The number of particles. Say it: “capital N”.
pp p.
A probability density; with a subscript, a momentum component. Say it: “p”.
MM M.
A large whole number; for the gas, M = 3N/2. Say it: “capital M”.
RR R.
The radius of a sphere (in momentum space, √(2mE)). Unit: kg m/s. Say it: “R”.
vxv_{x} v x.
The x velocity of an atom. Unit: m/s. Say it: “v sub x”.
EE E.
The fixed total energy of the system. Unit: J. Say it: “capital E”.
VV V.
The volume of the box. Unit: m³. Say it: “capital V”.
XX X.
A condition on some of the microscopic variables. Say it: “capital X”.
pxp_{x} p x.
The x momentum of one atom. Unit: kg m/s. Say it: “p sub x”.
pip_{i} p i.
A momentum component in phase space. Unit: kg m/s. Say it: “p sub i”.
xix_{i} x i.
The x coordinate of atom i. Unit: m. Say it: “x sub i”.
qiq_{i} q sub i.
A coordinate in phase space. Unit: m. Say it: “q sub i”.
yjy_{j} y j.
The y coordinate of atom j. Unit: m. Say it: “y sub j”.
LzL_{z} L z.
The length of the box along z. Unit: m. Say it: “L sub z”.
LxL_{x} L x.
The length of the box along x. Unit: m. Say it: “L sub x”.
LyL_{y} L y.
The length of the box along y. Unit: m. Say it: “L sub y”.
VαV_{\alpha} V alpha.
The volume of a sphere in α dimensions. Say it: “capital V sub alpha”.
p˙i\dot{p}_{i} p i dot.
The rate of change of the momentum p_i. Say it: “p sub i dot”.
q˙i\dot{q}_{i} q i dot.
The rate of change of the coordinate q_i. Say it: “q sub i dot”.
px,rmsp_{x,rms} p x rms.
The root-mean-square x momentum of an atom. Unit: kg m/s. Say it: “p sub x, r m s”.
vx,rmsv_{x,rms} v x rms.
The root-mean-square x velocity of an atom. Unit: m/s. Say it: “v sub x, r m s”.
EkE_{k} E k.
The energy of the quantum state k. Unit: J. Say it: “capital E sub k”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 43 words used here

New here

microcanonical ensemble.
The description of an isolated system whose energy and particle number are fixed, in which every allowed microscopic state is equally likely.
phase space.
The space of all possible states of a system, one axis for each coordinate and one for each momentum.
postulate of equal a priori probabilities.
The basic assumption of statistical mechanics that every accessible microscopic state of an isolated system in equilibrium is equally likely.
density of states.
The number of quantum states, or of possible arrangements, per unit range of energy.

Also used

statistical mechanics.
The branch of physics that explains the large-scale behaviour of matter, such as temperature and pressure, from the laws governing its atoms, using probability. Explained in Thermodynamic variables, temperature and work.
microscopic.
At the level of the individual atoms and molecules of a system, such as one molecule's velocity, rather than of the system as a whole. Explained in Thermodynamic variables, temperature and work.
macroscopic.
Large enough to see and measure directly, or describing a whole system rather than its single atoms, such as pressure or temperature. Explained in Thermodynamic variables, temperature and work.
equation of state.
A relation between a substance's pressure, volume (or density) and temperature, such as the ideal gas law PV = NkT. Explained in Thermodynamic variables, temperature and work.
isolated system.
A system cut off from outside influence: no outside force acts on it, and no energy or matter goes in or out. Explained in Conservation of momentum.
energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
momentum.
Mass times velocity: a vector that measures a body's quantity of motion and keeps its total when no outside force acts. Explained in Momentum and impulse.
probability density.
Probability per unit length, area or volume: multiplied by a small interval, it gives the chance that the value falls there. Explained in Normalization, Hermitian operators and the probability current.
Hamilton's equations.
The equations of motion written with positions and momenta as equal partners, each changing at a rate given by the energy function. Explained in Adiabatic invariants, classical and quantum.
incompressible.
Of a fluid: one whose volume cannot be squeezed smaller, so a given mass always takes up the same space, as water nearly does. Explained in The divergence theorem, its proof and the diffusion equation.
density.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
equilibrium.
The settled state a system reaches when left alone: its large-scale properties stop changing, although its atoms keep moving. Explained in Thermodynamic variables, temperature and work.
constraint.
A condition that limits what is allowed, such as a rope of fixed length that links the motions of the bodies it joins. Explained in Tension in ropes and the spring force.
magnetization.
The magnetic dipole moment per unit volume of a material, from its atomic magnets lining up. Explained in Magnetic fields and magnetic force.
magnetic field.
The field made by magnets and moving charges, which pushes sideways on other moving charges and turns compass needles. Explained in Magnetic fields and magnetic force.
polarization.
The lining up of tiny electric dipoles inside a material by an electric field, measured as dipole moment per unit volume. Explained in Shielding, combining capacitors and dielectrics.
electric field.
The electric push or pull at each point of space, given as the force on each coulomb of charge placed there. Explained in The electric field.
energy eigenstate.
A state with a definite energy; it changes in time only by an overall phase, so all its measurable properties stay fixed. Explained in Stationary states, boundary conditions and a particle on a circle.
Planck's constant.
The basic constant of quantum physics, about 6.63 × 10⁻³⁴ joule seconds, linking a photon's energy to its frequency. Explained in Thermal radiation and Planck's photons.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
potential energy.
Energy stored in the arrangement of a system, such as a raised weight or a stretched spring, that a conservative force can give back. Explained in Gravitational potential energy.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.
statistically independent.
Of two random quantities: such that knowing one tells nothing about the other. Explained in Probability: two or more random variables.
dimension.
The number of independent directions in a space: one for a line, two for a plane, three for ordinary space. Explained in Position and velocity in one dimension.
Gaussian.
The bell-shaped curve e to the minus x squared, or a quantity spread out with that shape; also called a normal distribution. Explained in Probability: sums of random variables and the central limit theorem.
Maxwell distribution.
The spread of speeds of the molecules of a gas in thermal equilibrium, with probability proportional to v² times e^(−mv²/2kT). Explained in Kinetic theory: temperature is motion.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
kinetic energy.
The energy a body has because it is moving. Explained in Kinetic energy and the work–energy theorem.
rms.
Root mean square: square the values, average them, then take the square root; for a sine wave it is the peak divided by √2. Explained in Kinetic theory: temperature is motion.
Liouville's theorem.
The result that under Hamilton's equations a region of phase space keeps its volume as it moves, though its shape may change. Explained in Viscosity, heat conduction and the Boltzmann equation for metals.

Academic

derive.
To obtain a result by reasoning or calculation from other known results.
valid.
True or correctly applicable under the stated conditions.
to within.
With an error no larger than the stated amount.
satisfy.
To make an equation or condition true.
approximation.
Close to, but not exactly, the true value; an approximation is such a value or formula, chosen because it is simpler.
error.
The difference between a measured or computed value and the true one; often how large that difference may be.
of order.
Roughly equal to, within a factor of a few; of order one means neither much bigger nor much smaller than one.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. What probability density defines the microcanonical ensemble?
  2. Why is a density that depends only on the energy an equilibrium density?
  3. For an ideal monatomic gas, how does Φ, the phase-space volume below energy E, depend on V and E?
  4. Integrating out all variables but one momentum component, what distribution results for large N?
0 of 4 answered

Flashcards

1 / 3