Revenue functions and marginal revenue