Vector
Vector
Vector Calculus
Scalar point function,
Vector point function,
Vector operator ‘del’,
Del applied to scalar point functions (Gradient) and
its Geometrical interpretation,
Directional derivative
Prepared by:
Prof. Sunil
Department of Mathematics & Scientific Computing
NIT Hamirpur (HP)
Scalar function:
A scalar function is a function that assigns a real number (i.e. a scalar) to a set of
real variables. Its general form is
u = u(x1, x2, ... , xn)
where x1, x2, ... , xn are real numbers.
Vector function:
A vector function is a function that assigns a vector to a set of real variables. Its
general form is
F = f1(x1, x2, ... , xn) i + f2(x1, x2, ... , xn) j + f3(x1, x2, ... , xn) k
where x1, x2, ... , xn are real numbers.
Point function:
A point function u = f(P) is a function that assigns some number or value u to
each point P of some region R of space.
Examples of point functions are scalar point functions and vector point functions.
Vector Calculus: Scalar and vector point functions, Gradient 2
Visit: https://www.sites.google.com/site/hub2education/
Vector field:
A vector point function defined over some region is called a vector field.
field
A vector field which is independent of time is called a stationary or steady--state vector
field.
A vector field that varies with time would have the representation
F = f1(x, y, z, t) i + f2(x, y, z, t) j + f3(x, y, z, t) k
Examples. 1. Gravitational field of the earth.
2. Electric field about a current
current-carrying wire.
3. Magnetic field generated by a magnet.
∂F ∂F ∂F ∂ ∂ ∂
and dF = dx + dy + dz = dx + dy + dz F . (i)
∂x ∂y ∂z ∂x ∂y ∂z
Vector Calculus: Scalar and vector point functions, Gradient 4
Visit: https://www.sites.google.com/site/hub2education/
∂ ∂ ∂ ∧ ∂ ∧ ∂ ∧ ∂
i.e. dx + dy + dz is in the form of a scalar product of I + J + K and
∂x ∂y ∂z ∂x ∂y ∂z
∧ ∧ ∧
I dx + J dy + K dz .
∧ ∂ ∧ ∂ ∧ ∂
If ∇ (read as del) be defined by the equation ∇ = I +J +K .
∂x ∂y ∂z
∧ ∧ ∧ ∧ ∧ ∧
Then (i) ⇒ dF = (∇.dR )F , where R = x I + y J + z K , dR = I dx + J dy + K dz .
History of del operator: In vector calculus, del is a vector differential operator
represented by the nabla symbol: .
The name comes from the Greek word for a Hebrew harp, which had a similar shape.
The harp, the instrument after which the nabla symbol is named.
The symbol was first used by William Rowan Hamilton.
Basic Concept:
The method to calculate the Gradient is:
Divide the change in height by the change in horizontal distance
Change in Y
Gradient =
Change in X
Vector Calculus: Scalar and vector point functions, Gradient 5
Visit: https://www.sites.google.com/site/hub2education/
Definition:The vector function ∇f is defined as the gradient of the scalar point function
f and is written as grad f .
∧ ∂f ∧ ∂f ∧ ∂f ∧ ∂f
Thus, grad f = ∇f = I +J +K = ∑I .
∂x ∂y ∂z ∂x
Vector Calculus: Scalar and vector point functions, Gradient 6
Visit: https://www.sites.google.com/site/hub2education/
Geometrical interpretation:
∧
1. ∇f = ∇f N ⇒ ∇f is normal to the surface f (x, y, z) = c.
∂f
2. ∇f = ⇒ magnitude of ∇f is equal to the rate of change of f along this normal.
∂n
∧ ∧ ∧
Consider the scalar point function f (R ) , where R = x I + y J + z K .
Draw a surface f (x, y, z) = c through any point P(R ) s.t. at each point on it, the function
∧ ∧
N′ N
P′(R + δR )
M
R + δR δR δr δn f + δf = c′
O θ
R
P(R)
f (x, y, z ) = c
Vector Calculus: Scalar and vector point functions, Gradient 7
Visit: https://www.sites.google.com/site/hub2education/
∧
1. ∇f = ∇f N ⇒ ∇f is normal to the surface f (x, y, z) = c.
= ∇f ∵
δn δn
= ∇f Lt = cos θ
δn → 0 δn δr
∂f
Hence, the magnitude of ∇f = .
∂n
Thus the magnitude of ∇f is equal to the rate of change of f along this normal.
Vector Calculus: Scalar and vector point functions, Gradient 8
Visit: https://www.sites.google.com/site/hub2education/
Thus, grad (f) is a vector normal to the surface (f = constant) and has a magnitude equal
to the rate of change of f along the normal.
Directional derivative:
∧
Definition: Let δr denotes the length P P ′ and N′ is a unit vector in the direction of P P ′ .
δf ∂f
Then the limiting value of as δr → 0 i.e. is known as directional derivative of
δr ∂r
f at P along the direction P P ′ .
δn δn δn
Now since δr = = ∧ ∧ ∵ cos θ = δr
cos θ
N. N′
∂f δf ∧ ∧ δf
∴ = Lim = Lim N . N′
∂r δr →0 δr δn →0 δn
∧ ∂f ∧ ∧ ∧ ∧ ∂f ∧
= N′. N = N′. ∇f N = N′.∇f . ∵ ∇ f = and ∇ f N = ∇f
∂n ∂n
∧
Thus, directional derivative of f in the direction of N′ is the resolved part of ∇f in the
∧
direction N′ .
∧ ∂f
Since ∇f . N′ = ∇f cos α ≤ ∇f ⇒ ≤ ∇f .
∂r
⇒ ∇f gives the maximum rate of change of f,, and the magnitude of this maximum is
∇f .
Remarks:
In cylindrical coordinates, the gradient is given by (Schey 1992, pp. 139–142):
142):
where ϕ is the azimuthal angle, z is the axial coordinate, and eρ, eφ and ez are unit vectors
pointing along the coordinate directions.
In spherical coordinates (Schey 1992, pp. 139–142):
1 ∧ ∧ ∧ , (b) − 1 I + 3 J − K , (c)
∧ ∧ ∧
(a) 1 ∧ ∧ ∧ , (d) 1 ∧ ∧ ∧ .
I + 3 J − K − I − 3 J − K − I + 3 J + K
11 11 11 11
Q.No.1.: Find the unit vector normal to the surface xy3z2 = 4 , at the point (− 1, − 1, 2) .
1 ∧ ∧ ∧
=− I + 3 J − K . Ans.
11
Q.No.2: Find a unit vector normal to the surface x3 + y3 + 3xyz = 3 at the point
(1, 2, − 1) .
Q.No.3: Find the directional derivatives of f (x, y, z) = xy2 + yz3 at the point
∧ ∧ ∧
(2, − 1, 1) in the direction of vector I + 2 J + 2 K .
∧ ∂f ∧ ∂f ∧ ∂f
Then ∇f = I +J +K
∂x ∂y ∂y
∧ ∧ ∧ ∧ ∧ ∧
( ) ( ) ( )
= I y 2 + J 2xy + z 3 + K 3yz2 = I − 3 J − 3 K at the point (2, − 1, 1) .
∧ ∧ ∧ ∧ N′
∴ Directional derivative of f in the direction I + 2 J + 2 K = N ′ .∇f = .∇f
N′
∧ ∧ ∧
I + 2 J+ 2 K ∧ ∧ ∧ 2
= . I − 3 J − 3 K = −3 .Ans.
(1 2
+ 22 + 22 ) 3
Q.No.4: Find the directional derivative of φ = x 2yz + 4xz2 at the point (1, − 2, − 1) in
∧ ∧ ∧
the direction of the vector 2 I − J − 2 K .
∧ ∂φ ∧ ∂φ ∧ ∂φ
Sol.: Here ∇φ = I +J +K
∂x ∂y ∂z
Vector Calculus: Scalar and vector point functions, Gradient 11
Visit: https://www.sites.google.com/site/hub2education/
∧ ∧ ∂ ∧ ∂
=I
∂ 2
∂x
(
x yz + 4 xz 2 + J
∂y
) (
x 2 yz + 4xz 2 + K
∂z
x 2 yz + 4xz 2 ) ( )
∧ ∧ ∧
( ) ( ) (
= I 2xyz + 4z 2 + J x 2 z + K x 2 y + 8xz )
∧ ∧ ∧
= 8 I − J − 10 K at (1, − 2, − 1)
∧ ∧ ∧
Hence, the directional derivative of f in the direction of 2 I − J − 2 K
∧ N′
= N ′ .∇f = .∇f
N′
∧ ∧ ∧
∧ N′ ∧ ∧ ∧ 2 I − J− 2 K 16 + 1 + 20 37 1
= ∇φ. N' = ∇φ. = 8 I − J − 10 K . = = = 12 . Ans.
N′ 4 +1+ 4 9 3 3
Q.No.5: What is the directional derivative of φ = xy2 + yz3 at the point (2, − 1, 1) in
Sol.: The directional derivative of φ = xy2 + yz3 in the direction of normal the
∧ ∇f
surface f = x log z − y 2 + 4 = 0 is ∇φ. N' = ∇φ. ,
∇f
∧
where N' is the unit vector normal to the surface f.
Then the directional derivative of φ = xy2 + yz3 in the direction of normal the
surface f = x log z − y 2 + 4 = 0 is
∧ ∧
∧ ∇f ∧ ∧ ∧ − 4 J− K 12 + 3 15
∇φ. N ' = ∇φ. = I − 3 J − 3 K . = = . Ans.
∇f 16 + 1 17 17
Q.No.6: Find the directional derivative of f (x, y, z) = 2xy + z2 at the point (1, − 1, 3)
∧ ∧ ∨
in the direction of the vector I + 2 J + 2 K .
∧ ∂f ∧ ∂f ∧ ∂f
Sol.: Here ∇f = I +J +K
∂x ∂y ∂z
∧ ∧ ∂ ∧ ∂
=I
∂
∂x
(
2xy + z 2 + J
∂y
)
2 xy + z 2 + K
∂z
(
2xy + z 2 ) ( )
∧ ∧ ∧
= I (2 y ) + J (2 x ) + K (2z )
∧ ∧ ∧
= −2 I + 2 J + 6 K at (1, − 1, 3)
∧ ∧ ∧
Hence, the directional derivative of f in the direction of I + 2 J + 2 K
∧ ∧ ∧ ∧ N′
= ∇f . N' = − 2 I + 2 J + 6 K .
N′
∧ ∧ ∧
∧ ∧ ∧ I + 2 J+ 2 K − 2 + 4 + 12 14 2
= − 2 I + 2 J + 6 K . = = = 4 . Ans.
1+ 4 + 4 9 3 3
∧ ∧ ∧
96 I + 3 J − 3 K from the point (3, 1, − 2) .
IInd Part: Since we know that the directional derivative of φ = x 2 y2z4 is maximum
(
Sol.: We have f (x, y, z ) = r n = x 2 + y 2 + z 2 )
n/2
∴
∂f ∂ r n
= =
( )
∂ 2
x + y2 + z 2( )
n/2 n
(
= x 2 + y2 + z2 )
n
−1
2 .2 x = n x r n −2 .
∂x ∂x ∂x 2
∂f ∂f
Similarly = ny r n − 2 and = nz r n − 2
∂y ∂z
∂f ∂f ∂f
Thus ∇r n = I +J +K = nr n − 2 (xI + yJ + zK ) = nr n − 2 R . Ans.
∂x ∂y ∂z
( ) 1
r
R
Q.No.9: (a) Find ∇φ , if φ = log x 2 + y2 + z2 , (b) Show that grad = − 3 .
r
(
Sol.: (a) Given φ = log x 2 + y2 + z2 , then )
Vector Calculus: Scalar and vector point functions, Gradient 14
Visit: https://www.sites.google.com/site/hub2education/
∧ ∂φ ∧ ∂φ ∧ ∂φ
∇φ = I +J +K
∂x ∂y ∂z
∧ ∧ ∂ ∧ ∂
=I
∂
∂x
( ) (
log x 2 + y 2 + z 2 + J log x 2 + y 2 + z 2 + K log x 2 + y 2 + z 2
∂y ∂z
) ( )
∧ 2x ∧ 2y ∧ 2z
=I 2 2 2
+J 2 2 2
+K
x +y +z x +y +z x + y2 + z2
2
∧ ∧ ∧
I x + J y + K z
= 2 2 2 2
. Ans.
x +y +z
∧ ∧ ∧ 1 1
(b) Now since R = I x + J y + K z, then r 2 = x 2 + y 2 + z 2 ⇒ =
r x 2 + y2 + z 2
∧ ∂ 1 ∧ ∂
+J 1 ∧ ∂
+K 1
=I
∂x 2 2 2
∂y x 2 + y 2 + z 2
∂z x 2 + y 2 + z 2
x +y +z
∧ ∧ ∧ ∧ ∧ ∧
− Ix −Jy−Kz Ix +Jy+Kz R
= =− =−
(x 2
+ y2 + z2 )
3/ 2
x 2 + y 2 + z 2
3
r3
This completes the proof.
Q.No.10: Find the constants a and b so that the surface ax2 − byz = (a + 2)x is
∧ ∧
Since the surfaces are orthogonal to each other. Hence N1 . N 2 = 0 .
∧ ∧ ∧ ∧ ∧ ∧
(a − 2) I − 2b J + b K − 2 I + J + 3 K
⇒ . =0
(a − 2)2 + 5b 2 14
(a − 2)(−2) 2b(1) b(3)
⇒ − + =0
(a − 2)2 + 5b 2 14 (a − 2)2 + 5b 2 14 (a − 2)2 + 5b 2 14
⇒ −2a + 4 − 2b + 3b = 0 ⇒ b − 2a + 4 = 0 ⇒ 2a − b = 4
⇒ b = 2a − 4
Putting this value of b in f1, we get
⇒ a − (− 4a + 8) − (a + 2) = 0
Vector Calculus: Scalar and vector point functions, Gradient 16
Visit: https://www.sites.google.com/site/hub2education/
⇒ 4a − 10 = 0
10
⇒a= = 2.5 Ans.
4
And b = 2a − 4 = (2 × 2.5) − 4 = 5 − 4 = 1. Ans.
Hence the values of a and b are a = 2.5 and b = 1.
Q.No.11: What is the greatest rate of increase of u = x 2 + yz2 at the point (1, − 1, 3) ?
Sol.: Since we know that ∇u gives the greatest rate of change of a scalar point function
u.
∧ ∂u ∧ ∂u ∧ ∂u ∧ ∂ 2 ∧ ∂ ∧ ∂
Then ∇u = I
∂x
+J
∂y
+K
∂z
=I
∂x
(
x + yz2 + J
∂y
)
x 2 + yz2 + K (
∂z
x 2 + yz2) ( )
∧ ∧ ∧
( )
= I (2x ) + J z 2 + K (2 yz)
∧ ∧ ∧
= 2 I + 9 J− 6 K at (1, − 1, 3)
∧ ∧ ∧
Thus ∇u = 2 I + 9 J − 6 K is the greatest rate of increase of u = x 2 + yz2 at the point
(1, − 1, 3) .
A mosquito located at (1, 1, 2) desires to fly in such a direction that it will get
warm as soon as possible. In what direction should it move ?
Sol.: The mosquito wants to move to the region where the temperature is maximum as
soon as possible. So, it will transverse its direction where the directional derivative of
temperature is maximum i.e. the direction normal to the isothermal surface on which it is
∂T
situated. As we know = ∇T , which is normal to the surface.
∂r max
∧ ∂T ∧ ∂T ∧ ∂T ∧ ∂ 2 ∧ ∂ ∧ ∂
Then ∇T = I
∂x
+J
∂y
+K
∂z
=I
∂x
(
x + y2 − z + J
∂y
)
x 2 + y2 − z + K(∂z
)
x 2 + y2 − z ( )
∧ ∧ ∧ ∧ ∧ ∧
= I (2x ) + J (2 y ) − K (1) = 2 I + 2 J − K at (1, 1, 2)
Thus unit vector normal gives the direction in which the mosquito ought to move is
Vector Calculus: Scalar and vector point functions, Gradient 17
Visit: https://www.sites.google.com/site/hub2education/
∧ ∧ ∧
∧ ∇T 2 I + 2 J − K 1 ∧ ∧ ∧
N= = = 2 I + 2 J − K . Ans.
∇T 4 + 4 +1 3
Q.No.13: Calculate the angle between the normals to the surface xy = z2 at the points
Sol.: Let N1 and N 2 be any vectors normal to the surface xy = z2 at the points
N1.N 2 3 + 12 − 24 −9 1
∴ cosθ = = = =−
N1 . N 2 3 6. 33 9 22 22
−1
⇒ θ = cos −1 . Ans.
22
Q.No.14: Find the angle between the tangent planes to the surfaces x logz = y2 − 1,
(2, − 1, 2) .
Sol.: Let f = x 2 + y2 + z2 − 9 = 0 and g = x 2 + y2 − z − 3 = 0 be two surfaces.
∧ ∂f ∧ ∂f ∧ ∂f
Then ∇f = I +J +K
∂x ∂y ∂z
∧ ∧ ∂ ∧ ∂
=I
∂ 2
∂x
(
x + y2 + z2 − 9 + J
∂y
)
x 2 + y2 + z2 − 9 + K
∂z
( )
x 2 + y2 + z2 − 9 ( )
∧ ∧ ∧
= I (2 x ) + J (2 y ) + K (2z )
∧ ∧ ∧
⇒ N1 = 4 I − 2 J + 4 K at (2, − 1, 2 )
∧ ∂g ∧ ∂g ∧ ∂g
Also, ∇g = I +J +K
∂x ∂y ∂z
∧ ∧ ∂ ∧ ∂
=I
∂ 2
∂x
(
x + y2 − z − 3 + J
∂y
)
x 2 + y2 − z − 3 + K (
∂z
)
x 2 + y2 − z − 3 ( )
∧ ∧ ∧
= I (2 x ) + J (2 y ) − K (1)
∧ ∧ ∧
⇒ N2 = 4 I − 2 J− K at (2, − 1, 2 )
where N1 and N2 be normals of the surfaces f and g, respectively.
Now angle between the two surfaces = angle between their normals
Vector Calculus: Scalar and vector point functions, Gradient 19
Visit: https://www.sites.google.com/site/hub2education/
Sol.:
tangent
G
normal
O
∇f A
surface f = 0
∧ ∧ ∇f ∇f
= G.∇f ∇f = G.
∇f ∇f
= [
(G.∇f )∇f ∵ ∇f 2 = (∇f )2
(∇f )2
]
Tangential component of G = AB = OB − OA = G −
(G.∇f )∇f
(∇f )2
=
(∇f .∇f )G − (G.∇f )∇f =
∇f × (G × ∇f )
∇f .∇f (∇f )2
Home Assignments
Vector Calculus: Scalar and vector point functions, Gradient 21
Visit: https://www.sites.google.com/site/hub2education/
Vector Calculus: Scalar and vector point functions, Gradient 22
Visit: https://www.sites.google.com/site/hub2education/