where δQ is the infinitesimal heat flow into the system, and δW is the infinitesimal work done by the system, μ i is the chemical potential of particle type i and N i is the number of the type i particles. (Neither δQ nor δW are exact differentials, i.e., they are thermodynamic process path-dependent. Small changes in these variables are, therefore, represented with δ rather than d.)