
New Finance Course Alert!
BUSGEN 113 / ECON 114
Counts as an Econ elective for the Econ BA
Are U.S. Treasuries Safe or Risky? Government Debt in the U.S. and Other Mature Economies
Hanno Lustig, Graduate School of Business
Offered this quarter - you can still enroll!
Wednesdays & Fridays, 3-4:20pm in
GSB Botha-Chan 130
pollev.com/chrismakler

Would you (or someone you know) be interested in taking a course on US Treasury bonds?
(Real) attendance question...
BUSGEN 113 / ECON 114
Wednesdays & Fridays, 3-4:20pm
GSB Botha-Chan 130
The Marginal Rate of Substitution and the Implicit Function Theorem
Christopher Makler
Stanford University Department of Economics
Econ 50: Lecture 3
Today's Agenda
- Thinking about tradeoffs: the marginal rate of substitution (MRS)
- Derivatives of multivariate functions and the Implicit Function Theorem
- Applying the IFT to the MRS

Math
Econ
previously in Econ 50...
Choices in general
Choices of commodity bundles
Choosing bundles of two goods
Good 1 \((x_1)\)
Good 2 \((x_2)\)
Given any bundle \(A\),
the choice space may be divided
into three regions:
preferred to A
dispreferred to A
indifferent to A
A
The indifference curve through A connects all the bundles indifferent to A.
Indifference curve
through A
Good 1 - Good 2 Space
Good 1 - Good 2 Space
Two "Goods" (e.g. apples and bananas)
A bundle is some quantity of each good
Can plot this in a graph with \(x_1\) on the horizontal axis and \(x_2\) on the vertical axis
Good 1 - Good 2 Space
What tradeoff is represented by moving
from bundle A to bundle B?
ANY SLOPE IN GOOD 1 - GOOD 2 SPACE
IS MEASURED IN
UNITS OF GOOD 2 PER UNIT OF GOOD 1
ANY SLOPE IN GOOD 1 - GOOD 2 SPACE
IS MEASURED IN
UNITS OF GOOD 2 PER UNIT OF GOOD 1
TW: HORRIBLE STROBE EFFECT!
Marginal Rate of Substitution
🍏🍏
🍏🍏
🍏🍏
🍏🍏
🍏🍏
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍏🍏
🍏🍏
🍏🍏
🍏🍏
🍏🍏
🍏🍏
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
🍌🍌🍌🍌
Suppose you were indifferent between the following two bundles:
Starting at bundle X,
you would be willing
to give up 4 bananas
to get 2 apples
Let apples be good 1, and bananas be good 2.
Starting at bundle Y,
you would be willing
to give up 2 apples
to get 4 bananas
Visually: the MRS is the magnitude of the slope
of an indifference curve
How do we calculate the MRS from a utility function?
Let's review what we learned last time
about multivariable functions...
Multivariable Functions
[INDEPENDENT VARIABLES]
[DEPENDENT VARIABLE]
Derivative of a Univariate Function
at a point \(x\)
the height of the function changes
per distance traveled to the right
rate at which
Local Linearization

Example: suppose a firm's cost function is given by
Suppose the firm is already producing \(q = 30\) units of output. Approximately how much would it cost to produce three more?
Example:
Pretty close to \(3 \times 70\)!
Local Linearization
Partial Derivatives of a Multivariate Function
at a point \((x,y)\)
the height of the function changes
per distance traveled East
rate at which
the height of the function changes
per distance traveled North
rate at which
Univariate Chain Rule
Multivariable Chain Rule
Total Derivative Along a Path
Total Derivative Along a Path
The total change in the height of the function due to a small increase in \(x\)
The amount \(f\) changes due to the increase in \(x\)
[indirect effect through \(y\)]
The amount \(f\) changes due to an increase in \(y\)
The amount \(y\) changes due to an increase in \(x\)
[direct effect from \(x\)]
Derivative Along a Level Set
Take total derivative of both sides with respect to x:
Solve for \(dy/dx\):
IMPLICIT FUNCTION THEOREM
Derivative Along a Level Set
Total derivative with respect to x:
IMPLICIT FUNCTION THEOREM
pollev.com/chrismakler

Consider the multivariable function
What is the slope of the level set passing through the point (1, 5)?

ECONOMICS
Application to Utility Functions: Marginal Utility
Given a utility function \(u(x_1,x_2)\),
we can interpret the partial derivatives
as the "marginal utility" from
another unit of either good:
UTILS
UNITS OF GOOD 1
UTILS
UNITS OF GOOD 2
Indifference Curves and the MRS
Along an indifference curve, all bundles will produce the same amount of utility
In other words, each indifference curve
is a level set of the utility function.
The slope of an indifference curve is the MRS. By the implicit function theorem,
UTILS
UNITS OF GOOD 1
UTILS
UNITS OF GOOD 2
Indifference Curves and the MRS
Along an indifference curve, all bundles will produce the same amount of utility
In other words, each indifference curve
is a level set of the utility function.
The slope of an indifference curve is the MRS. By the implicit function theorem,
UNITS OF GOOD 1
UNITS OF GOOD 2
If you give up \(\Delta x_2\) units of good 2, how much utility do you lose?
If you get \(\Delta x_1\) units of good 1, how much utility do you gain?
If you end up with the same utility as you begin with:
pollev.com/chrismakler

What is the MRS of the utility function \(u(x_1,x_2) = x_1x_2\)?

MRS = 4
MRS = 1
Example: draw the indifference curve for \(u(x_1,x_2) = \frac{1}{2}x_1x_2^2\) passing through (4,6).
Step 1: Evaluate \(u(x_1,x_2)\) at the point
Step 2: Set \(u(x_1,x_2)\) equal to that value.
Step 4: Plug in various values of \(x_1\) and plot!
\(u(4,6) = \frac{1}{2}\times 4 \times 6^2 = 72\)
\(\frac{1}{2}x_1x_2^2 = 72\)
\(x_2^2 = \frac{144}{x}\)
\(x_2 = \frac{12}{\sqrt x_1}\)
How to Draw an Indifference Curve through a Point: Method I
Step 3: Solve for \(x_2\).
How would this have been different if the utility function were \(u(x_1,x_2) = \sqrt{x_1} \times x_2\)?
\(u(4,6) =\sqrt{4} \times 6 = 12\)
\(\sqrt{x_1} \times x_2 = 12\)
\(x_2 = \frac{12}{\sqrt x_1}\)
Example: draw the indifference curve for \(u(x_1,x_2) = \frac{1}{2}x_1x_2^2\) passing through (4,6).
Step 1: Derive \(MRS(x_1,x_2)\). Determine its characteristics: is it smoothly decreasing? Constant?
Step 2: Evaluate \(MRS(x_1,x_2)\) at the point.
Step 4: Sketch the right shape of the curve, so that it's tangent to the line at the point.
How to Draw an Indifference Curve through a Point: Method II
Step 3: Draw a line passing through the point with slope \(-MRS(x_1,x_2)\)
How would this have been different if the utility function were \(u(x_1,x_2) = \sqrt{x_1} \times x_2\)?
This is continuously strictly decreasing in \(x_1\) and continuously strictly increasing in \(x_2\),
so the function is smooth and strictly convex and has the "normal" shape.
Summary
UNITS OF GOOD 1
UNITS OF GOOD 2
IMPLICIT FUNCTION THEOREM
The Marginal Rate of Substitution is the magnitude of the slope of an indifference curve; so, by the implicit function theorem:
Econ 50 | Fall 25 | Lecture 03
By Chris Makler
Econ 50 | Fall 25 | Lecture 03
Modeling Production with Multivariate Functions
- 38