Professional Documents
Culture Documents
Lecture 3
Partial Dierentiation
Renshaw - Chapter 14
University of Essex - Department of Economics
Week 18
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 1 / 35
Topics for this week
Graphical and economic interpretation: the slope of the
level curve
Second order partial derivatives
Economic Application: Utility Functions
Cross partials and Youngs Theorem
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 2 / 35
Introduction
Recall that a function of several variables is a relation
between some independent variables x
1
, x
2
, x
3
, ..., x
n
and some dependent variable z such that:
z = f (x
1
, x
2
, x
3
, ...x
n
)
species the value of z given the values of
x
1
, x
2
, x
3
, ...x
n
.
A typical function we encounter in economics is the
Cobb-Douglas function:
u = U(x, y) = Ax
y
1
where A and are positive constants and [0, 1].
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 3 / 35
Today we will analyze these type of functions further by
asking the following questions:
How does z change when x
1
changes assuming
x
2
, x
3
, ..., x
n
are constant?
How does x
1
changes when x
2
change assuming
z, x
3
, ..., x
n
are constant?
The answers to these questions:
will help us graph functions of the form z = f (x, y);
and
have interesting economic interpretations.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 4 / 35
What is a Partial Derivative?
Let us start with a Macro example:
One of the most important questions in
macroeconomics is what determines the growth rate of
a countrys real income.
Suppose that the growth rate, GR, is determined by the following linear
relation:
GR
t
=
0
+
1
I
t
+
2
HC
t
+
3
INST
t
+
4
Tech
t
+... +
z
x
= 9x
2
+ 4xy
Why? Because y is a constant! So when x is multiplied by y, its
derivative will be multiplied by y; when y is just added, then it
disappears from the derivative.
z
y
= 2x
2
+ 2y + 1
As before: Now x is a constant!
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 14 / 35
Another Example
z = (x
3
+ y
2
)
1/2
This is a more complicated case: We have to apply the
Chain Rule. So the derivative will be the product of two
functions: the derivative of theoutside function (i.e.
the power of 1/2) times the derivative of the inside
one. So:
z
x
=
1
2
(x
3
+ y
2
)
1/2
(3x
2
) =
3x
2
2
x
3
+y
2
z
y
=
2y
2
x
3
+y
2
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 15 / 35
Second order partial derivatives
Now it is easy to see that the rst order partial
derivatives tells us if a function is increasing or
decreasing given that we hold constant the rest of
independent variables.
For example, if f (x
0
, y)/y > 0 for all y [0, 10], this
implies that given x = x
0
, the function f is increasing
in y for values of y that range from 0 to 10 inclusive.
Using the previous exercises we obtained that if
f (x, y) = (x
3
+ y
2
)
1/2
then the partial with respect to
y is:
f (x
0
, y)
y
= y(x
3
0
+y
2
)
1/2
> 0 for all values of y > 0 given that x
0
0.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 16 / 35
Summary
If we have a have a function of two variables, we can
calculate two partial derivatives
U(x, y) = x
(1)
=
U
x
= x
1
y
(2)
U
y
= x
y
1
(3)
But each of these derivatives can itself be a function of x
and y. So for each of them we can calculate the derivatives
with respect to x and y!
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 17 / 35
The second derivatives
So the rst derivative with respect to x can be rederived
with respect to x and y
U(x, y) = x
(4)
=
U
x
= x
1
y
(5)
=
2
U
x
2
= ( 1)x
2
y
(6)
2
U
xy
= x
1
y
1
(7)
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 18 / 35
The second derivatives
The same is true with respect to y
U(x, y) = x
(8)
=
U
y
= x
y
1
(9)
=
2
U
y
2
= ( 1)x
y
2
(10)
2
U
yx
= x
1
y
1
(11)
So from a function of two variables we can calculate up to
four second order derivatives.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 19 / 35
First derivative function
Going back to a previous example:
z = (x
3
+ y
2
)
1/2
(12)
Fixing x = x
0
and performing the partial derivative we
obtain a new function in y:
z
y
= h(x
0
, y) = y(x
3
0
+ y
2
)
1/2
.
By dierentiating again with respect to y we can get
information about how this rst partial changes when y
changes holding constant x = x
0
.
That is, how does h change when y changes (i.e., what
is the slope of h(x
0
, y))?
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 20 / 35
The function h
Note that h denes the rate of change of z when y changes
and x = x
0
. In this case, we obtain:
h(x
0
, y)
y
=
2
z
y
2
= (x
3
0
+ y
2
)
1/2
y
2
(x
3
0
+ y
2
)
3/2
.
Consider the case of x = 0; then:
h(0, y)
y
= (y
2
)
1/2
y
2
(y
2
)
3/2
= y
1
y
2
y
3
= y
1
y
1
= 0.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 21 / 35
The interpretation is as follows when x = x
0
= 0 then:
rst partial: an increase in y increases z.
z is an increasing function in y;
second partial: this increase is constant for all y.
Note that we could have obtained the same results by
putting x = x
0
= 0 into f (x, y) and then dierentiating
(f (0, y) = (0
3
+ y
2
)
1/2
= y).
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 22 / 35
A graphical representation
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 23 / 35
Example: Cobb-Douglas function
For the Cobb-Douglas function U(x, y) = x
1/2
y
1/3
we have
that:
U(x, y)
x
=
1
2
x
1/2
y
1/3
> 0,
2
U(x, y)
x
2
=
1
4
x
3/2
y
1/3
< 0.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 24 / 35
Economic Application: Utility Functions
Consumer Theory = Marginal Utility and
Diminishing Marginal Utility
U(x,y)
x
is called the MU
x
when we hold constant the
consumption of y.
U(x,y)
y
is called the MU
y
when we hold constant the
consumption of x.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 25 / 35
If x or y are commodities that we like, we will assume
that both marginal utilities are positive. Consuming
more of x or y increases our utility. So
U
x
,
U
y
> 0
However, it might be that as we increase the
consumption of x or y we get satiated and our utility
increases but at a decreasing rate as our consumption
increases.
In this case we would expect the second partial
derivatives to be negative.
So
2
U
x
2
,
2
U
y
2
< 0
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 26 / 35
Cross Partial Derivatives
Recall that second order partial derivatives measure
how the slope of z = f (x, y
0
) changes when x changes.
Cross partials are a natural extension as they measure
how the slope of z = f (x, y
0
) changes when y changes
keeping x constant.
Formally cross partials are denoted by:
2
f (x, y)
xy
or
2
f (x, y)
yx
.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 27 / 35
Youngs Theorem
Denition (Youngs Theorem)
For a function y = f (x
1
, x
2
, . . . , x
n
), with continuous rst
and second-order partial derivatives, the order of
dierentiation in computing cross-partials is irrelevant.
2
f (x, y)
xy
=
2
f (x, y)
yx
.
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 28 / 35
Graphical Representation
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 29 / 35
The other cross partial derivative
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 30 / 35
Example: Cobb-Douglas Function
For the Cobb-Douglas utility function we have
U(x, y) = x
0.5
y
0.5
U(x, y)
x
=
1
2
y
x
0.5
and
U(x, y)
y
=
1
2
x
y
0.5
2
U(x, y)
x
2
=
1
4
y
0.5
x
1.5
and
2
U(x, y)
y
2
=
1
4
x
0.5
y
1.5
2
U(x, y)
xy
=
1
4
x
0.5
y
0.5
=
2
U(x, y)
yx
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 31 / 35
More exercises
Find the second and cross partial derivatives of
1
z = 3x
3
+ 2x
2
y + y
2
+ y
z
x
= 9x
2
+ 4xy
z
y
= 2x
2
+ 2y + 1
2
z = (x
3
+ y
2
)
0.5
z
x
=
3
2
x
2
(x
3
+ y
2
)
0.5
z
y
= y(x
3
+ y
2
)
0.5
3
z = 100e
2x+3y
z
x
= 200e
2x+3y
z
y
= 300e
2x+3y
Domenico Tabasso (University of Essex - Department of Economics) Lecture 3 Week 18 32 / 35