Utility functions and marginal rate of substitution