It is then possible to minimize the grand potential with respect to the local density, which results in a mean-field expression for local chemical potential. The theory is completed by specifying the chemical potential for a second (possibly bulk) phase. In an equilibrium process, μ I =μ II.