Main Body

Module 2 Utility and Utility Functions

“Fill ‘Er Up” by derekbruff is licensed under CC BY-NC 2.0

The Policy Question: Hybrid Car Purchase Tax Credit—Is it the Government’s Best Choice to Reduce Fuel Consumption and Carbon Emissions?

U.S. residents and the government are concerned about the dependence on imported foreign oil and the release of carbon into the atmosphere. In 2005, Congress passed a law to provide consumers with tax credits toward the purchase of electric and hybrid cars.

This tax credit may seem like a good policy choice, but it is costly because it directly lowers the amount of revenue the U.S. Government collects. Are there more effective approaches to reducing dependency on fossil fuels and carbon emissions? How do we decide which policy is best? To answer this question, policymakers need to predict with some accuracy how consumers will respond to this tax policy before these policymakers spend millions of federal dollars.

We can apply the concept of utility to this policy question. In this module, we will study utility and utility functions. We will then be able to use an appropriate utility function to derive indifference curves that describe our policy question.

Exploring the Policy Question

Suppose that the tax credit to subsidize hybrid car purchases is wildly successful and doubles the average fuel economy of all cars on U.S. roads – a result that is clearly not realistic but useful for our subsequent discussions. What do you think would happen to the fuel consumption of all U.S. motorists? Should the government expect fuel consumption and carbon emissions from cars to decrease by half in response? Why or why not?

2.1 Utility Functions

LO 2.1: Describe a utility function.

2.2 Utility Functions and Typical Preferences

LO 2.2: Identify utility functions based on the typical preferences they represent.

2.3 Relating Utility Functions and Indifference Curve Maps

LO 2.3: Explain how to derive an indifference curve from a utility function.

2.4 Finding Marginal Utility and Marginal Rate of Substitution

LO 2.4: Derive marginal utility and MRS for typical utility functions.

2.5. Policy Question

2.1 Utility Functions

LO1: Describe a utility function.

Our preferences allow us to make comparisons between different consumption bundles and choose the preferred bundles. We could, for example, determine the rank ordering of a whole set of bundles based on our preferences. A utility function is a mathematical function that ranks bundles of consumption goods by assigning a number to each where larger numbers indicate preferred bundles. Utility functions have the properties we identified in Module 1 regarding preferences. That is: they are able to order bundles, they are complete and transitive, more is preferred to less and, in relevant cases, mixed bundles are better.

The number that the utility function assigns to a specific bundle is known as utility, the satisfaction a consumer gets from a specific bundle. The utility number for each bundle does not mean anything in absolute terms; there is no uniform scale against which we measure satisfaction. Is only purpose is in relative terms: we can use utility to determine which bundles are preferred to others.

If the utility from bundle A is higher than the utility from bundle B, it is equivalent to saying that a consumer prefers bundle A to bundle B. Utility functions therefore rank consumer preferences by assigning a number to each bundle. . We can use a utility function to draw the indifference curve maps described in Module 1. Since all bundles on the same indifference curve provide the same satisfaction, and therefore none is preferred, each bundle has the same utility. We can therefore draw an indifference curve by determining all the bundles that return the same number from the utility function.

Economists say that utility functions are ordinal rather than cardinal. Ordinal means that utility functions only rank bundles – they only indicate which one is better, not how much better it is than another bundle. Suppose, for example, that one utility function indicates that bundle A returns 10 utils and bundle B 20 utils. We do not say that bundle B is twice as good, or 10 utils better, only that the consumer prefers bundle B. For example, suppose a friend entered a race and told you she came in third. This information is ordinal: You know she was faster than the fourth place finisher and slower than the second place finisher. You only know the order in which runners finished. The individual times are cardinal: If the first place finisher ran the race in exactly one hour and your friend finished in on hour and six minutes, you know your friend was exactly 10% slower than the fastest runner. because utility functions are ordinal many different utility functions can represent the same preferences. This is true as long as the ordering is preserved.

Take for example the utility function U that describes preferences overbundles of goods A abd B: U(A,B). We can apply any positive monotonic transformation to this function (which means, essentially, that we do not change the ordering) and the new function we have created will represent the same preferences. For example, we could multiply a positive constant, α , or add a positive or a negative constant, β . So αU(A,B)+β represents exactly the same preferences as U(A,B) because it will order the bundles in exactly the same way.  This fact is quite useful because sometimes applying a positive monotonic transformation of a utility function makes it easier to solve problems.

2.2 Utility Functions and Typical Preferences

LO2: Identify utility functions based on the typical preferences they represent

Consider bundles of apples, A, and bananas, B. A utility function that describes Isaac’s preferences for bundles of apples and bananas is the function U(A,B). But what are Isaac’s particular preferences for bundles of apples and bananas? Suppose that Isaac has fairly standard preferences for apples and bananas that lead to our typical indifference curves: He prefers more to less, and he likes variety. A utility function that represents these preferences might be:

U(A,B) = AB

If apples and bananas are perfect complements in Isaac’s preferences, the utility function would look something like this:

U(A,B) = MIN[A,B],

where the MIN function simply assigns the smaller of the two numbers as the function’s value.

If apples and bananas are perfect substitutes, the utility function is additive and would look something like this:

U(A,B) = A + B

A class of utility functions known as Cobb-Douglas utility functions are very commonly used in economics for two reasons:

1. They represent ‘well-behaved’ preferences, such as more is better and preference for variety.

2. They are very flexible and can be adjusted to fit real-world data very easily.

Cobb-Douglas utility functions have this form:

U(A,B) = AαBβ

Because positive monotonic transformations represent the same preferences, one such transformation can be used to set α + β = 1 , which later we will see is a convenient condition that simplifies some math in the consumer choice problem.

Another way to transform the utility function in a useful way is to take the natural log of the function, which creates a new function that looks like this:

U(A,B) = αln(A) + βln(B)

To derive this equation, simply apply the rules of natural logs. [We’ll add a link here for students to Click to see how in an Explain It video tutorial]. It is important to keep in mind the level of abstraction here. We typically cannot make specific utility functions that precisely describe individual preferences. Probably none of us could describe our own preferences with a single equation. But as long as consumers in general have preferences that follow our basic assumptions, we can do a pretty good job finding utility functions that match real-world consumption data. We will see evidence of this later in the course.

Table 2.1 summarizes the preferences and utility functions described in this section.

Table 2.1 Types of Preferences and the Utility Functions that Represent Them




Love of Variety or “Well Behaved”

U(A,B) = AB


Love of Variety or “Well Behaved”

U(A,B) = AαBβ


Love of Variety or “Well Behaved”

U(A,B) = αln(A) + βln(B)

Natural Log Cobb-Douglas

Perfect Complements

U(A,B) = MIN[A,B]

Min Function

Perfect Substitutes

U(A,B) = A + B


2.3 Relating Utility Functions and Indifference Curve Maps

LO3: Explain how to derive an indifference curve from a utility function

Indifference curves and utility functions are directly related. In fact, since indifference curves represent preferences graphically and utility functions represent preferences mathematically, it follows that indifference curves can be derived from utility functions.

In uni-variate functions, the dependent variable is plotted on the vertical axis and the independent variable is plotted on the horizontal axis, like the graph of y=f(x). In contrast, graphs of bi-variate functions are three-dimensional, like U=U(A,B). Figure 2.1 shows a graph of [latex]U=A^\frac{1}{2}B^\frac{1}{2}[/latex]. Three-dimensional graphs are useful to understanding how utility increases with the increased consumption of both A and B.

Figure 2.1 [latex]U=A^\frac{1}{2}B^\frac{1}{2}[/latex]


Figure 2.1 clearly shows the assumption that consumers have a preference for variety. Each bundle which contains a specific amount of A and B represents a point on the surface. The vertical height of the surface represents the level of utility. By increasing both A and B, a consumer can reach higher points on the surface.

So where do indifference curves come from? Recall that an indifference curve is a collection of all bundles that a consumer is indifferent about, with respect to which one to consume. Mathematically, this is equivalent to saying all bundles, when put into the utility function, return the same functional value. So if we set a value for utility, Ū, and find all the bundles of A and B that generate that value, we will define an indifference curve. Notice that this is equivalent to finding all the bundles that get the consumer to the same height on the three-dimensional surface in Figure 2.1.

Indifference curves are a representation of elevation (utility level) on a flat surface. In this way, they are analogous to a contour line on a topographical map. By taking the three-dimensional graph back to two-dimensional space –the A, B space –we can show the contour lines/indifference curves that represent different elevations or utility levels. From the graph in Figure 2.1, you can already see how this utility function yields indifference curves that are ‘bowed-in’ or concave to the origin.

So indifference curves follow directly from utility functions and are a useful way to represent utility functions in a two- dimensional graph.

2.4 Finding Marginal Utility and Marginal Rate of Substitution

LO4: Derive marginal utility and MRS for typical utility functions.

Marginal utility is the additional utility a consumer receives from consuming one additional unit of a good. Mathematically we express this as:

[latex]MU_{a}=\frac{\Delta \cup }{\Delta A}[/latex]

or the change in utility from a change in the amount of A consumed, where Δ represents a change in the value of the item. So,

[latex]MU_{a}=\frac{\Delta \cup }{\Delta A}=\frac{\cup (A+\Delta A,B)-U(A,B)}{\Delta A}[/latex]

Note that when we are examining the marginal utility of the consumption of A, we hold B constant.

Using calculus, the marginal utility is the same as the partial derivative of the utility function with respect to A:

[latex]MU_{A}\frac{\partial U(A,B)}{\partial A}[/latex]

Consider a consumer who sits down to eat a meal of salad and pizza. Suppose that we hold the amount of salad constant – one side salad with a dinner, for example. Now let’s increase the slices of pizza suppose with 1slice utility is 10, with 2 it is 18, with 3it is 24 and with 4 it is 28. Let’s plot these numbers on a graph that has utility on the vertical axis and pizza on the horizontal axis (Figure 2.2).

Figure 2.2: Graph and table of Diminishing Marginal Utility

Pizza Slices


Marginal Utility













From the positive slope of the graph, we can see the increase in utility from additional slices of pizza. From the concave shape of the graph, we can see another common phenomenon: The additional utility the consumer receives from each additional slice of pizza decreases with the number of slices consumed.

The fact that the additional utility gets smaller with each additional slice of pizza is called the principle of diminishing marginal utility. This principle applies to well-behaved preferences where mixed bundles are preferred.

Marginal rate of substitution (MRS) is the amount of one good a consumer willing to give up to get one more unit of another good. This is why it is the same thing as the slope of the indifference curve – since we keep satisfaction level constant we stay on the same indifference curve, just moving along it as we trade one good for another. How much of one you are willing to trade for one more of another depends on the marginal utility from each.

Using our previous example, if by consuming one more side salad your utility goes up by 10, then at a current consumption of 4 slices of pizza, you could give up 2 slices of pizza and go from 28 to 18 utils. 10 more utils from salad and 10 less utils by giving up 2 slices of pizza leaves overall utility unchanged – so we must still be on the same indifference curve. As you move along the indifference curve, you must be riding the slope, that is, you must be giving up the good on the vertical axis for more of the good on the horizontal axis, which yields a negative rise over a positive run.

We can go directly from marginal utility to MRS by recognizing the connection between the two concepts. In our case, for a utility function [latex]U=U(A,B)[/latex] , MRS is represented as:


Note that when we substitute we can simplify the equation:

[latex]MRS=-\frac{MU_{A}}{MU_{B}}=-\frac{\frac{\Delta U}{\Delta A}}{\frac{\Delta U}{\Delta B}}=-\frac{\Delta B}{\Delta A}[/latex]

Inserting the calculus it equates to:

[latex]MRS=-\frac{\frac{\partial U(A,B)}{\partial A}}{\frac{\partial U(A,B)}{\partial B}}[/latex]

2.5 Policy Question

We determined in Module 1 that the relevant consumer decision between more miles driven and other consumption probably conforms to the standard assumptions about consumer choice. Therefore, using the Cobb-Douglas utility function to represent a consumer who likes to drive a car as well as consume other goods, and who sees them as a trade-off (money spent on gas is money not spent on other consumer goods), is a good choice. It also has the benefits of both conforming to the assumptions, and being flexible:

[latex]U(MD,C)=MD^{a}C^{\beta }[/latex] ,

where MD = Miles driven, and C = Other consumption.

In fact, the function itself can be taken to real-world data where the parameters and can be estimated for this market, the market for miles driven in the consumer’s car.

Figure 2.3 Graph of indifference curves for the policy example


Exploring the Policy Questions:

1 . Would other preference types be more appropriate in this example?

2. What would have to be true for perfect complements to be the appropriate preference type to use to analyze this policy?

What would have to be true for perfect substitutes? Given that we are considering a ‘typical’ consumer who drives, is it appropriate to choose a ‘typical’ utility function?

4. Are we just guessing or do we have some basis in theory to support our choice of ‘well-behaved’ preferences or a Cobb-Douglas utility function?



Review: Topics and Related Learning Outcomes

2.1 Utility Functions

LO 2.1: Describe a utility function

2.2 Utility Functions and Typical Preferences

LO 2.2: Identify utility functions based on the typical preferences they represent

2.3 Relating Utility Functions and Indifference Curve Maps

LO 2.3: Explain how to derive an indifference curve from a utility function

2.4 Finding Marginal Utility and Marginal Rate of Substitution

LO 2.4: Derive marginal utility and MRS for typical utility functions.

2.5. Policy Question

Learn: Key Terms and Graphs


Bi-variate functions


Contour line

Diminishing marginal utility


Marginal rate of substitution (MRS)

Marginal utility


Univariate functions



Utility function


3D utility function and contour line



Perfect complements

Perfect substitutes



Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Intermediate Microeconomics by Patrick M. Emerson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book