Vector Calculus - Lecture - 1
Vector Calculus - Lecture - 1
Vector Calculus - Lecture - 1
Example:
Temperature field
Pressure
Potential
Distance
Mass
Speed
Note: If T (x, y , z) = x 2 yz is the temperature field on the surface
of the sphere then at the point (1, 1, 2), the temperature will be
T = 2 is a real number.
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Graph Represents the Temperature Distribution
Definition
The vector field or vector point function in a region Ω is a function
from the region Ω to set of vectors V . Denoted as
F⃗ = f1 (x, y , z)iˆ+ f2 (x, y , z)jˆ + f3 (x, y , z)k̂, where each f1 , f2 , f3 are
functions of points (x, y , z). i.e. F : Ω → V
Examples:
Velocity field
Acceleration
Weight
Force
momentum
Note: If F⃗ (x, y , z) = x 2 iˆ + y jˆ + z k̂ is the velocity field on the
surface sphere and at the point (1, 1, 2), F⃗ = iˆ + jˆ + 2k̂.
Definition
The gradient of a scalar field is defined as
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
∇ϕ(x, y , z) = i+ j+ k̂
∂x ∂y ∂z
∂ϕ ˆ
∇ϕ = Σ i
∂x
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
∇ϕ(x, y , z) = i+ j+ k̂
∂x ∂y ∂z
∂(x 2 yz) ˆ ∂(x 2 yz) ˆ ∂(x 2 yz)
∇ϕ(x, y , z) = i+ j+ k̂
∂x ∂y ∂z
∇ϕ(x, y , z) = 2xyz iˆ + x 2 z jˆ + x 2 y k̂
Solution:
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
By definition ∇ϕ = ∂x i + ∂y j + ∂z k̂
Using ϕ in this
Example:
Find the unit normal vector to the surface ϕ(x, y , z) = e xyz at the
point (1, 1, 1).
Solution:
First Let us find the Gradient of ϕ, by definition
∇ϕ = ∂ϕ ˆ ∂ϕ ˆ ∂ϕ
∂x i + ∂y j + ∂z k̂
Using ϕ in this
∂(e xyz ) ˆ ∂(e xyz ) ˆ ∂(e xyz )
∇ϕ = i+ j+ k̂
∂x ∂y ∂z
⇒ ∇ϕ = yze xyz iˆ + xze xyz jˆ + xye xyz k̂
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Putting the point (1, 1, 1) in the above step, we get
⇒ ∇ϕ = e iˆ + e jˆ + e k̂
p √
⇒ |∇ϕ| = e 2 + e 2 + e 2 = 3e
∇ϕ
n̂ =
|∇ϕ|
e iˆ + e jˆ + e k̂
⇒ n̂ = √
3e
iˆ + jˆ + k̂
⇒ n̂ = √
3
Solution:
We know that by definition: DD = ∇ϕ · v̂
First let us find ∇ϕ and it is given by
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
∇ϕ = i+ j+ k̂
∂x ∂y ∂z
Differentiating ϕ partially w.r.t. x, y , z, we get
ϕx = 2y , ϕy = 2x + 6y , ϕz = −3z 2
Hence
∇ϕ = 2y iˆ + (2x + 6y )jˆ − 3z 2 k̂
Using the given point (x, y , z) = (1, 1, 2)
⇒ ∇ϕ = 2iˆ + 8jˆ − 12k̂
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Example-1 continued....
⃗v
Next, let us find v̂ =
|⃗v |
iˆ − jˆ + k̂ 1
⇒ v̂ = p = √ iˆ − jˆ + k̂
12 + (−1)2 + 12 3
Then the Directional derivative is given by
1
ˆ ˆ
DD = ∇ϕ · v̂ = 2i + 8j − 12k̂ · √ ˆ ˆ
i − j + k̂
3
2 − 8 − 12 18
⇒ DD = √ = −√
3 3
Solution:
Let ϕ = x 2 + y 2 + z 2 − 4 = 0
We know that by definition: DD = ∇ϕ · v̂
First let us find ∇ϕ and it is given by
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
∇ϕ = i+ j+ k̂
∂x ∂y ∂z
Differentiating ϕ partially w.r.t. x, y , z, we get
ϕx = 2x, ϕy = 2y , ϕz = 2z
Hence
∇ϕ = 2x iˆ + 2y jˆ + 2z k̂
Using the given point (x, y , z) = (2, 0, 0)
⇒ ∇ϕ = 4iˆ + 0jˆ + 0k̂
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Example-2 continued....
Next, let us find ⃗v = PQ⃗ is the position vector of the line PQ and
it is given by
⃗v = OQ ⃗ − OP⃗ = (x1 − x0 )iˆ + (y1 − y0 )jˆ + (z1 − z0 )k̂
⇒ ⃗v = (1 − 2)iˆ + (2 − 0)jˆ + (−1 − 0)k̂ = −iˆ + 2jˆ − k̂
Hence
⃗v
v̂ =
|⃗v |
−iˆ + 2jˆ − k̂ 1
⇒ v̂ = p = √ −iˆ + 2jˆ − k̂
(−1)2 + (2)2 + (−1)2 6
Then the Directional derivative is given by
1
DD = ∇ϕ · v̂ = 4iˆ + 0jˆ + 0k̂ · √ −iˆ + 2jˆ − k̂
6
−4 + 0 + 0 4
⇒ DD = √ = −√
6 6
Let ⃗v = ∇ϕ
Then
∇ϕ 0iˆ − 4jˆ − k̂ 1 ˆ
v̂ = =√ =√ 0i − 4jˆ − k̂
|∇ϕ| 0 + 16 + 1 17
Hence the required directional derivative in the direction of normal
to second surface is give by
1
DD = ∇f · v̂ = iˆ − 3jˆ − 3k̂ · √ 0iˆ − 4jˆ − k̂
17
0 + 12 + 3 15
DD = √ =√
17 17
Solution: Let ϕ = x 2 y 2 z 2
⇒ ∇ϕ = ϕx iˆ + ϕy jˆ + ϕz k̂
⇒ ∇ϕ = 2xy 2 z 2 iˆ + 2x 2 yz 2 jˆ + 2x 2 y 2 z k̂
At (1, 1, −1)
⇒ ∇ϕ = 2iˆ + 2jˆ − 2k̂
Next let us find the tangential vector of given parametric curve
Taking position vector of any point (x, y , z)
⃗r = x iˆ + y jˆ + z jˆ
⇒ ⃗r = e t iˆ + (1 + 2 sin t)jˆ + (t − cos t)k̂
Tangential vector is given by
d⃗r dx ˆ dy ˆ dz
= i+ j + k̂ = e t iˆ + 2 cos t jˆ + (1 + sin t)k̂
dt dt dt dt
At the point (x, y , z) = (1, 1, −1) ⇒ t = 0
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Example-5 continued.....
At t = 0
d⃗r
= iˆ + 2jˆ + k̂
dt
d⃗r ⃗v
Let ⃗v = and v̂ =
dt |⃗v |
iˆ + 2jˆ + k̂
⇒ v̂ = √
6
Hence the required directional derivative is !
iˆ + 2jˆ + k̂
DD = ∇ϕ · v̂ = 2iˆ + 2jˆ − 2k̂ · √
6
2+4−2 4
DD = √ =√
6 6
Importance of Divergence:
Physically divergence of a vector field represents the rate at
which fluid is originating at a point per unit volume.
Divergence of a vector field is a scalar.
If divergence of vector field is zero then such vector field is
called solenoidal. This represents flux entering any element
of space is the same as that leaving it.
⃗ is a velocity field then ∇ · V
If V ⃗ = 0 represents equation of
motion or conservation of Mass.
∂2 ∂2 ∂2
∇ · ∇ = ∇2 = 2
+ 2 + 2 is called a Laplacian operator
∂x ∂y ∂z
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Geometrical Interpretation of Divergence
Example-1:
Find the divergence of F⃗ = 3x 2 iˆ + 5xy 2 jˆ + xyz 3 k̂ at the point
(1, 2, 3) .
∂f1 ∂f2 ∂f3
Solution:By definition ∇ · F⃗ = + +
∂x ∂y ∂z
Given F⃗ = 3x 2 iˆ + 5xy 2 jˆ + xyz 3 k̂
∂f1
⇒ f1 = 3x 2 ⇒ = 6x
∂x
∂f2
⇒ f2 = 5xy 2 ⇒ = 10xy
∂y
∂f3
⇒ f3 = xyz 2 ⇒ = 3xyz 2
∂z
Hence
∂f1 ∂f2 ∂f3
∇ · F⃗ = + + = 6x + 10xy + 3xyz 2
∂x ∂y ∂z
At (1, 2, 3), we get ∇ · F⃗ = 6 + 20 + 54 = 80.
Example-2:
If F⃗ = e y sin x cos z iˆ + e −x sin y cos z jˆ + z 2 e z k̂ then find the
divergence of F⃗ at the point (π, 0, 0) .
∂f1 ∂f2 ∂f3
Solution:By definition ∇ · F⃗ = + +
∂x ∂y ∂z
Given F⃗ = F⃗ = e y sin x cos z iˆ + e −x sin y cos z jˆ + z 2 e z k̂
∂f1
⇒ f1 = e y sin x cos z ⇒ = e y cos x cos z
∂x
∂f2
⇒ f2 = e −x sin y cos z ⇒ = e −x cos y cos z
∂y
∂f3
⇒ f3 = z 2 e z ⇒ = 2ze z + z 2 e z
∂z
Hence
∇ · F⃗ = e y cos x cos z + e −x cos y cos z + 2ze z + z 2 e z
At (π, 0, 0), we get ∇ · F⃗ = −1 + e −π + 0 = −1 + e −π
Example-3:
Show that the vector field
F⃗ = (−x 2 + yz)iˆ + (4y − z 2 x)jˆ + (2xz − 4z)k̂ is solenoidal.
Example-4:
Show that the vector field F⃗ = (x + 3y )iˆ + (y − 3z)jˆ + (x − 2z)k̂
is solenoidal.
Solution: By definition of divergence
∂f1 ∂f2 ∂f3
∇ · F⃗ = + +
∂x ∂y ∂z
∂f1
f1 = x + 3y = =1
∂x
∂f2
f2 = y − 3z = =1
∂y
∂f3
f3 = x − 2z = = −2
∂z
∂f1 ∂f2 ∂f3
⇒ ∇ · F⃗ = + + =1+1−2=0
∂x ∂y ∂z
Since divergence of a vector F⃗ is zero therefore given vector field is
soleniodal.
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Example-5:
Show that the divergence of a position vector of any point (x, y , z)
is 3.
Solution: The position of any point in 3D is given by
⃗r = x iˆ + y jˆ + z k̂
By definition of divergence
∂f1 ∂f2 ∂f3
∇ · ⃗r = + +
∂x ∂y ∂z
∂f1
f1 = x = =1
∂x
∂f2
f2 = y = =1
∂y
∂f3
f3 = z = =1
∂z
∂f1 ∂f2 ∂f3
⇒ ∇ · ⃗r = + + =1+1+1=3
∂x ∂y ∂z
⇒ ∇ · ⃗r = 3
Importance of Curl:
Physically curl of a vector field represents the measure of the
angular velocity at any point of the vector field.
Curl of a vector field is a vector.
If Curl of vector field is zero then such vector field is called
Ir-rotational. This represents the motion in which the
angular velocity at any point is zero..
∇ × (∇ϕ) = Curl(Gradϕ) = 0 hence ∇ϕ is an irrotational
vector field.
Div (Curl F⃗ ) = ∇ · ∇ × F⃗ = 0 hence ∇ × F⃗ is a solenoidal.
Dr. Chandra Shekara G. Unit-2:Vector Calculus
How to Visualize Curl:
Let the above vector field represents flow of water in some region
of space. Imagine a tiny sphere whose center is fixed at a point.
Of course, if the sphere is not fixed, it would flow away with the
flow. So imagine it is fixed to a point by an imaginary pin.
Because of push and pulls of the flow, this sphere would rotate
along some axis passing through the center of the sphere. The
speed of rotation and the axis of rotation is what is captured by
Curl. The curl of the vector field represents the vorticity, or
circulation per unit area.
Ex-2:
If F⃗ = (x + y + 1)iˆ+ jˆ− (x + y )k̂ then show that F⃗ · (Curl F⃗ ) = 0.
iˆ jˆ k̂
∂ ∂ ∂
Solution: By definition of curl we have ∇ × F⃗ =
∂x ∂y ∂z
f1 f2 f3
ˆ
i ˆ
j k̂
∂ ∂ ∂
= = (−1 − 0) iˆ− (−1 − 0) jˆ+ (0 − 1) k̂
∂x ∂y ∂z
x + y + 1 1 −x − y
⇒ ∇ × F⃗ = −iˆ + jˆ − k̂
Now takingdot product between give vectorF⃗ and ⃗
Culr F , we get
F⃗ · ∇ × F⃗ = (x + y + 1)iˆ + jˆ − (x + y )k̂ · −iˆ + jˆ − k̂
⇒ −x − y − 1 + 1 + x + y = 0
Hence the required result.
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Examples:
Ex-3:
Find the value of a if the vector
F⃗ = (ax 2 y + yz)iˆ + (xy 2 − xz 2 )jˆ + (2xyz − 2x 2 y 2 )k̂ has zero
divergences. Find the curl of the above vector which has zero
divergence.
Ex-4:
Find a and b if F⃗ = (xyz)b x a iˆ + y a jˆ + z a k̂ is both solenoidal
and irrotational.
Solution:
Definition:
Suppose for any vector field F⃗ ,if ∇ × F⃗ = 0 then F⃗ is called an
irrotational vector. Hence irrotaional vector can be expressed as
gradient of scalar potential function ϕ = ϕ(x, y , z) that is
∂ϕ ˆ ∂ϕ ˆ ∂ϕ
F⃗ = ∇ϕ = i+ j+ k̂
∂x ∂y ∂z
∂ϕ ∂ϕ
In case of irrotational vectors we note that f1 = , f2 = and
∂x ∂y
∂ϕ
f3 = for any vector F⃗ = f1 iˆ + f2 jˆ + f3 k̂.
∂z
These equations represents partial differential equation can solved
by using direct integration. Such that ϕ = ϕ(x, y , z) is solution of
these differential equations. This is potential field is also called as
conservative field.
Ex-1:
A vector field is given by F⃗ = (x 2 − y 2 + x)iˆ − (2xy + y )j.
ˆ Show
that the field is irrotational and find its scalar potential.
Ex-2:
A fluid motion is given by V⃗ = (y + z)iˆ + (z + x)jˆ + (x + y )k̂ . Is
this motion irrotational? If so, find the velocity potential.
Identity-1:
For any scalar field ϕ = ϕ(x, y , z),
Div (Grad(ϕ)) = ∇2 ϕ ⇒ ∇ · ∇ϕ = ∇2 ϕ
∂ ˆ ∂ ˆ ∂ P ∂
Proof: We know that ∇ = i+ j+ k̂ = iˆ is a
∂x ∂y ∂z ∂x
vector differential operator.
P ∂ϕ
Hence ∇ϕ = iˆ
∂x
Taking dotproductbetween ∇ and ∇ϕ, weget
P ∂2ϕ
P ∂ P ∂ϕ P ∂ ∂ϕ
∇ · ∇ϕ = iˆ · iˆ = =
∂x ∂x ∂x ∂x ∂x 2
Therefore
P ∂2ϕ ∂2ϕ ∂2ϕ ∂2ϕ
∇ · ∇ϕ = = + + 2 = ∇2 ϕ
∂x 2 ∂x 2 ∂y 2 ∂z
∇2 is called Laplacian operator and it can applied to vector field as
well as scalar field.
∂ 2 f3 ∂ 2 f2 ∂ 2 f1 ∂ 2 f3 ∂ 2 f2 ∂ 2 f1
∇ · ∇ × F⃗ = − + − + −
∂x∂y ∂x∂z ∂y ∂z ∂y ∂x ∂z∂x ∂z∂y
Hence
∇ · ∇ × F⃗ = 0.
Identity-4:
Let F⃗ = f1 iˆ + f2 jˆ + f3 k̂ be any vector field then Curl(Curl F⃗ ) =
Grad(Div (F⃗ )) − ∇2 F⃗ ⇒ ∇ × ∇ × F⃗ = ∇(∇ · F⃗ ) − ∇2 F⃗
Proof: Given F⃗ = f1 iˆ + f2 jˆ + f3 k̂
By definition curl we have
iˆ jˆ k̂
⃗ ∂ ∂ ∂ P ∂f3 ∂f2
∇×F = = − iˆ
∂x ∂y ∂z ∂y ∂z
f1 f2 f3
Applying curl on this again we get
iˆ jˆ k̂
∂ ∂ ∂
∇ × ∇ × F⃗ = ∂x ∂y ∂z
∂f3 ∂f2 ∂f1 ∂f3 ∂f2 ∂f1
− − −
∂y ∂z ∂z ∂x ∂x ∂y
∂2 ∂2
P ∂ ∂f1 ∂f2 ∂f3 P ∂
= + + iˆ − + + f1 iˆ
∂x ∂x ∂y ∂z ∂x 2 ∂y 2 ∂z 2
Now using definition of divergence and Laplacian,we get
P ∂ P
∇ · F⃗ − ∇2 f1 iˆ
=
∂x
Identity-5:
If ϕ = ϕ(x, y , z) is any ⃗ ˆ ˆ
field and F =f1 i + f2 j + f3 k̂ be any
scalar
vector field then ∇ · ϕF⃗ = (∇ϕ) · F⃗ + ϕ ∇ · F⃗ .
⃗
Proof: Consider ϕF = ϕ f1 i + f2 j + f3 k̂ = ϕf1 iˆ + ϕf2 jˆ + ϕf3 k̂
ˆ ˆ
That in summation form can be written as ϕF⃗ = ϕf1 iˆ
P
P ∂
By definition of vector operator we know that ∇ = iˆ
∂x
Taking dot product between ∇ and ϕF⃗ , we get
P ∂ P P ∂ ⃗
∇ · ϕF⃗ = iˆ · ϕf1 iˆ = ϕF
∂x ∂x
By using product rule, we get
P ∂ ∂f1 ∂ϕ
∇ · ϕF =⃗ (ϕf1 ) =
P
ϕ + f1 =
∂x ∂x ∂x
P ∂f1 P ∂ϕ
ϕ + f1
∂x ∂x
Dr. Chandra Shekara G. Unit-2:Vector Calculus
⃗
P ∂f1 P ∂ϕ
i · f1 iˆ
ˆ
P
∇ · ϕF = ϕ +
∂x ∂x
Now using given vector and definitions of divergence and gradient,
we get
∇ · ϕF⃗ = ϕ ∇ · F⃗ + (∇ϕ) · F⃗
Hence the proof
Identity-6:
If ϕ = ϕ(x, y , z) is any scalar ⃗ ˆ ˆ
field and F = f1i + f2 j +f3 k̂ be any
vector field then ∇ × ϕF⃗ = (∇ϕ) × F⃗ + ϕ ∇ × F⃗ .
Proof: Consider ϕF⃗ = ϕ f1 iˆ + f2 jˆ + f3 k̂ = ϕf1 iˆ + ϕf2 jˆ + ϕf3 k̂
That in summation form can be written as ϕF⃗ = ϕf1 iˆ
P
P ∂
By definition of vector operator we know that ∇ = iˆ
∂x
Taking cross product between ∇ and ϕF⃗ , we get
iˆ jˆ hatk
P ∂ ∂ ∂ ∂
∇ × ϕF⃗ = iˆ × ϕf1 iˆ =
P
∂x ∂x ∂y ∂z
ϕf1 ϕf2 ϕf3
P ∂ ∂
⇒ ∇ × ϕF = ⃗ (ϕf3 ) − (ϕf2 ) iˆ
∂y ∂z
g1 g2 g3
P ∂
We know that ∇ = ˆ
i.
∂x
Taking dot productbetween∇ and F⃗ × G⃗ , we get
P ∂ P
⇒ ∇ · F⃗ × G⃗ = iˆ · (f2 g3 − f3 g2 ) iˆ
∂x
P ∂ P ∂ P ∂
⇒= (f2 g3 − f3 g2 ) = (f2 g3 ) − (f3 g2 )
∂x ∂x ∂x
Dr. Chandra Shekara G. Unit-2:Vector Calculus
P ∂ P ∂
⇒= (f2 g3 ) − (f3 g2 )
∂x ∂x
P ∂g3 ∂f2 P ∂g2 ∂f3
⇒= f2 + g3 − f3 + g2
∂x ∂x ∂x ∂x
∂g3 ∂f2 ∂g1 ∂f3 ∂g2 ∂f1 ∂g2
⇒= f2 + g3 + f3 + g1 + f1 + g2 − f3 −
∂x ∂x ∂y ∂y ∂z ∂z ∂x
∂f3 ∂g3 ∂f1 ∂g1 ∂f2
g2 − f1 − g3 − f2 − g1
∂x ∂y ∂y ∂z ∂z
∂f3 ∂f2 ∂f1 ∂f3 ∂f2 ∂f1
= g1 − + g2 − + g3 − −
∂y ∂z ∂z ∂x ∂x ∂y
∂g3 ∂g2 ∂g3 ∂g1 ∂g1 ∂g2
f1 − − f2 − − f3 −
∂y ∂z ∂x ∂z ∂y ∂x
P P ∂f
∂f2 ˆ P ∂g3 ∂g2
3
g1 iˆ · f1 iˆ · iˆ
P
⇒= − i− −
∂y ∂z ∂y ∂z
= G⃗ · ∇ × F⃗ − F⃗ · ∇ × G⃗
Hence the proof.
Ex-1:
If ϕ is a scalar point function then prove that ϕ∇ϕ is irrotational.
Solution:Using identity ∇ × (ϕF⃗ ) = ϕ ∇ × F⃗ + (∇ϕ) × F⃗ , we
get
∇ × (ϕ∇ϕ) = ϕ (∇ × (∇ϕ)) + (∇ϕ) × ∇ϕ
Since we know that Curl(Gradϕ) = 0 and cross product between
same vector is zero, we get
⇒= 0 + 0 = 0
Hence ϕ∇ϕ is irrotational.
Note
iˆ jˆ k̂
∂ϕ ∂ϕ ∂ϕ
∂x ∂z ∂z = 0
∂ϕ ∂ϕ ∂ϕ
∂x ∂z ∂z
Ex-2:
If ϕ and ψ are scalar point functions then prove that ∇ϕ × ∇ψ is
solenoidal.
Solution:Using
Identity
∇ · F × G = G⃗ · ∇ × F⃗ − F⃗ · ∇ × G⃗
⃗ ⃗
Put F⃗ = ∇ϕ and G⃗ = ∇ψ, we get
∇ · F⃗ × G⃗ = ∇ψ · (∇ × ∇ϕ) − ∇ϕ · (∇ × ∇ψ)
Using
the identity
Curl(Grad) = 0, we get
∇ · F⃗ × G⃗ = ∇ψ · (∇ × ∇ϕ) − ∇ϕ · (∇ × ∇ψ) = 0
Hence ∇ϕ and ∇ψ are solenoidal.
Ex-3:
⃗ = ⃗r then show that
If ⃗r = x iˆ + y jˆ + z k̂, r = |⃗r | and V
r
⃗ 2 ⃗
div (V ) = and curl(V ) = 0.
r
Solution:Given V ⃗ = ⃗r = r −1⃗r
r
Using the vector identity ∇ · (ϕF⃗ ) = ∇ϕ · F⃗ + ϕ(∇ · F⃗ )
1
Substituting ϕ = r −1 = (x 2 + y 2 + z 2 )− 2 and
F⃗ = ⃗r = x iˆ + y jˆ + z k̂, we get
∇ · (r −1⃗r ) = ∇(r −1 ) · ⃗r + r −1 (∇ · ⃗r )........(1)
P ∂x P
Here ∇ · ⃗r = = (1) = 1 + 1 + 1 = 3 and
∂x
P ∂r −1
dr P −2 x
−1 iˆ = −2 iˆ = iˆ
P
∇(r ) = −r −r
∂x dx r
Hence ∇(r −1 ) = −r −3 (x iˆ + y jˆ + z k̂)
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Using this in (1), we get
∇ · (r −1⃗r ) = ∇(r −1 ) · ⃗r + r −1 (∇ · ⃗r )
= −r −3 (x iˆ + y jˆ + z k̂) · (x iˆ + y jˆ + z k̂) + r −1 (3) =
−r −3 (x 2 + y 2 + z 2 ) + 3r −1
⇒ ∇ · (r −1⃗r ) = −r −3 r 2 + 3r −1 = 2r −1
Hence ∇ · V ⃗ = 2.
r
Next by using identity ∇ × (ϕF⃗ ) = ∇ϕ × F⃗ + ϕ(∇ × F⃗ ), we get
∇ × (r −1⃗r ) = ∇(r −1 × ⃗r + r −1 (∇ × ⃗r )
Using ∇ × ⃗r = 0 and ∇(r −1 = −r −3⃗r
∇ × (r −1⃗r ) = −r −3⃗r × ⃗r + r −1 0 = 0 + 0 = 0
Hence ∇ × V ⃗ = 0.
r 2 f ′ (r )
r 2 f ′′ (r ) + 3rf ′ (r ) − 2
= r = f ′′ (r ) + f ′ (r )
r 2 r
Hence the required result.
Ex-5:
If ⃗r = x iˆ + y jˆ + z k̂ and r = |⃗r | , show that r n ⃗r is solenoidal for
n = −3 and irrotational for all n.
Ex-6:
−n
If f = x 2 + y 2 + z 2 , find div (gradf ) and determine n if
div (gradf ) = 0.
Ex-7:
For a solenoidal vector F⃗ , show that curlcurlcurlcurl F⃗ = ∇4 F⃗ .
Line Integral:
The line integral of F⃗ along a curve C denoted by C F⃗ · dr
⃗ is
R
R P2
given by C F⃗ · dr
⃗ =
R
P1 (F1 dx + F2 dy + F3 dz), where
⃗ ˆ ˆ
F = F1 i + F2 j + F3 k̂ and P1 and P2 are points on the curve C .
Solution:
By
R definitionR Pof2 line integral we have
⃗ ⃗
C F · dr = P1 (F1 dx + F2 dy + F3 dz)
Using given vector F⃗ = 3xy iˆ − y 2 j,
ˆ we get
⃗ ⃗ ˆ ˆ ˆ ˆ
F · dr = (3xy i − y j) · (dx i + dy i + dz k̂) = 3xydx − y 2 dy + 0dz
2
⃗ = P2 3xydx − y 2 dy
F⃗ · dr
R R
⇒ C P1
Using the given points and curves, we see that x : 0 to x = 1,
y =R 2x 2 and dyR = 4xdx, we getR
⇒ C F⃗ · dr⃗ = 1 3x(2x 2 )dx − 1 (2x 2 )2 (4xdx)
0
0 4 1 1
R1 3 R1 5 6x 16x 6 6 16
⇒= 0 6x dx − 0 16x dx = − = −
4 0 6 0 4 6
36 − 64 −28 7
⇒= = =−
24 24 6
Ex-3:
Find the work done in moving a particle in the force field
F⃗ = 3x 2 iˆ + (2xz − y )jˆ + z k̂
a) along the straight line from the point (0, 0, 0) to the point
(2, 1, 3).
b)the curve defined by x 2 = 4y , 3x 3 = 8z from x = 0 to x = 2 .
⃗ ⃗
R
C F · dr = 12 + 4 = 16
t2 3t 3
For part (b): Put x = t, we get y = and z = are
4 8
parametric curves with t varies from 0 to 2,which implies that
tdt 9t 2 dt
dx = dt, dy = and dz = . Using this in above line
2 8
integral we get
⃗ · dr
⃗ = 2
R R
C F C2 3x dx + (2xz − y )dy + zdz
R2 2
= 0 3t dt + (2t(3t 3 )/8 − t 2 /4)tdt/2 + 3t 3 /8(9t 2 dt)/8
Ex-4:
A vector field is given by F⃗ = sin y iˆ + x(1 + cos y )j.
ˆ Evaluate the
line integral over a circular path given by x + y = a2 , z = 0.
2 2
Ex-5:
Compute the line integral C y 2 dx − x 2 dy about the triangle
R
I1 = C1 y 2 dx − x 2 dy
R
I2 = C2 y 2 dx − x 2 dy
R
I3 = C3 y 2 dx − x 2 dy
R
Along C1 :Let C1 line joining points (1, 0) and (0, 1), equation of
x −1 y −0
this line is given by = ⇒ y = 1 − x ⇒ dy = −dx and
0−1 1−0
on this linesRy varies from 0 to R1
1
Hence I1 = C1 y 2 dx − x 2 dy = 0 y 2 (−dy ) − (1 − y )2 dy
Along C3 :Let C3 line joining points (−1, 0) and (1, 0), equation of
this line is given by y = 0 ⇒ dy = 0 and on this lines x varies from
−1 to 1 R1
Hence I3 = C3 y 2 dx − x 2 dy = −1 0(dx) − x 2 (0)
R
I3 = 0
2 2
I = I1 + I2 + I3 = − + 0 + 0 = −
3 3
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Integral Theorems:
Important note:
Intuitively Green’s theorem can be explained as follows. Imagine a
thin sheet of metal plate with uneven temperature distribution.
Consider a region on the plate whose boundary is a loop. Then
Green’s theorem says that total amount of heat circulating in the
region is equal to the total amount of heat circulating on the
boundary.
bounded by y = x and y = x 2 .
⇒ M = xy + y 2 , N = x 2 ⇒ My = x + 2y , Nx = 2x
Using Green’s theorem
R RR ∂N ∂M
C Mdx + Ndy = R − dxdy .......(1)
R∂x ∂y
LHS= C Mdx + Ndy = C (xy + y 2 )dx + x 2 dy
R
Solution:
N = 4y − 6xy
⇒ My = −16y , Nx = −6y
Consider
RR RHS of Green’sR theorem,
R we get RR
R (N x − M y ) dxdy = R (−6y + 16y ) dxdy = R (10y ) dxdy
Using the given curves as show in the figure above following
vertical strip limits of the double integral are x = 0 to 1 and y = 0
to y = 1 −Rx R
1 1−x
⇒ RHS = 0 0 (10y ) dydx
R 1 2 1−x
RHS = 0 5y 0 dx
R1
RHS = 5 0 (1 − x)2 dx
1
x3
RHS = 5 x + −x 2
3 0
1 5
RHS = 5 1 + − 1 =
3 3
Dr. Chandra Shekara G. Unit-2:Vector Calculus
Ex-2 continued.......
LHS= C Mdx + Ndy = C (3x − 8y 2 )dx + (4y − 6xy )dy
R R
where C is the rectangle with (0, 0) , (π, 0) , (π, 1) and (0, 1).
Solution:By
R Green’s
R R theorem we have
C Mdx + Ndy = R (Nx − My ) dxdy .......(1)
Given N = x and M = −y
⇒ My = −1 and Nx = 1
Using
R this in RHS RofR (1), we get
Mdx
C R + Ndy = R R(1R+ 1) dxdy
⇒ C Mdx + Ndy = 2 R dxdy
RR 1R
⇒ R dxdy = 2 C Mdx + Ndy
We know that LHS in above equation is the area of the region R
RR 1R
A= R dxdy = 2 C Mdx + Ndy
Ex-1:
Apply
R Stoke’s theorem, evaluate
C (y + x)dx + (2x − z)dy + (y + z)dz, where C is the boundary
of the triangle with vertices (2, 0, 0) , (0, 3, 0) and (0, 0, 6) .
Solution:Given C F⃗ .dr ⃗ =
R R
C (y + x)dx + (2x − z)dy + (y + z)dz
⇒
F⃗ = (y + x)iˆ + (2x − z)jˆ + (y + z)k̂
Finding Curl of this vector field, we get
iˆ jˆ k̂
∂ ∂ ∂
∇ × F⃗ = = 2iˆ − 0jˆ + k̂
∂x ∂y ∂z
y + x 2x − z y + z
By Stoke’s Rtheorem we have
⃗ ⃗ (∇ × F⃗ ) · dS .............(1)
R R
C F .dr = S
Ex-2:
Apply Stoke’s theorem, evaluate C (2x − y )dx − yz 2 dy − y 2 zdz,
R
Solution:Given C F⃗ .dr ⃗ = 2 2
R R
C (2x − y )dx − yz dy − y zdz
⇒
F⃗ = (2x − y )iˆ − yz 2 jˆ − y 2 z k̂
Finding Curl of this vector field, we get
iˆ jˆ k̂
∂ ∂ ∂
∇ × F⃗ = = 0iˆ − 0jˆ + k̂
∂x ∂y ∂z
2x − y −yz 2 −zy 2
By
R Stoke’s Rtheorem we have
⃗ ⃗ (∇ × F⃗ ) · dS .............(1)
R
C F .dr = S
Ex-3:
Apply Stoke’s theorem, evaluate C (y 2 + x 2 )dx − 2xydy , where C
R
Solution:Given C F⃗ .dr ⃗ = 2 2
R R
C (y + x )dx − 2xydy
⇒
F⃗ = (y 2 + x 2 )iˆ − 2xy jˆ
Finding Curl of this vector field, we get
iˆ jˆ k̂
∂ ∂ ∂
∇ × F⃗ = = 0iˆ − 0jˆ − 4y k̂
∂x ∂y ∂z
y 2 + x 2 −2xy 0
By
R Stoke’s Rtheorem we have
⃗ ⃗ (∇ × F⃗ ) · dS .............(1)
R
C F .dr = S
Ex-4:
Apply Stoke’s theorem, evaluate C ydx + xz 3 dy − zy 3 dz, where C
R
Solution:Given C F⃗ .dr ⃗ = 3 3
R R
C ydx + xz dy − zy dz
⇒
F⃗ = y iˆ + xz 3 jˆ − zy 3 k̂
Finding Curl of this vector field, we get
iˆ jˆ k̂
∂ ∂ ∂
∇ × F⃗ = = (−3zy 2 − 3xz 2 )iˆ − 0jˆ + (z 3 − 1)k̂
∂x ∂y ∂z
y xz 3 −zy 3
By
R Stoke’s Rtheorem we have
⃗ ⃗ (∇ × F⃗ ) · dS .............(1)
R
C F .dr = S
Ex-5:
If F⃗ = 3y iˆ − xz jˆ + yz k̂ and S is the surface
R of the paraboloid
2z = x 2 + y 2 bounded by z = 2, evaluate S Curl F⃗ · n̂dS using
Stoke’s theorem.
Theorem:
If F⃗ = f1 iˆ + f2 jˆ + f3 k̂ is a continuously differentiable vector point
Rfunction in aRregion R bounded R R R by the closed surface S, then
⃗ ⃗ ⃗
S F .n̂dS = R ∇ · F dv = R Div F dxdydz where n̂ is a unit
external normal vector at any point.
Alternately:
Let R be a simple solid region and let S be the boundary surface
of R, given with positive (outward) orientation. Let F⃗ be a vector
field whose component functions have continuous partial
Rderivatives on an
R Ropen
R region that contains R. Then
⃗ ⃗
R
S F · n̂dS = R Div F dV
Let’s say We have a rigid container filled with some gas. If the gas
starts to expand but the container does not expand, what has to
happen? Since we assume that the container does not expand (it is
rigid) but that the gas is expanding, then gas has to somehow leak
out of the container. (Or We suppose the container could burst,
but that counts as both gas leaking out of the container and the
container expanding.)
If I go to a gas station and pump air into one of my car’s tires,
what has to happen to the air inside the tire? (Assume the tire is
rigid and does not expand as I put air inside it.) The air inside of
the tire compresses.
Ex-2:
If F⃗ = xy iˆ + zy 2 jˆ + z 3 k̂, evaluate S F⃗ · dS, where where S is the
R
Ex-5:
Evaluate S F⃗ · n̂dS, where F⃗ = yz iˆ + xz jˆ + xy k̂ where S is the
R
Solution:
Ex-6:
Apply Divergence’s theorem to evaluate S (lx 2 + my 2 + nz 2 )dS,
R
Solution: