Multivariable Functions: CH 11.1-7, Excl 11.4
Multivariable Functions: CH 11.1-7, Excl 11.4
Multivariable Functions: CH 11.1-7, Excl 11.4
Week 2
Outline
Visualising
Surface plots
Level curves
Partial derivatives
2/24
Outline
Visualising
Surface plots
Level curves
Partial derivatives
• sometimes:
• argument is called independent or
exogenous variable
• value is called dependent or
endogenous variable
3/24
Functions with two arguments Ch. 11.1
4/24
Functions with two arguments Ch. 11.1
x
• a function with two arguments takes
a pair (x, y ) and assigns value
f (x, y) f (x, y )
f
• now: the rule needs two inputs to
return one value
y
5/24
Functions with two arguments Ch. 11.1
6/24
Outline
Visualising
Surface plots
Level curves
Partial derivatives
7/24
Surface plots Ch. 11.3
partials
8/24
Surface plots Ch. 11.3
1.5
1
2
1.5 1.5 2
1 1
y x
partials
8/24
Surface plots Ch. 11.3
1
2
1.5 1.5 2
1 1
y x
partials
8/24
Surface plots Ch. 11.3
partials
8/24
Surface plots Ch. 11.3
• overall:
2
• in this picture, welfare is the highest
at x = 2, y = 2
• increases as x rises or y rises
1.5 does that make intuitive sense?
1
2
1.5 1.5 2
1 1
y x
partials
8/24
Surface plots Ch. 11.3
• overall:
2
• in this picture, welfare is the highest
at x = 2, y = 2
• increases as x rises or y rises
1.5 does that make intuitive sense?
8/24
Level curves Ch. 11.3
1
• well, x = 1 and y = 1 gives us u = 1. . . so does x = 2 and y = 8
1
u(1, 1) = u 2, =
8
9/24
Level curves Ch. 11.3
1
1
8
1 2 x
10/24
Level curves Ch. 11.3
10/24
Level curves Ch. 11.3
10/24
Level curves Ch. 11.3
• and so on
10/24
Level curves Ch. 11.3
10/24
Level curves Ch. 11.3
11/24
Outline
Visualising
Surface plots
Level curves
Partial derivatives
12/24
Intuition Ch. 11.2
∂f
∂y how f changes with y, holding x fixed
see book for other ways to denote partial derivatives
13/24
Visually Ch. 11.3
14/24
Visually Ch. 11.3
• for x. . .
8
• how the function changes as x
increases, holding y constant
4
• at this point: the function rises as x
increases and y is unchanged
0
∂f
(−1, −1.5) > 0
∂x
−4
2
0 2
0
−2 −2
y x
14/24
Visually Ch. 11.3
• for y. . .
8
• how the function changes as y
increases, holding x constant
4
• at this point: it also increases in this
direction!
0
∂f
(−1, −1.5) > 0
∂y
−4
2
0 2
0
−2 −2
y x
14/24
Visually Ch. 11.3
• the partial ∂x
∂f
(x0 , y0 ) has a natural
8 visual meaning
• for ∂y
∂f
(x0 , y0 ), face in the y direction
−4 (here, “north”)
2
0 2
0 • let’s try with utility
−2 −2
y x
14/24
Computing Ch. 11.2
• translated to math:
∂f
∂x take the derivative with respect to x, as if y is a constant
∂f
∂y take the derivative with respect to y, as if x is a constant
15/24
Partial derivatives: example Ch. 11.2
3 1
• welfare example: u(x, y ) = x 4 y 4
∂u
∂y
16/24
Partial derivatives: example Ch. 11.2
17/24
Outline
Visualising
Surface plots
Level curves
Partial derivatives
• what if you also think a good’s quality should matter for welfare?
• say:
3 1
u = qx 4 y 4
18/24
Functions with many arguments Ch. 11.5
f (x) ≡ f (x1 , x2 , . . . , xn )
19/24
Partial derivatives with many arguments Ch. 11.6
20/24
Partial derivatives with many arguments Ch. 11.6
21/24
Partial derivatives with many arguments Ch. 11.6
3 1 ∂u
u(x, y, q ) = qx 4 y 4 =
∂x
∂u ∂u
= =
∂y ∂q
22/24
Summary
23/24
System of equations practice
24/24