Tutorials › VEE Economics › Solving Individual Demand From Utility and Budget Data

VEE Economics · Demand from Consumer Choice · Tutorial 196 of 998

Solving Individual Demand From Utility and Budget Data

Translate utility and budget data into individual demand by checking interior, corner, and kink solutions under the stated consumer-choice model.

Intermediate 11 min read

What You'll Learn

  • Set up utility maximization with nonnegative quantities and a binding budget when preferences are locally nonsatiated.
  • Derive Cobb-Douglas demand from the marginal-utility conditions and expenditure shares.
  • Check whether a smooth optimum is interior or lies at a boundary.
  • Obtain corner and tie solutions for linear utility by comparing utility per dollar.
  • Solve fixed-proportion demand when the optimum lies at a kink.
  • Verify every candidate bundle against the budget and the utility objective.

From Utility and Budget Data to Individual Demand

A demand equation describes the quantity a consumer chooses at specified prices and income. To solve for it, translate the utility function and budget into an optimization problem, determine whether the best bundle is interior or on a boundary, and verify that the resulting quantities are feasible. This process matters because a tangency calculation works only under appropriate conditions; some preferences instead produce a corner bundle or an optimum at a kink.

Throughout, let \(x\) and \(y\) be quantities of two goods, let \(p_x>0\) and \(p_y>0\) be their prices, and let \(m>0\) be the consumer’s income available for these purchases. Assume quantities are divisible and nonnegative, and the consumer chooses a feasible bundle to maximize the stated utility function. The budget set is \(p_xx+p_yy\leq m\). When preferences are strictly increasing in both goods, the budget is exhausted at an optimum, so the constraint becomes \(p_xx+p_yy=m\). If preferences are not strictly increasing, or have satiation, that conclusion must be checked rather than assumed.

Definition: Individual demand at given prices and income is a utility-maximizing feasible bundle \((x^*,y^*)\). A demand solution must satisfy the budget constraint and must yield at least as much utility as every other feasible bundle. A formula obtained from first-order conditions is only a candidate until feasibility, boundary conditions, and optimality have been checked.

Smooth Preferences: Interior Conditions and Demand

For a differentiable utility function \(U(x,y)\), define marginal utilities \(MU_x=\partial U/\partial x\) and \(MU_y=\partial U/\partial y\). At an interior optimum with a binding budget, a necessary first-order condition is that the utility gradient is proportional to the price vector. In particular, if the gradient is nonzero, the condition can be written as follows.

$$ \nabla U(x,y)=\lambda(p_x,p_y), \qquad p_xx+p_yy=m. $$

Here \(\lambda\) is the marginal utility of income in the constrained optimization problem. If \(MU_y\ne 0\), the gradient condition implies \(MU_x/MU_y=p_x/p_y\). This ratio statement is not a universal condition for every differentiable utility function: it is used only when the required derivatives exist and the ratio is defined. A zero gradient, a boundary optimum, or a nondifferentiable point requires a different check. Even when the first-order condition holds, it identifies an optimum only with suitable curvature or other global optimality conditions.

A useful case is Cobb-Douglas utility \(U(x,y)=x^\alpha y^\beta\), where \(\alpha,\beta>0\). The utility is strictly increasing for positive quantities, so an optimum uses all income. Maximizing utility is equivalent to maximizing its logarithm, \(\alpha\ln x+\beta\ln y\). The interior first-order conditions imply \(\alpha/x=\lambda p_x\) and \(\beta/y=\lambda p_y\). Combining them with the budget gives closed-form demands.

$$ x^*=\frac{\alpha}{\alpha+\beta}\frac{m}{p_x}, \qquad y^*=\frac{\beta}{\alpha+\beta}\frac{m}{p_y}. $$

The two expenditure shares add to one: \(p_xx^*=\frac{\alpha}{\alpha+\beta}m\) and \(p_yy^*=\frac{\beta}{\alpha+\beta}m\). The derivation also explains why the shares depend on the utility exponents, while the quantities adjust inversely with their own prices. For positive exponents, the Cobb-Douglas solution is interior; both goods receive a positive share of income.

Worked Example: Cobb-Douglas Demand and an Interior Check

A consumer has utility \(U(x,y)=x^{1/3}y^{2/3}\), income \(m=\$120\), and prices \(p_x=\$4\) and \(p_y=\$2\). Find the optimal bundle and its utility. Assume divisible nonnegative quantities and that the consumer maximizes this utility subject to the budget.

Method. This is a Cobb-Douglas problem with \(\alpha=1/3\) and \(\beta=2/3\). Their sum is \(1\), so the expenditure shares are \(1/3\) for \(x\) and \(2/3\) for \(y\).

The consumer spends \((1/3)(\$120)=\$40\) on \(x\). At \(\$4\) per unit, this buys \(x^*=\$40/(\$4\text{ per unit})=10\) units. The consumer spends \((2/3)(\$120)=\$80\) on \(y\). At \(\$2\) per unit, this buys \(y^*=\$80/(\$2\text{ per unit})=40\) units.

$$ p_xx^*+p_yy^*=(4)(10)+(2)(40)=40+80=120. $$

The bundle exactly exhausts income. Its utility is \(10^{1/3}40^{2/3}=(10\cdot 40^2)^{1/3}=\sqrt[3]{16000}\approx25.198\), rounded to three decimals. Both quantities are positive, as required for the interior solution. The method avoids treating the marginal-utility ratio alone as a complete proof: the expenditure shares also establish feasibility, and the Cobb-Douglas form gives the maximizing allocation.

Linear Utility: Compare Utility per Dollar

A smooth tangency need not be the right method for every utility function. With linear utility \(U(x,y)=a x+b y\), where \(a,b>0\), each good gives a constant amount of utility per unit purchased. The relevant comparison is utility per dollar: \(a/p_x\) for good \(x\) and \(b/p_y\) for good \(y\). If one ratio is larger, putting the entire budget into that good gives more utility than spending any positive amount on the other. If the ratios tie, every bundle on the budget line yields the same utility.

Result: For \(U(x,y)=a x+b y\) with positive prices, income, and coefficients, if \(a/p_x>b/p_y\), demand is \(x=m/p_x,\ y=0\). If \(a/p_x<b/p_y\), demand is \(x=0,\ y=m/p_y\). If the ratios are equal, every nonnegative bundle satisfying \(p_xx+p_yy=m\) is optimal. Thus demand may be a corner or a set of bundles rather than one unique bundle.

Worked Example: Piecewise Demand With a Corner and a Tie

A consumer has utility \(U(x,y)=5x+3y\), income \(m=\$60\), and price \(p_y=\$2\). First find demand when \(p_x=\$4\). Then determine how the solution changes as \(p_x\) varies, including the tie price. Assume nonnegative divisible quantities and utility maximization.

Method. Compare utility per dollar, not marginal utility alone. A dollar spent on \(x\) produces \(5/4=1.25\) utility units when \(p_x=4\). A dollar spent on \(y\) produces \(3/2=1.5\) utility units. Since \(1.5>1.25\), all income goes to \(y\): \(x^*=0\) and \(y^*=\$60/(\$2\text{ per unit})=30\). The resulting utility is \(5(0)+3(30)=90\).

For the price comparison, hold \(p_y=2\) fixed. The utility-per-dollar values tie when \(5/p_x=3/2\), which gives \(2(5)=3p_x\), or \(p_x=10/3\) dollars per unit. If \(p_x<10/3\), then \(5/p_x>3/2\), so all income is spent on \(x\), giving \(x^*=60/p_x,\ y^*=0\). If \(p_x>10/3\), all income is spent on \(y\), giving \(x^*=0,\ y^*=30\). At \(p_x=10/3\), every bundle on \((10/3)x+2y=60\) is optimal.

As a check on the tie, one feasible bundle is \(x=9,\ y=15\): its cost is \((10/3)(9)+2(15)=30+30=60\), and its utility is \(5(9)+3(15)=45+45=90\), the same as the all-\(y\) bundle. The common mistake is to choose a corner merely because utility is linear; the correct choice depends on the relative utility per dollar, and a tie gives multiple optima.

Nonsmooth Preferences: Solve at the Kink

With perfect complements, additional units of one good without the matching amount of the other do not increase utility. A standard fixed-proportion utility function is \(U(x,y)=\min\{x/r,y/s\}\), where \(r,s>0\). The kink occurs where \(x/r=y/s\), or \(x=rt\) and \(y=st\) for some \(t\geq0\). Because utility is not differentiable at the kink, a smooth marginal-utility tangency calculation does not apply there.

When prices are positive and utility has this form, any bundle above the kink in one coordinate spends money on units that do not raise utility. Therefore an optimum lies on the kink. Substituting \(x=rt,\ y=st\) into the budget gives \(t(rp_x+sp_y)=m\). This yields the demand equations below.

$$ t^*=\frac{m}{rp_x+sp_y}, \qquad x^*=\frac{rm}{rp_x+sp_y}, \qquad y^*=\frac{sm}{rp_x+sp_y}. $$

Worked Example: Fixed-Proportion Demand at a Utility Kink

A consumer has utility \(U(x,y)=\min\{x/2,y/3\}\), income \(m=\$60\), and prices \(p_x=\$3\) and \(p_y=\$2\). Find the optimal bundle and utility. Assume the consumer can buy divisible nonnegative quantities and maximizes this utility.

Method. The utility is \(t\) when \(x=2t\) and \(y=3t\), so the required proportions are two units of \(x\) for every three units of \(y\). One unit of \(t\) costs \(2(\$3)+3(\$2)=\$6+\$6=\$12\). The budget therefore supports \(t^*=\$60/(\$12\text{ per }t)=5\).

The optimal quantities are \(x^*=2(5)=10\) and \(y^*=3(5)=15\). Utility is \(\min\{10/2,15/3\}=\min\{5,5\}=5\). The budget check is \(3(10)+2(15)=30+30=60\).

To see why a bundle off the kink cannot do better, suppose a bundle has \(x/2<y/3\). Its utility is \(x/2\), so the extra \(y\) beyond the amount needed to match that utility can be removed without reducing utility. The freed spending can instead increase \(x\) and the matching \(y\), raising utility. The same reasoning applies with the goods reversed. The common mistake is to equate marginal utilities at a point where utility has no well-defined gradient; the kink proportion and budget give the solution directly.

A Reliable Problem-Solving Sequence

The models above suggest a practical sequence for utility-maximization problems. It forces the solution to account for smoothness, boundaries, and budget feasibility rather than relying on a single equation.

1
Write the feasible set.
Record nonnegativity and \(p_xx+p_yy\leq m\), with positive prices. If utility is increasing in both goods, state that the budget binds at an optimum.
2
Classify the preference form.
For smooth interior candidates, use first-order conditions with the stated regularity conditions. For linear utility, compare utility per dollar. For fixed proportions, impose the kink relation.
3
Check boundaries or alternatives.
Confirm an interior candidate has positive quantities. For a possible corner, compare its attainable utility with the alternative. For a kink solution, check that neither good is needlessly above the required proportion.
4
Verify the answer.
Substitute the quantities into the budget and utility function. If the solution is piecewise, verify which condition applies at the stated prices and identify any tie case.

Why the Checks Matter

Individual demand problems are not just exercises in differentiating a utility function. They test whether a candidate can connect the model’s assumptions to the method used. The gradient condition is local and applies to a differentiable interior candidate; a corner is governed by a boundary comparison, and a kink has no ordinary derivative at the optimum. In each case, the budget and the objective decide whether the proposed quantities solve the consumer’s problem.

A frequent exam trap is to set \(MU_x/MU_y=p_x/p_y\) automatically. That can fail when the optimum is on a boundary, when utility is nonsmooth, or when the ratio is undefined. For a smooth interior candidate, write the gradient condition first; use the marginal-utility ratio only if its denominator is nonzero. Then check whether the candidate is feasible and whether the preference form supports a maximum there.

Demand derived in this way is an individual choice at a specified income and price vector. The methods are aligned with the SOA VEE Economics (Validation by Educational Experience) syllabus. They also provide a disciplined way to interpret hypothetical consumer scenarios without treating a calculated demand as observed market data.

Key takeaway: Choose the solution method from the shape of utility: derive an interior allocation for suitable smooth preferences, compare utility per dollar for linear preferences, and enforce the fixed proportion for perfect complements. Always finish by checking the budget and the utility-maximization condition.

Check Your Understanding

For each problem, assume nonnegative divisible quantities and utility maximization under the stated budget. Verify the budget as part of your work.

  1. A consumer has \(U(x,y)=x^{1/2}y^{1/2}\), income \(\$200\), and prices \(p_x=\$5,\ p_y=\$10\). Find the optimal quantities and utility. (Answer: \(x=20,\ y=10\); utility \(\sqrt{200}\approx14.1421\).)
  2. A consumer has \(U(x,y)=4x+6y\), income \(\$72\), and prices \(p_x=\$8,\ p_y=\$6\). Compare utility per dollar and find the optimal bundle and utility. (Answer: \(x=0,\ y=12\); utility \(72\).)
  3. A consumer has \(U(x,y)=\min\{x/3,y/2\}\), income \(\$78\), and prices \(p_x=\$4,\ p_y=\$3\). Find the kink bundle and its utility. (Answer: \(x=13,\ y=26/3,\ U=13/3\); expenditure is \(\$78\).)
  4. A consumer has \(U(x,y)=x^{1/4}y^{3/4}\), income \(\$120\), and prices \(p_x=\$6,\ p_y=\$3\). Find the expenditure shares, quantities, and verify the budget. (Answer: shares \(1/4\) and \(3/4\); \(x=5,\ y=30\); expenditure \(30+90=\$120\).)
  5. A consumer has \(U(x,y)=3x+2y\), income \(\$80\), and \(p_y=\$4\). Find the demand rule as \(p_x\) varies, then state the optimal bundle when \(p_x=\$4,\ \$6,\) and \(\$8\). (Answer: \(p_x<\$6\): \((x,y)=(80/p_x,0)\); \(p_x>\$6\): \((0,20)\); at \(p_x=\$6\), every bundle on \(6x+4y=80\) is optimal. At the three specified prices: \((20,0)\), any bundle on that budget line, and \((0,20)\), respectively.)
Clinical Biostats