Some remarks on the chemical potential of a system in an external field