Deriving Indifference Curves from Utility Functions: An Example, Exams of Economics

How to derive indifference curves from a consumer's utility function using the example of a consumer with the utility function U(X,Y) = 3XY. The document also discusses the concept of marginal utilities and the marginal rate of substitution (MRS), and how they relate to indifference curves. The document also touches upon the limitations of utility functions and monotonic transformations.

Typology: Exams

2021/2022

Uploaded on 09/27/2022

jackie4
jackie4 🇨🇦

4.6

(19)

262 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
We saw in the text that utility functions and indifference curves are different ways to
represent a consumer’s preferences. Calculus can help us make the connection between
the two curves more explicit. In fact, in this appendix we see that we can derive indif-
ference curves directly from a consumer’s utility function.
It’s easiest to show this derivation by beginning with a specific utility function. Let’s
look at a consumer with the utility function U(X,Y) = 3XY, where X and Y are two
goods. Any consumer’s indifference curve shows all the bundles of goods that gener-
ate the same level of utility. For our consumer, let’s say that utility level is 300 utils:
U(X,Y) = 3XY = 300.
What does this formula tell us? It is precisely the consumer’s indifference curve at
300 utils. We could stop here, but graphing a function is usually easier if we rewrite it
with Y as a function of X. So, first we solve for Y:
3XY = 300
Y =
300
_
3X =
100
_
X
Figure 4OA.1 graphs this function to display the consumer’s indifference curve at
300 utils.
The slope of this indifference curve decreases as the consumer trades off Y for X, or
as she consumes fewer units of Y and more of X. In other words, as she moves down
her indifference curve, the consumer has to receive more of X as she gives up units of
Y in order to stay on the same indifference curve.
We can confirm this relationship by calculating the marginal rate of substitution
(MRS ) from the utility function using calculus. First, find the marginal utilities by
taking the partial derivative of the utility function with respect to each of the goods:
MU
X =
U(X,Y)
_
X = 3Y
MU
Y =
U(X,Y)
_
Y = 3X
Chapter 4 Online Appendix:
The Mathematics
of Utility Functions
Figure 4OA.1 An Indiff erence Curve at 300 Utils
X
10
10
Y
U = 300
pf3
pf4
pf5
pf8

Partial preview of the text

Download Deriving Indifference Curves from Utility Functions: An Example and more Exams Economics in PDF only on Docsity!

We saw in the text that utility functions and indifference curves are different ways to represent a consumer’s preferences. Calculus can help us make the connection between the two curves more explicit. In fact, in this appendix we see that we can derive indif- ference curves directly from a consumer’s utility function. It’s easiest to show this derivation by beginning with a specific utility function. Let’s look at a consumer with the utility function U(X,Y) = 3 XY, where X and Y are two goods. Any consumer’s indifference curve shows all the bundles of goods that gener- ate the same level of utility. For our consumer, let’s say that utility level is 300 utils: U(X,Y) = 3 XY = 300. What does this formula tell us? It is precisely the consumer’s indifference curve at 300 utils. We could stop here, but graphing a function is usually easier if we rewrite it with Y as a function of X. So, first we solve for Y :

3 XY = 300

Y = _^300

3 X

= _^100

X

Figure 4OA.1 graphs this function to display the consumer’s indifference curve at 300 utils. The slope of this indifference curve decreases as the consumer trades off Y for X, or as she consumes fewer units of Y and more of X. In other words, as she moves down her indifference curve, the consumer has to receive more of X as she gives up units of Y in order to stay on the same indifference curve. We can confirm this relationship by calculating the marginal rate of substitution ( MRS ) from the utility function using calculus. First, find the marginal utilities by taking the partial derivative of the utility function with respect to each of the goods:

MUX =

_∂ U(X,Y)

∂ X

= 3 Y

MUY =

_∂ U(X,Y)

∂ Y

= 3 X

Chapter 4 Online Appendix:

The Mathematics

of Utility Functions

Figure 4OA.1 An Indifference Curve at 300 Utils

X

10

10

Y

U = 300

4A-2 Part 2 Consumption and Production

Then use the marginal utilities to calculate the MRS :

MRSXY =

_ MUX

MUY

= _^3 Y

3 X

= _ Y

X

Now that we have the marginal rate of substitution, we can find out what happens to the relative consumption of X and Y as we move along the consumer’s indifference curve. To see what occurs as X increases, we take the partial derivative of MRSXY with respect to X :

_∂ MRSXY

∂ X

_∂( X^ –^1^ Y )

∂ X

= – X –^2 Y < 0

Just as the graph demonstrates, the consumer’s marginal rate of substitution — the slope of the indifference curve — decreases as her consumption of X increases along the indifference curve. In other words, when the consumer has more units of X , she is willing to give up fewer units of Y to get an additional unit of X ; while keeping her utility level constant.

4OA.1 figure it out

Suppose that a consumer has the following utility function:

U(X,Y) = 5 X 0.5^ + Y

a. Graph the indifference curve generated by the utility function when −− U = 100. b. Find the marginal rate of substitution and relate the shape of the indifference curve to it.

Solution:

a. First, set the utility function equal to 100 units and solve for Y as a function of X :

5 X 0.5^ + Y = 100 Y = 100 5 X 0.

Notice that either X or Y may equal zero; therefore, the indifference curve intersects both axes. The vertical intercept is 100 units of Y, and the horizontal intercept is 400 units of X.

b. The graph indicates that the slope of the indifference curve decreases as the consumer gives up Y to get more X. Therefore, the MRS is decreasing. Let’s confirm this by calculating the marginal rate of substitution. First, find the marginal utilities:

MUX =

_∂ U ( X,Y )

∂ X

__∂(5 X^ 0.5^ +^ Y )

∂ X

= 2.5 X –^ 0.

MUY =

_∂ U ( X,Y )

∂ Y

__∂(5 X^ 0.5^ +^ Y )

∂ Y

X

100

400

Y

4A-4 Part 2 Consumption and Production

function determines the shape of the indifference curve and assigns a number to the level of utility represented by each indifference curve. We have already discussed how the number assigned to the level of utility doesn’t matter. As long as the number as- signed to the level of utility increases as we move away from the origin, the preference ranking is preserved. What does matter is the shape of the indifference curve. If a transformation makes the indifference curves steeper or flatter, then the ordering of bundles on the new indif- ference curves will be very different from the original ordering of those bundles, and the transformation cannot be monotonic. How do we know if the shape of the indifference curves is preserved? By looking — once again — at the marginal rate of substitution. Recall that the MRS is the negative of the slope of the indifference curve at any bundle and is equal to the ratio of the marginal utilities at that point. If the marginal rate of substitution at any point doesn’t change, we know that we have a monotonic transformation. Let’s go back to our example from above, where U ( X,Y ) = X 0.5 Y 0.5^. For this utility function,

MRSXY =

_ MUX

MUY

_∂ X 0.5^ Y 0.

_∂ X

_∂ X 0.5^ Y 0.

∂ Y

= 0.5 X

– 0.5 Y 0.

_

0.5 X 0.5 Y –^ 0.^

= _ Y

X

What if we transform the utility function by squaring and then taking the natural log? Then,

U 2 ( X,Y ) = ln[( X 0.5^ Y 0.5) 2 ] = ln( XY ) = ln X + ln Y

This certainly looks very different from our original function. In fact, though, we can solve for the MRS to see that it is a monotonic transformation (recall that the deriva- tive of ln( Z ) with respect to Z is 1/ Z ):

MRSXY =

_ MUX

MUY

__∂(ln^ X^ + ln^ Y)

__∂ X

__∂(ln^ X^ + ln^ Y)

∂ Y

_^1

_^ X

_^1

Y

= _ Y

X

The equal marginal rates of substitution tell us that the shapes of the indifference curves are the same for U(X,Y) and U 2 (X,Y). Therefore, U 2 ( X,Y ) is a monotonic transformation of U(X,Y) , and the two utility functions represent the same set of preferences. Let’s take the lessons learned from these examples and see if we can demonstrate a general principle of monotonic transformations of Cobb Douglas utility functions, the form of the original utility function we presented here. For a generic Cobb Douglas utility function

U(X,Y) = AX αY β

the marginal rate of substitution is

MRSXY =

_ MUX

MUY

_∂ AX^ αY^ β

_∂ X

_∂ AX^ αY^ β

∂ Y

= αAX^

α (^1) Y β

_

β AX αY β^ ^1

= _ αY

βX

When will a transformation be monotonic for a Cobb Douglas utility function? Exam- ining the fraction above, we can see that any transformation of the Cobb-Douglas util- ity function will be a monotonic transformation as long as the ratio of α to β does not change. The magnitude of the exponents doesn’t matter. The only thing that matters is the relative size of the exponents. For example, multiplying both exponents by any real number would not change the ratio of α to β. Therefore, we could raise the utility function to any power without changing the preference ordering.

Online Appendix: The Mathematics of Utility Functions Chapter 4 4A-

4OA.2 figure it out

Royce only cares about how much coffee he drinks. He can buy coffee in 10-ounce cups or in 20-ounce cups. Royce’s preferences are represented by the following utility function:

U 1 ( X,Y ) = X + 2 Y

where X is the number of 10-ounce cups and Y is the number of 20-ounce cups. Determine whether or not Royce’s preferences could also be represented by this utility function:

U 2 ( X,Y ) = (50 X + 100 Y ) 0.

Solution:

Notice that Royce views these goods as perfect substitutes and that he is twice as happy with a 20-ounce cup of coffee as he is with a 10-ounce cup of coffee. Take the partial de- rivatives to get the marginal utilities:

MUX =

_∂ U^1 ( X,Y )

∂ X

_∂( X^ + 2 Y )

∂ X

MUY =

_∂ U^1 ( X,Y )

∂ Y

_∂( X^ + 2 Y )

∂ Y

So, the marginal utility of each good is constant, and an additional unit of Y is twice as good as an additional unit of X. Consequently, the marginal rate of substitution is

MRSXY =

_ MUX

MUY

= _^1

indicating that Royce is always willing to trade _^1

2

of a 20-ounce cup for another 10-ounce cup.

We can determine whether the second utility function is a monotonic transformation of the original utility function by comparing the marginal rates of substitution. First, find the marginal utilities:

MUX =

_∂ U^2 ( X,Y )

∂ X

= (0.5)50(50 X + 100 Y ) –^ 0.5^ = 25(50 X + 100 Y ) –^ 0.

MUY =

_∂ U^2 ( X,Y )

∂ Y

= (0.5)100(50 X + 100 Y ) –^ 0.5^ = 50(50 X + 100 Y ) –^ 0.

Notice that the marginal utilities for the transformed utility function are very different from the original marginal utilities. However, marginal utilities are not the deciding factor in determining whether Royce’s preferences can be represented by the second utility func- tion; the equality of the marginal rates of substitution tells us whether the second utility function is a monotonic transformation of the first.

We now may find the marginal rate of substitution:

MRSXY =

_ MUX

MUY

__25(50 X^ + 100 Y ) –^ 0.

50(50 X + 100 Y ) –^ 0.^

= _^1

which is exactly the same as the marginal rate of substitution for the original utility func- tion. Therefore, the utility functions are monotonic transformations of one another and represent the same set of preferences even though the numbers we assign to the utility levels are very different.

Online Appendix: The Mathematics of Utility Functions Chapter 4 4A-

and

R + 20 120 λ = 0

R + 20 = 120 λ

λ = _^1

( R + 20)

Set these expressions for λ equal to each other and solve for T as a function of R :

_^1

T = _^1

( R + 20)

T = _^1

( R + 20)

Now plug this expression for T into the third FOC:

240 20 R 120 T = 240 20 R (^120) [ _^1 6

( R + 20)] = 0

240 20 R 20 R 400 = 0

40 R = 160

R = 4

So, Greg’s optimal number of romance novels is 4. That is impossible, so Greg will do the next best thing. He will choose one of the corners of his budget constraint — a corner solution — where he consumes 0 romance novels and 2 economics textbooks. Note that this bundle does not satisfy our utility-maximization condition in which the marginal rate of substitution is equal to the ratio of the prices (or where the indiffer- ence curve and budget constraint are tangent), but it’s as close as Greg can get to his utility-maximizing bundle under these conditions. Sometimes choosing one corner of the budget constraint is obvious, as in the case where the consumer wants a negative number of one of the goods. But there’s another type of problem that will yield a corner solution. We’ll see this in the Figure It Out below.

4OA.3 figure it out

Recall from the previous Figure It Out that Royce has the utility function

U(X,Y) = X + 2 Y

where X is the number of 10-ounce cups of coffee and Y is the number of 20-ounce cups of coffee. Sup- pose Royce has $6 to spend on coffee each day and that the price of a 10-ounce cup is $2 and the price of a 20-ounce cup is $3. Find Royce’s optimal bundle of 10-ounce and 20-ounce cups of coffee.

Solution:

We could write out Royce’s constrained optimization problem and solve the Lagrangian, but let’s instead apply the utility-maximization condition we derived in the chapter and in the appendix:

MRSXY =

_ MUX

MUY

_ PX

PY

In this problem,

MRSXY = _^1

but

_^ PX

PY

= _^2

so there is no way that the utility-maximization condition will be met. Royce will either want to consume all 10-ounce cups or all 20-ounce cups. The easiest way to determine which he will choose is to calculate Royce’s utility at each corner of his budget constraint. If he only buys 10-ounce cups, he will get 3 cups and 3 units of utility. On the other hand, he could buy two 20-ounce cups and get 4 units of util- ity. He is better off with the 20-ounce cups so that will be the corner solution to his problem.

4A-8 Part 2 Consumption and Production

  1. For the following utility functions,
    • find the marginal rate of substitution,
    • discuss how MRSXY changes as the consumer sub- stitutes X for Y along an indifference curve,
    • derive the equation for the indifference curve where utility is equal to a value of 100, and
    • graph the indifference curve where utility is equal to a value of 100: a. U(X,Y) = XY^2 b. U(X,Y) = XY + 10 Y c. U(X,Y) = X^2 + Y^2
  2. Suppose that Renée consumes 2 goods, X and Y , and that her preferences are represented by the util- ity function U(X,Y) = X 0.5^ Y 0.5. Determine whether each of the following utility functions also represent Renée’s preferences: a. V(X,Y) = 33 XY + 427 b. W(X,Y) = 400 X 0.75 Y 0.
  3. Suppose that a consumer has a choice between gal- lon jugs of milk and half-gallon jugs of milk. The consumer only cares about how much milk she con- sumes and does not care about the size of the jug. a. Write a utility function for this consumer.

b. Suppose the price of a half-gallon jug of milk is $2, the price of a gallon jug of milk is $5, and the consumer has $10 to spend on milk. Set up a Lagrangian and derive the first-order conditions for the maximization problem. c. Is there a solution to the first-order conditions? If so, solve for the optimal quantities of gallon jugs and half-gallon jugs. If not, what is the solution to the maximization problem?

  1. Terry has $100 to spend on lake perch and walleye for his family’s Friday fish fry. Terry’s utility func- tion is

U(P,W) = 10 W + PW

where P is pounds of lake perch and W is pounds of walleye. a. Suppose the price of perch is $5 per pound and the price of walleye is $3 per pound. Find Terry’s optimal combination of perch and walleye. b. Suppose that the price of perch increases to $12 per pound, while the price of walleye remains unchanged. Find Terry’s optimal combination of perch and walleye.

Problems