Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A consumer purchases food $X$ and clothing $Y$. Her utility function is given by: $U(X,Y) = XY +10Y$, income is $\$100$ the price of food is $\$1$ and the price of clothing is $P_y$.

Derive the equation for the consumer’s demand function for clothing.

I found the first order conditions for $X$ and $Y$ and then solved for $Y$ which gave me $Y = X/P_y -10$ I then combined this with the budget constraint to get $2X - 10P_y = 100$ Please would it be possible to advise me whether whether my answers are correct as this is my first attempt at deriving demand functions. Also, is the utility quasilinear? I know that an equation of the form $U(X,Y) = f(X) + Y$ is quasilinear but I don't know if $U(X,Y) = f(x,Y) + Y$ would fit the category.

share|cite|improve this question
up vote 3 down vote accepted

A demand function relates the quantity demanded of a good by a consumer with the price of the good. Thus we wish to find $Y = f(P_Y)$.

Setting up the optimization problem:


subject to: $$ I = P_x X + P_Y Y $$

where $I$ is income, $P_X$ is the price of good $X$, and $P_Y$ is the price of good $Y$.

Using the values you provided gives the optimization problem as:

$$ \max{ (XY + 10Y) } $$

subject to: $$ 100 = 1 \cdot X + P_Y Y $$

Setting this up as a Legrange problem,

$$ L = XY + 10Y + \lambda (100 - X - P_Y Y )$$

Taking the first order conditions we get:

$[X]:$ $\frac{ \partial U(X,Y) }{ \partial X} = Y - \lambda = 0$

$[Y]:$ $\frac{ \partial U(X,Y) }{ \partial Y} = X + 10 - \lambda P_Y = 0$

$[ \lambda ]:$ $\frac{ \partial U(X,Y) }{ \partial \lambda } = 100 - X - P_Y Y = 0$

Note, at this point you will usually take the second order conditions to ensure you have a maximum. Clearly you do have a maximum in this case since $U$ is strictly increasing in $X$ and $Y$.

Combining $[X]$ and $[Y]$ we get $X + 10 = Y P_Y$

We wish to get the demand for clothing, so we will solve for $X$ with the intention of substitution it into the budget constraint. $X = Y P_Y - 10$ Substituting into the constraint yields: $100 = 2 P_Y Y - 10$ or a final demand equation of:

$$ Y = \frac{45}{P_Y} $$

Finally, for a utility function to be quasi-linear, you must be able to express one utility as a linear function of one of the goods. Note in your case this may not be accomplished since you have an interaction between $X$ and $Y$. The reason quasi-linearity is nice is because it allows the expression of utility in terms of a numeraire good.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.