ToTal Differentials Tangents Linear Approximation
ToTal Differentials Tangents Linear Approximation
(MTH 201)
Dr. Julius Ehigie
Partial Derivatives
Table: Heat Index as a function of temperature 𝑇°𝐶 and humidity 𝐻%
(𝑇, 𝐻) 50 55 60 65 70 75 80 85 90
100 119 124 129 135 141 147 154 161 168
𝜕𝑍 𝑓 𝑥 + ℎ, 𝑦 − 𝑓(𝑥, 𝑦) 𝜕𝑍 𝑓 𝑥, 𝑦 + ℎ − 𝑓(𝑥, 𝑦)
= lim = lim
𝜕𝑥 ℎ→0 ℎ 𝜕𝑦 ℎ→0 ℎ
Solution:
𝜕𝑢 𝜕 𝜕
- =𝑦∙ 𝑥3 − sin 𝑦 = 𝑦 ∙ 3𝑥 2 − 0 = 3𝑥 2 𝑦
𝜕𝑥 𝜕𝑥 𝜕𝑥
𝜕𝑢 𝜕 𝜕
- = 𝑥3 ∙ 𝑦 − sin 𝑦 = 𝑥 3 ∙ 1 − cos 𝑦 = 𝑥 3 − cos 𝑦
𝜕𝑦 𝜕𝑦 𝜕𝑦
𝜕2 𝑢 𝜕 𝜕𝑢 𝜕 𝜕 𝜕
- = = 𝑥 3 − cos 𝑦 = 𝑥3 − cos 𝑦
𝜕𝑥𝜕𝑦 𝜕𝑥 𝜕𝑦 𝜕𝑥 𝜕𝑥 𝜕𝑥
= 3𝑥 2 − 0 = 3𝑥 2
𝜕2 𝑢 𝜕 𝜕𝑢 𝜕 𝜕 𝜕
- = = 𝑥3 − cos 𝑦 = 𝑥3 − cos 𝑦
𝜕𝑦 2 𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑦
= 0 − (−sin 𝑦) = sin 𝑦
𝜕𝑢 𝜕𝑢
Ex: Find and if 𝑢 = 3𝑥 2 sin 𝑦
𝜕𝑥 𝜕𝑦
Solution:
- If 𝑢 = 3𝑥 2 sin 𝑦
𝜕𝑢 𝜕
Then, = [sin 𝑦] ∙ 3𝑥 2
𝜕𝑥 𝜕𝑥
=sin 𝑦 ∙ 6𝑥 = 6𝑥 sin 𝑦
- If 𝑢 = 3𝑥 2 sin 𝑦
𝜕𝑢 𝜕
Then, = [3𝑥 2 ] ∙ sin 𝑦
𝜕𝑦 𝜕𝑥
Solution:
𝜕𝑃 𝜕𝑃
𝛼−1 𝛽
= 𝛼𝑏𝐿 𝐾 = 𝛽𝑏𝐿𝛼 𝐾𝛽−1
𝜕𝐿 𝜕𝐾
𝜕𝑃 𝜕𝑃
𝐿 +𝐾 = 𝐿 ∙ 𝛼𝑏𝐿𝛼−1 𝐾𝛽 + 𝐾 ∙ 𝛽𝑏𝐿𝛼 𝐾𝛽−1
𝜕𝐿 𝜕𝐾
= 𝛼𝑏𝐿𝛼 𝐾𝛽 + 𝛽𝑏𝐿𝛼 𝐾𝛽
= (𝛼 + 𝛽)𝑏𝐿𝛼 𝐾𝛽
𝜕𝑃 𝜕𝑃
֜𝐿 +𝐾 = 𝛼+𝛽 𝑃
𝜕𝐿 𝜕𝐾
Total Differentiation
𝛿𝑧 = 𝑓 𝑥 + 𝛿𝑥, 𝑦 + 𝛿𝑦 − 𝑓(𝑥, 𝑦)
• Adding and subtracting 𝑓(𝑥, 𝑦 + 𝛿𝑦) to RHS
𝛿𝑧 = 𝑓 𝑥 + 𝛿𝑥, 𝑦 + 𝛿𝑦 − 𝑓 𝑥, 𝑦 + 𝛿𝑦 + 𝑓(𝑥, 𝑦 + 𝛿𝑦) − 𝑓(𝑥, 𝑦)
𝜕𝒛 𝜕𝒛 𝜕𝑥 𝜕𝒛 𝜕𝑦 𝜕𝑥 𝜕𝑥 𝜕𝑦 𝜕𝑦
= + 𝜕𝑢 𝜕𝑣 𝜕𝑢 𝜕𝑣
𝜕𝒖 𝜕𝑥 𝜕𝒖 𝜕𝑦 𝜕𝒖 𝑣
𝑢 𝑣 𝑢
𝜕𝒛 𝜕𝒛 𝜕𝑥 𝜕𝒛 𝜕𝑦
= +
𝜕𝒗 𝜕𝑥 𝜕𝒗 𝜕𝑦 𝜕𝒗
3 3 𝑑𝑢
Ex: If 𝑢 = 𝑥 + 𝑦 where 𝑥 = 𝑎 cos 𝑡, 𝑦 = 𝑏 sin 𝑡. Find .
𝑑𝑡
Solution:
𝑢 = 𝑥3 + 𝑦3 𝑥 = 𝑎 cos 𝑡 𝑦 = 𝑏 sin 𝑡
𝜕𝑢 𝑑𝑥 𝑑𝑦
= 3𝑥 2 = −𝑎 sin 𝑡 = 𝑏 cos 𝑡
𝜕𝑥 𝑑𝑡 𝑑𝑡
𝜕𝑢
= 3𝑦 2
𝜕𝑦
𝑑𝑢 𝜕𝑢 𝑑𝑥 𝜕𝑢 𝑑𝑦
= + = 3𝑥 2 ∙ (−𝑎 sin 𝑡) + 3𝑦 2 ∙ (𝑏 cos 𝑡)
𝑑𝑡 𝜕𝑥 𝑑𝑡 𝜕𝑦 𝑑𝑡
𝑑𝑢
֜ = 3(𝑎 cos 𝑡)2 ∙ (−𝑎 sin 𝑡) + 3(𝑏 sin 𝑡)2 ∙ (𝑏 cos 𝑡)
𝑑𝑡
𝑑𝑢
֜ = 3(𝑎 cos 𝑡)2 ∙ (−𝑎 sin 𝑡) + 3(𝑏 sin 𝑡)2 ∙ (𝑏 cos 𝑡)
𝑑𝑡
Ex: Compute the error in evaluation of z = 𝑓 𝑥, 𝑦 = 𝑥 2 + 3𝑥𝑦 − 𝑦 2 .
If 𝑥 changes from 2 to 2.05 and 𝑦 changes from 3 to 2.96, compare
∆𝑧 and 𝑑𝑧.
Solution:
𝜕𝑧 𝜕𝑧
𝑑𝑧 = 𝑑𝑥 + 𝑑𝑦 𝑑𝑥 = 2.05 − 2 = 0.05 𝑑𝑦 = 2.96 − 3 = −0.04
𝜕𝑥 𝜕𝑦
𝜕𝑧 𝜕𝑧
= 2𝑥 + 3𝑦 = 3𝑥 − 2𝑦
𝜕𝑥 𝜕𝑦
𝑑𝑧 = 2𝑥 + 3𝑦 𝑑𝑥 + 3𝑥 − 2𝑦 𝑑𝑦
֜ 𝑑𝑧 = 2 2 + 3 3 0.05 + 3 2 − 2 3 −0.04 = 0.65
• This can be verified by using the correct formula
𝑓 2.05,2.96 − 𝑓 2,3 = 0.6449
2 4 𝑑𝑧
If 𝑧 = 𝑥 𝑦 + 3𝑥𝑦 , where 𝑥 = sin 2𝑡 and 𝑦 = cos 𝑡. Find when 𝑡 = 0.
𝑑𝑡
Solution:
• Apply the Chain Rule 1
𝑑𝑧 𝜕𝑧 𝑑𝑥 𝜕𝑧 𝑑𝑦
= +
𝑑𝑡 𝜕𝑥 𝑑𝑡 𝜕𝑦 𝑑𝑡
𝑑𝑧
= (2𝑥𝑦 + 3𝑦 4 )(2 cos 2𝑡) + (𝑥 2 + 12𝑥𝑦 3 )(− sin 𝑡)
𝑑𝑡
𝑥(0) = sin 2 0 = 0 and 𝑦 0 = cos 0 = 1
𝑑𝑧
|𝑡=0 = (2(0)(0) + 3 1 4 )(2 cos 2(0)) + ( 0 2 + 12(0)(0)3 )(− sin(0))
𝑑𝑡
𝑑𝑧
֜ |𝑡=0 = 0 + 3 2 + 0 + 0 0 = 6
𝑑𝑡
Tangents
Given the function 𝑧 = 𝑓(𝑥, 𝑦), an equation of the tangent plane to the
graph of function 𝑓 of two variables at the point 𝑎, 𝑏, 𝑓 𝑎, 𝑏 is given by
𝑧 − 𝑧0 = 𝑓𝑥 𝑥0 , 𝑦0 𝑥 − 𝑥0 + 𝑓𝑦 𝑥0 , 𝑦0 𝑦 − 𝑦0
Therefore, the linear function whose graph is the tangent plane, namely
𝐿 𝑥, 𝑦 = 𝑓 𝑎, 𝑏 + 𝑓𝑥 𝑎, 𝑏 𝑥 − 𝑎 + 𝑓𝑦 𝑎, 𝑏 𝑦 − 𝑏
𝑓(𝑥, 𝑦) ≈ 𝑓 𝑎, 𝑏 + 𝑓𝑥 𝑥0 , 𝑦0 𝑥 − 𝑥0 + 𝑓𝑦 𝑥0 , 𝑦0 𝑦 − 𝑦0
Solution
𝜋𝑟 2 ℎ 𝑑𝑟 = 0.1 𝑑ℎ = 0.1
• The volume of the cone is given by 𝑉 =
3
𝜕𝑉 𝜕𝑉
• The differentials 𝑑𝑉 = 𝑑𝑟 + 𝑑ℎ
𝜕𝑟 𝜕ℎ
𝜕𝑉 2𝜋𝑟ℎ 𝑑𝑉 𝜋𝑟 2
= , = ,
𝜕𝑟 3 𝑑ℎ 3
2𝜋𝑟ℎ 𝜋𝑟 2 2𝜋 10 25 𝜋 10 2
֜ 𝑑𝑉 = 𝑑𝑟 + 𝑑ℎ = (0.1) + (0.1),
3 3 3 3
50𝜋 10𝜋
֜ 𝑑𝑉 = + = 20𝜋,
3 3