Tutorials › VEE Economics › Consumer Choice as Constrained Utility Maximization

VEE Economics · Consumer Choice and Optimization · Tutorial 151 of 998

Consumer Choice as Constrained Utility Maximization

Learn to translate a two-good consumer scenario into a precise constrained utility-maximization problem and check whether proposed bundles are affordable.

Intermediate 10 min read

What You'll Learn

  • Define a two-good bundle and the consumer’s utility objective
  • Construct the budget set from prices, income, and nonnegative consumption
  • Distinguish the budget line from the full set of affordable bundles
  • Test proposed bundles for affordability and evaluate their utility
  • Recognize why the utility-maximizing problem does not itself identify a solution method
  • Avoid reversing the budget inequality or confusing utility with affordability

From Preferences to a Choice Problem

A consumer-choice question has two parts: what bundles does the consumer prefer, and which of those bundles can the consumer afford? Utility represents the preference ranking, while the budget constraint describes affordability. Consumer choice combines them by asking for a most-preferred bundle within the affordable set.

For two goods, call the quantities consumed \(x\) and \(y\). Their prices per unit are \(p_x\) and \(p_y\), and the consumer has income \(m\) available for these purchases. A bundle is a pair \((x,y)\). The utility function \(U(x,y)\) assigns a numerical representation to the consumer’s preferences over bundles. The choice problem is to maximize that utility subject to affordability and nonnegative consumption.

Definition: Given a utility function \(U(x,y)\), prices \(p_x,p_y>0\), and income \(m\geq 0\), the two-good consumer-choice problem is $$ \max_{x,y} U(x,y) \quad\text{subject to}\quad p_xx+p_yy\leq m,\qquad x\geq 0,\quad y\geq 0. $$ The budget set is the set of all bundles satisfying these constraints. A utility-maximizing bundle is a feasible bundle whose utility is at least as high as that of every other feasible bundle.

This formulation describes the task without yet specifying how to find a maximizing bundle. The method for locating an optimum depends on the utility function and on whether the solution is interior or on a boundary. At this stage, the essential skill is writing down the correct objective and feasible set.

Constructing the Budget Set

The cost of bundle \((x,y)\) is \(p_xx+p_yy\): the quantity of each good multiplied by its price, then added. A bundle is affordable when that total cost is no greater than available income. The inequality includes bundles that leave some income unspent as well as bundles that use all income.

$$ B=\{(x,y):x\geq 0,\ y\geq 0,\ p_xx+p_yy\leq m\}. $$

The budget line is the boundary \(p_xx+p_yy=m\), where the entire budget is spent. If \(m>0\), the line meets the \(x\)-axis at \((m/p_x,0)\) and the \(y\)-axis at \((0,m/p_y)\). These intercepts follow by setting the other good’s quantity to zero. They are maximum affordable quantities when the consumer spends all income on just one good; they are not the full budget set.

A short rearrangement shows how the budget line expresses the trade-off in quantities. Starting from \(p_xx+p_yy=m\), subtract \(p_xx\) and divide by \(p_y>0\):

$$ y=\frac{m}{p_y}-\frac{p_x}{p_y}x. $$

Thus, along the budget line, increasing \(x\) by one unit requires giving up \(p_x/p_y\) units of \(y\), if income is to remain fully spent. This is a statement about the budget constraint, not about how much the consumer prefers either good.

1
Name the goods and quantities.
Define what \(x\) and \(y\) measure, including their units.
2
Record prices and available income.
Use prices per unit and income in consistent monetary units.
3
Write the feasible set.
Require total expenditure to be at most income and quantities to be nonnegative.
4
State the objective.
Maximize the specified utility function over the feasible set; do not confuse a feasible bundle with a proven maximum.

Worked Formulations

Worked Example: A Cobb-Douglas Preference Representation

A household allocates a monthly spending budget of \(120\) dollars between transit credits, \(x\), and prepared meals, \(y\). A transit-credit unit costs \(4\) dollars, and a meal costs \(6\) dollars. Preferences are represented by \(U(x,y)=\sqrt{xy}\). Formulate the choice problem and assess the bundle \((15,10)\).

Step 1: Identify the decision variables. Here \(x\) is transit-credit units per month and \(y\) is meals per month. The proposed bundle is \((15,10)\).

Step 2: Write the budget set. The prices are \(p_x=4\) and \(p_y=6\), and income is \(m=120\). Total expenditure is \(4x+6y\). Therefore,

$$ B=\{(x,y):x\geq0,\ y\geq0,\ 4x+6y\leq120\}, \qquad \max_{(x,y)\in B}\sqrt{xy}. $$

Step 3: Check affordability. The proposed bundle costs \(4(15)+6(10)=60+60=120\) dollars. Since \(120\leq120\), it is affordable and lies on the budget line.

Step 4: Evaluate its utility. The score is \(U(15,10)=\sqrt{15\cdot10}=\sqrt{150}\), approximately \(12.247\). This is the utility assigned to that bundle; evaluating it does not establish that it is the best bundle in the entire budget set.

Check. The single-good intercepts are \(120/4=30\) transit-credit units and \(120/6=20\) meals. The proposed quantities are below both intercepts, and their combined spending uses exactly the stated budget. The method is to specify the set first, then check cost and utility separately; the common mistake it avoids is treating a utility score as proof of affordability or optimality.

Worked Example: Comparing Utility Scores Without Claiming an Optimum

A commuter has \(50\) dollars to spend on bike-share passes, \(x\), and shuttle rides, \(y\). A pass costs \(5\) dollars and a ride costs \(2\) dollars. The commuter’s preferences are represented by \(U(x,y)=\sqrt{x}+y\). Write the optimization problem and calculate affordability and utility for the proposed bundle \((4,12)\).

Step 1: Define the inputs. Quantities are \(x\) passes and \(y\) rides; prices are \(p_x=5\) dollars and \(p_y=2\) dollars; income is \(m=50\) dollars.

Step 2: Formulate the problem. Expenditure is \(5x+2y\), so the budget set and objective are

$$ B=\{(x,y):x\geq0,\ y\geq0,\ 5x+2y\leq50\}, \qquad \max_{(x,y)\in B}\bigl(\sqrt{x}+y\bigr). $$

Step 3: Test the proposed bundle. Its cost is \(5(4)+2(12)=20+24=44\) dollars. Because \(44\leq50\), it is affordable and leaves \(50-44=6\) dollars unspent.

Step 4: Calculate its utility. Substituting \(x=4\) and \(y=12\) gives \(U(4,12)=\sqrt{4}+12=2+12=14\). The problem asks for the bundle with the highest utility over all affordable bundles, not merely for a bundle with a positive utility score.

Check. The \(x\)-intercept is \(50/5=10\) passes, and the \(y\)-intercept is \(50/2=25\) rides. The proposed bundle has a positive quantity of each good and fits within the budget. The method keeps the feasibility calculation distinct from the objective calculation; the common error is to assume that a bundle leaving money unspent must be infeasible or that its utility alone identifies the maximum.

Worked Example: Formulating Choice with Complementary Goods

A home gardener divides a weekly budget of \(36\) dollars between seed trays, \(x\), at \(3\) dollars each and soil bags, \(y\), at \(4\) dollars each. The gardener’s preferences are represented by \(U(x,y)=\min\{x/2,y/3\}\). Formulate the choice problem and assess the bundle \((4,6)\).

Step 1: Interpret the utility expression. The utility assigned to a bundle is the smaller of \(x/2\) and \(y/3\). This specifies the objective for comparing bundles; it does not change the prices or the affordability rule.

Step 2: Write the complete model. Expenditure is \(3x+4y\), so

$$ B=\{(x,y):x\geq0,\ y\geq0,\ 3x+4y\leq36\}, \qquad \max_{(x,y)\in B}\min\left\{\frac{x}{2},\frac{y}{3}\right\}. $$

Step 3: Check the bundle’s cost. For \((4,6)\), expenditure is \(3(4)+4(6)=12+24=36\) dollars. Since the cost equals the budget, the bundle is affordable and is on the budget line.

Step 4: Evaluate the objective. The two terms are \(x/2=4/2=2\) and \(y/3=6/3=2\). Therefore \(U(4,6)=\min\{2,2\}=2\).

Check. The one-good intercepts are \(36/3=12\) trays and \(36/4=9\) soil bags. The proposed bundle satisfies the nonnegativity restrictions, uses exactly \(36\) dollars, and has utility \(2\). The method inserts the quantities into the stated utility function only after checking feasibility; the common mistake is to replace the minimum by a sum or to treat the utility units as dollars.

What the Formulation Does—and Does Not—Tell You

The model separates three ideas that should not be conflated:

  • Preferences: represented by \(U(x,y)\), which ranks bundles according to the consumer’s preferences.
  • Feasibility: determined by prices, income, and the restrictions on quantities.
  • Choice: the feasible bundle or bundles attaining the highest utility in the budget set.

Utility numbers are not generally a measure of dollars, happiness units, or intensity of preference. If a utility function represents preferences, applying a strictly increasing transformation preserves the ranking of bundles and therefore preserves which feasible bundles maximize utility. For example, replacing a positive utility \(U\) by \(\ln U\) preserves its ordering on bundles where \(U>0\). The budget constraint does not change under this transformation.

The model assumes the consumer can choose any nonnegative quantities allowed by the budget, prices are fixed for the purchase decision, and all spending on these two goods is covered by \(m\). It does not include taxes, quantity restrictions, borrowing, or other goods unless those features are explicitly added. If a problem gives a coupon or subsidy, use the effective price or state the modified constraint rather than silently inserting the original posted price. If quantities must be whole units, nonnegativity alone is not enough; integer restrictions must also be stated.

For positive prices and finite nonnegative income, the budget set is bounded: \(x\leq m/p_x\) and \(y\leq m/p_y\). It is also closed and nonempty, since it includes \((0,0)\). If utility is continuous, a maximum is attained on this set. This existence observation says that a best affordable bundle is available under those conditions; it does not identify which bundle it is.

Common Mistakes and Exam Traps

A frequent error is reversing the budget inequality. For example, with prices \(p_x=3\), \(p_y=5\), and income \(m=40\), writing \(3x+5y\geq40\) describes bundles costing at least \(40\) dollars. It includes unaffordable bundles such as \((10,10)\), which costs \(30+50=80\) dollars. The correct affordability condition is \(3x+5y\leq40\).

Other errors arise from skipping a part of the model. Writing only “maximize utility” omits the income limitation; writing only the budget line omits affordable bundles that leave money unspent; and comparing a couple of bundles does not prove that either is best over a continuous set. A reliable response names the goods and units, states prices and income, writes nonnegativity and the weak budget inequality, and then states the utility objective.

Key takeaway: Consumer choice is a constrained maximization problem: maximize the preference-representing utility function over the set of nonnegative bundles whose total cost does not exceed income. Feasibility and utility are separate checks; neither alone identifies a maximum.

Check Your Understanding

For each situation, write the budget set and utility-maximization objective, then use the stated bundle or condition as requested.

  1. A student has \(28\) dollars for notebooks \(x\) at \(4\) dollars each and pens \(y\) at \(2\) dollars each. Preferences are \(U(x,y)=xy\). Write the model and determine whether \((5,4)\) is affordable. (Answer: \(B=\{(x,y):x,y\geq0,\ 4x+2y\leq28\}\), maximize \(xy\); \((5,4)\) costs \(28\) dollars and is affordable.)
  2. A customer has \(72\) dollars for fruit boxes \(x\) at \(8\) dollars each and yogurt packs \(y\) at \(3\) dollars each, with \(U(x,y)=\sqrt{x}+2y\). Write the model and find the one-good intercepts. (Answer: \(B=\{(x,y):x,y\geq0,\ 8x+3y\leq72\}\), maximize \(\sqrt{x}+2y\); intercepts are \(9\) fruit boxes and \(24\) yogurt packs.)
  3. A hobbyist has \(45\) dollars for clay blocks \(x\) at \(5\) dollars each and glaze jars \(y\) at \(4\) dollars each. Utility is \(U(x,y)=\min\{x,y/2\}\). Write the model and evaluate the utility of \((5,4)\), including its cost. (Answer: \(B=\{(x,y):x,y\geq0,\ 5x+4y\leq45\}\), maximize \(\min\{x,y/2\}\); cost \(41\) dollars and utility \(2\).)
  4. A shopper has \(60\) dollars to allocate between snack packs \(x\) at \(6\) dollars and drink bottles \(y\) at \(3\) dollars. The proposed bundle \((7,7)\) is paired with utility \(U(x,y)=\ln(x+1)+y\). Determine its feasibility and utility, then write the full choice problem. (Answer: cost \(6(7)+3(7)=63\) dollars, so it is infeasible; its utility expression is \(\ln(8)+7\), but it cannot be a choice from the budget set. The model is \(x,y\geq0,\ 6x+3y\leq60\), maximizing \(\ln(x+1)+y\).)
  5. For goods \(x,y\), prices are \(p_x=2\) and \(p_y=7\), income is \(35\), and preferences are represented by \(U(x,y)=x+3y\). A candidate bundle costs \(35\) dollars. What equation must its quantities satisfy, and does that alone prove it maximizes utility? (Answer: \(2x+7y=35\) with \(x,y\geq0\); no, being on the budget line establishes feasibility and full expenditure, not that the bundle has the greatest utility over the whole budget set.)
Clinical Biostats