Phase space, the ergodic hypothesis and ensemble theory. Canonical and grand canonical ensembles. Partition functions. Ideal quantum gases. Classical gases and the liquid-vapour transition. Introduction to techniques for interacting systems, including Monte Carlo simulations. PREREQUISITES