# Gibbs phase rule

Until now we have not considered any constraint on the number of phases that can coexist in a system at given values of and . However such constraints exist and are given by the *Gibbs phase rule*, which we now derive.

Let us consider a system composed of different components and with coexisting phases (which we will label with roman numbers , etc.); from what we have previously stated and must be common to all phases, and all their chemical potentials must be equal. However, in order to specify the composition of the system we need only variables, namely the ratios of the concentrations of the various components with respect to the concentration of a previously chosen component. Therefore the chemical potentials will depend on , and relative concentrations , not necessarily common to all phases. We therefore have:

We therefore have variables and equations; if we want a solution to exist we must have at least as many variables as equations, namely . This means that:

*triple point*that we have already encountered.

Equivalently, we can say that in general the number of independent variables with which we can choose to describe the system at the coexistence of phases is:

*thermodynamic degrees of freedom*.