This can be illustrated with a diagram. Initially the consumer has the choice between spending their income on either commodity Y or commodity X as defined by line segment MN (where M = total available income divided by the price of commodity Y, and N = total available income divided by the price of commodity X). The line MN is known as the consumer's budget constraint. Given the consumer's preferences, as expressed in the indifference curve I0, the optimum mix of purchases for this individual is point A.