Marginal Functions in Economics