Sangotola AMS210 - 051437
Sangotola AMS210 - 051437
Sangotola AMS210 - 051437
SANGOTOLA
Preliminary
Some standard differentials
𝑦 = 𝑓(𝑥) 𝑑𝑦
= 𝑓′(𝑥)
𝑑𝑥
𝑘 (𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡) 0
𝑥𝑛 𝑛𝑥 𝑛−1
𝑒𝑥 𝑒𝑥
𝑒 𝑘𝑥 𝑘𝑒 𝑘𝑥
𝑎𝑥 𝑎 𝑥 𝐼𝑛 𝑎
sin 𝑥 cos 𝑥
sin 𝑘𝑥 𝑘 cos 𝑘𝑥
cos 𝑥 − sin 𝑥
cos 𝑘𝑥 −𝑘 sin 𝑘𝑥
tan 𝑥 𝑠𝑒𝑐 2 𝑥
tan 𝑘𝑥 𝑘𝑠𝑒𝑐 2 𝑘𝑥
sec 𝑥 sec 𝑥 tan 𝑥
sec 𝑘𝑥 𝑘 sec 𝑘𝑥 tan 𝑘𝑥
csc 𝑥 − csc 𝑥 tan 𝑥
csc 𝑘𝑥 −𝑘 csc 𝑘𝑥 cot 𝑘𝑥
cot 𝑥 −𝑐𝑜𝑠𝑒𝑐 2 𝑥
cot 𝑘𝑥 −𝑘𝑐𝑜𝑠𝑒𝑐 2 𝑘𝑥
𝐼𝑛𝑥 1
𝑥
𝐼𝑛 𝑘𝑥 1
𝑥
sin−1 𝑥 1
√1 − 𝑥 2
cos−1 𝑥 1
−
√1 − 𝑥 2
tan−1 𝑥 1
1 + 𝑥2
1
AMS 210 NOTE 1 A.O. SANGOTOLA
Module 1
Function of several variables
1.1 Introduction to multivariate functions
A function of several variables is of the form 𝑓: ℝ𝑛 → ℝ where 𝑛 is the number of independent
variables.
𝑧 is called a function of two variables 𝑥 and 𝑦 if 𝑧 produces a definite value for every pair of 𝑥
and 𝑦. It is written as 𝑧 = 𝑓(𝑥, 𝑦).
Example
The function 𝑓: ℝ2 → ℝ defined by 𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦𝑠𝑖𝑛𝑥 is a function of two variables
2
AMS 210 NOTE 1 A.O. SANGOTOLA
Theorem
Let 𝐿, 𝑀 and 𝑐 be real numbers and Let
lim 𝑓(𝑥, 𝑦) = 𝐿 and
(𝑥,𝑦)→(𝑎,𝑏)
lim 𝑔(𝑥, 𝑦) = 𝑀
(𝑥,𝑦)→(𝑎,𝑏)
lim 𝑥=𝑎
(𝑥,𝑦)→(𝑎,𝑏)
lim 𝑦=𝑏
(𝑥,𝑦)→(𝑎,𝑏)
3
AMS 210 NOTE 1 A.O. SANGOTOLA
Evaluating limits
For 𝑧 = 𝑓(𝑥, 𝑦), there are infinitely many curves along which one can approach (𝑎, 𝑏). If all
these limits coincide then 𝑓(𝑥, 𝑦) has a limit at (𝑎, 𝑏).
Example
3𝑥 2 𝑦
Evaluate lim
(𝑥,𝑦)→(1,2) 𝑥 2 +𝑦2 +5
Solution
3𝑥 2 𝑦 3𝑥 2 𝑦 6𝑥 2 3
lim 2 2
= lim [lim 2 2
] = lim 2
=
(𝑥,𝑦)→(1,2) 𝑥 + 𝑦 + 5 𝑥→1 𝑦→2 𝑥 + 𝑦 + 5 𝑥→1 𝑥 + 9 5
3𝑥 2 𝑦 3𝑥 2 𝑦 3𝑦 3
lim 2 2
= lim [lim 2 2
] = lim 2 =
(𝑥,𝑦)→(1,2) 𝑥 + 𝑦 + 5 𝑦→2 𝑥→1 𝑥 + 𝑦 + 5 𝑦→2 𝑦 + 6 5
3𝑥 2 𝑦 3𝑥 2 (2𝑥) 6𝑥 3 3
lim = lim = lim =
(𝑥,𝑦)→(1,2) 𝑥 2 + 𝑦 2 + 5 𝑥→1 𝑥 2 + (2𝑥)2 + 5 𝑥→1 𝑥 2 + 4𝑥 2 + 5 5
Example
𝑥𝑦 2
Show that lim does not exist
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦4
Solution
𝑥𝑦 2 𝑥𝑦 2
lim = lim [lim ] = lim 0 = 0
(𝑥,𝑦)→(0,0) 𝑥 2 + 𝑦 4 𝑥→0 𝑦→0 𝑥 2 + 𝑦 4 𝑥→0
𝑥𝑦 2 𝑥𝑦 2
lim = lim [lim ] = lim 0 = 0
(𝑥,𝑦)→(0,0) 𝑥 2 + 𝑦 4 𝑦→0 𝑥→0 𝑥 2 + 𝑦 4 𝑦→0
𝑥𝑦 2 (𝑦 2 )(𝑦 2 ) 𝑦4 1 1
lim = lim = lim = lim =
(𝑥,𝑦)→(0,0) 𝑥 2 + 𝑦 4 𝑦→0 (𝑦 2 )2 + 𝑦 4 𝑦→0 𝑦 4 + 𝑦 4 𝑦→0 2 2
𝑥𝑦 2
Since the limit is not unique, lim does not exist.
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦 4
4
AMS 210 NOTE 1 A.O. SANGOTOLA
Example
𝑥 2 −𝑦 2
𝑖𝑓(𝑥, 𝑦) ≠ (0,0)
Check if 𝑓(𝑥, 𝑦) = { 𝑥 2 +𝑦 2 is continuous at (0,0).
0 𝑖𝑓 (𝑥, 𝑦) = (0,0)
Solution
𝑥2 − 𝑦2 𝑥2 − 𝑦2 −𝑦 2
lim = lim [lim ] = lim = lim − 1 = −1
(𝑥,𝑦)→(0,0) 𝑥 2 + 𝑦 2 𝑦→0 𝑥→0 𝑥 2 + 𝑦 2 𝑦→0 𝑦 2 𝑦→0
𝑥2 − 𝑦2 𝑥2 − 𝑦2 𝑥2
lim = lim [lim ] = lim = lim 1 = 1
(𝑥,𝑦)→(0,0) 𝑥 2 + 𝑦 2 𝑥→0 𝑦→0 𝑥 2 + 𝑦 2 𝑥→0 𝑥 2 𝑦→0
𝑥 2 −𝑦 2
lim does not exist.
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦 2
𝑓(0,0) = 0.
𝑥 2 −𝑦 2
𝑓(𝑥, 𝑦) is not continuous at (0,0) since lim does not exist.
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦 2
5
AMS 210 NOTE 1 A.O. SANGOTOLA
Module 2
Partial derivatives
2.1 Introduction to partial derivative
The basic idea of a partial derivative is to differentiate derivative story. with respect to one
variable while holding all the others constant
Let 𝑧 = 𝑓(𝑥, 𝑦) be functions of two independent variables 𝑥 and 𝑦. If you keep 𝑦 constant and 𝑥
varies then 𝑧 becomes a function of 𝑥 only. The derivative of 𝑧 with respect to 𝑥 keeping 𝑦
constant is called partial derivative of 𝑧 with respect to 𝑥 and it is denoted by
𝜕𝑧 𝜕𝑓
, or 𝑓𝑥 .
𝜕𝑥 𝜕𝑥
The first partial derivative of 𝑓(𝑥, 𝑦) with respect to the variables 𝑥 and 𝑦 denoted by 𝑓𝑥 and 𝑓𝑦
respectively are given by
𝑓(𝑥 + ℎ, 𝑦) − 𝑓(𝑥, 𝑦)
𝑓𝑥 = lim
ℎ→0 ℎ
𝑓(𝑥, 𝑦 + 𝑘) − 𝑓(𝑥, 𝑦)
𝑓𝑦 = lim
𝑘→0 𝑘
Provided the limits exist.
Example
𝜕𝑓 𝜕𝑓
If 𝑓(𝑥, 𝑦) = sin(2𝑥 + 3𝑦), evaluate 𝜕𝑥 and 𝜕𝑦
Solution
𝜕𝑓
= 2cos(2𝑥 + 3𝑦)
𝜕𝑥
𝜕𝑓
= 3cos(2𝑥 + 3𝑦)
𝜕𝑦
Example
𝜕𝑧 𝜕𝑧 1
Determine 𝜕𝑥 and 𝜕𝑦 if 𝑧 =
√𝑥 2 +𝑦2
Solution
1 1
𝑧= = (𝑥 2 +𝑦 2 )−2
√𝑥 2 +𝑦 2
𝜕𝑧 1 3 3 −𝑥
= (− ) (𝑥 2 +𝑦 2 )−2 (2𝑥) = −𝑥(𝑥 2 +𝑦 2 )−2 =
𝜕𝑥 2 √(𝑥 2 +𝑦 2 )3
6
AMS 210 NOTE 1 A.O. SANGOTOLA
𝜕𝑧 1 3 3 −𝑦
= (− ) (𝑥 2 +𝑦 2 )−2 (2𝑦) = −𝑦(𝑥 2 +𝑦 2 )−2 =
𝜕𝑥 2 √(𝑥 2 +𝑦 2 )3
Example
𝜕2 𝑧 𝜕2 𝑧
Show that when , 𝑧 = 𝑒 −𝑡 sin 𝜃, + 𝜕𝜃2 = 0
𝜕𝑡 2
Solution
𝜕𝑧 𝜕 2𝑧
= −𝑒 −𝑡 sin 𝜃, 2 = 𝑒 −𝑡 sin 𝜃
𝜕𝑡 𝜕𝑡
Likewise,
𝜕𝑧 𝜕 2𝑧
= 𝑒 −𝑡 cos 𝜃, 2 = −𝑒 −𝑡 sin 𝜃
𝜕𝜃 𝜕𝜃
Hence,
𝜕 2𝑧 𝜕 2𝑧
+ = 𝑒 −𝑡 sin 𝜃 − 𝑒 −𝑡 sin 𝜃 = 0
𝜕𝑡 2 𝜕𝜃 2
7
AMS 210 NOTE 1 A.O. SANGOTOLA
Example
𝑑𝑧
Find if 𝑧 = sin(𝑥 2 +𝑦 2 ) , 𝑥 = 𝑡 2 + 3, 𝑦 = 𝑡 3
𝑑𝑡
Solution
𝑑𝑧 𝜕𝑧 𝑑𝑥 𝜕𝑧 𝑑𝑦
= + = 2𝑥 cos(𝑥 2 +𝑦 2 )(2𝑡) + 2𝑦 cos(𝑥 2 +𝑦 2 )(3𝑡 2 )
𝑑𝑡 𝜕𝑥 𝑑𝑡 𝜕𝑦 𝑑𝑡
Theorem 2:
If 𝑧 = 𝑓(𝑥, 𝑦) and 𝑥 and 𝑦 are also functions of 𝑢 and 𝑣, then 𝑧 = 𝑓(𝑢, 𝑣).
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦
= +
𝜕𝑢 𝜕𝑥 𝜕𝑢 𝜕𝑦 𝜕𝑢
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦
= +
𝜕𝑣 𝜕𝑥 𝜕𝑣 𝜕𝑦 𝜕𝑣
Likewise,
𝜕 2𝑧 𝜕 𝜕𝑧
= ( )
𝜕𝑢2 𝜕𝑢 𝜕𝑢
𝜕 2𝑧 𝜕 𝜕𝑧
= ( )
𝜕𝑣 2 𝜕𝑣 𝜕𝑣
8
AMS 210 NOTE 1 A.O. SANGOTOLA
Example
𝜕𝑧 𝜕𝑧
(1) If 𝑧 = 𝑥 2 + 𝑦 2 where 𝑥 = 𝑟𝑐𝑜𝑠 𝜃 and 𝑦 = 𝑟𝑠𝑖𝑛 𝜃. Obtain 𝜕𝑟 and 𝜕𝜃
Solution
𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦 𝜕𝑥 𝜕𝑥
= 2𝑥, 𝜕𝑟 = 𝑐𝑜𝑠 𝜃, 𝜕𝑦 = 2𝑦, 𝜕𝑟 = 𝑠𝑖𝑛 𝜃, 𝜕𝜃 = −𝑟𝑠𝑖𝑛 𝜃, 𝜕𝜃 = 𝑟𝑐𝑜𝑠 𝜃
𝜕𝑥
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦
= + = 2𝑥𝑐𝑜𝑠𝜃 + 2𝑦𝑠𝑖𝑛𝜃 = 2(𝑥𝑐𝑜𝑠𝜃 + 𝑦𝑠𝑖𝑛𝜃)
𝜕𝑟 𝜕𝑥 𝜕𝑟 𝜕𝑦 𝜕𝑟
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦
= 𝜕𝑥 𝜕𝜃 + 𝜕𝑦 𝜕𝜃 = −2𝑟𝑥𝑠𝑖𝑛𝜃 + 2𝑟𝑦𝑐𝑜𝑠𝜃 = 2𝑟(𝑦𝑐𝑜𝑠𝜃 − 𝑥𝑠𝑖𝑛𝜃).
𝜕𝜃
𝜕2 𝑧 𝜕2 𝑧 𝜕2 𝑧
(2) If 𝑧 = 𝑓(𝑥, 𝑦), 𝑥 = 𝑒 𝑢 cos 𝑣 and 𝑦 = 𝑒 𝑢 sin 𝑣, show that + 𝜕𝑣2 = (𝑥 2 + 𝑦 2 ) (𝜕𝑥 2 +
𝜕𝑢2
𝜕2 𝑧
).
𝜕𝑦 2
Solution
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦 𝜕𝑧 𝑢 𝜕𝑧 𝑢 𝜕𝑧 𝜕𝑧
= + = (𝑒 cos 𝑣) + (𝑒 sin 𝑣) = 𝑥 + 𝑦
𝜕𝑢 𝜕𝑥 𝜕𝑢 𝜕𝑦 𝜕𝑢 𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑦
𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑧 𝜕𝑦 𝜕𝑧 𝜕𝑧 𝑢 𝜕𝑧 𝜕𝑧
= + = (−𝑒 𝑢 𝑠𝑖𝑛 𝑣) + (𝑒 𝑐𝑜𝑠 𝑣) = −𝑦 + 𝑥
𝜕𝑣 𝜕𝑥 𝜕𝑣 𝜕𝑦 𝜕𝑣 𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑦
𝜕 2𝑧 𝜕 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧
2
= ( )= (𝑥 + 𝑦 )=𝑥 +𝑥 ( )+ 𝑦 +𝑦 ( )
𝜕𝑢 𝜕𝑢 𝜕𝑢 𝜕𝑢 𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑢 𝜕𝑥 𝜕𝑦 𝜕𝑢 𝜕𝑦
𝜕 2𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧
2
=𝑥 +𝑥 ( )+ 𝑦 +𝑦 ( )
𝜕𝑢 𝜕𝑥 𝜕𝑥 𝜕𝑢 𝜕𝑦 𝜕𝑦 𝜕𝑢
𝜕 2𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧
= 𝑥 + 𝑥 (𝑥 + 𝑦 ) + 𝑦 + 𝑦 (𝑥 + 𝑦 )
𝜕𝑢2 𝜕𝑥 𝜕𝑥 𝜕𝑥 𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑦
𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧 𝜕 2𝑧 𝜕𝑧 𝜕 2𝑧 2
𝜕 2𝑧
= 𝑥 + 𝑥 + 𝑥𝑦 + 𝑦 + 𝑥𝑦 + 𝑦
𝜕𝑢2 𝜕𝑥 𝜕𝑥 2 𝜕𝑥𝜕𝑦 𝜕𝑦 𝜕𝑥𝜕𝑦 𝜕𝑥 2
Therefore,
𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧 𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧
= 𝑥 + 𝑥 + 2𝑥𝑦 + 𝑦 +𝑦
𝜕𝑢2 𝜕𝑥 𝜕𝑥 2 𝜕𝑥𝜕𝑦 𝜕𝑦 𝜕𝑥 2
Similarly,
𝑥 = 𝑒 𝑢 cos 𝑣 and 𝑦 = 𝑒 𝑢 sin 𝑣
9
AMS 210 NOTE 1 A.O. SANGOTOLA
𝜕 2𝑧 𝜕 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧
= ( ) = (−𝑦 + 𝑥 ) = −𝑥 − 𝑦 ( ) − 𝑦 + 𝑥 ( )
𝜕𝑣 2 𝜕𝑣 𝜕𝑣 𝜕𝑣 𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑣 𝜕𝑥 𝜕𝑦 𝜕𝑣 𝜕𝑦
𝜕 2𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧
= −𝑥 − 𝑦 ( ) − 𝑦 + 𝑥 ( )
𝜕𝑣 2 𝜕𝑥 𝜕𝑥 𝜕𝑣 𝜕𝑦 𝜕𝑦 𝜕𝑣
𝜕 2𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧 𝜕𝑧 𝜕 𝜕𝑧 𝜕𝑧
= −𝑥 − 𝑦 (−𝑦 + 𝑥 ) − 𝑦 + 𝑥 (−𝑦 + 𝑥 )
𝜕𝑣 2 𝜕𝑥 𝜕𝑥 𝜕𝑥 𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑦
𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧 𝜕 2𝑧 𝜕𝑧 𝜕 2𝑧 2
𝜕 2𝑧
= −𝑥 +𝑦 − 𝑥𝑦 − 𝑦 − 𝑥𝑦 +𝑥
𝜕𝑣 2 𝜕𝑥 𝜕𝑥 2 𝜕𝑥𝜕𝑦 𝜕𝑦 𝜕𝑥𝜕𝑦 𝜕𝑥 2
Therefore,
𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧 𝜕 2𝑧 𝜕𝑧 2
𝜕 2𝑧
= −𝑥 +𝑦 − 2𝑥𝑦 − 𝑦 +𝑥
𝜕𝑣 2 𝜕𝑥 𝜕𝑥 2 𝜕𝑥𝜕𝑦 𝜕𝑦 𝜕𝑥 2
Hence,
𝜕 2𝑧 𝜕 2𝑧 2
𝜕 2𝑧 2
𝜕 2𝑧 2
𝜕 2𝑧 2
𝜕 2𝑧
+ = 𝑥 +𝑦 + 𝑦 +𝑥
𝜕𝑢2 𝜕𝑣 2 𝜕𝑥 2 𝜕𝑥 2 𝜕𝑥 2 𝜕𝑥 2
𝜕 2𝑧 𝜕 2𝑧 2 2)
𝜕 2𝑧 𝜕 2𝑧
+ = (𝑥 + 𝑦 ( + ).
𝜕𝑢2 𝜕𝑣 2 𝜕𝑥 2 𝜕𝑦 2
10
AMS 210 NOTE 1 A.O. SANGOTOLA
𝑏𝑙3
(2) The second moment of area of a rectangle is given by 𝐼 = . If 𝑏 and 𝑙 are measured as 40
3
mm and 90 mm respectively and the measurement errors are −5 mm in 𝑏 and +8 mm in 𝑙, find
the approximate error in the calculated value of 𝐼.
Solution
𝜕𝐼 𝜕𝐼
𝛿𝐼 ≈ 𝛿𝑏 + 𝛿𝑙
𝜕𝑏 𝜕𝑙
𝑏𝑙3 𝜕𝐼 𝑙3 𝜕𝐼
Since 𝐼 = then 𝜕𝑏 = and 𝜕𝑙 = 𝑏𝑙 2
3 3
11
AMS 210 NOTE 1 A.O. SANGOTOLA
𝛿𝑏 = −5, 𝛿𝑙 = 8
Hence
𝑙3
𝛿𝐼 ≈ ( ) (−5) + (𝑏𝑙 2 )(−5)
3
Since b = 40 mm and l = 90 mm then
903
𝛿𝐼 ≈ ( ) (−5) + (40)(902 )(8)
3
= 1377000𝑚𝑚4 = 137.7𝑐𝑚4
Hence the approximate error in the calculated value of I is a 137.7 cm4 increase.
Example
𝜕𝑧
Given that 𝑥 2 + 𝑦 2 + 𝑧 2 = 1, evaluate 𝜕𝑥
Solution
𝜕𝑧 𝐹𝑥 2𝑥 𝑥
=− =− =
𝜕𝑥 𝐹𝑧 2𝑧 𝑧
Partial derivative of implicit function by Jacobian.
Jacobian
If 𝑢 and 𝑣 are functions of two independent variables 𝑥 and 𝑦, then determinant
𝜕𝑢 𝜕𝑢
𝜕(𝑢, 𝑣) 𝜕𝑥 𝜕𝑦|
𝐽= = ||
𝜕(𝑥, 𝑦) 𝜕𝑣 𝜕𝑣 |
𝜕𝑥 𝜕𝑦
12
AMS 210 NOTE 1 A.O. SANGOTOLA
1 𝜕(𝑓1 , 𝑓2 )
=−
𝐽 𝜕(𝑥, 𝑣)
Likewise,
𝜕𝑣 1 𝜕(𝑓1 , 𝑓2 )
=−
𝜕𝑥 𝐽 𝜕(𝑢, 𝑥)
𝜕𝑢 1 𝜕(𝑓1 , 𝑓2 )
=−
𝜕𝑦 𝐽 𝜕(𝑦, 𝑣)
𝜕𝑣 1 𝜕(𝑓1 , 𝑓2 )
=−
𝜕𝑦 𝐽 𝜕(𝑢, 𝑦)
Example
𝜕𝑢
If the equation 𝑥 = 𝑢2 + 𝑣 2 and 𝑦 = 𝑢𝑣 are solved in terms of 𝑥ans 𝑦. Evaluate 𝜕𝑥 .
Solution
𝑓1 (𝑥, 𝑦, 𝑢, 𝑣) = 𝑢2 + 𝑣 2 − 𝑥 = 0
𝑓2 (𝑥, 𝑦, 𝑢, 𝑣) = 𝑢𝑣 − 𝑦 = 0
13
AMS 210 NOTE 1 A.O. SANGOTOLA
𝜕(𝑓1 ,𝑓2 )
𝜕𝑢 − 𝜕(𝑥,𝑣)
= ⁄𝜕(𝑓1 ,𝑓2 ,)
𝜕𝑥
𝜕(𝑢,𝑣)
1 𝜕(𝑓1 , 𝑓2 )
=−
𝐽 𝜕(𝑥, 𝑣)
𝜕𝑓1 𝜕𝑓1
𝜕(𝑓1 , 𝑓2 ) 𝜕𝑣 | = |2𝑢 2𝑣
𝐽= = | 𝜕𝑢 | = 2𝑢2 − 2𝑣 2
𝜕(𝑢, 𝑣) 𝜕𝑓2 𝜕𝑓2 𝑣 𝑢
𝜕𝑢 𝜕𝑣
𝜕𝑓1 𝜕𝑓1
𝜕(𝑓1 , 𝑓2 ) 𝜕𝑣 | = |−1 2𝑣
𝐽= = | 𝜕𝑥 | = −𝑢
𝜕(𝑥, 𝑣) 𝜕𝑓2 𝜕𝑓2 0 𝑢
𝜕𝑥 𝜕𝑣
Therefore,
𝜕𝑢 1 𝑢
=− 2 2
× (−𝑢) =
𝜕𝑥 2𝑢 − 2𝑣 2(𝑢 − 𝑣 2 )
2
14
AMS 210 NOTE 1 A.O. SANGOTOLA
Module 3
Application of Partial derivative
3.1 Taylor’s series expansion
The Taylor’s series expansion of 𝑓(𝑥, 𝑦) about (𝑎, 𝑏) is
𝑓(𝑥, 𝑦) = 𝑓(𝑎, 𝑏) + 𝑓𝑥 (𝑥 − 𝑎) + 𝑓𝑦 (𝑦 − 𝑏) +
1
[𝑓 (𝑥 − 𝑎)2 + 2𝑓𝑥𝑦 (𝑥 − 𝑎)(𝑦 − 𝑏) + 𝑓𝑦𝑦 (𝑦 − 𝑏)2 ] + ⋯
2! 𝑥𝑥
Where all the derivatives are evaluated at (𝑎, 𝑏).
Example
Find the Taylor’s polynomial of degree 2 in powers of 𝑥 and 𝑦 for the function 𝑓(𝑥, 𝑦) = 𝑒 𝑥−2𝑦 .
Solution
Since we are not given (𝑎, 𝑏) in the question, we will take it to be (0, 0). Hence the formula
1
becomes 𝑓(𝑥, 𝑦) = 𝑓(0,0) + 𝑓𝑥 (𝑥 − 0) + 𝑓𝑦 (𝑦 − 0) + [𝑓𝑥𝑥 (𝑥 − 0)2 + 2𝑓𝑥𝑦 (𝑥 − 0)(𝑦 − 0) +
2!
𝑓𝑦𝑦 (𝑦 − 0)2 ]
(0,0)
𝑓(𝑥, 𝑦) 𝑒 𝑥−2𝑦 1
𝑓𝑥 𝑒 𝑥−2𝑦 1
𝑓𝑦 −2𝑒 𝑥−2𝑦 −2
𝑓𝑥𝑥 𝑒 𝑥−2𝑦 1
𝑓𝑥𝑦 −2𝑒 𝑥−2𝑦 −2
𝑓𝑦𝑦 4𝑒 𝑥−2𝑦 4
15
AMS 210 NOTE 1 A.O. SANGOTOLA
Solution
𝜋 𝜋
𝑓(𝑥, 𝑦) = 𝑓 ( , 1) + 𝑓𝑥 (𝑥 − ) + 𝑓𝑦 (𝑦 − 1) +
2 2
1 𝜋 2 𝜋
[𝑓𝑥𝑥 (𝑥 − ) + 2𝑓𝑥𝑦 (𝑥 − ) (𝑦 − 1) + 𝑓𝑦𝑦 (𝑦 − 1)2 ]
2! 2 2
𝜋
( , 1)
2
𝑓(𝑥, 𝑦) sin 𝑥 1
𝑦
𝑓𝑥 cos 𝑥 0
𝑦
𝑓𝑦 sin 𝑥 −1
−
𝑦2
𝑓𝑥𝑥 sin 𝑥 −1
−
𝑦
𝑓𝑥𝑦 cos 𝑥 0
−
𝑦2
𝑓𝑦𝑦 2 sin 𝑥 2
𝑦3
16
AMS 210 NOTE 1 A.O. SANGOTOLA
Theorem 2 (Second derivative test). Let 𝑓(𝑥, 𝑦) have continuous second-order partial
derivatives in some disc centred at a critical point (𝑎, 𝑏)and let
D = 𝑓𝑥𝑥 (𝑎, 𝑏)𝑓𝑦𝑦 (𝑎, 𝑏) − 𝑓𝑥𝑥 (𝑎, 𝑏)2
1. If D > 0 and 𝑓𝑥𝑥 (𝑎, 𝑏) > 0, then f has a relative minimum at (𝑎, 𝑏)
2. If D > 0 and 𝑓𝑥𝑥 (𝑎, 𝑏) < 0, then f has a relative maximum at (𝑎, 𝑏)
3. If D < 0, then f has a saddle point at (𝑎, 𝑏)
4. If D = 0, then no conclusion can be drawn.
𝑓𝑥𝑥 𝑓𝑥𝑦
Note: 𝐷 can be expressed as | |
𝑓𝑥𝑦 𝑓𝑦𝑦
Example
Find and classify the critical points of 𝑓(𝑥, 𝑦) = 𝑥 3 + 𝑦 3 − 3𝑥𝑦.
Solution
Step 1: Obtain the critical point using Theorem 1.
Step 2: Classify the critical point using Theorem 2.
Step 1: 𝑓𝑥 = 3𝑥 2 − 3𝑦
𝑓𝑦 = 3𝑦 2 − 3𝑥
𝑓𝑥 = 3𝑥 2 − 3𝑦 = 0 ⋯ ⋯ (1)
𝑓𝑦 = 3𝑦 2 − 3𝑥 = 0 ⋯ ⋯ (2)
𝑦 4 = 𝑦 ⟹ 𝑦 4 − 𝑦 = 0 ⟹ 𝑦(𝑦 3 − 1) = 0
Hence, 𝑦 = 0 or 𝑦 = 1
17
AMS 210 NOTE 1 A.O. SANGOTOLA
𝑔=𝑐
While 𝜆 is a dummy variable called a Lagrange multiplier.
Example
Determine the minimum and maximum values on 𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦 2 − 2𝑥 − 2𝑦 subject to the
constraint 𝑥 2 + 𝑦 2 = 4
Solution
𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦 2 − 2𝑥 − 2𝑦
𝑔(𝑥, 𝑦) = 𝑥 2 + 𝑦 2 = 4
𝑓𝑥 = 𝜆𝑔𝑥 → 2𝑥 − 2 = 2𝑥𝜆……….(1)
𝑓𝑦 = 𝜆𝑔𝑦 → 2𝑦 − 2 = 2𝑦𝜆……..(2)
18
AMS 210 NOTE 1 A.O. SANGOTOLA
𝑥 2 + 𝑦 2 = 4…………………….(3)
Combining (1) and (2) gives
𝑥−1 𝑦−1
𝜆= =
𝑥 𝑦
𝑥−1 𝑦−1
Solving = gives 𝑦 = 𝑥……(4)
𝑥 𝑦
Hence, 𝑥 = ±√2
Similarly, 𝑦 = ±√2
The critical points are (√2 , √2 ),(−√2 , −√2 ), (√2 , −√2 ) and (−√2 , √2 )
𝑓(√2 , √2 ) = 4 − 4√2
(√2 , √2 ) produced a minimum point while (−√2 , −√2 ) produced a maximum point.
Quiz
Find and classify the critical points of 𝑓(𝑥, 𝑦) = 2𝑥 3 + 9𝑥𝑦 2 + 15𝑥 2 + 27𝑦 2 .
19
AMS 210 NOTE 1 A.O. SANGOTOLA
Tutorial questions
𝑥𝑦 3
(1) Evaluate lim if it exists.
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦 6
tan(𝑥 2 +𝑦)
(2) Show that lim does not exist
(𝑥,𝑦)→(0,0) 𝑥+𝑦
sin(𝑥𝑦)
(3) Show that lim does not exist
(𝑥,𝑦)→(0,0) 𝑥 2 +𝑦 2
2𝑥 2 +𝑦 2
(5) Evaluate lim .
(𝑥,𝑦)→(1,2) 2𝑥𝑦
𝑥𝑦(𝑥 2 −𝑦 2 )
𝑖𝑓(𝑥, 𝑦) ≠ (0,0)
(6) Show that the function defined by𝑓(𝑥, 𝑦) = { 𝑥 2 +𝑦 2 is continuous at
0 𝑖𝑓 (𝑥, 𝑦) = (0,0)
(0,0).
2𝑥 2 + 𝑦 , (𝑥, 𝑦) ≠ (1,2)
(7) Show that the function defined by𝑓(𝑥, 𝑦) = { is discontinuous at
0 𝑖𝑓 (𝑥, 𝑦) = (1,2)
(1,2).
𝑥+𝑦 1
(iii) 𝑓(𝑥, 𝑦) = 𝑥−𝑦 (iv) 𝑓(𝑥, 𝑦) = 𝑥 2 −𝑦 2
1 𝐿
(10) 𝑄 factor in a resonant electrical circuit is given by: 𝑄 = 𝑅 √𝐶. Find the percentage change
in 𝑄 when 𝐿 increases by 5%, 𝑅 decreases by 4% and 𝐶 decreases by 3%.
20