Consumers and Choice

Finding a Consumer's Best Bundle With Tangency

A step-by-step guide to the tangency condition, with a fully worked example and the corner and kink cases where the usual rule breaks down.

Key takeaways

  • With smooth, bowed preferences and some of each good bought, the best bundle satisfies MRS = px / py and uses the whole budget.
  • The same condition says that the last dollar spent on each good adds equal utility.
  • Solving it takes two equations: the tangency condition and the budget line.
  • Corner solutions, kinked curves and non-convex tastes need a direct comparison, because the tangency rule can fail or mislead.

A consumer's best bundle is the affordable combination of goods that ranks highest in their preferences. In the standard two-good case you find it where an indifference curve just touches the budget line without crossing it. That point is called a tangency.

At the tangency, the rate at which you are willing to swap one good for the other equals the rate at which the market lets you swap them. If the two rates differ, some affordable trade would still make you better off.

The two ingredients

The first ingredient is the budget constraint, px · x + py · y = M, where x and y are quantities, px and py are prices and M is income. It records what is possible.

The second is the family of indifference curves, each joining bundles the person likes equally. It records what is wanted. The slope of a curve, taken as a positive number, is the marginal rate of substitution (MRS): the most y the person would give up for one more unit of x.

We assume that more of each good is better. Then the person will spend the whole budget, so the best bundle lies on the budget line and not inside it.

Why the two slopes must match

Suppose the price ratio px / py is 2, meaning one more x costs two units of y. And suppose at your current bundle your MRS is 6: you would gladly give up as many as six y for one x.

Then buy an x. It costs only two y, less than the six you were prepared to give. You end up better off. As you keep trading, x becomes less precious to you and y more so, and your MRS falls.

If your MRS were below 2, you would do the reverse and sell some x for y. Only when MRS = 2 does no small trade help.

Moving along the budget line toward the best bundle
1 Pick an affordable bundle Start anywhere on the budget line 2 Compare two rates Your trade-off rate against the price ratio 3 Trade toward the gain MRS above the ratio: buy more x. Below it: buy less x 4 Stop when they match No small move along the line can raise satisfaction Pick an affordable bundle Start anywhere on the budget line 1 Compare two rates Your trade-off rate against the price ratio 2 Trade toward the gain MRS above the ratio: buy more x. Below it: buy less x 3 Stop when they match No small move along the line can raise satisfaction 4

The money version of the rule

Because the MRS equals the ratio of marginal utilities, MUx / MUy, the condition can be rearranged.

MUx / MUy = px / py       (tangency: MRS equals the price ratio)
MUx / px = MUy / py       (rearranged: equal utility per dollar)

Marginal utility is the extra utility from a little more of a good. The second line says that your last dollar works equally hard in both places. This is the same logic found in diminishing marginal utility, where you shift spending toward whatever gives more per dollar.

With more than two goods, the equality holds across every good you buy a positive amount of.

A worked example

Suppose a hypothetical consumer has utility U = x · y, faces px = $4 and py = $2, and has M = $80.

For this utility function, MUx = y and MUy = x, so the MRS is y / x. (These come from taking the derivative of x · y with respect to each good in turn.)

y / x = 4 / 2             (set MRS equal to the price ratio)
y = 2x                    (solve for y)
4x + 2y = 80              (budget line)
4x + 2(2x) = 80           (substitute y = 2x)
8x = 80, so x = 10        (solve)
y = 20                    (from y = 2x)
U = 10 × 20 = 200         (satisfaction level reached)

Check it against neighbors on the same budget line.

x y Spending U = x · y MRS = y / x
5 30 $80 150 6.0
8 24 $80 192 3.0
10 20 $80 200 2.0
12 16 $80 192 1.33
15 10 $80 150 0.67

Utility peaks at x = 10, and only there does the MRS equal 2. Spending on each good is $40, half the budget.

From one bundle to a demand curve

Change one price and solve again. Let px fall to $2 with everything else fixed. Now the tangency condition is y / x = 1, so y = x. The budget gives 2x + 2x = 80, so x = 20 and y = 20.

The quantity of x rose from 10 to 20 as its price fell from $4 to $2. Repeating this for many prices traces out the person's demand curve for x. Doing it for many people and summing the quantities at each price gives market demand.

For this particular utility function, x = M / (2 · px). Notice that the price of y does not appear. That is a special property of the chosen form, not a general law.

What happens when income rises

Keep prices at $4 and $2 and raise income from $80 to $120. The tangency condition is unchanged, because it involves only tastes and prices: y = 2x. Only the budget line differs.

4x + 2(2x) = 120          (new budget with y = 2x)
8x = 120, so x = 15
y = 30
U = 15 × 30 = 450

Both quantities rose by half, in step with income. The best bundles for different incomes line up along the ray y = 2x. Economists call such a path the income-consumption curve, and plotting the quantity of one good against income gives an Engel curve.

A straight ray is again a feature of this utility function. With other tastes the path can bend. Spending on food, for example, tends to grow more slowly than income. It can even turn backward, if a household buys less of some cheap staple as it grows richer.

When the best choice is at a corner

A corner solution is a best bundle that includes none of one good. Most people buy zero units of most things, so corners are common.

Suppose U = x + y, with the same prices of $4 and $2. The MRS is 1 everywhere: one x always replaces one y. The market charges two y for one x. Since the MRS never equals 2, there is no tangency.

Compare utility per dollar: x gives 1 / 4 = 0.25 and y gives 1 / 2 = 0.5. Put the whole budget into y, buying 40 units for a utility of 40. Spending it all on x would give only 20.

At a corner with x = 0, the correct condition is an inequality: MRS ≤ px / py. The person would like to sell more x for y but has none left to give up.

When curves have kinks or bend the wrong way

If two goods must be used in a fixed ratio, such as one left shoe with one right shoe, each indifference curve is a right angle. The MRS is not defined at the corner of that angle. The best bundle is found by buying in the fixed ratio until the money runs out. Perfect substitutes and complements are worked through separately.

Tastes can also fail to be convex. Take U = x² + y², which rewards specializing. With prices of $4 and $2, setting MRS = x / y equal to 2 gives x = 16 and y = 8, and U = 320. But buying only y gives U = 40² = 1600. Here the tangency found the worst point on the line, not the best. Buying only x gives 20² = 400, which also beats it.

A kinked budget line, created by a voucher or a quantity discount, can likewise place the best bundle at the kink without any matching of slopes.

A reliable procedure

  1. Write the budget line, including any kinks or limits.
  2. Check the shape of preferences: smooth and bowed, straight, right-angled or something else.
  3. If smooth and bowed, solve MRS = px / py together with the budget line.
  4. If the solution has a negative quantity, move to the corner.
  5. Compare utility at the candidate, the corners and any kinks.
  6. Confirm that the winning bundle is affordable.

Students using calculus can reach the same condition with a Lagrange multiplier, which turns out to measure the extra utility from one more dollar of income. The multiplier as a shadow price explains that reading.

Errors that cost marks and mislead

Setting the MRS equal to the price ratio upside down is the most frequent slip. If x is on the horizontal axis, both ratios put x's term on top: MUx / MUy and px / py. A quick test is that a higher price of x should lower the quantity of x in your answer.

Another slip is stopping after the tangency condition. The equation y = 2x describes a whole ray of points, most of them unaffordable or wasteful. The budget line picks the one that fits your income.

A third is comparing utility numbers across different utility functions. The value 200 in the example means nothing on its own. The functions x · y and √(x · y) rank bundles identically and lead to the same purchases, although they report different numbers.

What the model claims

The tangency condition does not say that shoppers solve equations. It says that someone with consistent preferences who has run out of worthwhile adjustments will behave as if the condition holds.

It also implies something about markets. When many people face the same prices and each buys both goods, their trade-off rates for the last unit all equal the same price ratio, although their quantities differ widely. That alignment is one reason economists view prices as a coordinating device. How closely real shoppers reach it depends on information, attention and time, all of which can be scarce.

Written for 4Economics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 26 articles in Consumers and Choice →

Latest news on this topic