3.1 Vector Fields
3.1 Vector Fields
3.1 Vector Fields
0 VECTOR CALCULUS
3.1 Vector valued function and space curve
Example:
Sketch some vectors in the vector field given by:
⃗⃗⃗ (𝑥, 𝑦) = −𝑦𝑖⃗ + 𝑥𝑗⃗
𝐹
To sketch some vectors, choose some points and plot the corresponding vectors on the
circle.
Point Vector
(1,0) ⃗⃗⃗ (1,0) = 𝑗⃗
𝐹
(0,1) ⃗⃗⃗ (0,1) = −𝑖⃗
𝐹
(-1,0) ⃗⃗⃗
𝐹 (−1,0) = −𝑗⃗
(0,-1) ⃗⃗⃗ (0, −1) = 𝑖⃗
𝐹
Gradient
Let 𝑓 = 𝑓(𝑥, 𝑦, 𝑧). The gradient of 𝑓 or “grad f”, denoted by ∇𝑓(𝑥, 𝑦, 𝑧) is the vector
⃗
∇𝑓(𝑥, 𝑦, 𝑧) = 𝑓𝑥 (𝑥, 𝑦, 𝑧)𝑖 + 𝑓𝑦 (𝑥, 𝑦, 𝑧)𝑗 + 𝑓𝑧 (𝑥, 𝑦, 𝑧)𝑘
or ⃗
∇𝑓(𝑥, 𝑦, 𝑧) = 𝑓𝑥 𝑖 + 𝑓𝑦 ⃗𝑗 + 𝑓𝑧 𝑘
or ∇𝑓 = < 𝑓𝑥 , 𝑓𝑦 , 𝑓𝑧 >
𝜕𝑓 𝜕𝑓 𝜕𝑓
or ∇𝑓 = 𝑖+ 𝑗+ ⃗
𝑘
𝜕𝑥 𝜕𝑦 𝜕𝑧
of ∅(𝑥, 𝑦, 𝑧) is:
⃗
∇∅(𝑥, 𝑦, 𝑧) = ∅𝑥 (𝑥, 𝑦, 𝑧)𝑖 + ∅𝑦 (𝑥, 𝑦, 𝑧)𝑗 + ∅𝑧 (𝑥, 𝑦, 𝑧)𝑘
or ∇∅ = < ∅𝑥 , ∅𝑦 , ∅𝑧 >
Example
1. Find the gradient of 𝑓(𝑥, 𝑦) = 𝑦 ln 𝑥 + 𝑥𝑦 2 at the point (1,2).
𝑦
𝑓𝑥 = + 𝑦 2 , 𝑓𝑦 = ln 𝑥 + 2𝑥𝑦
𝑥
∇𝑓(𝑥, 𝑦) = 𝑓𝑥 𝑖 + 𝑓𝑦 ⃗𝑗
𝑦
= ( + 𝑦 2 ) 𝑖 + (ln 𝑥 + 2𝑥𝑦) 𝑗
𝑥
Example
Find the unit normal vector to the surface 𝑥 3 𝑦 + 4𝑥𝑧 2 + 𝑥𝑦 2 𝑧 + 2 = 0 at P(1,3,-1).
𝜕𝑀 𝜕𝑁
= +
𝜕𝑥 𝜕𝑦
𝑑𝑖𝑣 ⃗⃗⃗
𝐹 = 𝑀𝑥 + 𝑁𝑦
𝜕𝑀 𝜕𝑁 𝜕𝑃
= + +
𝜕𝑥 𝜕𝑦 𝜕𝑧
⃗⃗⃗ = 𝑀𝑥 + 𝑁𝑦 + 𝑃𝑧
𝑑𝑖𝑣 𝐹
If 𝑑𝑖𝑣 𝐹
⃗⃗⃗ = 0, then 𝐹
⃗⃗⃗ is said to be divergence free.
Example
1. Find the divergence at (2,1,-1) for the vector field ⃗⃗⃗
𝐹 (𝑥, 𝑦, 𝑧) = 𝑥 3 𝑦 2 𝑧𝑖 + 𝑥 2 𝑧⃗𝑗 + 𝑥 2 𝑦𝑘⃗
𝑀 = 𝑥 3𝑦2𝑧 → 𝑀𝑥 = 3𝑥 2 𝑦 2 𝑧
𝑁 = 𝑥 2𝑧 → 𝑁𝑦 = 0
𝑃 = 𝑥 2𝑦 → 𝑃𝑧 = 0
2 𝜕2 𝜕2 𝜕2
b) Show that ∇ • ∇∅ = ∇2 ∅ where ∅ is a scalar function and ∇ = + 2 +
𝜕𝑥 2 𝜕𝑦 𝜕𝑧 2
is a Laplacian operator.
∂ ∂ ∂ ∂∅ ∂∅ 𝜕∅
∇ • ∇∅ = ( 𝑖+ 𝑗+ 𝑘⃗) • ( 𝑖 + 𝑗 + 𝑘⃗ )
𝜕𝑥 𝜕𝑦 𝜕𝑧 𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜕2 ∅ 𝜕2 ∅ 𝜕2 ∅
= + +
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧 2
𝜕2 𝜕2 𝜕2
=( + + )∅
𝜕𝑥 2 𝜕𝑦 2 𝜕𝑧 2
2
= ∇ ∅ proven
∇ • ∇∅ = ∇2 ∅
= ∅𝑥𝑥 + ∅𝑦𝑦 + ∅𝑧𝑧
= 12𝑥𝑦2 𝑧4 + 4𝑥3 𝑦2 𝑧4 + 24𝑥3 𝑦2 𝑧2
Curl
The curl of vector field ⃗⃗⃗ ⃗
𝐹 (𝑥, 𝑦, 𝑧) = 𝑀 𝑖 + 𝑁⃗𝑗 + 𝑃 𝑘 is given by:
𝑖 𝑗 ⃗𝑘
=|∂ ∂ ∂|
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝑀 𝑁 𝑃
∂ ∂ ∂ ∂ ∂ ∂
= 𝑖| 𝜕𝑦 𝜕𝑧| − 𝑗 | 𝜕𝑥 ⃗
𝜕𝑧| + 𝑘 | 𝜕𝑥 𝜕𝑦|
𝑁 𝑃 𝑀 𝑃 𝑀 𝑁
∂P 𝜕N ∂P 𝜕M ∂N 𝜕M
=(
𝜕𝑦
−
𝜕𝑧
) 𝑖 − (𝜕𝑥 − 𝜕𝑧
) 𝑗 + ( 𝜕𝑥 − 𝜕𝑦
) 𝑘⃗
If curl 𝐹 = 0, then 𝐹 is irrotational.
Example
1. Determine if the vector field ⃗⃗⃗ ⃗
𝐹 (𝑥, 𝑦, 𝑧) = 2𝑥𝑦 𝑖 + (𝑥 2 + 𝑧 2 )⃗𝑗 + 2𝑦𝑧 𝑘 is
irrotational.
Curl ⃗⃗⃗
𝐹 (𝑥, 𝑦, 𝑧) = ∇ ⃗⃗⃗
𝐹 (𝑥, 𝑦, 𝑧)
𝑖 𝑗 ⃗𝑘
=| ∂ ∂ ∂
|
𝜕𝑥 𝜕𝑦 𝜕𝑧
2𝑥𝑦 𝑥2 + 𝑧2 2𝑦𝑧
∂ ∂ ∂ ∂ ∂ ∂
= 𝑖 | 𝜕𝑦 𝜕𝑧 | − 𝑗 | 𝜕𝑥 ⃗
𝜕𝑧 | + 𝑘 | 𝜕𝑥 𝜕𝑦 |
𝑥2 + 𝑧2 2𝑦𝑧 2𝑥𝑦 2𝑦𝑧 2𝑥𝑦 𝑥2 + 𝑧2
Curl ⃗⃗⃗
𝐹 (𝑥, 𝑦, 𝑧) = ∇ ⃗⃗⃗
𝐹 (𝑥, 𝑦, 𝑧)
𝑖 𝑗 ⃗𝑘
=| ∂ ∂ ∂ |
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝑥 2𝑦 −2𝑥𝑧 2𝑦𝑧
∂ ∂ ∂ ∂ ∂ ∂
= 𝑖 | 𝜕𝑦 𝜕𝑧 | − 𝑗 | 𝜕𝑥 ⃗
𝜕𝑧 | + 𝑘 | 𝜕𝑥 𝜕𝑦 |
−2𝑥𝑧 2𝑦𝑧 𝑥 2𝑦 2𝑦𝑧 𝑥 2𝑦 −2𝑥𝑧
𝑖 𝑗 ⃗𝑘
=| ∂ ∂ ∂
|
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝑥 2 𝑦 2𝑦 3 𝑧 3𝑧
⃗
= (−2𝑦 3 )𝑖 − (𝑥 2 )𝑘
𝑦𝑥
4. If 𝐹 ⃗
⃗⃗⃗ (𝑥, 𝑦, 𝑧) = 4𝑥 2 𝑧 𝑖 − 𝑥𝑦 2 𝑧⃗𝑗 + 2𝑦𝑧 2 𝑘 and ∅(𝑥, 𝑦, 𝑧) = 𝑒 𝑥𝑦 + sin 𝑧,
2
find:
a) 𝑔𝑟𝑎𝑑 ∅
b) 𝑐𝑢𝑟𝑙(𝑔𝑟𝑎𝑑 ∅)
c) 𝑐𝑢𝑟𝑙 ⃗⃗⃗
𝐹
Answer: (D.I.Y)
𝑦 𝑥 𝑥𝑦
a) 〈𝑦𝑒 𝑥𝑦 + sin 𝑧 , 𝑥𝑒 𝑥𝑦 + sin 𝑧 , cos 𝑧 〉
2 2 2
b) 0
c) (2𝑧 2 + 𝑥𝑦 2 )𝑖 + (4𝑥 2 )𝑗 − (𝑦 2 𝑧)𝑘⃗
Answer: (D.I.Y)
a) 〈2𝑧 𝑒 2 2𝑥−𝑦
− 4𝑧2 , −𝑧 2 𝑒 2𝑥−𝑦 , 2𝑧𝑒 2𝑥−𝑦 − 8𝑥𝑧 〉
b) 0