Professional Documents
Culture Documents
Session 3
Derivatives of Higher Order, Equality
of Mixed Partials
Introduction, p 41
3.1 Derivatives of Higher Order, p 41
3.2 Theorems on Higher order derivatives, p 44
Solutions of Activities, p 48
Summary, p 49
Learning Outcomes, p 50
Introduction
Example 3.1
Let 𝑓(𝑥, 𝑦) = 𝑥𝑦 2 + 𝑥 2 𝑦. Then, 𝑓𝑥 = 𝑦 2 + 2𝑥𝑦 and 𝑓𝑦 = 𝑥 2 + 2𝑥𝑦 both
are again functions of 𝑥 and 𝑦. Thus, one can consider, if exist, about partial
derivatives of 𝑓𝑥 and 𝑓𝑦 . In this case partial derivatives of 𝑓𝑥 and 𝑓𝑦 do exist
and (𝑓𝑥 )𝑥 = 2𝑦, (𝑓𝑥 )𝑦 = 2𝑥 + 2𝑦, (𝑓𝑦 )𝑥 = 2𝑥 + 2𝑦 and (𝑓𝑦 )𝑦 = 2𝑥.
Example 3.2
Let f(x, y) = x 2 + y 2 . Then, fx = 2x and fy = 2y. Notice that in this
example fx is a function of the single variable x and fy is a function of the
single variable y. Yet, they possess partial derivatives(fx )x , (fx )y , (fy )x ,
(fy )y .
These functions are called the second order partials. If 𝑓(𝑥, 𝑦) is a function
of two variables, we use the following notations for second-order partials;
𝜕 𝜕𝑓 𝜕 2𝑓
(𝑓𝑥 )𝑥 = 𝑓𝑥𝑥 = � �= 2
𝜕𝑥 𝜕𝑥 𝜕𝑥
𝜕 𝜕𝑓 𝜕 2𝑓
(𝑓𝑥 )𝑦 = 𝑓𝑥𝑦 = � �=
𝜕𝑦 𝜕𝑥 𝜕𝑦𝜕𝑥
𝜕 𝜕𝑓 𝜕 2𝑓
(𝑓𝑦 )𝑥 = 𝑓𝑦𝑥 = � �=
𝜕𝑥 𝜕𝑦 𝜕𝑥𝜕𝑦
𝜕 𝜕𝑓 𝜕 2𝑓
(𝑓𝑦 )𝑦 = 𝑓𝑦𝑦 = � �= 2
𝜕𝑦 𝜕𝑦 𝜕𝑦
Notice how the order of the independent variables changes in the different
forms of the notation. We can define partial derivatives of order greater than
two in a similar manner. For example,
𝜕 𝜕 𝜕𝑓 𝜕 3𝑓
𝑓𝑥𝑖 𝑥𝑗𝑥𝑘 = � � �� = .
𝜕𝑥𝑘 𝜕𝑥𝑗 𝜕𝑥𝑖 𝜕𝑥𝑘 𝜕𝑥𝑗 𝜕𝑥𝑖
We call 𝑓𝑥𝑦 and 𝑓𝑦𝑥 as mixed partial derivatives since 𝑓 has been
differentiated with respect to 𝑥 and 𝑦. In general, if a function has been
differentiated with respect to more than one variable, we call the resulting
function as a mixed partial derivative.
Example 3.3
Let 𝑓(𝑥, 𝑦) = 𝑥𝑦 2 + 𝑥 2 𝑦.
Then,
𝜕 3𝑓 𝜕 𝜕 2𝑓 𝜕
𝑓𝑥𝑥𝑥 = 3
= � 2� = (2𝑦) = 0,
𝜕𝑥 𝜕𝑥 𝜕𝑥 𝜕𝑥
𝜕 3𝑓 𝜕 𝜕 2𝑓 𝜕
𝑓𝑦𝑦𝑦 = 3
= � 2� = (2𝑥) = 0,
𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑦
𝜕 𝜕 2𝑓 𝜕
𝑓𝑥𝑥𝑦 = � 2� = (2𝑦) = 2,
𝜕𝑦 𝜕𝑥 𝜕𝑦
𝜕 𝜕 2𝑓 𝜕
𝑓𝑥𝑦𝑥 = � �= (2𝑥 + 2𝑦) = 2,
𝜕𝑥 𝜕𝑦𝜕𝑥 𝜕𝑥
𝜕 𝜕 2𝑓 𝜕
𝑓𝑦𝑥𝑥 = � �= (2𝑥 + 2𝑦) = 2.
𝜕𝑥 𝜕𝑥𝜕𝑦 𝜕𝑥
𝜕 𝜕 2𝑓 𝜕
𝑓𝑦𝑦𝑥 = � 2� = (2𝑥) = 2,
𝜕𝑥 𝜕𝑦 𝜕𝑥
𝜕 𝜕 2𝑓 𝜕
𝑓𝑦𝑥𝑦 = � �= (2𝑥 + 2𝑦) = 2 and
𝜕𝑦 𝜕𝑥𝜕𝑦 𝜕𝑦
𝜕 𝜕 2𝑓 𝜕
𝑓𝑥𝑦𝑦 = � �= (2𝑥 + 2𝑦) = 2.
𝜕𝑦 𝜕𝑦𝜕𝑥 𝜕𝑦
Notice that there are eight third order partial derivatives. The last six are
mixed partial derivatives.
If you examined the Example 3.1 and 3.2 carefully, you might have
observed something interesting. In both examples we found that 𝑓𝑥𝑦 = 𝑓𝑦𝑥 .
This is not a coincidence as suggested by next two theorems.
Theorem 3.1
Theorem 3.2
Note
It is not hard to see that the above theorem is also valid even if you
𝜕2 𝑓 𝜕2 𝑓
interchange the role of 𝜕𝑦𝜕𝑥
and 𝜕𝑥𝜕𝑦
.
Theorem 3.3
𝜕2 𝑓 𝜕2 𝑓
on 𝐷 and that 𝜕𝑥𝑖 𝜕𝑥𝑗
is continuous on 𝐷. Then, 𝜕𝑥 (𝒙𝟎 ) exists
𝑗 𝜕𝑥𝑖
𝜕2 𝑓 𝜕2 𝑓
and 𝜕𝑥𝑗 𝜕𝑥𝑖
(𝒙𝟎 ) = 𝜕𝑥 𝜕𝑥 (𝒙𝟎 ).
𝑖 𝑗
Note
Here again it is not hard to see that the above theorem is also valid even if
𝜕2 𝑓 𝜕2 𝑓
you interchange the role of 𝜕𝑥 𝜕𝑥 and 𝜕𝑥 .
𝑖 𝑗 𝑗 𝜕𝑥𝑖
Activity 3.1
Let
𝑥 3 𝑦 − 𝑥𝑦 3
𝑖𝑓 (𝑥, 𝑦) ≠ (0, 0)
𝑓(𝑥, 𝑦) = � 𝑥 2 + 𝑦 2 .
0 𝑖𝑓 (𝑥, 𝑦) = (0, 0)
The three theorems just mentioned are related to second-order partials. What
about higher order partial derivatives? Can we expect that a similar result
will be hold for higher order partial derivatives? Our next goal is to answer
this question. As the first task, however, we would like to solve the
following
problem. The approach we have taken to solve the problem will help to get
an insight on how things should go in general.
Example 3.4
Let 𝑓(𝑥1 , 𝑥2 ) be a real-valued function defined on an open set 𝐷 ⊆ ℝ2 .
Assume all the partial derivatives of 𝑓 up to order three exist and are
continuous on 𝐷. Show that 𝑓𝑥2 𝑥1 𝑥1 = 𝑓𝑥1 𝑥2 𝑥1 = 𝑓𝑥1 𝑥1 𝑥2 and 𝑓𝑥1 𝑥2 𝑥2 =
𝑓𝑥2 𝑥1 𝑥2 = 𝑓𝑥2 𝑥2 𝑥1 .
Recall that the notation 𝑓𝑥𝑖 𝑥𝑗𝑥𝑘 , where 𝑖, 𝑗, 𝑘 ∈ {1,2}, stands for the third-
order partial derivative which is obtained by differentiating 𝑓 first with
respect to 𝑥𝑖 and then differentiating the resulting function 𝑓𝑥𝑖 with respect
to 𝑥𝑗 and finally differentiating the resulting function 𝑓𝑥𝑖 𝑥𝑗 with respect to
𝑥𝑘 .
Solution
We will prove that 𝑓𝑥2 𝑥1 𝑥1 = 𝑓𝑥1 𝑥2 𝑥1 = 𝑓𝑥1 𝑥1 𝑥2 . The proof of the other
assertion can readily be obtained by replacing 𝑥1 by 𝑥2 and 𝑥2 by 𝑥1 .
First, observe that irrespective of the order they have occurred in the
differentiation process, the function has been differentiated with respect to
𝑥1 twice whereas the function has been differentiated with respect to 𝑥2 only
once.
Since 𝑓𝑥1 𝑥2 and 𝑓𝑥2 𝑥1 are continuous on 𝐷, by Theorem 3.1, we have 𝑓𝑥1 𝑥2 =
𝑓𝑥2 𝑥1 . Differentiating 𝑓𝑥1 𝑥2 and 𝑓𝑥2 𝑥1 with respect to 𝑥1 gives 𝑓𝑥1 𝑥2 𝑥1 =
𝑓𝑥2 𝑥1 𝑥1 .
Now let us prove that 𝑓𝑥1 𝑥2 𝑥1 = 𝑓𝑥1 𝑥1 𝑥2 . Here, the situation is bit different.
In the previous case if you look at 𝑓𝑥1 𝑥2 𝑥1 and 𝑓𝑥2 𝑥1 𝑥1 , the differentiation
has been terminated after differentiating 𝑓𝑥1 𝑥2 and 𝑓𝑥2 𝑥1 with respect to 𝑥1 .
Since we have the equality 𝑓𝑥1 𝑥2 = 𝑓𝑥2 𝑥1 differentiating both sides of the
equation with respect to 𝑥1 gives the desired result. But in
𝑓𝑥1 𝑥2 𝑥1 and 𝑓𝑥1 𝑥1 𝑥2 , the differentiation has been terminated after
differentiating 𝑓𝑥1 𝑥2 , 𝑓𝑥1 𝑥1 with respect to 𝑥1 and𝑥2 respectively. So to prove
𝑓𝑥1 𝑥2 𝑥1 = 𝑓𝑥1 𝑥1 𝑥2 , let us consider the function 𝑔 = 𝑓𝑥1 - the partial derivative
of 𝑓 with respect to 𝑥1 . Then 𝑔 is a function defined on 𝐷. Since third order
partial derivatives of 𝑓 are continuous on 𝐷, 𝑔𝑥2 𝑥1 and 𝑔𝑥1 𝑥2 are continuous
on 𝐷. Thus by Theorem 3.1, 𝑔𝑥2 𝑥1 = 𝑔𝑥1 𝑥2 on 𝐷. That is (𝑓𝑥1 )𝑥2 𝑥1 =
(𝑓𝑥1 )𝑥1 𝑥2 or equivalently 𝑓𝑥1 𝑥2 𝑥1 = 𝑓𝑥1 𝑥1 𝑥2 .
In other words, one in which 𝑥1 has appeared zero times, one in which 𝑥1
has appeared once, one in which 𝑥1 has appeared twice,…, and one in which
𝑥1 has appeared 𝑘- times.
Example 3.5
Solution
𝜕 𝜕
No. observe that 𝑓𝑥𝑦 = 𝜕𝑦 𝑓𝑥 (𝑥, 𝑦) = −5 and 𝑓𝑦𝑥 = 𝜕𝑥 𝑓𝑦 (𝑥, 𝑦) = 5,so that
Solutions of Activities
Activity 3.1
a.
and
(𝑥 2 + 𝑦 2 )(𝑥 3 − 3𝑥𝑦 2 ) − (𝑥 3 𝑦 − 𝑥𝑦 3 )(2𝑦) 𝑥 5 − 4𝑥 3 𝑦 2 − 𝑥𝑦 4
𝑓𝑦 (𝑥, 𝑦) = = .
(𝑥 2 + 𝑦 2 )2 (𝑥 2 + 𝑦 2 )2
a.
Notice that
𝑥 4 𝑦 + 4𝑥 2 𝑦 3 − 𝑦 5
if f(x, y) ≠ (0, 0)
𝑓𝑥 (𝑥, 𝑦) = � (𝑥 2 + 𝑦 2 )2
0 if f(x, y) = (0, 0)
𝑥 5 −4𝑥 3 𝑦 2 −𝑥𝑦 4
𝑖𝑓 f(x, y) ≠ (0, 0)
And 𝑓𝑦 (𝑥, 𝑦) = � (𝑥 2 +𝑦 2 )2
0 if f(x, y) = (0, 0)
[ℎ3 ⋅ 0 − ℎ ⋅ 0] − 0
𝑓𝑥 (0, 0) = lim = 0 and
ℎ→0 ℎ2 + 0
[0 ⋅ ℎ − 0 ⋅ ℎ3 ] − 0
𝑓𝑦 (0, 0) = lim = 0.
ℎ→0 0 + ℎ2
b.
Notice that
[𝑓𝑥 (0, 0 + ℎ) − 𝑓𝑥 (0, 0)]
𝑓𝑥𝑦 (0, 0) = lim
ℎ→0 ℎ
5
− ℎ �ℎ4
= lim
ℎ→0 ℎ
= −1
and
c.
No. Observe that 𝑓𝑥𝑦 and 𝑓𝑦𝑥 are not continuous at (0, 0). Therefore the statement “if
𝑓𝑥𝑦 , 𝑓𝑦𝑥 are continuous at (0, 0), then 𝑓𝑥𝑦 (0, 0) = 𝑓𝑦𝑥 (0, 0)” is vacuously true.
Summary
If the function 𝑓(𝑥, 𝑦) possess first and second order partial derivatives
on an open ball centered at 𝒙𝟎 ∈ int(Domn(𝑓)) and 𝑓𝑥𝑦 , 𝑓𝑦𝑥 are
continuous at 𝒙𝟎 , then 𝑓𝑥𝑦 (𝒙𝟎 ) = 𝑓𝑦𝑥 (𝒙𝟎 ). In addition, a stronger
version of this result was given which will be useful in forthcoming
sessions.
Also, it was shown that a similar result holds for mixed partial
derivatives of any order of functions of two or more than two variables,
provided that we have continuous mixed partial derivatives of 𝑓 up to
sufficiently higher orders.
Learning Outcomes