we may then replace the N 1 and N 2 variables with a single variable x = N 1 / N 2 and minimize with respect to this unconstrained variable. There may be any number of unconstrained variables depending on the number of atoms in the mixture. For systems with multiple sub-volumes, there may be additional volume constraints as well.