Multivariable Calculus
Multivariable Calculus
4. Multivariable Calculus
Partial derivatives
▪ Introduction
Functions of two or more variables
▪ Partial derivatives
▪ Total derivative rule
▪ Maxima and Minima of functions of two variables 𝑧 = 𝑓(𝑥, 𝑦)
▪ Lagrange’s Method
▪ Gradient and directional derivatives
▪ Tangent plane and Normal line
https://au.icloudems.com/corecampus/index.php
Introduction
Functions of two or more variables
A symbol 𝑢 which has a definite value for every pair of values of 𝑥 and 𝑦 is called a
function of two independent variables 𝑥 and 𝑦 and we write 𝑢 = 𝑓(𝑥, 𝑦).
Examples:
i) The area of a rectangle depends on its length and breadth
𝐴=𝑙×𝑏
𝐴 = 𝑓(𝑙, 𝑏)
ii) Volume of a parallelopiped depends on its length, breadth and height. That is,
𝑉 =𝑙×𝑏×ℎ
𝑉 = 𝑓(𝑙, 𝑏, ℎ)
This topic deals with the differentiation of a function of many independent variables.
Partial derivatives
Let 𝑢 = 𝑓(𝑥, 𝑦) be a function of two independent variables 𝑥 and 𝑦.
First order partial derivatives:
𝜕𝑢 𝜕𝑢
𝑢𝑥 = , 𝑢𝑦 =
𝜕𝑥 𝜕𝑦
Second order partial derivatives:
𝜕 𝜕𝑢 𝜕2 𝑢 𝜕 𝜕𝑢 𝜕2 𝑢
𝑢𝑥𝑥 = = 𝑢𝑦𝑦 = =
𝜕𝑥 𝜕𝑥 𝜕𝑥 2 𝜕𝑦 𝜕𝑦 𝜕𝑦 2
𝜕 𝜕𝑢 𝜕2 𝑢 𝜕 𝜕𝑢 𝜕2 𝑢
𝑢𝑦𝑥 = = 𝑢𝑥𝑦 = =
𝜕𝑦 𝜕𝑥 𝜕𝑦𝜕𝑥 𝜕𝑥 𝜕𝑦 𝜕𝑥𝜕𝑦
𝜕2 𝑢 𝜕2 𝑢
Q2. If 𝑧 = 𝑥3 − 3𝑥𝑦 2 𝑥
+ 𝑥 + 𝑒 𝑐𝑜𝑠𝑦 + 1, show that 𝜕𝑥 2
+
𝜕𝑦 2
=0
𝑥 2 +𝑦 2
Q3. If 𝑢 = 𝑙𝑜𝑔 , show that 𝑥𝑢𝑥 + 𝑦𝑢𝑦 = 1
𝑥+𝑦
−1 𝑦 𝜕2 𝑢 𝜕2 𝑢
Q4. If 𝑢 = 𝑡𝑎𝑛 , verify that =
𝑥 𝜕𝑦𝜕𝑥 𝜕𝑥𝜕𝑦
𝜕𝑧 𝜕𝑧
Q5. Evaluate and , if
𝜕𝑥 𝜕𝑦
i) 𝑧 = 𝑥 2 𝑦 − 𝑥 sin(𝑥𝑦) ii) 𝑧 = log(𝑥 2 + 𝑦 2 ) iii) 𝑥 + 𝑦 + 𝑧 = log 𝑧
Symmetric function
A function 𝑓(𝑥, 𝑦) is said to be symmetric if 𝑓 𝑥, 𝑦 = 𝑓(𝑦, 𝑥) or 𝑓(𝑥, 𝑦, 𝑧) is
said to be symmetric if 𝑓 𝑥, 𝑦, 𝑧 = 𝑓 𝑦, 𝑧, 𝑥 = 𝑓(𝑧, 𝑥, 𝑦).
Examples:
𝑥 2 +𝑦 2
i) 𝑥 + 𝑦, 𝑥2 +𝑦 , 2 , 𝑥 2 + 𝑥𝑦 + 𝑦 2 , 𝑥2 + 𝑦2
𝑥+𝑦
ii) 𝑥 2 + 𝑦 2 + 𝑧 2 , 𝑥𝑦 + 𝑦𝑧 + 𝑧𝑥, log(𝑥 + 𝑦 + 𝑧), 𝑥 3 + 𝑦 3 + 𝑧 3 − 3𝑥𝑦𝑧 etc.
𝜕 𝜕 𝜕 2 −9
Q1. If 𝑢 = log(𝑥 3 + 𝑦3 + 𝑧3 − 3𝑥𝑦𝑧), show that + + 𝑢 =
𝜕𝑥 𝜕𝑦 𝜕𝑧 (𝑥+𝑦+𝑧)2
𝜕2 𝑢 𝜕2 𝑢 𝜕2 𝑢
Q2. If 𝑢 = 𝑙𝑜𝑔 𝑥 2 + 𝑦 2 + 𝑧 2 , show that (𝑥 2 + 𝑦2 + 2
𝑧 ) + + 2 =1
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧
𝜕2 𝑢 𝜕2 𝑢 𝜕2 𝑢
Q3. If 𝑢 = (𝑥 2 + 𝑦2 + 𝑧 2 )−1/2 , prove that + + 2 =0
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧
Total derivative rule
𝑑𝑢 𝜕𝑢 𝑑𝑥 𝜕𝑢 𝑑𝑦
= . + .
𝑑𝑡 𝜕𝑥 𝑑𝑡 𝜕𝑦 𝑑𝑡
𝜋
ii) 𝑢 = 𝑥𝑦 + 𝑦𝑧 + 𝑧𝑥 𝑥 = 𝑡 𝑐𝑜𝑠𝑡 , 𝑦 = 𝑡 𝑠𝑖𝑛𝑡, 𝑧 = 𝑡 at 𝑡 =
4
𝑥
iii) 𝑢 = 𝑠𝑖𝑛 , where 𝑥 = 𝑒 𝑡 and 𝑦 = 𝑡 2
𝑦
𝜕𝑢 𝜕𝑢 𝜕𝑢
Q2. If 𝑢 = 𝑓(𝑥 − 𝑦, 𝑦 − 𝑧, 𝑧 − 𝑥), then prove that + + =0
𝜕𝑥 𝜕𝑦 𝜕𝑧
Maxima and Minima of functions of two variables 𝑧 = 𝑓(𝑥, 𝑦)
Definitions:
Necessary conditions:
𝑓𝑥 𝑎, 𝑏 = 0 and 𝑓𝑦 𝑎, 𝑏 = 0
Sufficient conditions:
𝑓 𝑎, 𝑏 is a maximum value if 𝑟𝑡 − 𝑠 2 > 0 and 𝑟 < 0
Note: If 𝑟𝑡 − 𝑠 2 < 0, 𝑓(𝑎, 𝑏) is not an extreme value, 𝑓(𝑥, 𝑦) is neither a maximum nor a
minimum at the point 𝑎, 𝑏 and the point is called a saddle point.
Working rule to find maximum or minimum values of 𝑓(𝑥, 𝑦)
Step 2: Calculate the value of 𝑟 = 𝑓𝑥𝑥 , 𝑠 = 𝑓𝑥𝑦 , 𝑡 = 𝑓𝑦𝑦 for each pair of stationary
points and compute 𝑟𝑡 − 𝑠 2 .
Step 3:
i) If 𝑟𝑡 − 𝑠 2 > 0 and 𝑟 < 0 at (𝑎, 𝑏), 𝑓(𝑎, 𝑏) is a maximum value.
ii) If 𝑟𝑡 − 𝑠 2 > 0 and 𝑟 > 0 at (𝑎, 𝑏), 𝑓(𝑎, 𝑏) is a minimum value.
iii) If 𝑟𝑡 − 𝑠 2 < 0 at (𝑎, 𝑏), 𝑓(𝑎, 𝑏) is not an extreme value, that is (𝑎, 𝑏) is a saddle point
iv) If 𝑟𝑡 − 𝑠 2 = 0 at (𝑎, 𝑏), the case is doubtful and needs further investigation.
Q2.
𝑓𝑀𝑎𝑥 −1, −2 = 38
𝑓𝑀𝑖𝑛 1, 2 = 2
Q3.
1 1 1
𝑓𝑀𝑎𝑥 , =
2 3 432
Lagrange’s Method:
𝐹 = 𝑢 𝑥, 𝑦, 𝑧 + 𝜆 𝜑(𝑥, 𝑦, 𝑧)
Q2. Find a unit normal to the surface 𝑥 2 𝑦 + 2𝑥𝑧 = 4 at the point (2, −2, 3)
Q3. Find the directional derivative of 𝜑 = 𝑥 2 𝑦𝑧 + 4𝑥𝑧 2 at (1, −2, −1) in the
direction 2𝑖 − 𝑗 − 2𝑘
Q2. Find the equation of the tangent plane and the normal line to the surface
2𝑥 2 + 𝑦 2 = 3 − 2𝑧 at (2, 1, −3)
Thank You