Difficulty: Intermediate | Prerequisites: Basic calculus (partial derivatives), intro to consumer theory, indifference curves.
This material sits at the heart of intermediate microeconomics. You are learning how a rational consumer allocates a fixed budget across two goods to maximise utility. The three utility function types here (Cobb-Douglas, perfect complements, perfect substitutes) each require a different solution method, and exams routinely test whether you can identify which method to use and execute it. If you are coming in cold, make sure you are comfortable with partial derivatives and the idea of an indifference curve before diving in.
Consumer choice problems ask you to find the bundle of two goods that maximises utility subject to a budget constraint. Cobb-Douglas utility gives smooth, convex indifference curves and an interior solution found by setting MRS equal to the price ratio. Perfect complements (Leontief) have L-shaped indifference curves where you set the arguments of the min function equal, and perfect substitutes have linear indifference curves where you compare the MRS to the price ratio and typically get a corner solution.
Marginal utility (MU)
The additional utility gained from consuming one more unit of a good, holding everything else constant. Formally, the partial derivative of the utility function with respect to that good. Think of it as: how much happier does one more notebook make you?
Marginal rate of substitution (MRS)
The rate at which a consumer is willing to trade one good for another while staying on the same indifference curve. Calculated as MU₁ / MU₂. In simple terms, this measures how many units of good 2 you would give up for one more unit of good 1.
Budget constraint
The equation P₁X₁ + P₂X₂ = m, where P₁ and P₂ are prices and m is income. It describes all the bundles a consumer can just afford. Think of it as: the line showing every combination of two goods that exactly spends your budget.
Price ratio (PR)
The ratio of the price of good 1 to the price of good 2, written P₁/P₂. It represents the rate at which the market allows you to trade one good for the other. In simple terms, it is the slope of the budget line.
Interior solution
An optimal bundle where the consumer buys a positive quantity of both goods. This is the typical outcome with Cobb-Douglas preferences, found where the indifference curve is tangent to the budget line.
Corner solution
An optimal bundle where the consumer buys zero of one good and spends the entire budget on the other. This commonly arises with perfect-substitute preferences when the MRS does not equal the price ratio.
Cobb-Douglas utility function
A utility function of the form U(X, Y) = X^a · Y^b, producing smooth, convex indifference curves. Think of it as: the "standard" well-behaved utility function where you always buy some of both goods.
Leontief (perfect complements) utility function
A utility function of the form U(X, Y) = min{aX, bY}, producing L-shaped indifference curves. The consumer always consumes goods in a fixed ratio. Think of it as: left shoes and right shoes, where extras of just one are worthless.
Perfect substitutes utility function
A utility function of the form U(X, Y) = aX + bY, producing straight-line indifference curves. The consumer views the goods as interchangeable at a constant rate. Think of it as: two brands of bottled water that taste the same to you.
Monotonic transformation
A transformation of a utility function (such as adding a constant or taking a log) that preserves the ranking of all bundles. Adding 4 to a Leontief function, for example, shifts utility levels up but does not change which bundle is preferred. In simple terms, it relabels the indifference curves without moving them.
Cobb-Douglas is the workhorse utility function of intermediate micro. The indifference curves are smooth and convex, so the optimum is always an interior solution where the indifference curve is tangent to the budget line.
The method, step by step
Compute the marginal utility of each good by taking partial derivatives of U(X, Y).
Form the MRS as MU_X / MU_Y.
Set MRS = P_X / P_Y. This is the tangency (slope) condition and gives you your first equation.
Rearrange to express one variable in terms of the other.
Substitute into the budget constraint P_X · X + P_Y · Y = m. This gives you your second equation and lets you solve for both optimal quantities.
Worked example: Nathan's notebooks and paper
Nathan's utility is U(N, L) = 6N^(1/3) · L^(2/3). Notebooks cost $2.50, paper costs $5.00, and his budget is $30.
MU_N = 2N^(-2/3) · L^(2/3)
MU_L = 4N^(1/3) · L^(-1/3)
MRS = MU_N / MU_L = 2L / 4N = L / 2N
Set MRS = P_N / P_L: L / 2N = 2.5 / 5 = 1/2
Solve: L = N (the slope condition)
Substitute into budget: 2.5N + 5(N) = 30, so 7.5N = 30, giving N* = 4
Back-substitute: L* = N* = 4
The optimal bundle is N* = 4 notebooks and L* = 4 stacks of paper.
What the graph looks like
The budget line runs from (0, 6) on the L-axis to (12, 0) on the N-axis. The indifference curve is a smooth, downward-sloping, convex curve that just touches (is tangent to) the budget line at the point (4, 4). The optimum is labelled O at this tangency point.
When a utility function takes the form U = min{aX, bY}, the consumer wants goods in a fixed ratio. You do not use first-order conditions here because the utility function is not differentiable at the kink.
The method, step by step
Identify the arguments inside the min function (e.g. 2C and 3I).
Set them equal: aX = bY. This gives the optimal consumption ratio, your first equation.
Rearrange to express one variable in terms of the other.
Substitute into the budget constraint to solve for both quantities.
If the utility function includes a constant (e.g. min{2C, 3I} + 4), ignore it. Adding a constant is a monotonic transformation that does not affect the optimal bundle.
Worked example: Annie's churros and ice cream
Annie's utility is U(C, I) = min{2C, 3I} + 4. Churros cost $1, ice cream costs $1.50, and her budget is $18.
The +4 is a monotonic transformation, so set 2C = 3I.
Rearrange: C = 3I / 2.
Substitute into budget: 1(3I/2) + 1.5I = 18, so 3I = 18, giving I* = 6.
Back-substitute: C* = 3(6)/2 = 9.
The optimal bundle is C* = 9 churros and I* = 6 ice creams.
What the graph looks like
The indifference curve is L-shaped with the kink along the line 2C = 3I. The budget line runs from (0, 12) on the I-axis to (18, 0) on the C-axis. The optimum is at the kink of the indifference curve, right where it meets the budget line, at (9, 6).
When utility is linear, U = aX + bY, the indifference curves are straight lines. The tangency method does not work here because two straight lines (the IC and the budget line) either never touch, overlap entirely, or cross, but they do not produce a single tangency point.
Instead, you compare the MRS to the price ratio. This is sometimes called the "Goldilocks" approach.
The method, step by step
Compute MRS = MU_X / MU_Y = a / b. Note this is a constant (no variables).
Compute the price ratio PR = P_X / P_Y.
Compare them:
If MRS > PR: the consumer values good X more than the market does. Buy only X (corner solution at X-axis).
If MRS < PR: the consumer values good X less than the market does. Buy only Y (corner solution at Y-axis).
If MRS = PR: any bundle on the budget line is optimal (the IC and budget line overlap).
Set the quantity of the excluded good to zero and solve the budget constraint for the other.
Why the "second argument" rule works
When MRS < PR, the consumer gets more utility per pound spent on the second argument of the utility function than the first. Since the goods are perfect substitutes, there is no diminishing marginal utility to pull you back toward a mix. You go all-in on the better deal.
Worked example: Aidan's coffee
Aidan's utility is U(A, M) = A + 2M. Americanos cost $4, macchiatos cost $6, and his budget is $12.
MRS = MU_A / MU_M = 1 / 2
PR = P_A / P_M = 4 / 6 = 2/3
Since 1/2 < 2/3, MRS < PR. Aidan values americanos less than the market does relative to macchiatos.
Corner solution: A* = 0. Spend everything on macchiatos.
Budget: 4(0) + 6M = 12, so M* = 2.
The optimal bundle is A* = 0 americanos and M* = 2 macchiatos.
What the graph looks like
The budget line runs from (0, 2) on the M-axis to (3, 0) on the A-axis. The indifference curve is a straight line, steeper than the budget line (because MRS < PR means the IC is flatter, hitting the budget line at the M-axis intercept). The optimum is the corner point O at (0, 2), where Aidan buys only macchiatos.
Utility functions from this problem set
U(N, L) = 6N^{\frac{1}{3}} L^{\frac{2}{3}} \quad \text{(Cobb-Douglas)}U(C, I) = \min\{2C,\, 3I\} + 4 \quad \text{(Leontief / perfect complements)}U(A, M) = A + 2M \quad \text{(perfect substitutes)}General tangency condition (Cobb-Douglas)
MRS_{X,Y} = \frac{MU_X}{MU_Y} = \frac{P_X}{P_Y}General budget constraint
P_X \cdot X + P_Y \cdot Y = mLeontief optimal ratio condition
For U = min{aX, bY}, set aX = bY, which gives X = (b/a) · Y.
Perfect substitutes decision rule
Compare MRS = a/b to PR = P_X / P_Y. If MRS < PR, buy only good Y. If MRS > PR, buy only good X. If MRS = PR, any bundle on the budget line is optimal.
Graphical summary
Cobb-Douglas: smooth, convex IC tangent to the budget line at the interior optimum.
Leontief: L-shaped IC with the kink sitting on the budget line.
Perfect substitutes: straight-line IC meeting the budget line at a corner (axis intercept).
Students often try to take partial derivatives of a Leontief (min) function and set MRS = price ratio. This does not work because the min function is not differentiable at the kink. Use the equal-arguments method instead.
Students sometimes forget that adding a constant to a utility function (like the +4 in Annie's problem) does not change the optimal bundle. It is a monotonic transformation. You can ignore it when solving.
With perfect substitutes, students frequently assume there must be an interior solution. There almost never is. Unless MRS happens to equal the price ratio exactly, the answer is a corner solution where one good is zero.
When computing MRS for Cobb-Douglas, students sometimes flip the ratio, dividing MU_Y by MU_X instead of MU_X by MU_Y. The MRS must match the order of the subscripts: MRS_{X,Y} = MU_X / MU_Y, and it equals P_X / P_Y.
⚠️ You must identify the utility function type before choosing your solution method. This is often the first thing tested: Cobb-Douglas, Leontief, or perfect substitutes each require a different approach.
⚠️ For Cobb-Douglas, the tangency condition (MRS = price ratio) plus the budget constraint form a system of two equations in two unknowns. You need both. Forgetting to substitute into the budget constraint is a common way to lose marks.
⚠️ For perfect substitutes, know the three cases: MRS > PR (buy only X), MRS < PR (buy only Y), MRS = PR (any bundle on the budget line works). Exams often test all three by changing prices.
⚠️ Graphing questions are worth easy marks. For Cobb-Douglas, show tangency. For Leontief, show the kink on the budget line. For perfect substitutes, show the corner. Always label axes, intercepts, the optimum point, the IC, and the budget line.
⚠️ Monotonic transformations (adding a constant, multiplying by a positive number, taking logs) do not change the optimal bundle. If you see one on an exam, note it and move on.
Real-world application
These three models capture genuinely different consumer behaviours. Cobb-Douglas describes a shopper who always buys some of everything (groceries, for instance). Perfect complements describe things consumed in fixed proportions (a phone and a phone case, coffee and a filter). Perfect substitutes describe goods where only price matters (generic vs. brand-name paracetamol).
True or False: You can find the optimal bundle for a Leontief utility function by setting MRS equal to the price ratio. False. The min function is not differentiable at the kink. Set the arguments of the min equal instead.
Fill in the blank: For perfect substitutes, if MRS < PR, the consumer buys only the ______ argument of the utility function. Second.
True or False: Adding a constant to a utility function changes the optimal consumption bundle. False. It is a monotonic transformation.
Fill in the blank: For Cobb-Douglas preferences, the two equations needed to solve for the optimal bundle are the ______ condition and the ______ constraint. Tangency (slope); budget.
True or False: A corner solution means the consumer buys zero of one good. True.
Q: A consumer has utility U(X, Y) = X^(1/4) · Y^(3/4), with P_X = 3, P_Y = 9, and income m = 36. Find the optimal bundle.
A: MU_X = (1/4)X^(-3/4)Y^(3/4), MU_Y = (3/4)X^(1/4)Y^(-1/4). MRS = Y/3X. Set Y/3X = 3/9 = 1/3, so Y = X. Substitute into budget: 3X + 9X = 36, so X* = 3, Y* = 3.
Q: A consumer has utility U(X, Y) = min{4X, 2Y}. Prices are P_X = 5, P_Y = 10, and income is m = 50. Find the optimal bundle.
A: Set 4X = 2Y, so Y = 2X. Substitute into budget: 5X + 10(2X) = 50, so 25X = 50, giving X* = 2, Y* = 4.
Q: A consumer has utility U(X, Y) = 3X + Y. Prices are P_X = 6, P_Y = 4, and income is m = 24. Find the optimal bundle.
A: MRS = 3/1 = 3. PR = 6/4 = 3/2. Since MRS (3) > PR (3/2), the consumer values X more than the market does. Corner solution: buy only X. Y* = 0, and 6X = 24, so X* = 4.
Q: Suppose a utility function changes from U = min{2C, 3I} to U = 5 · min{2C, 3I} + 10. Does the optimal bundle change?
A: No. Multiplying by a positive constant and adding a constant are both monotonic transformations. The ranking of bundles is preserved, so the optimal bundle is the same.
Q: In the perfect substitutes case, when does the consumer have multiple optimal bundles?
A: When MRS = PR exactly. In that case, the indifference curve and the budget line overlap, and every bundle on the budget line gives the same utility.
This material connects directly to demand theory: once you can solve for optimal bundles at given prices and income, you can derive individual demand curves by varying one price and tracing how the optimal quantity changes. That is the next step in most intermediate micro courses.
The tangency condition (MRS = price ratio) reappears in producer theory as MRTS = wage/rental rate, so mastering it here pays off when you study cost minimisation and input choice for firms.
The distinction between interior and corner solutions becomes important again in trade theory (comparative advantage) and in labour economics (the decision of whether to participate in the labour market at all).
Consumer choice, utility maximisation, utility maximization, optimal bundle, budget constraint, marginal rate of substitution, MRS, price ratio, tangency condition, slope condition, Cobb-Douglas, Leontief, perfect complements, perfect substitutes, interior solution, corner solution, indifference curve, budget line, first-order conditions, monotonic transformation, ECN 312, intermediate microeconomics, intermediate microeconomic theory, consumer theory, constrained optimisation, constrained optimization, two-good model, Lagrangian (alternative method), demand derivation.