Potential theory of adsorption