Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Thermodynamics studies heat, work, energy, entropy, and equilibrium behavior in macroscopic systems. Statistical mechanics explains those same ideas from microscopic states, probabilities, and particle energies. This cheat sheet connects the two views so students can move between state variables, thermodynamic potentials, and partition functions.

It is useful for solving problems involving engines, phase changes, ideal gases, ensembles, and equilibrium conditions.

The core ideas are the laws of thermodynamics, the fundamental relation dU=TdSPdV+μdNdU = T\,dS - P\,dV + \mu\,dN, and the statistical definition of entropy S=kBlnΩS = k_B \ln \Omega. Free energies such as F=UTSF = U - TS and G=HTSG = H - TS identify natural variables and predict spontaneity under common constraints. In statistical mechanics, the partition function Z=ieβEiZ = \sum_i e^{-\beta E_i} contains the main thermodynamic information, including F=kBTlnZF = -k_B T \ln Z and E=lnZβ\langle E \rangle = -\frac{\partial \ln Z}{\partial \beta}.

Key Facts

  • The first law of thermodynamics is dU=δQδWdU = \delta Q - \delta W, and for pressure-volume work done by the system, \delta W = P\,dV.
  • For a reversible process, the entropy change is dS=δQrevTdS = \frac{\delta Q_{\mathrm{rev}}}{T}, and for an isolated system, ΔS0\Delta S \ge 0.
  • The fundamental thermodynamic identity for a simple compressible system is dU=TdSPdV+μdNdU = T\,dS - P\,dV + \mu\,dN.
  • The Helmholtz free energy is F=UTSF = U - TS, with differential dF=SdTPdV+μdNdF = -S\,dT - P\,dV + \mu\,dN.
  • The Gibbs free energy is G=HTS=U+PVTSG = H - TS = U + PV - TS, with differential dG=SdT+VdP+μdNdG = -S\,dT + V\,dP + \mu\,dN.
  • For the canonical ensemble, the partition function is Z=ieβEiZ = \sum_i e^{-\beta E_i} where β=1kBT\beta = \frac{1}{k_B T}.
  • Canonical ensemble averages follow F=kBTlnZF = -k_B T \ln Z, E=lnZβ\langle E \rangle = -\frac{\partial \ln Z}{\partial \beta}, and S=(FT)V,NS = -\left(\frac{\partial F}{\partial T}\right)_{V,N}.
  • One Maxwell relation from dFdF is (SV)T,N=(PT)V,N\left(\frac{\partial S}{\partial V}\right)_{T,N} = \left(\frac{\partial P}{\partial T}\right)_{V,N}.

Vocabulary

Entropy
Entropy is a state function measuring energy dispersal or microscopic multiplicity, with statistical form S=kBlnΩS = k_B \ln \Omega.
Temperature
Temperature is the thermodynamic variable defined by 1T=(SU)V,N\frac{1}{T} = \left(\frac{\partial S}{\partial U}\right)_{V,N}.
Partition function
The partition function Z=ieβEiZ = \sum_i e^{-\beta E_i} is a weighted sum over accessible energy states that determines equilibrium thermodynamic properties.
Canonical ensemble
The canonical ensemble describes systems with fixed NN, VV, and TT that exchange energy with a heat bath.
Chemical potential
Chemical potential is the change in internal energy when particles are added, given by μ=(UN)S,V\mu = \left(\frac{\partial U}{\partial N}\right)_{S,V}.
Free energy
Free energy is a thermodynamic potential, such as F=UTSF = U - TS or G=HTSG = H - TS, used to predict equilibrium under specified constraints.

Common Mistakes to Avoid

  • Confusing heat with temperature is wrong because heat QQ is energy transferred by a temperature difference, while temperature TT is a state variable.
  • Using dS=δQTdS = \frac{\delta Q}{T} for irreversible processes is wrong because the equality requires a reversible path, so use dS=δQrevTdS = \frac{\delta Q_{\mathrm{rev}}}{T} for entropy changes.
  • Forgetting natural variables of thermodynamic potentials is wrong because derivatives like S=(FT)V,NS = -\left(\frac{\partial F}{\partial T}\right)_{V,N} only hold when the correct variables are fixed.
  • Treating the partition function as just a normalization constant is wrong because ZZ also gives thermodynamic quantities through derivatives of lnZ\ln Z.
  • Dropping the sign in work conventions is wrong because dU=δQPdVdU = \delta Q - P\,dV assumes work is done by the system during expansion.

Practice Questions

  1. 1 A monatomic ideal gas has n=2.00moln = 2.00\,\mathrm{mol} and expands isothermally at T=300KT = 300\,\mathrm{K} from Vi=1.00LV_i = 1.00\,\mathrm{L} to Vf=4.00LV_f = 4.00\,\mathrm{L}. Calculate W=nRTln(VfVi)W = nRT\ln\left(\frac{V_f}{V_i}\right).
  2. 2 A two-level system has energies E0=0E_0 = 0 and E1=ϵE_1 = \epsilon. Write the canonical partition function ZZ and find the probability p1p_1 of occupying the excited state.
  3. 3 For a system with Helmholtz free energy F(T,V)=aT4VF(T,V) = -aT^4V, where aa is a constant, find S=(FT)VS = -\left(\frac{\partial F}{\partial T}\right)_V and P=(FV)TP = -\left(\frac{\partial F}{\partial V}\right)_T.
  4. 4 Explain why minimizing FF is the correct equilibrium criterion for fixed TT, VV, and NN, while minimizing GG is used for fixed TT, PP, and NN.