Utility maximization with indifference curves