Professional Documents
Culture Documents
Emad Al-Hemiary
Second Year, First Semester Divergence, and Curl
2021-2022
Directional Derivative
𝑑𝑓
The directional derivative ⃑⃑⃑⃑⃑
𝐷𝑏 𝑓 or 𝑑𝑠 of a function 𝑓(𝑥, 𝑦, 𝑧) at a point 𝑃 in the direction of a vector
𝑏⃑⃑ is defined by:
𝑑𝑓 𝑓(𝑄) − 𝑓(𝑃)
⃑⃑⃑⃑⃑
𝐷𝑏 𝑓 = = lim (11.3)
𝑑𝑠 𝑠→0 𝑠
Representing the Line L in the figure by a vector function:
⃑⃑ = 𝑝⃑0 + 𝑠𝑏⃑⃑
𝑟⃑(𝑠) = 𝑥(𝑠)𝑖⃑ + 𝑦(𝑠)𝑗⃑ + 𝑧(𝑠)𝑘 (|𝑏⃑⃑| = 1) (11.4)
𝑝⃑0 is the position of the vector at point 𝑃. Therefor Eq. (11.3) is the derivative of the function
𝑓(𝑥(𝑠), 𝑦(𝑠), 𝑧(𝑠)) with respect to the arc length 𝑠 of 𝐿. Hence:
𝑑𝑓
⃑⃑⃑⃑⃑
𝐷𝑏 𝑓 = = 𝑏⃑⃑ ∙ ∇𝑓 (𝑏⃑⃑ 𝑖𝑠 𝑎 𝑢𝑛𝑖𝑡 𝑣𝑒𝑐𝑡𝑜𝑟 |𝑏⃑⃑| = 1) (11.5)
𝑑𝑠
𝑑𝑓 1
⃑⃑⃑⃑⃑
𝐷𝑎 𝑓 = = 𝑎⃑ ∙ ∇𝑓 (𝑎⃑ 𝑖𝑠 𝑎 𝑣𝑒𝑐𝑡𝑜𝑟 𝑜𝑓 𝑎𝑛𝑦 𝑙𝑒𝑛𝑔𝑡ℎ) (11.6)
𝑑𝑠 |𝑎⃑|
1
Engineering Mathematics I Lecture 11: Gradient, Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Divergence, and Curl
2021-2022
1 1 1 1 4
⃑⃑⃑⃑⃑
𝐷𝑎 𝑓 = 𝑎⃑ ∙ ∇𝑓 = [1,0, −2] ∙ [8,6,6] = {(1)(8) + (0)(6) + (−2)(6)} = (−4) = −
|𝑎⃑| √5 √5 √5 √5
Use of Gradient: Direction of Maximum Increase
From Eq. (11.5):
𝑑𝑓
⃑⃑⃑⃑⃑
𝐷𝑏 𝑓 = = 𝑏⃑⃑ ∙ ∇𝑓 (𝑏⃑⃑ 𝑖𝑠 𝑎 𝑢𝑛𝑖𝑡 𝑣𝑒𝑐𝑡𝑜𝑟 |𝑏⃑⃑| = 1)
𝑑𝑠
Which is the dot product between the unit vector 𝑏⃑⃑ and the gradient of 𝑓. Recalling that the dot
product is defined by multiplying the magnitudes of the two vectors and cosine of the angle
between them. Therefore:
Setting 𝜑 = 0 → ⃑⃑⃑⃑⃑
𝐷𝑏 𝑓 = |∇𝑓| which is the direction of maximum increase of 𝑓 at 𝑃 provided that
∇𝑓 ≠ 0.
2
Engineering Mathematics I Lecture 11: Gradient, Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Divergence, and Curl
2021-2022
𝑖⃑ 𝑗⃑ ⃑⃑
𝑘 𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
curl 𝑣⃑ = ∇ × 𝑣⃑ = | 𝜕 𝜕 𝜕 ⃑⃑
| = |𝜕𝑦 𝜕𝑧| 𝑖⃑ − |𝜕𝑥 𝜕𝑧| 𝑗⃑ + |𝜕𝑥 𝜕𝑦| 𝑘
𝜕𝑥 𝜕𝑦 𝜕𝑧 𝑣2 𝑣3 𝑣1 𝑣3 𝑣1 𝑣2
𝑣1 𝑣2 𝑣3
𝜕𝑣3 𝜕𝑣2 𝜕𝑣1 𝜕𝑣3 𝜕𝑣2 𝜕𝑣1
=( − ) 𝑖⃑ + ( − ) 𝑗⃑ + ( − )𝑘⃑⃑ (11.10)
𝜕𝑦 𝜕𝑧 𝜕𝑧 𝜕𝑥 𝜕𝑥 𝜕𝑦
Example 11.4: Let 𝑣⃑ = [𝑦𝑧, 3𝑧𝑥, 𝑧]. Find the curl.
Solution:
3
Engineering Mathematics I Lecture 11: Gradient, Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Divergence, and Curl
2021-2022
𝑖⃑ 𝑗⃑ 𝑘⃑⃑ 𝑖⃑ 𝑗⃑ 𝑘⃑⃑
Gradient fields are irrotational. That is, if a continuously differentiable vector function is the
gradient of a scalar function , then its curl is the zero vector,
The divergence of the curl of a twice continuously differentiable vector function 𝑣⃑ is zero,
div(curl 𝑣⃑) = ∇ ∙ (∇ × 𝑣⃑) = 0 (11.12)