“Ensembles and free energy” is a chapter of Physics and statistical mechanics.