1. Home
  2. Explore
  3. Physics
  4. Carnot Engine & Entropy

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Carnot Engine & Entropy

Kinetic Theory and Statistical Mechanics: Comprehensive Study Notes

Introduction: From Carnot to Entropy and Kinetic Theory

Sadi Carnot’s analysis of steam engines led to the concept of the Carnot engine, the most efficient heat engine theoretically possible. Rudolf Clausius, analyzing the Carnot cycle mathematically, recognized that energy exists in different forms and can be converted between types—heat can become internal energy (raising temperature) or mechanical work (as in heat engines). To quantitatively describe spontaneous, irreversible processes like heat flowing from hot to cold, Clausius introduced the concept of entropy.

The kinetic theory of gases aims to unify thermodynamics with Newtonian mechanics by modeling gases as large numbers of molecules obeying classical laws. It states that the internal energy of a gas equals the total kinetic energy of its molecules, explaining the conversion between internal energy and mechanical work. Moreover, it explains entropy through statistics: systems evolve from statistically unlikely states to likely ones, so entropy is a measure of the statistical likelihood of a state.


Deriving the Ideal Gas Law from Molecular Motion

The ideal gas law: PV=nRTPV = nRTPV=nRT, where nnn is moles and RRR is the gas constant. Using NNN as the number of molecules, PV=NkBTPV = N k_B TPV=NkB​T, with kBk_BkB​ being Boltzmann's constant.

Pressure arises from molecules colliding with container walls. Three factors determine pressure:

  1. Momentum of a molecule: A molecule with mass mmm and speed vvv has momentum mvmvmv. When it bounces off a wall, the pressure exerted is proportional to its momentum—faster or heavier molecules produce higher pressure.

  2. Return time: A molecule bounces back and forth between walls. If the distance between walls is LLL, the round-trip time is 2L/v2L/v2L/v. The pressure is proportional to v/Lv/Lv/L, and since LLL is proportional to volume VVV, pressure is proportional to v/Vv/Vv/V.

  3. Number of molecules: NNN molecules exert NNN times the pressure of one molecule.

Combining: P∝Nmv2VP \propto \frac{N m v^2}{V}P∝VNmv2​. Comparing with the ideal gas law P=NkBTVP = \frac{N k_B T}{V}P=VNkB​T​ gives kBT∝12mv2k_B T \propto \frac{1}{2} m v^2kB​T∝21​mv2. Thus, temperature is a measure of the average kinetic energy of gas molecules.

Quantitative Derivation of Pressure

Consider motion in the xxx-direction only. A molecule with velocity vxv_xvx​ undergoes an elastic collision with a wall, reversing its xxx-velocity to −vx-v_x−vx​. Momentum transferred per collision: Δp=2mvx\Delta p = 2m v_xΔp=2mvx​.

In time Δt\Delta tΔt, the molecule travels vxΔtv_x \Delta tvx​Δt. The distance for one round trip along xxx is 2Lx2L_x2Lx​. Number of collisions with a given wall in Δt\Delta tΔt: vxΔt2Lx\frac{v_x \Delta t}{2L_x}2Lx​vx​Δt​.

Total momentum transferred by NNN molecules to the wall in time Δt\Delta tΔt:

Total momentum=∑i=1N(2mvx,i)(vx,iΔt2Lx)=ΔtLx∑i=1Nmvx,i2\text{Total momentum} = \sum_{i=1}^{N} (2 m v_{x,i}) \left( \frac{v_{x,i} \Delta t}{2 L_x} \right) = \frac{\Delta t}{L_x} \sum_{i=1}^{N} m v_{x,i}^2Total momentum=∑i=1N​(2mvx,i​)(2Lx​vx,i​Δt​)=Lx​Δt​∑i=1N​mvx,i2​

Pressure = force / area. The wall is in the yzyzyz-plane with area A=LyLzA = L_y L_zA=Ly​Lz​. Average force = change in momentum per unit time:

F=Total momentumΔt=1Lx∑i=1Nmvx,i2F = \frac{\text{Total momentum}}{\Delta t} = \frac{1}{L_x} \sum_{i=1}^{N} m v_{x,i}^2F=ΔtTotal momentum​=Lx​1​∑i=1N​mvx,i2​
P=FA=1LxLyLz∑i=1Nmvx,i2=1V∑i=1Nmvx,i2P = \frac{F}{A} = \frac{1}{L_x L_y L_z} \sum_{i=1}^{N} m v_{x,i}^2 = \frac{1}{V} \sum_{i=1}^{N} m v_{x,i}^2P=AF​=Lx​Ly​Lz​1​∑i=1N​mvx,i2​=V1​∑i=1N​mvx,i2​

Introduce the average of vx2v_x^2vx2​: ⟨vx2⟩=1N∑i=1Nvx,i2\langle v_x^2 \rangle = \frac{1}{N} \sum_{i=1}^{N} v_{x,i}^2⟨vx2​⟩=N1​∑i=1N​vx,i2​. Then P=Nm⟨vx2⟩VP = \frac{N m \langle v_x^2 \rangle}{V}P=VNm⟨vx2​⟩​.

For a system symmetric in xxx, yyy, zzz, the total kinetic energy per molecule is 12m(vx2+vy2+vz2)\frac{1}{2} m (v_x^2 + v_y^2 + v_z^2)21​m(vx2​+vy2​+vz2​), and ⟨vx2⟩=⟨vy2⟩=⟨vz2⟩=13⟨v2⟩\langle v_x^2 \rangle = \langle v_y^2 \rangle = \langle v_z^2 \rangle = \frac{1}{3} \langle v^2 \rangle⟨vx2​⟩=⟨vy2​⟩=⟨vz2​⟩=31​⟨v2⟩. Thus:

P=Nm13⟨v2⟩V=23NV(12m⟨v2⟩)=23NV⟨K⟩P = \frac{N m \frac{1}{3} \langle v^2 \rangle}{V} = \frac{2}{3} \frac{N}{V} \left( \frac{1}{2} m \langle v^2 \rangle \right) = \frac{2}{3} \frac{N}{V} \langle K \rangleP=VNm31​⟨v2⟩​=32​VN​(21​m⟨v2⟩)=32​VN​⟨K⟩

where ⟨K⟩\langle K \rangle⟨K⟩ is the average kinetic energy per molecule. Comparing with P=NkBTVP = \frac{N k_B T}{V}P=VNkB​T​ gives:

23⟨K⟩=kBT⇒⟨K⟩=32kBT\frac{2}{3} \langle K \rangle = k_B T \quad \Rightarrow \quad \langle K \rangle = \frac{3}{2} k_B T32​⟨K⟩=kB​T⇒⟨K⟩=23​kB​T

Therefore, the average translational kinetic energy per molecule is 32kBT\frac{3}{2} k_B T23​kB​T. The total internal energy UUU for an ideal monatomic gas (no interactions, only translational kinetic energy) is:

U=N⟨K⟩=32NkBTU = N \langle K \rangle = \frac{3}{2} N k_B TU=N⟨K⟩=23​NkB​T

Equipartition Theorem and Heat Capacity

The equipartition theorem states that energy is equally divided among all degrees of freedom of motion, with each degree of freedom contributing 12kBT\frac{1}{2} k_B T21​kB​T per molecule (or 12NkBT\frac{1}{2} N k_B T21​NkB​T for the system).

Monatomic Gas

A monatomic gas molecule (single atom) has three translational degrees of freedom (xxx, yyy, zzz). Therefore:

U=3×12NkBT=32NkBTU = 3 \times \frac{1}{2} N k_B T = \frac{3}{2} N k_B TU=3×21​NkB​T=23​NkB​T

Diatomic Gas

A diatomic molecule has additional degrees of freedom:

  • Translational: 3 (same as monatomic)

  • Rotational: 2 (rotation about two axes perpendicular to the bond; rotation along the bond axis has negligible moment of inertia)

  • Vibrational (at high temperatures): 2 additional contributions—kinetic energy of vibration and potential energy stored in the bond (modeled as a spring)

At moderate temperatures, rotations are active but vibrations are not: U=52NkBTU = \frac{5}{2} N k_B TU=25​NkB​T (3 translational + 2 rotational). At high temperatures, vibrations become active: U=72NkBTU = \frac{7}{2} N k_B TU=27​NkB​T (3 translational + 2 rotational + 2 vibrational).

Heat Capacity at Constant Volume

The heat capacity at constant volume CVC_VCV​ is defined as:

CV=(∂U∂T)VC_V = \left( \frac{\partial U}{\partial T} \right)_VCV​=(∂T∂U​)V​

For an ideal gas:

  • Monatomic: CV=32NkBC_V = \frac{3}{2} N k_BCV​=23​NkB​

  • Diatomic (rotations active): CV=52NkBC_V = \frac{5}{2} N k_BCV​=25​NkB​

  • Diatomic (vibrations active): CV=72NkBC_V = \frac{7}{2} N k_BCV​=27​NkB​

Important: Only the energy put into translational motion contributes to temperature and pressure (as seen from the ideal gas law). Rotational and vibrational energy do not directly raise the temperature; they increase the heat capacity because more energy is required to raise the temperature by a given amount.

Dulong-Petit Law for Solids

In a solid, atoms are bound to a lattice and vibrate. Each atom has three vibrational degrees of freedom, each contributing both kinetic and potential energy, so each degree of freedom contributes 12kBT\frac{1}{2} k_B T21​kB​T for kinetic and 12kBT\frac{1}{2} k_B T21​kB​T for potential, total kBTk_B TkB​T per degree of freedom. With three degrees of freedom, the internal energy per atom is 3kBT3 k_B T3kB​T, leading to U=3NkBTU = 3 N k_B TU=3NkB​T and heat capacity per atom CV=3kBC_V = 3 k_BCV​=3kB​. This is the Dulong-Petit law. However, at very low temperatures, classical theory fails and the heat capacity goes to zero—a phenomenon explained only by quantum mechanics.


Maxwell-Boltzmann Velocity Distribution

Not all molecules have the same speed. The Maxwell-Boltzmann distribution gives the probability that a molecule in a monatomic ideal gas has a velocity vector within a small interval.

Maxwell's Symmetry Argument

Consider a monatomic ideal gas in a spherical container. The probability distribution function f(v⃗)f(\vec{v})f(v) for the velocity vector must satisfy:

  1. Rotational symmetry: fff depends only on the magnitude v=∣v⃗∣v = |\vec{v}|v=∣v∣, not direction.

  2. Statistical independence of components: The probability for a velocity vector is the product of independent probabilities for each component: f(vx,vy,vz)=g(vx)g(vy)g(vz)f(v_x, v_y, v_z) = g(v_x) g(v_y) g(v_z)f(vx​,vy​,vz​)=g(vx​)g(vy​)g(vz​).

These conditions imply fff is an exponential function of v2v^2v2:

f(v⃗)=Ae−Bv2=Ae−B(vx2+vy2+vz2)f(\vec{v}) = A e^{-B v^2} = A e^{-B(v_x^2+v_y^2+v_z^2)}f(v)=Ae−Bv2=Ae−B(vx2​+vy2​+vz2​)

Determining Constants

Two constraints determine AAA and BBB:

  1. Normalization: ∫−∞∞∫−∞∞∫−∞∞f(v⃗) dvxdvydvz=1\int_{-\infty}^\infty \int_{-\infty}^\infty \int_{-\infty}^\infty f(\vec{v}) \, dv_x dv_y dv_z = 1∫−∞∞​∫−∞∞​∫−∞∞​f(v)dvx​dvy​dvz​=1. In spherical coordinates in velocity space, dvxdvydvz=4πv2dvdv_x dv_y dv_z = 4\pi v^2 dvdvx​dvy​dvz​=4πv2dv, so ∫0∞4πv2Ae−Bv2dv=1\int_0^\infty 4\pi v^2 A e^{-B v^2} dv = 1∫0∞​4πv2Ae−Bv2dv=1. This gives A=(Bπ)3/2A = \left( \frac{B}{\pi} \right)^{3/2}A=(πB​)3/2.

  2. Average kinetic energy: ⟨12mv2⟩=32kBT\langle \frac{1}{2} m v^2 \rangle = \frac{3}{2} k_B T⟨21​mv2⟩=23​kB​T. Using f(v⃗)f(\vec{v})f(v), ⟨v2⟩=∫v2f(v⃗)d3v=32B\langle v^2 \rangle = \int v^2 f(\vec{v}) d^3v = \frac{3}{2B}⟨v2⟩=∫v2f(v)d3v=2B3​. Then 12m32B=32kBT\frac{1}{2} m \frac{3}{2B} = \frac{3}{2} k_B T21​m2B3​=23​kB​T, so B=m2kBTB = \frac{m}{2 k_B T}B=2kB​Tm​.

Thus:

f(v⃗)=(m2πkBT)3/2e−mv22kBTf(\vec{v}) = \left( \frac{m}{2\pi k_B T} \right)^{3/2} e^{-\frac{m v^2}{2 k_B T}}f(v)=(2πkB​Tm​)3/2e−2kB​Tmv2​

The speed distribution (probability per unit speed) is obtained by integrating over angles:

f(v)=4πv2f(v⃗)=4π(m2πkBT)3/2v2e−mv22kBTf(v) = 4\pi v^2 f(\vec{v}) = 4\pi \left( \frac{m}{2\pi k_B T} \right)^{3/2} v^2 e^{-\frac{m v^2}{2 k_B T}}f(v)=4πv2f(v)=4π(2πkB​Tm​)3/2v2e−2kB​Tmv2​

This is the Maxwell-Boltzmann speed distribution. At low temperatures, the distribution is narrow and peaked at low speeds; at high temperatures, it is broader and peaks at higher speeds.


Boltzmann's Statistical Approach

Boltzmann attempted to derive the velocity distribution using counting arguments based on the idea that all microscopic configurations (microstates) are equally likely.

Discrete Energy Levels

Consider a box with NNN molecules and total internal energy UUU, divided into discrete units of energy ϵ\epsilonϵ for mathematical convenience. The energy is randomly distributed among molecules through collisions. A macrostate is defined by the occupation numbers {ni}\{n_i\}{ni​}: nin_ini​ molecules have energy iϵi\epsiloniϵ. Constraints:

∑ini=N,∑iini=Uϵ\sum_i n_i = N, \quad \sum_i i n_i = \frac{U}{\epsilon}∑i​ni​=N,∑i​ini​=ϵU​

A microstate specifies exactly which molecule has which energy. The number of microstates (multiplicity) for a given macrostate is:

Ω=N!∏ini!\Omega = \frac{N!}{\prod_i n_i!}Ω=∏i​ni​!N!​

because we can arrange NNN molecules into groups, and permutations within a group are indistinguishable.

Most Likely Macrostate

The system evolves to the macrostate with the highest multiplicity (most microstates), as it is statistically most likely. Using Stirling's approximation ln⁡n!≈nln⁡n−n\ln n! \approx n \ln n - nlnn!≈nlnn−n, we maximize ln⁡Ω=Nln⁡N−N−∑i(niln⁡ni−ni)\ln \Omega = N \ln N - N - \sum_i (n_i \ln n_i - n_i)lnΩ=NlnN−N−∑i​(ni​lnni​−ni​) subject to fixed NNN and fixed UUU. Using Lagrange multipliers α\alphaα and β\betaβ for the two constraints, we find:

ni=Ne−1−αe−βiϵn_i = N e^{-1-\alpha} e^{-\beta i \epsilon}ni​=Ne−1−αe−βiϵ

The exponential dependence e−βEe^{-\beta E}e−βE is called the Boltzmann factor. The parameter β\betaβ is identified as β=1/(kBT)\beta = 1/(k_B T)β=1/(kB​T).

Connection to Maxwell's Distribution

Boltzmann's method using equidistant energy states gives an energy distribution P(E)∝e−E/kBTP(E) \propto e^{-E/k_B T}P(E)∝e−E/kB​T, but Maxwell's distribution for speeds gives P(E)∝Ee−E/kBTP(E) \propto \sqrt{E} e^{-E/k_B T}P(E)∝E​e−E/kB​T (in 3D). The discrepancy arises because:

  • Maxwell assumes velocity components are equally spaced; energy is quadratic in velocity, so energy states are not equally spaced.

  • The factor E\sqrt{E}E​ comes from the density of states in velocity space (number of velocity vectors with a given energy).

  • In 2D, the errors cancel and both methods agree; in 3D, Boltzmann's method undercounts high-energy states unless properly accounting for the density of states.

To make Boltzmann's method work, one must distribute velocity components (not energy) in equal intervals. This yields the same exponential dependence on v2v^2v2 as Maxwell's approach.


Entropy and the Multiplicity of States

Clausius' Definition

Clausius defined entropy change for a reversible process as:

dS=dQrevTdS = \frac{dQ_{\text{rev}}}{T}dS=TdQrev​​

For spontaneous (irreversible) processes, entropy increases.

Boltzmann's Definition

Boltzmann proposed that entropy is related to the multiplicity Ω\OmegaΩ of a macrostate:

S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ

This definition is consistent with Clausius' for an ideal monatomic gas: S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ leads to the same ∂S/∂U=1/T\partial S/\partial U = 1/T∂S/∂U=1/T as Clausius.

Quasi-Static Processes

The definition S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ assumes the system is in equilibrium. For a process to be described by Clausius' dS=dQ/TdS = dQ/TdS=dQ/T, it must be quasi-static—changing slowly enough that the system remains near equilibrium. For non-quasi-static processes, the total entropy change is the same (since entropy is a state function), but it cannot be computed as ∫dQ/T\int dQ/T∫dQ/T because additional entropy is generated internally as the system relaxes to equilibrium.


Phase Space and Coarse Graining

To describe both position and velocity distributions, we use phase space with axes for position r⃗\vec{r}r and momentum p⃗\vec{p}p​. A microstate corresponds to a point in 6N6N6N-dimensional phase space.

Coarse Graining

Coarse graining divides phase space into cells of finite size h3h^3h3 per particle (or h3Nh^{3N}h3N for NNN particles). This is necessary because continuous variables would give infinite multiplicity. The number of microstates is the accessible phase space volume divided by the cell volume.

Entropy of an Ideal Gas from Phase Space

For a monatomic ideal gas of NNN particles in volume VVV with total energy UUU, the accessible phase space volume is:

  • Position: each particle can be anywhere in VVV, so real-space volume VNV^NVN.

  • Momentum: total kinetic energy U=∑pi2/(2m)U = \sum p_i^2/(2m)U=∑pi2​/(2m), so momentum vectors lie on a hypersphere of radius 2mU\sqrt{2mU}2mU​ in 3N3N3N-dimensional momentum space. The surface area of a ddd-dimensional sphere is 2πd/2Γ(d/2)rd−1\frac{2\pi^{d/2}}{\Gamma(d/2)} r^{d-1}Γ(d/2)2πd/2​rd−1.

The total number of accessible microstates (before correcting for indistinguishability) is:

Ω=VNh3N×2π3N/2Γ(3N/2)(2mU)(3N−1)/2≈VNh3N2π3N/2(3N/2)!(2mU)3N/2\Omega = \frac{V^N}{h^{3N}} \times \frac{2 \pi^{3N/2}}{\Gamma(3N/2)} (2mU)^{(3N-1)/2} \approx \frac{V^N}{h^{3N}} \frac{2\pi^{3N/2}}{(3N/2)!} (2mU)^{3N/2}Ω=h3NVN​×Γ(3N/2)2π3N/2​(2mU)(3N−1)/2≈h3NVN​(3N/2)!2π3N/2​(2mU)3N/2

Using Stirling's approximation and U=32NkBTU = \frac{3}{2} N k_B TU=23​NkB​T, we obtain the entropy S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ. However, this expression does not properly account for the indistinguishability of identical particles.

The Gibbs Paradox and Indistinguishability

The Gibbs paradox arises when considering two identical volumes of the same gas separated by a removable partition. If we treat particles as distinguishable, removing the partition increases entropy (because each particle can now be anywhere in twice the volume). But if the gases are identical, we expect no irreversible change and therefore no entropy increase.

The resolution: for practically indistinguishable particles, we must divide the number of microstates by N!N!N! to avoid counting permutations of identical particles as distinct. This leads to the Sackur-Tetrode equation for the entropy of a monatomic ideal gas:

S=NkB[ln⁡(VN(4πmU3h2N)3/2)+52]S = N k_B \left[ \ln \left( \frac{V}{N} \left( \frac{4\pi m U}{3 h^2 N} \right)^{3/2} \right) + \frac{5}{2} \right]S=NkB​[ln(NV​(3h2N4πmU​)3/2)+25​]

or equivalently,

S=NkB[ln⁡(VN(2πmkBTh2)3/2)+52]S = N k_B \left[ \ln \left( \frac{V}{N} \left( \frac{2\pi m k_B T}{h^2} \right)^{3/2} \right) + \frac{5}{2} \right]S=NkB​[ln(NV​(h22πmkB​T​)3/2)+25​]

If the two gases are different (distinguishable), mixing does increase entropy, and the formula without the N!N!N! correction applies to each species separately.

Coarse-Grained Entropy Increase

Coarse graining is essential to observe entropy increase. If we use infinitely fine resolution, the phase space volume (and hence entropy) remains constant over time (Liouville's theorem). But with finite coarse graining, as molecules spread out in phase space, the number of occupied coarse-grained cells increases, increasing the multiplicity and entropy.


Thermodynamic Potentials from Statistical Mechanics

Temperature, Pressure, and Chemical Potential as Derivatives of Entropy

For a closed system, entropy tends to a maximum. The derivatives of entropy with respect to energy, volume, and particle number define intensive variables:

  • Temperature: 1T=(∂S∂U)V,N\frac{1}{T} = \left( \frac{\partial S}{\partial U} \right)_{V,N}T1​=(∂U∂S​)V,N​

  • Pressure: PT=(∂S∂V)U,N\frac{P}{T} = \left( \frac{\partial S}{\partial V} \right)_{U,N}TP​=(∂V∂S​)U,N​

  • Chemical potential: μT=−(∂S∂N)U,V\frac{\mu}{T} = - \left( \frac{\partial S}{\partial N} \right)_{U,V}Tμ​=−(∂N∂S​)U,V​

These are also the Lagrange multipliers from the constrained optimization: β=1/(kBT)\beta = 1/(k_B T)β=1/(kB​T) for energy, etc.

The Fundamental Thermodynamic Relation

Combining the differentials:

dS=1TdU+PTdV−μTdNdS = \frac{1}{T} dU + \frac{P}{T} dV - \frac{\mu}{T} dNdS=T1​dU+TP​dV−Tμ​dN

Multiplying by TTT gives the fundamental thermodynamic relation:

dU=TdS−PdV+μdNdU = T dS - P dV + \mu dNdU=TdS−PdV+μdN

Chemical Potential and Chemical Reactions

For a system at fixed TTT and VVV, the Helmholtz free energy F=U−TSF = U - TSF=U−TS tends to a minimum. Its differential is dF=−SdT−PdV+μdNdF = -S dT - P dV + \mu dNdF=−SdT−PdV+μdN. For a reaction converting type A to type B, equilibrium occurs when μA=μB\mu_A = \mu_BμA​=μB​.

At fixed TTT and PPP, the Gibbs free energy G=U−TS+PVG = U - TS + PVG=U−TS+PV tends to a minimum, with dG=−SdT+VdP+μdNdG = -S dT + V dP + \mu dNdG=−SdT+VdP+μdN. Again, equilibrium for a reaction requires μA=μB\mu_A = \mu_BμA​=μB​.


Systems in Contact with a Reservoir

Binding of a Molecule: A Simple Example

Consider a system (e.g., a binding site on a blood cell) that can be either empty (state 0, energy 0) or bound to an oxygen molecule (state 1, energy ϵ<0\epsilon < 0ϵ<0). The system is in contact with a reservoir at temperature TTT and chemical potential μ\muμ for oxygen. The change in reservoir entropy when the system goes from empty to bound is:

ΔSres=S1−S0=−ϵ+μT\Delta S_{\text{res}} = S_1 - S_0 = \frac{-\epsilon + \mu}{T}ΔSres​=S1​−S0​=T−ϵ+μ​

The ratio of probabilities is given by the ratio of multiplicities:

P1P0=eS1/kBeS0/kB=e(S1−S0)/kB=e−(ϵ−μ)/kBT\frac{P_1}{P_0} = \frac{e^{S_1/k_B}}{e^{S_0/k_B}} = e^{(S_1-S_0)/k_B} = e^{-(\epsilon - \mu)/k_B T}P0​P1​​=eS0​/kB​eS1​/kB​​=e(S1​−S0​)/kB​=e−(ϵ−μ)/kB​T

Normalizing (P0+P1=1P_0 + P_1 = 1P0​+P1​=1) gives:

P0=11+e−(ϵ−μ)/kBT,P1=e−(ϵ−μ)/kBT1+e−(ϵ−μ)/kBTP_0 = \frac{1}{1 + e^{-(\epsilon - \mu)/k_B T}}, \quad P_1 = \frac{e^{-(\epsilon - \mu)/k_B T}}{1 + e^{-(\epsilon - \mu)/k_B T}}P0​=1+e−(ϵ−μ)/kB​T1​,P1​=1+e−(ϵ−μ)/kB​Te−(ϵ−μ)/kB​T​

This makes intuitive sense: stronger binding (more negative ϵ\epsilonϵ) or higher chemical potential (more oxygen available) increases the probability of binding.

Gibbs Factor and Grand Partition Function

For a system that can exchange both energy and particles with a reservoir (fixed TTT, μ\muμ, VVV), the probability of a microstate sss with energy EsE_sEs​ and particle number NsN_sNs​ is proportional to the Gibbs factor:

e−(Es−μNs)/kBTe^{-(E_s - \mu N_s)/k_B T}e−(Es​−μNs​)/kB​T

The normalization constant is the Grand partition function:

Z=∑se−(Es−μNs)/kBT\mathcal{Z} = \sum_s e^{-(E_s - \mu N_s)/k_B T}Z=∑s​e−(Es​−μNs​)/kB​T

Then Ps=1Ze−(Es−μNs)/kBTP_s = \frac{1}{\mathcal{Z}} e^{-(E_s - \mu N_s)/k_B T}Ps​=Z1​e−(Es​−μNs​)/kB​T.

If the system only exchanges energy (fixed NNN), the Gibbs factor reduces to the Boltzmann factor e−Es/kBTe^{-E_s/k_B T}e−Es​/kB​T, and the normalization constant is the partition function Z=∑se−Es/kBTZ = \sum_s e^{-E_s/k_B T}Z=∑s​e−Es​/kB​T.


Gibbs Entropy and the Partition Function

Boltzmann vs. Gibbs Entropy

Boltzmann entropy: S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ, where Ω\OmegaΩ is the number of microstates for a given macrostate (for isolated systems).

Gibbs entropy (more general):

S=−kB∑sPsln⁡PsS = -k_B \sum_s P_s \ln P_sS=−kB​∑s​Ps​lnPs​

where PsP_sPs​ is the probability of the system being in microstate sss. For independent particles, the Gibbs entropy reduces to the Boltzmann entropy. For interacting systems, the Gibbs definition is consistent with Clausius' thermodynamics.

Using the Partition Function

For a system in the canonical ensemble (fixed TTT, VVV, NNN), the partition function is Z=∑se−Es/kBTZ = \sum_s e^{-E_s/k_B T}Z=∑s​e−Es​/kB​T. The average energy is:

⟨E⟩=−∂ln⁡Z∂β,β=1/(kBT)\langle E \rangle = -\frac{\partial \ln Z}{\partial \beta}, \quad \beta = 1/(k_B T)⟨E⟩=−∂β∂lnZ​,β=1/(kB​T)

The entropy is:

S=⟨E⟩T+kBln⁡ZS = \frac{\langle E \rangle}{T} + k_B \ln ZS=T⟨E⟩​+kB​lnZ

The Helmholtz free energy is:

F=−kBTln⁡ZF = -k_B T \ln ZF=−kB​TlnZ

All thermodynamic quantities can be derived from ZZZ.

Example: Ideal Gas Partition Function

For a single monatomic molecule in volume VVV at temperature TTT, the partition function (summing over all momentum and position states with coarse-graining hhh) is:

Z1=Vh3∫−∞∞e−p2/(2mkBT)d3p=V(2πmkBTh2)3/2Z_1 = \frac{V}{h^3} \int_{-\infty}^\infty e^{-p^2/(2m k_B T)} d^3p = V \left( \frac{2\pi m k_B T}{h^2} \right)^{3/2}Z1​=h3V​∫−∞∞​e−p2/(2mkB​T)d3p=V(h22πmkB​T​)3/2

For NNN distinguishable particles, Z=Z1NZ = Z_1^NZ=Z1N​. Correcting for indistinguishability: Z=Z1NN!Z = \frac{Z_1^N}{N!}Z=N!Z1N​​. Using Stirling's approximation, we recover the Sackur-Tetrode equation for entropy, and ⟨E⟩=32NkBT\langle E \rangle = \frac{3}{2} N k_B T⟨E⟩=23​NkB​T.


Ensembles in Statistical Mechanics

  1. Microcanonical Ensemble (isolated system): fixed UUU, VVV, NNN. All microstates satisfying these constraints are equally likely. The multiplicity Ω(U,V,N)\Omega(U,V,N)Ω(U,V,N) gives the entropy S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ.

  2. Canonical Ensemble (closed system in thermal contact with reservoir): fixed TTT, VVV, NNN. The probability of a microstate is e−E/kBT/Ze^{-E/k_B T}/Ze−E/kB​T/Z. The partition function Z(T,V,N)Z(T,V,N)Z(T,V,N) connects to thermodynamics: F=−kBTln⁡ZF = -k_B T \ln ZF=−kB​TlnZ, S=−∂F/∂TS = -\partial F/\partial TS=−∂F/∂T, etc.

  3. Grand Canonical Ensemble (open system in contact with reservoir for energy and particles): fixed TTT, VVV, μ\muμ. The probability of a microstate with energy EEE and particle number NNN is e−(E−μN)/kBT/Ze^{-(E-\mu N)/k_B T}/\mathcal{Z}e−(E−μN)/kB​T/Z, where Z\mathcal{Z}Z is the grand partition function.


Summary of Key Concepts

  • Kinetic theory: internal energy = kinetic energy of molecules; explains pressure and temperature.

  • Equipartition theorem: each quadratic degree of freedom contributes 12kBT\frac{1}{2} k_B T21​kB​T per molecule.

  • Maxwell-Boltzmann distribution: velocity distribution derived from symmetry; gives f(v)∝v2e−mv2/(2kBT)f(v) \propto v^2 e^{-mv^2/(2k_B T)}f(v)∝v2e−mv2/(2kB​T).

  • Boltzmann's counting: multiplicity Ω\OmegaΩ for a macrostate; S=kBln⁡ΩS = k_B \ln \OmegaS=kB​lnΩ; most likely macrostate maximizes Ω\OmegaΩ.

  • Statistical definition of temperature, pressure, chemical potential: as derivatives of entropy.

  • Gibbs paradox: indistinguishability of identical particles requires dividing by N!N!N!; leads to Sackur-Tetrode equation.

  • Canonical and grand canonical ensembles: probability proportional to Boltzmann factor or Gibbs factor; partition functions generate thermodynamics.

  • Gibbs entropy: S=−kB∑Psln⁡PsS = -k_B \sum P_s \ln P_sS=−kB​∑Ps​lnPs​ is the fundamental definition, consistent with Clausius for interacting systems.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent