In a single solute solution, the (molality based) osmotic coefficient and the solute activity coefficient  are related to the excess Gibbs free energy  by the relations:
and there is thus a differential relationship between them (temperature and pressure held constant):