is the number of particles of type i in the system .
is the number of particles of type i in the system and is the chemical potential for an i-type particle .