Summary of Ensembles#

Entropy as a Function of Microstate Probabilities#

Entropy is given by the Shannon-Gibbs entropy formula:

S([p])=kBipilogpi

where pi is the probability of the i th microstate.

Physical Constraints for Equilibrium#

For a system to maintain equilibrium values, the microstate probabilities must satisfy the following conditions:

  1. Normalization:

    ipi=1
  2. Constraint to Maintain the Expectation Value of an Observable X (e.g., Energy or Volume):

    ipiXi=X,ipiYi=Y
  • The probability of a macrostate (X,Y,) follows the general form:

    P(X,Y,)=e1kBS(X,Y,..)eβXeγY...Z
    Z(β,γ,...)=X,Y,...e1kBS(X,Y,..)eβXeγY...
  • Where Z is a normalization factor called partition function

  • Exponential dependence can also be seen as consequence of exchange of (energy, volume ,etc) with an environment or a large reserovoir.

ErE,VrV,NtN
logΩr(EtE,VrV,NrN,)constβE+βμβPV
P(E,N,V)ΩΩreS(E,N,V)eβEeβμNeβPV

Comparison of Ensembles#


Ensemble

P(microstate)

P(macrostate)

Microcanonical (NVE)

P(microstate)=1Ω(E)

P(E)eS(E)/kB (entropy-dominated)

Canonical (NVT)

P(microstate)eβE

P(E)eS(E)/kBβE (entropy-weighted by energy)

Grand Canonical (µVT)

P(microstate)eβ(μNE)

P(N,E)eS(N,E)/kB+β(μNE)

Isothermal-Isobaric (NPT)

P(microstate)eβ(E+PV)

P(E,V)eS(E,V)/kBβ(E+PV)


  • Entropy dependence eS/kB is universal across all ensembles.

  • Microstate probability follows different forms based on constraints from different thermodynamic potentials.

  • Macrostate probability always includes an entropy term but is modified by energy, pressure, and chemical potential, depending on the ensemble.

Extensive vs intensive variables#

  • The total differential of internal energy U in a thermodynamic system can be expressed in terms of its conjugate variables:

dU=TdSpdV+μdN+BdM+=ifidXi
  • where each pair (Xi,fi) represents a conjugate extensive and intensive variable respectively, such as:

    • (S,T) → entropy and temperature,

    • (V,P) → volume and pressure,

    • (N,μ) → particle number and chemical potential,

    • (M,B) → magnetization and magnetic field.

Laplace Transform and Ensemble Connections#

  • The Laplace transform connects different thermodynamic ensembles by linking the partition function to energy and volume fluctuations. It effectively approximates a Legendre transform in the thermodynamic limit.

  • Canonical Ensemble (Energy Integration):

    Z(β,N,V)=dEΩ(E)eβEeminE[S(E)/kBβE]
    Z(β,N,V)=eβ[UTS]=eβF(β,N,V)
  • Isothermal-Isobaric Ensemble (Volume Integration):

    Z(β,N,P)=dVZ(β,N,V)eβPVeminV[F(V)βPV]
    Z(β,N,P)=eβ[UTSPV]=eβG(β,N,P)
  • Thus, free energy functions naturally emerge as Legendre transforms of internal energy through Laplace integration over fluctuating variables.

Legendre Transform and Thermodynamic Potentials#

  • The Legendre transformation allows us to reformulate equilibrium conditions (e.g., entropy maximization) in terms of more convenient variables (e.g., free energy minimization).

  • This transformation makes it possible to work with temperature and pressure as control variables instead of entropy and volume.

  • Free Energies as Legendre Transforms of Internal Energy

  • Helmholtz Free Energy (Legendre transform over S):

F(N,V,T)=UTS=LSU(S,V,N)
  • Gibbs Free Energy (Legendre transform over S,V):

G(N,P,T)=UTS+PV=LS,VU(S,V,N)

Partition Functions and Legendre Transforms#

  • The partition function naturally follows the structure of a Legendre transform, as it is related to free energy via:

Ψ(f1,,fn,Xn+1,,XN)=U(X1,...XN)(f1X1+...fnXn)
Z(f1,,fn,Xn+1,,XN)=eβΨ(f1,,fn,Xn+1,,XN)
  • The Ψ is a thermodynamic potential obtained through Legendre transformation of the internal energy.

Fluctuation-Response Relations#

  • For a given extensive variable X and its conjugate intensive variable f, the partition function Z governs both the mean value and fluctuations of X.

  • Mean value of X at constant f:

    X=logZ(βf)
  • Fluctuations of X at constant Y:

    σX2=X2X2=2logZ(βf)2
  • This relation shows that fluctuations in X are directly linked to the second derivative of the partition function, a fundamental result of statistical mechanics.

Energy fluctuations (Canonical Ensemble):#

σE2=kBT2CV
  • where CV is the heat capacity at constant volume.

Particle number fluctuations (Grand Canonical Ensemble):#

σN2=kBTκTV
  • where κT is the isothermal compressibility.

Key Insights#

  • Fluctuations decrease as system size increases, typically scaling as 1/N.

  • Response functions (e.g., heat capacity, compressibility) determine fluctuation magnitude.

  • Ensemble equivalence ensures that for large systems, different ensembles (canonical, grand canonical, etc.) give equivalent macroscopic results, despite differing fluctuation magnitudes.