\documentclass{article}
\usepackage{amsmath}
\title{Complete Statistical Mechanics: Grand Canonical Ensemble}
\begin{document}
\maketitle

\section{Grand Canonical Ensemble}

The grand canonical ensemble fixes $T,V,\mu$ and lets particle number
fluctuate. States are weighted by

$$
e^{-\beta(E_i-\mu N_i)}.
$$

\end{document}
