microeconomicsconsumer choiceindifference curvesmarginal rate of substitutionbudget lineutility maximization

Indifference Curves Explained: MRS, the Budget Line and the Consumer Optimum

·10 min read
Jude Wallis

Jude Wallis

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

An indifference curve shows every combination of two goods that gives a consumer the same level of satisfaction, and the absolute value of its slope is the marginal rate of substitution: MRS = MUx ÷ MUy, the units of good Y the consumer will give up for one more unit of good X. For standard preferences, the consumer's best affordable bundle sits where the budget line is tangent to the highest indifference curve it can reach, which is the point where MRS = Px ÷ Py.

This guide builds each piece from zero: the curve, three ways to calculate the MRS, the four properties, perfect substitutes and perfect complements, and a fully worked optimum.

What an indifference curve shows

Put good X on the horizontal axis and good Y on the vertical axis. Every point in the diagram is a bundle, such as 4 slices of pizza and 9 sodas. Now pick one bundle and ask the consumer which other bundles they like exactly as much. Connect all of those bundles and you have an indifference curve. Moving along it, the consumer gains some of one good and loses some of the other, but total satisfaction never changes.

A full set of these curves is called an indifference map, with one curve through every bundle. The numbers attached to the curves only rank them: a curve labeled 40 is preferred to one labeled 20, but it is not "twice as good." Economists call this ordinal utility.

The marginal rate of substitution (MRS)

The marginal rate of substitution is the rate at which a consumer is willing to trade Y for X while staying on the same indifference curve. It is the absolute value of the curve's slope.

### The MRS formula

There are three equivalent ways to write it:

  • From two points on the curve: MRS = -ΔY ÷ ΔX. The minus sign turns the negative slope into a positive number.
  • From marginal utilities: MRS = MUx ÷ MUy.
  • From a utility function: find MUx and MUy for the function, then divide. For U = X × Y, MUx = Y and MUy = X, so MRS = Y ÷ X.

The marginal utility version works because the curve holds utility constant. For a small move, giving up some Y loses MUy × (Y given up) of satisfaction, and gaining some X adds MUx × (X gained). Staying on the curve means those two amounts are equal, so (Y given up) ÷ (X gained) = MUx ÷ MUy.

### How to calculate MRS: two quick examples

From marginal utilities. One more sandwich adds 12 utils and one more coffee adds 4 utils. Put sandwiches on the X axis. MRS = 12 ÷ 4 = 3, so the consumer would give up 3 coffees for 1 more sandwich and feel no better or worse off. The MRS calculator runs this step for any pair of numbers.

From points on a curve. Every bundle below satisfies X × Y = 36, so all of them sit on the same indifference curve for the utility function U = X × Y.

BundleXYY given upX gainedMRS over the step
A136
B21818118
C312616
D49313
E66321.5
F94230.67
G123130.33

Check one row: from C to D, Y falls from 12 to 9 (3 given up) while X rises from 3 to 4 (1 gained), so MRS = 3 ÷ 1 = 3. From D to E, Y falls by 3 while X rises by 2, so MRS = 3 ÷ 2 = 1.5. The MRS keeps shrinking as X grows. That pattern is called a diminishing marginal rate of substitution: the more X you already have, the less Y you will give up to get another unit of it. At bundle E the point formula gives the same idea exactly: MRS = Y ÷ X = 6 ÷ 6 = 1.

The four properties of indifference curves

Standard indifference curves share four properties. Each one follows from a simple assumption about preferences.

1. They slope downward. If more of a good is always better, gaining X must be paid for by losing Y, or the consumer would be better off and could not be on the same curve.

2. Curves farther from the origin are preferred. A curve to the northeast contains bundles with more of both goods than some bundle on a lower curve, so it represents a higher satisfaction level.

3. They never cross. Suppose two curves crossed at bundle K. Every bundle on curve 1 would be as good as K, and K as good as every bundle on curve 2, so every bundle on either curve would be equally good. But away from K one curve lies above the other, so some bundle on the higher curve has more of both goods than a bundle on the lower curve and must be strictly better. Both statements cannot hold, so the curves never cross.

4. They are bowed toward the origin (convex). This is diminishing MRS on a graph. The curve is steep where the consumer has lots of Y and little X, and flat where the consumer has lots of X and little Y.

Perfect substitutes and perfect complements

These two special cases are the extremes of the bowed shape: neither curve bends smoothly, so the MRS does not diminish gradually (and the L-shape's flat and vertical arms do not slope downward). Their optimum is found without a tangency.

### Perfect substitutes

Goods are perfect substitutes when the consumer will always trade them at the same fixed rate. A utility function like U = 2X + Y says one unit of X is always worth exactly two units of Y. The indifference curves are straight lines and the MRS is constant at 2 everywhere. Brands the consumer cannot tell apart are the classic example; see substitute goods for the broader idea.

Because the MRS never changes, compare it with the price ratio:

  • If MRS > Px ÷ Py, X is worth more than it costs in units of Y, so buy only X.
  • If MRS < Px ÷ Py, buy only Y.
  • If they are equal, every bundle on the budget line is equally good.

Example. X is a large coffee and Y is a small coffee, and this consumer counts a large as exactly two smalls (MRS = 2). A large costs $5, a small costs $2, and the budget is $20. The price ratio is 5 ÷ 2 = 2.5, which is greater than 2, so a large costs 2.5 smalls but is only worth 2. Buy only smalls: 20 ÷ 2 = 10 smalls, utility = 2(0) + 10 = 10. Check the alternative: all larges gives 20 ÷ 5 = 4 larges, utility = 2(4) + 0 = 8. Ten beats 8, so the all-smalls corner is the optimum. This is called a corner solution.

### Perfect complements

Goods are perfect complements when they are only useful together in a fixed ratio, such as hot dogs and buns eaten one to one. The utility function is U = min(X, Y), and the indifference curves are L-shaped with the corner on the line Y = X. An extra hot dog without a bun adds nothing, so the curve is flat on one side of the corner and vertical on the other. See complementary goods for the everyday version.

The consumer always buys at the corner, so X = Y. Substitute into the budget: Px × X + Py × X = I, so X = I ÷ (Px + Py). With hot dogs at $1.50, buns at $0.50 and $12 to spend, X = 12 ÷ (1.50 + 0.50) = 12 ÷ 2 = 6. Check: 6 × $1.50 + 6 × $0.50 = $9 + $3 = $12. The consumer buys 6 of each.

Preference typeShape of the curveMRSWhere the optimum sits
StandardBowed toward the originFalls as X risesTangency, MRS = Px ÷ Py
Perfect substitutesStraight lineConstantA corner, unless MRS = Px ÷ Py
Perfect complementsL-shapeNot defined at the kinkThe kink, X and Y in the fixed ratio

The consumer optimum: indifference curve and budget line together

The indifference map shows what the consumer wants. The budget line shows what they can afford: Px × X + Py × Y = I, with slope -Px ÷ Py. The full mechanics of that line, including how income and price changes move it, are in the companion guide to the budget constraint.

The best affordable bundle is on the highest indifference curve that still touches the budget line. With standard bowed curves, that happens where the curve is tangent to the line, so the two slopes are equal:

MRS = Px ÷ Py

Read it as a comparison of two trade rates. The MRS is the rate at which the consumer is willing to swap Y for X. The price ratio is the rate at which the market lets them swap. If the consumer values X at 4 units of Y but the market charges only 2, buying more X makes them better off, and they keep doing so until their MRS falls to 2. Rearranged, MUx ÷ MUy = Px ÷ Py becomes MUx ÷ Px = MUy ÷ Py, which is exactly the utility-maximizing rule from marginal utility tables. The graph and the table are the same condition in two forms.

Worked example: finding the optimal bundle

Setup. Utility is U = X × Y. Income is I = $120. The price of X is Px = $4 and the price of Y is Py = $2.

Step 1: write the MRS. For U = X × Y, MUx = Y and MUy = X, so MRS = Y ÷ X. (Check MUx with numbers: at Y = 30, raising X from 15 to 16 raises utility from 450 to 480, an increase of 30, which equals Y.)

Step 2: write the price ratio. Px ÷ Py = 4 ÷ 2 = 2.

Step 3: set them equal. Y ÷ X = 2, so Y = 2X. This is the tangency condition.

Step 4: substitute into the budget line. 4X + 2Y = 120 becomes 4X + 2(2X) = 120, so 4X + 4X = 120, so 8X = 120, so X = 15.

Step 5: solve for Y. Y = 2X = 2 × 15 = 30.

Check 1, the budget. 4 × 15 + 2 × 30 = 60 + 60 = 120. The whole $120 is spent.

Check 2, the tangency. MRS = Y ÷ X = 30 ÷ 15 = 2, which equals Px ÷ Py = 2.

Utility at the optimum is 15 × 30 = 450. Now compare it with other bundles on the same budget line, where Y = 60 - 2X:

XY = 60 - 2XCost (4X + 2Y)Utility X × YMRS = Y ÷ XCompared with Px ÷ Py = 2
550$12025010MRS higher, buy more X
1040$1204004MRS higher, buy more X
1530$1204502Equal, optimum
2020$1204001MRS lower, buy more Y
2510$1202500.4MRS lower, buy more Y

Every row costs exactly $120, and none beats 450 utils. Left of the optimum, the MRS is above 2, so the consumer would pay more for X (in Y) than the market charges and should move right. Right of the optimum, the MRS is below 2 and they should move left. A last sanity check: with U = X × Y the consumer always splits spending evenly, and $60 ÷ $4 = 15 units of X while $60 ÷ $2 = 30 units of Y. Same answer.

You can drag a bundle along the budget line and watch the MRS converge on the price ratio in the consumer choice sandbox. When a price changes, the budget line moves and the optimum slides to a new curve; splitting that move into its two parts is covered in income effect vs substitution effect.

See it move

Consumer choice: the optimum where the budget line touches the highest indifference curve. Tap it to drag the curves, open the full version, or put it on your own site free, or turn it into a five-minute class activity.

Common mistakes

  • Flipping the MRS. With X on the horizontal axis, MRS = MUx ÷ MUy, not MUy ÷ MUx. It is measured in units of Y per unit of X.
  • Comparing the MRS with the wrong price ratio. The match is MRS = Px ÷ Py. Using Py ÷ Px sends the consumer the wrong direction.
  • Moving the indifference curves when a price changes. Prices and income move the budget line only. Preferences, and so the map, stay put. The indifference curve vs budget line comparison lays out which object each change moves.
  • Forcing a tangency on special cases. Perfect substitutes usually give a corner solution and perfect complements give a kink. Check the shape before writing MRS = Px ÷ Py.

For the full unit with practice questions, work through the consumer choice module.

Frequently asked questions

What is a corner solution in consumer choice?

A corner solution is an optimum where the consumer buys only one of the two goods. It happens with perfect substitutes when the MRS differs from the price ratio. If a large coffee is worth 2 smalls but costs 2.5 times as much, a $20 budget is best spent on 10 smalls (utility 10) rather than 4 larges (utility 8).

What is the MRS for U = XY?

For U = X × Y, the marginal utility of X is Y and the marginal utility of Y is X, so MRS = Y ÷ X. At the bundle (6, 6) the MRS is 1, and at (15, 30) it is 2, which matches the price ratio of $4 ÷ $2 at the optimum.

How do the indifference curve and budget line determine the optimal bundle?

The consumer picks the bundle on the highest indifference curve that still touches the budget line. With standard bowed curves this is the tangency point, where the MRS equals the price ratio Px ÷ Py. With U = X × Y, income of $120, Px = $4 and Py = $2, the optimum is 15 units of X and 30 units of Y.

What are the four properties of indifference curves?

Standard indifference curves slope downward, curves farther from the origin represent higher satisfaction, curves never cross, and they are bowed toward the origin. The bowed shape comes from a diminishing marginal rate of substitution: the more X a consumer already has, the less Y they will give up for another unit.

How do you find the optimal bundle with perfect complements?

With perfect complements the consumer buys at the kink, so the goods come in their fixed ratio. For one-to-one goods, set X = Y in the budget, which gives X = I ÷ (Px + Py). With $12, hot dogs at $1.50 and buns at $0.50, that is 12 ÷ 2 = 6 of each.

Use what you just learned

Turn this topic into a class activity

Build a short prediction activity with one student link, or browse the free interactive graphs you can place in a class site or LMS.

Studying on your own? Practice the topic for free.Start student practice

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. Read our privacy policy.

Teaching this topic? Every interactive graph on this site can be assigned as a graded activity with scores in your gradebook, and the classroom tools are free to pilot. No student accounts are needed for the graphs themselves.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, EconLearn. International Baccalaureate®, AQA, Pearson Edexcel, and the textbook titles named on this site belong to their owners, who are not affiliated with and do not endorse EconLearn.