AP Microeconomicsconsumer choiceutility maximizationmarginal utilityequimarginal principledemand curve

Utility Maximization: How Consumers Choose (The Equimarginal Rule)

·9 min
Jude Wallis

Jude Wallis

Founder of EconLearn · 2nd place internationally, Economics Olympiad (econolympiad.org)

A consumer maximizes utility by spending their limited budget so that the marginal utility per dollar is equal across every good they buy, a condition written as MUx/Px = MUy/Py. This is the utility-maximizing rule, also called the equimarginal principle, and it is the foundation of consumer choice on the AP Microeconomics exam. In plain terms, you keep shifting money toward whichever good gives you the most extra satisfaction per dollar until no good beats another, at which point your total utility is as high as your income allows.

Everything else in this topic (total utility, marginal utility, diminishing marginal utility, the budget constraint, and even the downward-sloping demand curve) exists to explain and support that one rule. Below, each piece is built up in the order the exam expects, with the numbers and reasoning you can reproduce on a free-response question.

Utility, total utility, and marginal utility

Utility is the satisfaction or benefit a person gets from consuming a good or service. Economists measure it in made-up units called utils so they can compare choices, though the exact number never matters, only the comparison does. Utility is subjective: the same slice of pizza is worth more utils to a hungry student than to a full one.

Total utility is the cumulative satisfaction from all units consumed. If your first slice of pizza gives 10 utils and the second gives 8, your total utility after two slices is 18.

Marginal utility is the additional satisfaction from consuming one more unit. It equals the change in total utility divided by the change in quantity, or in words, the extra utils the next unit adds. In the example above, the marginal utility of the second slice is 8 utils. Marginal utility is the number that drives decisions, because consumers always choose at the margin: they ask "is one more worth it?" not "is all of this worth it?"

The law of diminishing marginal utility

The law of diminishing marginal utility states that as you consume more units of a good, the marginal utility of each additional unit falls, holding everything else constant. The first cold drink on a hot day is intensely satisfying, the second less so, the third barely registers. This is one of the most reliable patterns in economics and it appears constantly on the AP exam.

Two points trip students up. First, total utility keeps rising as long as marginal utility is positive, so falling marginal utility does not mean falling total utility, it just means total utility rises more slowly. Second, total utility is maximized at the exact quantity where marginal utility hits zero. If you kept eating past that point, marginal utility would turn negative (the food makes you sick) and total utility would actually decline. You can practice reading these turning points on a curve in the interactive graph sandbox.

Here is a standard utility schedule you should be able to build and interpret:

Slices of pizzaMarginal utility (utils)Total utility (utils)
11010
2818
3624
4428
5230
6030
7-228

Notice marginal utility falls steadily (diminishing marginal utility), total utility peaks at 30 utils where marginal utility equals 0, and consuming a 7th slice reduces total utility.

The budget constraint

Consumers do not have unlimited money, so utility maximization always happens under a budget constraint: the limited income available to spend across all goods. If you have 20 dollars and pizza costs 4 dollars while soda costs 2 dollars, every combination you can afford must satisfy the equation 4(pizza quantity) + 2(soda quantity) is less than or equal to 20. The budget constraint is what forces a genuine choice, because without scarcity you would simply consume every good until its marginal utility reached zero.

This is why the exam pairs utility with price. A good is not "worth buying" based on its utils alone, but on its utils relative to its price. That ratio, marginal utility divided by price, is the single most important quantity in the whole topic.

The utility-maximizing rule: MU per dollar

The marginal utility per dollar for a good is its marginal utility divided by its price (MU/P). It answers the question that actually matters under a budget: how much extra satisfaction do I get for each dollar I spend here?

The utility-maximizing rule, or equimarginal principle, says a consumer maximizes total utility when the marginal utility per dollar is equal across all goods, and the entire budget is spent:

MUx / Px = MUy / Py = MUz / Pz

Read this carefully, because the most common mistake is to set the marginal utilities themselves equal. The rule sets the marginal utilities per dollar equal. A good with a high price needs a proportionally higher marginal utility to be worth the same as a cheaper good.

Why does equalizing the ratios maximize utility? Suppose the ratios are not equal, say coffee gives 12 utils for 3 dollars (4 utils per dollar) while a snack gives 10 utils for 2 dollars (5 utils per dollar). Every dollar moved from coffee to snacks trades away 4 utils and buys 5 utils, a net gain. A rational consumer keeps reallocating toward the snack. But as they buy more snacks, diminishing marginal utility pulls the snack's MU (and its MU per dollar) down, while buying less coffee pushes coffee's MU per dollar up. The consumer stops only when the two ratios meet. At that point no reallocation can raise total utility, which is the definition of consumer equilibrium.

A worked utility-maximization problem

Suppose you have 12 dollars. Burritos cost 3 dollars each and juices cost 1 dollar each. The marginal utilities are:

UnitBurrito MUBurrito MU/$Juice MUJuice MU/$
130101212
22481010
318688
412466

To maximize utility, buy in order of highest MU per dollar, respecting the budget. The best buy is the 1st juice (12 per dollar), then the 1st burrito and 2nd juice (both 10), then the 2nd burrito and 3rd juice (both 8). Spending check: 2 burritos cost 6 dollars and 3 juices cost 3 dollars, for 9 dollars. With 3 dollars left, the next-best single purchase that exactly exhausts the budget is the 3rd burrito, which costs 3 dollars and has an MU/$ of 6. Buying it gives the final bundle of 3 burritos and 3 juices for the full 12 dollars, with total utility of 72 utils from burritos plus 30 from juices, or 102 utils. That is the highest total utility any affordable bundle reaches.

Notice the practical rule at work: you buy units in descending order of MU per dollar until the budget is spent. With indivisible goods like a 3-dollar burrito, the marginal utilities per dollar cannot always be made exactly equal at the optimum. Here the last burrito bought sits at MU/$ of 6 while the last juice bought sits at MU/$ of 8, so the equimarginal condition holds only approximately. The lumpiness of the burrito is what prevents a perfect tie, which is normal for real-world, whole-unit choices. You can rehearse this ratio logic with the glossary definitions open beside you.

How utility maximization derives the demand curve

The demand curve is not a separate idea you memorize, it is a direct consequence of the utility-maximizing rule combined with diminishing marginal utility. This connection is a favorite of exam writers.

Start a consumer at equilibrium, where MUx/Px = MUy/Py. Now let the price of good X fall. Instantly MUx/Px rises above MUy/Py, because the denominator shrank. Good X is now the best deal per dollar, so the consumer buys more of it. As they consume more X, diminishing marginal utility drives MUx back down until the ratios are equal again at the new, larger quantity of X. The result is a lower price leading to a higher quantity demanded, which is precisely the law of demand and the reason the demand curve slopes downward.

You can see the same logic in the two effects behind the law of demand. The substitution effect is the reallocation just described, moving toward the good that became relatively cheaper. The income effect is that a lower price frees up purchasing power, changing how much the consumer can afford overall. For a normal good, both effects push quantity demanded up as price falls. For an inferior good, the income effect works in the opposite direction to the substitution effect, because higher real income leads the consumer to buy less of it, and in the rare Giffen case that negative income effect can dominate and produce an upward-sloping demand curve. For the standard AP goods, though, both effects reinforce each other and quantity demanded rises as price falls. To watch price and quantity move together on a live graph, open the supply and demand sandbox, and to quantify how strongly quantity responds, use the price elasticity of demand calculator.

Common exam mistakes to avoid

  • Setting marginal utilities equal instead of marginal utilities per dollar. Always divide by price first.
  • Confusing total and marginal utility. Total utility can rise while marginal utility falls, and total utility peaks where marginal utility equals zero.
  • Forgetting the budget must be fully spent. Equal ratios alone are not enough if money is left over.
  • Assuming the good with the highest marginal utility is always the best buy. The best buy is the highest marginal utility per dollar.
  • Treating the demand curve as unrelated to utility. It is derived from utility maximization plus diminishing marginal utility.

Where this fits in AP Micro

Consumer choice sits early in the course, right after scarcity and supply-and-demand basics, and it quietly underpins the entire demand side of every market model you meet later, from perfect competition to monopoly. Getting the equimarginal rule solid now pays off across the whole exam. For the full sequence of microeconomics topics and how they connect, work through the micro course hub, and drill the underlying vocabulary in the glossary. When you are ready to test the rule under changing prices, the interactive sandbox lets you shift curves and watch consumer choice respond in real time.

Frequently asked questions

What is the utility-maximizing rule in economics?

The utility-maximizing rule states that a consumer maximizes total utility by spending their entire budget so the marginal utility per dollar is equal across all goods, written MUx/Px = MUy/Py. At this point, no reallocation of spending can raise total satisfaction. It is also called the equimarginal principle or consumer equilibrium.

What is the difference between total utility and marginal utility?

Total utility is the cumulative satisfaction from all units consumed, while marginal utility is the extra satisfaction from one more unit. Total utility keeps rising as long as marginal utility is positive, and it peaks at the quantity where marginal utility equals zero. Marginal utility falls as you consume more, which is the law of diminishing marginal utility.

Why does the demand curve slope downward according to utility theory?

When the price of a good falls, its marginal utility per dollar (MU/P) rises above other goods, so a consumer buys more of it. Diminishing marginal utility then pulls that ratio back down as consumption grows, settling at a larger quantity. Lower price leading to higher quantity demanded is exactly the downward-sloping demand curve, derived directly from utility maximization for a normal good.

Do you set marginal utilities equal or marginal utility per dollar equal?

You set marginal utility per dollar equal, not the marginal utilities themselves. The correct condition is MUx/Px = MUy/Py, which divides each good's marginal utility by its price. Setting raw marginal utilities equal is the most common AP exam mistake because it ignores that goods have different prices.

How do you solve a utility-maximization problem on the AP Micro exam?

Compute marginal utility per dollar (MU/P) for each unit of every good, then buy units in descending order of MU/P until your budget is fully spent. Always divide by price first and confirm no money is left over. With indivisible goods, MU/P may only be approximately equal at the optimum, so the deciding check is that the bundle maximizes total utility while using all income.

Ready to study?

EconLearn has interactive graphs, 398 practice questions, and flashcards for every AP Economics topic.

Start Learning Free

Get new study guides in your inbox

Occasional emails with new posts, study tips, and exam-season reminders. Free, no spam.

No spam. Unsubscribe anytime.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, EconLearn.