Co-3 Course Material (Vector Calculus)
Co-3 Course Material (Vector Calculus)
VECTOR CALCULUS
Session 21: Determine the Gradient of a scalar point function.
Introduction
Vector function: Let P be point in a domain (Domain in applications are three dimensional, or
surface or a curve in space) then we define a vector function 𝐹⃗ whose values are vectors that is
𝐹⃗ = 𝐹⃗ (𝑃) = 𝐹1 (𝑃)𝑖 + 𝐹1 (𝑃)𝑗 + 𝐹1 (𝑃)𝑘 that depends on points of P in space.
In the Cartesian coordinates x,y,z ,⃗⃗⃗⃗
𝐹 (𝑃) can be written as
𝐹⃗ = 𝐹⃗ (𝑥, 𝑦, 𝑧) = 𝐹1 (𝑥, 𝑦, 𝑧)𝑖 + 𝐹1 (𝑥, 𝑦, 𝑧)𝑗 + 𝐹1 (𝑥, 𝑦, 𝑧)𝑘
Example:
(1) The field of tangent vectors of a curve,
(2) Normal vectors of a surface
(3) Velocity field of rotating body.
Note: A vector function may also depend upon time t or on some other parameters.
Example : Vector Field (Velocity Field)
At any instant the velocity vectors v(P) of a rotating body B constitute a vector field, called the
velocity field of the rotation axis of rotation
If P(x, y, z) is point in B, and z-axis is the axis of rotation ⃗⃗(x, y, z) = ⃗w
v ⃗⃗ × r⃗ = ⃗w
⃗⃗⃗ ×
(xi + yj + zk).
Scalar Function: we define a scalar function f, whose values are scalars, that isf = f(P), that
depend on P.
Scalar field: A scalar function defines a scalar field in three dimensional domain or surface or a
curve in space.
Example
1. Temperature of a body
2. Pressure field of the air in earth’s atmosphere.
Note: Scalar function may also depend on some parameter such as time t.
Example: Scalar function: The distance f (P) of any point P(x, y, z) from a fixed point
P(x0 , y0 , z0 )in space is a scalar function.
𝑓(𝑃) = 𝑓(𝑥, 𝑦, 𝑧) = √(𝑥 − 𝑥0 )2 + (𝑦 − 𝑦0 )2 + (𝑧 − 𝑧0 )2
To be discussed by instructor
1. If f x, y, z 3x 2 y y 3 z 2 , Compute grad f at the point 1,2,1
2. Determine grad , where f is given by x 3 y 3 xz 2 at the point 1,1,2 .
3.Given the velocity potential f = x 2 − 6x − y 2 of a flow, determine the velocity v
of the field and its value at P(−1,5)
1
4. Determine the force in an electrostatic field given byf = (x 2 + y 2 + z 2 )−2 at P(12,0,16)
Session 22
Determine the directional derivative with applications
Directional Derivative
df
The directional derivative Db f (or) of a function f(x, y, z) at a point P in the direction of a
ds
df ⃗⃗
b
vector ⃗⃗
bof any length is defined by Db f = ds = ⃗⃗|
. gradf
|b
Use of Gradient: Direction of Maximum Increase
Let f(x, y, z)be a scalar function having continuous first partial derivatives in some domain B in
space. Then grad exists in B and is a vector, that is, its length and direction are independent of
the particular choice of Cartesian coordinates. If gradf(P) ≠ 0 at some point P, it has the
direction of maximum increase of at P.
Therefore directional derivative is maximum in the direction of gradf .Because dot product is
maximum when angle between two vectors is zero.
i j k
∂ ∂ ∂ ∂v3 ∂v2 ∂v1 ∂v3 ∂v2 ∂v1
Curl (v
⃗⃗) = ∇ × v
⃗⃗ = | |=( − )i + ( − )j + ( − )k
∂x ∂y ∂z ∂y ∂z ∂z ∂x ∂x ∂y
v1 v2 v3
This is the formula when x, y, z are right-handed. If they are left-handed, the determinant
has a minus sign in front .
If we equate both expressions, divide the resulting equation by ∆V∆t, and ∆x, ∆y, ∆z and∆t
approach zero, then we obtain
∂ρ
div u
⃗⃗ = div(ρv
⃗⃗) = −
∂t
or
∂ρ
+ div(ρv⃗⃗) = 0
∂t
This important relation is called the condition for the conservation of mass or the continuity
equation of a compressible fluid flow.
∂ρ
If the flow is steady, that is, independent of time, then ∂t = 0 and the continuity equation is
div(ρv ⃗⃗) = 0
If the density ρ is constant, so that the fluid is incompressible, then equation becomes
div(v⃗⃗) = 0
This relation is known as the condition of incompressibility. It expresses the fact that the
balance of outflow and inflow for a given volume element is zero at any time. Clearly, the
assumption that the flow has no sources or sinks in R is essential to our argument. v ⃗⃗is also
referred to as solenoidal.
From this discussion you should conclude and remember that, roughly speaking, the
divergence measures outflow minus inflow.
We have seen in Example of vector field, that a rotation of a rigid body B about a fixed axis in
space can be described by a vector ⃗w ⃗⃗of magnitude ω in the direction of the axis of rotation,
where 𝜔(> 0)is the angular speed of the rotation, and ⃗w ⃗⃗is directed so that the rotation appears
clockwise if we look in the direction of ⃗w
⃗⃗. The velocity field of the rotation can be represented in
the form
⃗⃗ = ⃗w
v ⃗⃗ × r⃗
wherer⃗is the position vector of a moving point with respect to a Cartesian coordinate system
having the originon the axis of rotation? Let us choose right-handed Cartesian coordinates such
that the axis of rotation is the z-axis.
Homework Problems
⃗⃗ = e−x cos y i + e−x sin y j is incompressible?
1) Is the vector v
2) Check whether the vector function v ⃗⃗ = x 3 (y 2 − z 2 )i + y 3 (z 2 − x 2 )j + z 3 (x 2 − y 2 )k is
Solenoidal?
3) Check whether the vector function v ⃗⃗ = (y 2 − z 2 )i + (z 2 − x 2 )j + (x 2 − y 2 )k is
Solenoidal?
4) Check whether the curl(grad f) is Solenoidal?
5) Check whether the vector field f = [2x − 3yz, 2y − 3xz, 2z − 3xy] is irrotational.
Session 25: Compute work done by force and evaluate volume and surface integrals
Introduction
Integration of vectors
𝑑 𝐺(𝑡)
If two vector functions F (t) and G (t) be such that 𝑑𝑡 = F(t), then G (t) is called an integral of
F (t) with respect to the scalar variable t and we write
∫ 𝐹 (𝑡)𝑑𝑡 = 𝐺 (𝑡) + 𝑐
Where c is an arbitrary constant vector
This is called the indefinite integral of F (t) and it definite integral is
𝑏
LINE INTERAL
𝐼𝑓 𝐹(𝑟) = 𝑓 𝑖 + 𝑔𝑗 + ℎ 𝑘
𝑊ℎ𝑒𝑟𝑒 𝑓, 𝑔 , ℎ 𝑎𝑟𝑒 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛𝑠 𝑜𝑓 𝑥 , 𝑦, 𝑧 𝑎𝑛𝑑 𝑑𝑟 = 𝑑𝑥 𝑖 + 𝑑𝑦 𝑗 + 𝑑𝑧 𝑘, Then
∫𝑐 𝐹. 𝑑𝑟 = ∫𝑐 (𝑓𝑑𝑥 + 𝑔𝑑𝑦 + ℎ𝑑𝑧)
is called the line integral (or tangential line integral) of F over c, where c is any curve in space
If F represents the force acting on a particle moving along an arc AB, then the total work done by
𝐵
F is given by the line integral ∫𝐴 𝐹. 𝑑𝑟.
Problems for discussion by instructor:
1. 𝐼𝑓 𝐅 = (5𝑥𝑦 − 6𝑥 2 ) 𝑖 + (2𝑦 − 4𝑥) 𝑗,
2. Evaluate ∫𝑐 𝐹. 𝑑𝑟 along the curve C in the xy – plane, y = x3 from (1, 1) to (2, 8).
3. Using the line integral, compute the work done by the force
𝐅 = (2𝑦 + 3)𝑖 + 𝑥𝑧𝑗 + (𝑦𝑧 − 𝑥)𝑘 𝑤ℎ𝑒𝑛 𝑖𝑡 𝑚𝑜𝑣𝑒𝑠 𝑎 𝑝𝑎𝑟𝑡𝑖𝑐𝑙𝑒 𝑓𝑟𝑜𝑚 𝑡ℎ𝑒 𝑝𝑜𝑖𝑛𝑡 (0,0,0 )
𝑡𝑜 𝑡ℎ𝑒 𝑝𝑜𝑖𝑛𝑡(2,1,1)𝑎𝑙𝑜𝑛𝑔 𝑡ℎ𝑒 𝑐𝑢𝑟𝑣𝑒𝑥 = 2𝑡 2 , 𝑦 = 𝑡, 𝑧 = 𝑡 3
4. An object moves from (-1,1) to (2,4) along the path r (t ) t , t 2 subject to the force F =
Session 26
4) An object moves from (1,1,1) to (2,4,8) along the path r(t) = <t, t2,t3> subject to the force
F = <sin x, sin y, sin z> . Find the work done.
5) Compute the flux of F = <x,y,z4> across the cone z = (x2y2)1/2 0<z<1, in the downward
direction.
6) Determine the instantaneous power associated with a force F=(1,4,-3)N acting on a body
moving with velocity v=(2,3,3)ms-1.
y x , y =x2
4) Evaluate ∫𝑐 [(𝑥𝑦 + 𝑦 2 )𝑑𝑥 + 𝑥 2 𝑑𝑦]where C is bounded by y=x and y=x2 .
5) 𝐸𝑣𝑎𝑙𝑢𝑎𝑡𝑒 ∫𝑐 (2𝑥 2 − 𝑦 2 )𝑑𝑥 + (𝑥 2 +
𝑦 2 ) 𝑑𝑦 𝑊ℎ𝑒𝑟𝑒 𝐶 𝑖𝑠 𝑡ℎ𝑒 𝑏𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝑜𝑓 𝑡ℎ𝑒 𝑎𝑟𝑒𝑎 𝑒𝑛𝑐𝑙𝑜𝑠𝑒𝑑 𝑏𝑦 𝑡ℎ𝑒 𝑥 −
𝑎𝑥𝑖𝑠 𝑎𝑛𝑑 𝑡ℎ𝑒 𝑈𝑝𝑝𝑒𝑟 − ℎ𝑎𝑙𝑓 𝑜𝑓 𝑡ℎ𝑒 𝑐𝑖𝑟𝑐𝑙𝑒 𝑥 2 + 𝑦 2 = 𝑎2
1) 1 .Evaluate ∬ 𝐹 . 𝑛𝑑𝐴 ,where F=ax i+by j+cz k, A the surface of the sphere 𝑥 2 + 𝑦 2 +
𝑧2 = 1
2) 2 .Evaluate ∬ 𝐹 . 𝑛𝑑𝐴 ,where F=[x3,y3,z3], A the surface of cube bounded by
x=0,x=a,y=0,y=a,z=0,z=a
3) 3.Evaluate∬ 𝐹 . 𝑛𝑑𝐴 where F = [2x+3z, -xz-y,y2+2z] and A is the surface of the sphere
having center at (3,-1,2) and radius 3.
4) 4.Evaluate ∫𝑆 𝑭. 𝑁𝑑𝑠 𝑓𝑜𝑟 𝑭 = (𝑥 2 − 𝑦𝑧)𝑖 + (𝑦 2 − 𝑧𝑥)𝑗 + (𝑧 2 − 𝑥𝑦)𝑘
5) 𝑡𝑎𝑘𝑒𝑛 𝑜𝑣𝑒𝑟 𝑡ℎ𝑒 𝑟𝑒𝑐𝑡𝑎𝑛𝑔𝑢𝑙𝑎𝑟 𝑝𝑎𝑟𝑎𝑙 𝑒𝑙𝑙𝑜𝑝𝑖𝑝𝑒𝑑0 ≤ 𝑥 ≤ 𝑎, 0 ≤ 𝑦 ≤ 𝑏, 0 ≤ 𝑧 ≤ 𝑐
6) Let F = <2x,3y, z2> and consider the three dimensional volume inside the cube with faces
parallel to the principal planes and opposite corners at (0,0,0) and (1,1,1)and calculate the
two integrals of the divergence theorem.
STOKE’S THEOREM
If S be a surface bounded by a closed curve C and 𝑭 = 𝑓1 𝒊 + 𝑓2 𝒋 + 𝑓3 𝒌 be any continuously
differentiable vector point function, then ∫𝑐 𝑭. 𝑑𝒓 = ∫𝑠 𝑐𝑢𝑟𝑙 𝑭. 𝑁𝑑𝑠Where N is unit external
normal at any point S.
4) Determine ydx zdy xdz , where C is the curve intersection of sphere x2+y2+z2=a2 and
C
x+z=a.
1) F .d r where F=(x2-y2)i+2xyj and C is the box bounded by planes x=0, x=a, y=0 and
y=b.
2) Evaluate the surface integral ∫𝑠 𝑐𝑢𝑟𝑙 𝑭. 𝑛 𝑑𝐴 directly for the given F =[y3,-x3,0]and
𝑆: 𝑥 2 + 𝑦 2 ≤ 1, 𝑧 = 0
3) Evaluate ∫𝑠 𝑐𝑢𝑟𝑙 𝑭. 𝑛 𝑑𝐴 for the vector F = [2x-y, -yz2, -y2z] over the upper half surface
of x2+y2+z2=1 bounded by its projection on xy plane.
4) A fluid has density 870 kg/m3 and flows with velocity v = <z,y2,x2> where distances are
in meters and the components of v are in meter per second. Find the rate of flow outward
through the portion of the cylinder x2+y2= 4. 0<z<1 for which y>0.
Session 30
Revision on CO-3