Professional Documents
Culture Documents
MATLAB Programming
Sir Isaac Newton, one of the greatest scientists and mathematicians
of all time, introduced the notion of a vector to define the existence of
gravitational forces, the motion of the planets around the sun, and the
motion of the moon around the earth. Vector calculus is a fundamental
scientific tool that allows us to investigate the origins and evolution of
space and time, as well as the origins of gravity, electromagnetism, and
nuclear forces. Vector calculus is an essential language of mathemati-
cal physics, and plays a vital role in differential geometry and studies
related to partial differential equations widely used in physics, engi-
neering, fluid flow, electromagnetic fields, and other disciplines. Vector
calculus represents physical quantities in two or three-dimensional
space, as well as the variations in these quantities.
The machinery of differential geometry, of which vector calculus
is a subset, is used to understand most of the analytic results in a more
general form. Many topics in the physical sciences can be mathemati-
cally studied using vector calculus techniques.
This book is designed under the assumption that the readers have
no prior knowledge of vector calculus. It begins with an introduction to
vectors and scalars, and also covers scalar and vector products, vector
differentiation and integrals, Gauss’s theorem, Stokes’s theorem, and
Green’s theorem. The MATLAB programming is given in the last chapter.
This book includes many illustrations, solved examples, practice
examples, and multiple-choice questions.
Jitendra Pancha
Nita H. Shah
Nita H. Shah
River Publishers River Jitendra Panchal
Elementary Vector Calculus
and its Applications with
MATLAB Programming
RIVER PUBLISHERS SERIES IN MATHEMATICAL,
STATISTICAL AND COMPUTATIONAL MODELLING
FOR ENGINEERING
Series Editors:
MANGEY RAM
Graphic Era University, India
TADASHI DOHI
Hiroshima University, Japan
ALIAKBAR MONTAZER HAGHIGHI
Prairie View Texas A&M University, USA
Applied mathematical techniques along with statistical and computational data analysis has
become vital skills across the physical sciences. The purpose of this book series is to present
novel applications of numerical and computational modelling and data analysis across the
applied sciences. We encourage applied mathematicians, statisticians, data scientists and
computing engineers working in a comprehensive range of research fields to showcase dif-
ferent techniques and skills, such as differential equations, finite element method, algorithms,
discrete mathematics, numerical simulation, machine learning, probability and statistics, fuzzy
theory, etc
Books published in the series include professional research monographs, edited vol-
umes, conference proceedings, handbooks and textbooks, which provide new insights for
researchers, specialists in industry, and graduate students.
Topics included in this series are as follows:-
• Discrete mathematics and computation
• Fault diagnosis and fault tolerance
• Finite element method (FEM) modeling/simulation
• Fuzzy and possibility theory
• Fuzzy logic and neuro-fuzzy systems for relevant engineering applications
• Game Theory
• Mathematical concepts and applications
• Modelling in engineering applications
• Numerical simulations
• Optimization and algorithms
• Queueing systems
• Resilience
• Stochastic modelling and statistical inference
• Stochastic Processes
• Structural Mechanics
• Theoretical and applied mechanics
For a list of other books in this series, visit www.riverpublishers.com
Elementary Vector Calculus
and its Applications with
MATLAB Programming
Nita H. Shah
Gujarat University, India
Jitendra Panchal
Parul University, India
Published, sold and distributed by:
River Publishers
Alsbjergvej 10
9260 Gistrup
Denmark
www.riverpublishers.com
c 2022 River Publishers
Preface ix
List of Figures xi
v
vi Contents
Index 207
ix
x Preface
xi
xii List of Figures
1
2 Basic Concept of Vectors and Scalars
−−→ −−−→
OM and is denoted by |OM | or|OM |. The point O is called the initial point
−−−→
and the point M is called the terminal point of the vector |OM |.
√ √
= 9 + 16 + 25 = 50
√
=5 2
√
Thus, the modulus of a vector −
→
a is 5 2.
Illustration 1.2: Find the modulus of the vector (6, 8).
Solution: Let −→
a = (6, 8) be a given vector. It is a two-dimensional vector.
Here, x = 6 and y = 8 then the modulus of the vector − →a is given by
|−
→
a | = x2 + y 2 = (6)2 + (8)2
√ √
= 36 + 64 = 100
= 10
Thus, the modulus of a vector −
→
a is 10.
4 Basic Concept of Vectors and Scalars
Figure 1.5 Represents unit vectors in the direction of x-axis, y-axis, and z-axis
−
→
Illustration 1.5: If →
−
a = (4, −3, 2) and b = (−2, 5, 3).then
−
→ →
−
a + b = (4 − 2, −3 + 5, 2 + 3) = (2, 2, 5) .
Illustration 1.6: If →
−
x = (4, 10, −2) and →
−
y = (0, 1, −3).then
−
→
x −−→y = (4 − 0, 10 − 1, −2 − 3)
= (4 − 0, 10 − 1, −2 + 3)
= (4, 9, 1) .
→ → −
− → → →
−
Note: −→
a b ⇔− a =k b or b =k − a , k∈R
Illustration 1.7: If −
→a = (5, −3, 2), then
3−
→
a = 3 (5, −3, 2) = (15, −9, 6) .
Here 3−
→
a is a vector whose modulus is three times the modulus of →
−
a and
whose direction is the same as that of −
→
a.
a parallelogram (See Figure 1.8). This method of addition is called the law of
the parallelogram of vectors.
Note: If −
→
a = (x, y, z), then −−→a = (−x, −y, −z). And −− →a = −1 · −→a.
→
− →
−
The moduli of a and (− a ) are equal but their directions are opposite to
→
− →
−
−
each other.→We can define the
→ →
−
difference
→
−
of vectors a and b as the sum of
→
−a and − b i.e. − →a − b =− a + −b .
(1) m−
→
a =−
→
am
(2) m (n−
→
a ) = n (m−
→
a ) = (mn−
→
a)
Figure 1.10 Represents any vector in terms of various vectors associated with its endpoints.
−−→
In other words, BC= vector of point C− vector of point B.
In general, any vector=vector of its terminal point-vector of its initial
point.
x
(1) l = cos α = OP . Taking OP = r, we have cos a = xr .
Now, r2 = x2 + y 2 + z 2 .
∴ OP = r = x2 + y 2 + z 2
x
∴ l = cos α = (1.1)
x2 + y 2 + z 2
(2) cos β is denoted by m. It is connected with the Y-axis. As explained
above.
y
m = cos β = (1.2)
x2 + y 2 + z 2
(3) cos γ is denoted by m. It is connected with the Z-axis.
z
n = cos γ = (1.3)
x + y2 + z2
2
Now,
∴ AD = OD − OA
→ →
−
∴ OD = AD + OA = − →
c − b +−
a
14 Basic Concept of Vectors and Scalars
→ →
−
=−
→
a − b +−
c
→
−
Now AB = →
−
a , AC = AB + BC = →
−
a + b , AD = AC + CD =
→
− →
−
a + b +−
→
c
AE = AD + DC = AD − ED
→ → −
− → →
−
=−→
a + b +−c −→a = b +−c
→
−
AF = CD = c
∴ LHS = AB + AC + AD + AE + AF
→ → −
− → → − → → −
=−→a +−→a + b +−a + b +−
c + b +−
c +→
c
→
−
=3 − →
a + b +−→
c = 3AD = RHS
LHS = AB + AC + AD + AE + AF
= ED + AC + AD + AE + CD
(∵ AB = ED and CD = AF )
= (AC + CD) + (AE + ED) + AD
= AD + AD + AD = 3AD = RHS
Solution:
Here
AB + BM = AM (1.4)
and
AC + CM = AM (1.5)
Adding (1.4) and (1.5), we have
AB + BM + AC + CM = 2AM (1.6)
∴ BM + CM = 0 (1.7)
AB + AC = 2AM
Illustration 1.16: Find position vectors, moduli, unit vectors, and direction
cosines for vectors represented by the following points:
(i) P (3, −4) (ii) Q (6, 2) (iii) R (−4, −6)
1.13 Direction Cosines of a Vector 17
Solution:
(i) OP = −
→r = (3, −4) = 3î − 4ĵ
Modulus = |OP | = |−
→
r | = (3)2 + (−4)2
√ √
= 9 + 16 = 25 = 5
→
−
r 3î − 4ĵ 3 4
Unit vector r̂ = →− = = î − ĵ
|r| 5 5 5
Direction cosines: l = 35 , m = − 45
(ii) OQ = −
→r = (6, 2) = 6î + 2ĵ
√ √ √ √
Modulus = |−
→
r | = 62 + 22 = 36 + 4 = 40 = 2 10
→
−
r 6î − 2ĵ 3 1
Unit vector r̂ = →− = √ = √ î + √ ĵ
|r| 2 10 10 10
Direction cosines: l = √3 , m = √1 .
10 10
(iii) OR = −
→r = (−4, −6) = 4î − 6ĵ
√ √ √
→
−
Modulus = | r | = (−4)2 + (6)2 = 16 + 36 = 52 = 2 13
→
−
r −4î − 6ĵ 2 3
Unit vector r̂ = →− = √ = √ î − √ ĵ
|r| 2 13 13 13
→ 1 1
Illustration 1.17: If −
→ y = √2 , √2 and −
x = 1, 12 , − →
z = −2, − 32 then
Solution:
(i) Here −
→
x +−
→
z = 1, 12 + −2, − 32
18 Basic Concept of Vectors and Scalars
1 3
= 1 − 2, −
2 2
1 1 1
= √ (−3, −3) = −√ , −√
3 2 2 2
Solution: Here −
→
a = (2, −1, 2) = 2î − ĵ + 2k̂.
→
− →
− and −
→
a = 3−
(vi) If î − 2ĵ +k̂, b = 2î − 4ĵ − 3k, c = −î + 2ĵ + 2k̂, find
−→ → →
−
2 a − 3 b − 5 c .
20 Basic Concept of Vectors and Scalars
→
− →
−
a =
(vii) If 2î + ĵ − k̂, b = î − ĵ + 2k̂ and →
−c = î − 2ĵ + k̂ then find
− →
−
→a + b − 2− →
c .
→
−
(viii) If −
→
a = (1, 2, 1), b = (2, 1, 1) and −
→
c = (3, 4, 1) then find
−→ → −
− →
a + 2 b + c .
→
− →
−
→
a = ĵ + k̂ − iand b = 2î + ĵ − 3k̂ then find 2−
(ix) If −
→ a + 3 b .
→
−
(x) If −
→a = (1, 2, 1),
b = (1, −1, 2) and →
−c = (3, 2, −1) then find
− →
−
3→ a + b − 2−
→c .
Solution:
→
−
(i) Here −
→a = (3, −1, −4), b = (−2, 4, −3) and −
→
c = (1, 2, −1).
→
−
Let −
→
x = 3−→
a − 2 b + 4− →
c.
∴−
→
x = 3 (3, −1, −4) − 2 (−2, 4, −3) + (1, 2, −1)
→
−
(iv) Here −
→
a = î + ĵ, b = ĵ + k̂, −
→
c = k̂ + î = î + k̂
→
−
∴−→
a = (1, 1, 0) , b = (0, 1, 1) , −
→
c = (1, 0, 1)
→
−
∴ 2→
−
a = (2, 2, 0) , 3 b = (0, 3, 3) , 5−
→
c = (5, 0, 5)
→
−
∴ 2−→
a − 3 b − 5−→c = (2, 2, 0) − (0, 3, 3) − (5, 0, 5)
= (2 − 0 − 5, 2 − 3 − 0, 0 − 3 − 5)
→
−
∴ 2→−
a − 3 b − 5−→c = (−3, −1, −8)
→
−
→
∴ 2−a − 3 b − 5−→c = (−3)2 + (−1)2 + (−8)2
(∵ Definition of magnitude)
√ √
= 9 + 1 + 64 = 74
22 Basic Concept of Vectors and Scalars
→
−
(v) Here −
→
a = (5, −3, 2) , b = (2, 3, −1) , −
→
c = (1, 2, 3).
→
−
Let−→
x = 2− →a − 3 b + 4−→c
→
−
∴ x = 2 (5, −3, 2) − 3 (2, 3, −1) + 4 (1, 2, 3)
= (10, −6, 4) − (6, 9, −3) + (4, 8, 12)
= (10 − 6 + 4, −6 − 9 + 8, 4 + 3 + 12)
∴− →
x = (8, −7, 19)
∴ |−→
x | = 82 + (−72 ) + 192
(∵ Definition of magnitude)
√ √
= 64 + 49 + 361 = 474
→
−
(vi) Here −
→
a = (3, −2, 1) , b = (2, −4, −3) , −→
c = (−1, 2, 2)
→
−
∴ 2−→
a − 3 b − 5−→c = 2 (3, −2, 1) − 3 (2, −4, −3) − 5 (−1, 2, 2)
= (6, −4, 2) + (−6, 12, 9) + (5, −10, −10)
= (6 − 6 + 5, −4, 12, 10, 2 + 9 − 10)
→
−
∴ 2−→
a − 3 b − 5−→c = (5, −2, 1)
→
−
→
∴ 2−a − 3 b − 5−→c = (5)2 + (−2)2 + (1)2
(∵ Definition of magnitude)
√ √
= 25 + 4 + 1 = 30
→
−
(vii) Given that −
→
a = (3, −1, −4) , b = (−2, 4, −3) , −
→c = (−1, 2, −5)
→
− →
∴−→a +2b −− c = 2 (3, −1, 4) + 2 (−2, 4, −3) − (−1, 2, −5)
= (3, −1, −4) + (−4, 8, −6) + (1, −2, 5)
= (3 − 4 + 1, −1 + 8 − 2, −4 − 6 + 5)
→
− →
∴−→a +2b −− c = (0, 5, −5)
→
−
→
∴ −a +2b −− →
c = 0 + 52 + (−5)2
(∵ Definition of magnitude)
√ √
= 25 + 25 = 50
→ →
− √
→
∴ −a +2b −− c=5 2
1.13 Direction Cosines of a Vector 23
(viii) Here −
→
a = 2î + ĵ − k̂,
∴− →
a = (2, 1, −1) ,
−
→
b = î − ĵ + 2k̂
→
−
∴ b = (1, −1, 2) and−
→
c = î − 2ĵ + k̂
→
−
∴ c = (1, −2, 1)
→
−
Now, −
→
a + b − 2−
→
c
= (2, 1, −1) + (1, −1, 2) − 2 (1, −2, 1)
= (2, 1, −1) + (1, −1, 2) + (−2, 4, −2)
= (2 + 1 − 2, 1 − 1 + 4, −1 + 2 − 1)
→
−
∴−→a + b − 2− →c = (1, 4, −1)
→ − →
∴ −a + b − 2− →c = |(1, 4, −1)|
= (1)2 + (4)2 + (−1)2
(∵ Definition of magnitude)
√
= 1 + 16 + 1
√
= 18
= 9 (2)
√
=3 2
→
−
(ix) Here −
→
a = (1, 2, 1) , b = (2, 1, 1) , −
→
c = (3, 4, 1) are given
→ →
−
∴− →a +2b +− c
= (1, 2, 1) + 2 (2, 1, 1) + (3, 4, 1)
= (1, 2, 1) + (4, 2, 2) + (3, 4, 1)
= (1 + 4 + 3, 2 + 2 + 4, 1 + 2 + 1)
→ →
−
∴− →a +2b −− c = (8, 8, 4)
→ −
−
−→ →
∴ a + 2 b + c = (8)2 + (8)2 + (4)2
(∵ Definition of magnitude)
√ √
= 64 + 64 + 16 = 144 = (12)2
24 Basic Concept of Vectors and Scalars
→ →
−
→
∴ −a +2b +−
c = 12
→
−
(xi) Given that −
→
a = (1, 2, 1) , b = (1, −1, 2) , −
→
c = (3, 2, −1)then find
→
−
−
3→a + b − 2− →
c
→
−
∴ 3−
→a + b − 2− →
c
= 3 (1, 2, 1) + (1, −1, 2) − 2 (3, 2, −1)
= (3, 6, 3) + (1, −1, 2) − (6, 4, −2)
= (3 + 1 − 6, 6 − 1 − 4, 3 + 2 + 2)
= (−2, 1, 7)
→
− √ √
−
→ →
−
Hence, 3 a + b − 2 c = 4 + 1 + 49 = 54
Illustration 1.20: If a (1, 0, 0) + b (0, 1, 0) + c (2, −3, −7) = (0, 0, 0), where
a, b, c ∈ R, then find the values of a, b, and c.
Solution: Here
Figure 1.16 A space shuttle of 1000 tons weight hangs from two skyscrapers using steel
cables
Solution:
−
→ −
→
Let F1 and F2 be two forces or tensions on the steel cables respectively. First,
−
→ −
→
we represent F1 and F2 in terms of vertical and horizontal components.
−
→ − −
→ →
F1 = − F1 cos50o î + F1 sin50o ĵ
→ −
− → −
→
F2 = F2 cos32o î + F2 sin32o ĵ
→
−
The gravity force acting on the space shuttle is F = −mg ĵ =
→
− −
→
− (1000) (9.8) ĵ = −9800ĵ. Therefore, the counterbalance of F with F1
−
→
and F2 is given as
→ −
− → − → −
→ − → →
−
∴ F1 + F2 + F = 0 ⇒ F1 + F2 = − F = − (−9800) ĵ = 9800ĵ
26 Basic Concept of Vectors and Scalars
Thus,
− −
→ →
− F1 cos50o î + F1 sin50o ĵ +
− −
→ →
F2 cos32o î + F2 sin32o ĵ = 9800ĵ
− −
→ →
∴ − F1 cos50o + F2 cos32o î+
− −
→ →
F1 sin50o + F2 sin32o ĵ = 9800ĵ
−
→
Solving for |F2 |, we get
−
− →
→ 1 cos50o
F
o
F1 sin50 + sin32o = 9800
cos32o
−
→ 9800
∴ F1 = ≈ 8392 N
sin50o + tan32o cos50o
And −
− →
→ F1 cos50
o
2
F = ≈ 6361 N
cos32o
Thus, the force vectors are
−
→ −
→
F1 ≈ −5394 î + 6429 ĵ and F2 ≈ 5394î + 3371ĵ.
1.14 Exercise
1. If −
→
x = (2, 1) and − →
y = (1, 3), then (i) find a unit vector in the direction
of 3 x − 2 y , (ii) find direction cosines of 3−
→
− →
− →x − 2− →
y.
Answer : (i) 45 î − 35 ĵ, (ii) 45 , − 35
3. Find a, b ∈ R such that (i) (4, 7) + (a, b) = (17, 13) (ii) (a, −8) −
2 (3, b) = (−4, 6).
(Answer : (i) (a, b) = (13, 20) , (ii) (a, b) = (2, −7))
4. If x̂ = (4, 7, 2) and ŷ = (−1, 3, 4), find the vectors 2x̂ + 4ŷ and 3x̂ − ŷ.
(Answer : (i) 2−→x + 4− →
y = (4, 26, 20) , (ii) 3−
→
x −− →y = (13, 18, 21))
8. If â = (3, −1, −4) , b̂ = (−2, 4, −3) , ĉ = (−1, 2, −1), then find the
direction cosines of the vector 3â − 2b̂ + 4ĉ.
9 3
Answer : √190 , − √190 , √−10
190
9. If â = (1,2, 3) , b̂ = (2, −2, −5) , ĉ = (3, −2, −1), then find (i) â +
2b̂ − ĉ (ii) â + b̂ + ĉ.
√ √
Answer : (i) 68 (ii) 41
10. Show that â = (2, −3, 2) , b̂ = 1, − 32 , 1 are parallel vectors
2
Scalar and Vector Products
Note that the result of a dot product is a scalar i.e., it is a real number.
→
−
(2) Geometric definition: If the angle between the vectors − →a and b is θ
as shown in Figure 2.1 then
→
− −
−
→ →
− →
a . b = | a | b cos θ = ab cos θ, (2.2)
29
30 Scalar and Vector Products
−
→
where, |−
→
a | = a and b = b.
→
− →
−
Note: The angle θ is denoted by →−
a ,̂ b (read −
→
a cab b ) also.
→
−
Also, if −
→
a · b = 0, then ab cos θ = 0.
i.e., cosθ = 0 ⇒ θ = π2 .
(3) Scalar product of two like vectors or two opposite vectors:
→
−
(i) If −
→
a and b are of the same direction, then θ = 0 and cos θ =
cos θ = 1.
→
− →
−
∴−→
a · b = ab cos θ = − →a b = Product of their moduli
→
−
(ii) If −
→
a and b have opposite directions, then θ = p and cos θ =
cos π = −1.
→
− →
−
∴− →
a · b = ab cos θ = − →a b (−1)
→
−
= −− →
a b = −(Product of their moduli)
→
−
a = b , then −
From (i), if −
→ →
a ·−
→
a =−
→a−
→a =− →a = |− →
2 2
a|
(4) From unit vectors i, j, k in the directions of the axes:
î · î = ĵ · ĵ = k̂ · k̂ = 1,
î · ĵ = 0, ĵ · k̂ = 0, k̂ · î = 0,
Because î, ĵ, k̂ are mutually perpendicular.
(5) For p, q ∈ R,
→
− →
− → → −
− →
p−
→
a · p b = pq −→
a · b = (pq −
→
a)· b =−
a · pq b
(6) The scalar product of two vectors is distributive with respect to the vector
addition. −
→ → − → → −
−
→
−a · b +− c =→ a · b +− a ·→c
−→ → − → → −
−
Also, −
→a · b −− c =→ a · b −− a ·→ c
−→ → −→ →
Note: If −→
a = θ and − →
a · b −− c = 0, then − →
a⊥ b −− c or
→ −
−
b −→ c = θ.
(7) The scalar product of two vectors is given by the sum of the products of
their corresponding elements.
32 Scalar and Vector Products
→
−
If →
−
a = (a1, a2 , a3 ) and b = (b1, b2 , b3 ), then
→
− →
−
a · b = (a1, a2 , a3 ) · (b1 , b2 , b3 )
= a1 b1 + a2 b2 + a3 b3 = Σai bi
Also −
→
a = |−
→
a | = a21 + a22 + a23 = Σa2i
−
→ −
→
b = b = b21 + b22 + b23 = Σb2i
→
−
Now, −
→
a · b = ab cos θ gives
−
→ →
−
a.b
cos θ = →
→
− −
| a | b
a 1 b1 + a 2 b2 + a 3 b3
= 2
a1 + a22 + a23 b21 + b22 + b23
Σai bi
=
Σa2i Σb2i
Σai bi
=
Σa2i × Σb2i
⎧ ⎫
⎨ Σai bi ⎬
∴ θ = cos−1
⎩ Σa2 Σb2 ⎭
i i
Note:
(2)
sin2 θ = 1 − cos2 θ
2 2
a · b a2 b2 − a · b
=1− =
a 2 b2 a 2 b2
2.2 The Measure of Angle Between two Vectors and Projections 33
→2
− →2 →2
2 − −
a 2 b2 − → −
a · b |−
→
a| b − − →a · b
∴ sin θ = − = −
→ →
|−
→a | b |−
→a | b
Illustration 2.1: If −
→
x = (1, 2, 3) and −
→
y = (2, 3, 4),then find (i) −
→
x ·−
→
y and
→
− →
−
(ii) ( x ,̂ y ).
Solution:
(i) →
−
x ·−
→
y = (1, 2, 3) · (2, 3, 4)
= (1) (2) + (2) (3) + (3) (4)
= 2 + 6 + 12 = 20
(ii) |→
− 2
x | = 1 + 4 + 9 = 14
√
∴ |−
→
x | = 14
|−
→ 2
y | = 4 + 9 + 16 = 29
√
∴ |−
→
y | = 29
Now,
→
−x .−→y 20
cos θ = cos(−x ,∧ −
→ →
y)= − → −
→ =√ √
| x || y | 14 29
20
∴ θ = (−
→x ,∧ −
→
y ) = cos−1 √ √
14 29
Illustration 2.2: If −
→x = î + 3ĵ + 2k̂ and − →
y = 4î − 2ĵ + k̂, then find (i)
→
− →
− →
−
x · y (ii) the angle between x and y .→
−
Solution:
(i) x · y = (1, 3, 2) · (4, −2, 1)
= (1) (4) + (3) (−2) + (2) (1)
=4−6+2=0
Hence, x and y are perpendicular.
34 Scalar and Vector Products
(ii) As x · y = 0, x⊥y.
∴The angle between x and y is 90◦ or π2 .
Illustration 2.3: If x = (1, −2, 2) and y = (0, 0, −1), then verify that
√ x = (1, −2,
Solution: Here, √2) and y = (0, 0,√−1).
∴ |x| = 1 + 4 + 4 = 9 = 3 and |y| = 0 + 0 + 1 = 1
(i)
= (1 + 0, −2 + 0, 2 + (−1))
= (1, −2, 1)
√ √
∴ |x + y| = 1 + 4 + 1 = 6 (2.5)
∴ |x + y| ≤ |x| + |y|.
2.2 The Measure of Angle Between two Vectors and Projections 35
= (1 − 0, −2 − 0, 2 − (−1))
= (1, −2, 3)
√ √
∴ |x − y| = 1 + 4 + 9 = 14 (2.7)
→
−
Illustration 2.5: If for −
→
a = (2, 2, −1) and b = (6, −3, 2) , then find the
→
−
angle between −→a and b .
→
−
Solution: We have − →a = (2, 2, −1) and b = (6, −3, 2) , then
−
→ →
−
a . b = (2, 2, −1) · (6, −3, 2) = 12 − 6 − 2 = 4
√ √ − √
→ √
Also, |−
→
a | = 4 + 4 + 1 = 9 = 3, b = 36 + 9 + 4 = 49 = 7,
36 Scalar and Vector Products
→
−
If θ is the angle between −
→
a and b , then
−
→ →
−
a · b 4 4
cos θ = → = 3 × 7 = 21 = 0.1905
−
→
−
| a || b |
∴ sin 900 − θ = 0.1905
∴ 900 − θ = 100 58 (∵ Using trigonometric table)
∴ θ = 900 −100 58 = 790 2
→
−
Illustration 2.6: If −
→
a = 3î − 2ĵ + k̂ and b = î − 2ĵ + k̂, then find the
→
−
projection of −
→
a on b .
→
−
Solution: The projection of −
→
a on b is given as
−
→ →
−
a · b
= − →
b
Illustration 2.7: Show that (−1, 6, 6) , (−4, 9, 6) , and (0, 7, 10) are posi-
tion vectors of the vertices of a right-angled triangle.
Solution: Let A (−1, 6, 6) , B (−4, 9, 6) , and C(0, 7, 10) be the vertices of
ABC.
Now, AB = OB − OA = (−4, 9, 6) − (−1, 6, 6) = (−3, 3, 0)
∴ AB⊥CA
∴ ABC is a right-angled triangle.
Illustration 2.7: Find the angle between the vectors 2î + ĵ + 4k̂ and î + ĵ + k̂.
2.3 Vector Product or Cross Product or Outer Product of Two Vectors 37
Solution: Let −
→
x = 2î + ĵ + 4k̂ = (2, 1, 4) and −
→y = î + ĵ + k̂ = (1, 1, 1)
then we have
→
−
x ·−
→y = (2, 1, 4) · (1, 1, 1) = 2 + 1 + 4 = 7 and if (x ,∧ y) = θ, then
→
− √
x ·− →
y 7 7 7
∴cos θ = − → →
− =√ √ =√ =
|x|| y | 21 3 63 3
√
−1 7
∴ θ = cos
3
Illustration 2.8: For what value of x, the vectors 2î−3ĵ +5k̂ and xî−6ĵ −8k̂
are perpendicular to each other?
→
−
Solution: Let −→a = 2î − 3ĵ + 5k̂ = (2, −3, 5) and b = xî − 6ĵ − 8k̂ =
(x, −6, −8).
→
− →
−
As −
→a⊥b ⇒→
−
a · b =0
∴ 2x + 18 − 40 = 0
∴ 2x = 22 ⇒ x = 11.
−
→ →
−
a × b = (a2 b3 − a3 b2 ) î − (a1 b3 − a3 b1 ) ĵ + (a1 b2 − a2 b1 ) k̂
= (a2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 )
→
−
Note: −
→
a × b is also a vector.
38 Scalar and Vector Products
→
→ −
Thus, −a × b = |ab sinθ n̂|
= ab sinθ (∵ |n̂| = 1)
2.4 Geometric Interpretation of a Vector Product 39
4. For any p, q ∈ R,
→
− −
→ → →
− →
−
p−
→
a × q b = pq −→
a × b = (pq −
→
a)× b =−
a × (pq b )
→
−
Taking −
→
a = 1 and b = −1, we get
−→ →
− →
−
→
−
a × − b = (−− →a ) × b = −(−
→
a × b)
Or →2
−
→ − 2 −
→ →2
− 2 −
a · b + →
a × b = |−
→
a| b
Remarks:
→ →
−
→ − |−
→
1. As −a × b = absinθ, sinθ = a×b|
→
−
|−
→
a || b |
→
−
2. If the direction cosines of −
→
a and b are (l1 , m1 , n1 ) and (l2 , m2 , n2 )
respectively, then
sin θ = (m1 n2 − m2 n1 )2 + (l1 n2 − l2 n1 )2 + (l1 m2 − l2 m1 )2
2.4 Geometric Interpretation of a Vector Product 41
Illustration 2.9: Find the modulus of 2î − 3ĵ + k̂ × î − ĵ + 2k̂ .
→
−
Solution: Consider −→a = 2î − 3ĵ + k̂ and b = î − ĵ + 2k̂
→
− → î ĵ k̂
−
∴ a × b = 2 −3 1
1 −1 2
= (((−3) × 2) − ((−1) × 1))î − ((2 × 2) − (1 × 1))ĵ
+ ((2 × (−1)) − (1 × (−3)))k̂
= (−6 + 1) î − 3ĵ + k̂ = −5î − 3ĵ + k̂
→
− √ √
−
∴ →a × b = 25 + 9 + 1 = 35
→
−
Illustration 2.10: If −
→
a = 2î − ĵ, b = î + 3ĵ − 2k̂ then compute
→ → −
− →
−
→a + b × − a − b .
→
−
Solution: Here, −
→
a = 2î − ĵ = (2, −1, 0) and b = î + 3ĵ − 2k̂ = (1, 3, −2) .
→
−
∴ →−a + b = (2, −1, 0) + (1, 3, −2) = (3, 2, −2) and
→
− →
−
a − b = (2, −1, 0) − (1, 3, −2) = (1, −4, 2)
î ĵ k̂
→
− →
− →
− →
−
∴ a + b × a − b = 3 2 −2
1 −4 2
= î (4 − 8) − ĵ (6 + 2) + k̂(−12 − 2)
= −4î − 8ĵ − 14k̂ = (−4, −8, −14)
→ √ √ √
→ − → −
∴ −a + b × −→
a − b = 16 + 64 + 196 = 276 = 2 69
42 Scalar and Vector Products
→
−
Solution: Consider −
→
a = 10î + 2ĵ + 3k̂ = (10, 2, 3) , b = î − 2ĵ + 2k̂ =
(1, −2, 2) and −
→
c = 3î − 2ĵ − 2k̂ = (3, −2, −2).
î ĵ k̂
→ −
− →
∴ b × c = 1 −2 2 = 8î + 8ĵ + 4k̂ = 4(2, 2, 1)
3 −2 −2
−
→ → − → →
−
Solution: L.H.S. = − →
a × b +− c + b × (−→c +−→
a)+− →c × −→a + b
Using distributive law
→ → −
− → → −
− → → − →
−
=−→a × b +− a ×→ c + b ×−c + b ×− a +→ c ×−→
a +−→c × b
→ → →
− → → −
− → → − →
−
=−→a × b −− c ×− a −− →c × b −−
a × b +−c ×→ a +−
→c × b = 0 = R.H.S.
Illustration 2.14: If −
→
x = (3, −1, 2) and −→
y = (2, 1, −1) are given vectors.
Find unit perpendicular vector to the x and −
→
− →
y both.
2.4 Geometric Interpretation of a Vector Product 43
= (5 − 6) î − (−10 + 8) ĵ + (−6 + 4) k̂
Illustration 2.16: If −
→
x = î + ĵ + k̂ and −
→
y = 2î − ĵ − k̂, then prove that −
→
x
→
−
and y are perpendicular to each other. Also, find a unit vector perpendicular
to the vectors −
→
x and −→y.
44 Scalar and Vector Products
Illustration 2.17: Find a unit vector that makes an angle of 600 with the
vector î − k̂.
Solution: Let − →
x = î − k̂.
∴−
→
x = (1, 0, −1)
And suppose −
→
y = (y1 , y2 , y3 ) be the required vector.
∴ |−
→ 2
y | = y12 + y22 + y32 = 1 (2.12)
Now, (−
→
x ,̂−
→
y ) = 600
−
→x · −
→
y
cos 600 = cos (−
→
x ,̂ −
→
y)= −→ →
−
|x|| y |
2.18: Show that the angle between the vectors î+2ĵ and î+ĵ+3k̂
Illustration
−1 46
is sin 55 .
→
−
Solution: Consider the vectors −
→
a = î + 2ĵ = (1, 2, 0) and b = î + ĵ + 3k̂ =
(1, 1, 3).
√ √ − → √ √
Also, |−
→
a | = 1 + 4 + 0 = 5, b = 1 + 1 + 9 = 11
î ĵ k̂
→
− −
→
a × b = 1 2 0 = (6 − 0) î − (3 − 0) ĵ + (1 − 2) k̂
1 1 3
→
− √
|−
→a × b| 46 46
sin θ = →
− =√ √ =
|−
→
a || b | 5 11 55
46
∴ θ = sin−1
55
on a particle
Figure 2.4 Represents work done by a force F
→
−
Thus, the moment of the force F about a point A (See Figure 2.5) is
→
−
a vector which is perpendicular to the plane containing F and A having a
modulus
−→ − → − −
→ →
= AP × F = AP F sinθ = AN F (∵ AN = AP sinθ ) ,
→
−
where AN is the line perpendicular to the line of the force F .
→
−
Now let F = (F1 , F2 , F3 ) , A(a1 , a2 , a3 ) and P (p1 , p2 , p3 ). Then
−→ −−→ −→
AP = OP − OA = (p1 − a1 , p2 − a2 , p3 − a3 ).
→
−
Moment of F about the point A
−→ − →
= AP × F
î ĵ k̂
= p1 − a1 p2 − a2 p3 − a3
F1 F2 F3
= {F3 (p2 − a2 ) − F2 (p3 − a3 )} î − {F3 (p1 − a1 ) − F1 (p3 − a3 )} ĵ
+ {F2 (p1 − a1 ) − F1 (p2 − a2 )} k̂
Note:
→
−
(1) The moment of the force F about a point on its line of action is always
−→
zero, because AP is a null vector.
→ −
− → − →
(2) If concurrent forces F1 , F2 , F3 , . . . act at the point P , then their moment
−→ − → → −
− → − → − →
about a point A = AP × F , where F = F1 + F2 + F3 + . . .
48 Scalar and Vector Products
Illustration 2.19: A particle moves from the point A (3, 2, −1) to the point
→
−
B (2, −1, 4) under the effect of force F = 4î − 3ĵ + 2k̂. Find the work done
by the force.
→
−
Solution: Here, the force vector is F = 4î − 3ĵ + 2k̂ = (4, −3, 2) and the
−−→
displacement is given by AB = (2, −1, 4) − (3, 2, −1) = (−1, −3, 5). So,
the work done is obtained as follow:
→ −
− → −−→
∴ Work done by the force F = F · AB = (4, −3, 2) · (−1, −3, 5)
= −4 + 9 + 10 = 15 units
Note: In this illustration, the measurement unit for the force and displacement
are not given so we have used a unit.
Illustration 2.20: The constant forces î + 2ĵ + 3k̂ and 3î + ĵ + k̂ act on a
particle. Under the action of these forces, a particle moves to 5î + ĵ + 2k̂ from
ĵ − 2k. Obtain total work done by these forces.
−
→ −
→
Solution: Here, F1 = î + 2ĵ + 3k̂ = (1, 2, 3) and F2 = 3î + ĵ + k̂ = (3, 1, 1)
are the forces acting on the particle. So, the total force or resultant force acting
on the particle is given by
→ −
− → − →
∴ Resultant force F = F1 + F2 = (1, 2, 3) + (3, 1, 1) = (4, 3, 4)
Let A represent the initial position of the particle and B represents the final
position of the particle after forces are applied. Therefore, A = ĵ − 2k̂ =
(0, 1, −2) and B = 5î + ĵ + 2k̂ = (5, 1, 2). Now, the displacement is given
by
−−→
∴ Displacement AB = (5, 1, 2) − (0, 1, −2) = (5, 0, 4)
As we have obtained the total forces acting on the particle and the displace-
ment of the particle, we calculate work done as follow:
→ −−→
−
∴ Work done = F · AB = (4, 3, 4) · (5, 0, 4)
=4×5+3×0+4×4
= 20 + 0 + 16 = 36
Thus, the total work done is by the forces is 36 units.
Illustration 2.21: Forces 3î − ĵ + 2k̂ and î + 3ĵ − k̂ act on a particle and the
particle moves from 2î + 3ĵ + k̂ to 5î + 2ĵ + k̂ under these forces. Find the
work done by these forces.
2.5 Application of Scalar and Vector Products 49
−
→
Solution: The given forces acting on a particle are F1 = 3î − ĵ + 2k̂ =
−
→
(3, −1, 2) and F2 = î + 3ĵ − k̂ = (1, 3, −1).
The total force acting on a particle is given by
→ −
− → − →
∴ Resultant force F = F1 + F2 = (3, −1, 2) + (1, 3, −1) = (4, 2, 1)
Let A represent the initial position of the particle then A = 2î + 3ĵ + k̂
= (2,3,1) and let B denote the final position of the particle after forces are
applied then B = 5î + 2ĵ + k̂ = (5, 2, 1). So, the displacement of the
particle from the point A to point B is given by
−−→
Displacement = AB = (5, 2, 1) − (2, 3, 1) = (3, −1, 0)
The work done by the forces is obtained as follow:
→ −−→
−
Work done = F · AB
= (4, 2, 1) · (3, −1, 0)
= 4 × 3 + 2 × (−1) + 1 × 0
= 12 − 2 + 0 = 10 units.
Illustration 2.22: A particle moves from point 3î−2ĵ + k̂ to point î+3ĵ −4k̂
under the effect of constant forces î − ĵ + k̂, î + ĵ − 3k̂, 4î + 5ĵ − 6k̂. Find
the work done by these forces on the particle.
Solution: Let A be the initial point of the position of the particle then A =
3î − 2ĵ + k̂ = (3, −2, 1) and let B be the final position of the particle then
B = î + 3ĵ − 4k̂ = (1, 3, −4). The displacement of the particle is obtained
as
−−→
Displacement = AB = (1, 3, −4) − (3, −2, 1) = (−2, 5, −5).
−
→
The constant forces acting on the particle are F1 = î− ĵ + k̂ = (1, −1, 1),
−
→ −
→
F2 = î + ĵ − 3k̂ = (1, 1, −3), and F3 = 4î + 5ĵ − 6k̂ = (4, 5, −6).
The resultant forces acting on the particle is given by
→ −
− → − → − →
∴ Resultant forces F = F1 + F2 + F3
= (1, −1, 1) + (1, 1, −3) + (4, 5, −6)
= (6, 5, −8)
→ −−→
−
∴ Work done = F · AB = (6, 5, −8) · (−2, 5, −5)
= −12 + 25 + 40 = 53 units
50 Scalar and Vector Products
Now, let A(0, 1, −2) be the initial position of the particle and B (−1, 3, 2) be
the final position of the particle then the displacement of the particle is given
by
−−→
Displacement = AB = (−1, 3, 2) − (0, 1, −2) = (−1, 2, 4).
Finally, the work done is given as
→ −−→
− 1
∴ Work done = F · AB = √ (−4, 16, −6) · (−1, 2, 4)
14
1 12
= √ (4 + 32 − 24) = √
14 14
Thus, the total work done is obtained as √12 units.
14
Illustration 2.24: Find the moment about the point (2, 3, −1) of the force
3î − k̂ acting through the point (1, −2, 1). Also, find the magnitude of the
moment.
Solution: Let A(2, 3, −1) and P (1, −2, 1) be the given points.
→
−
Let F = 3î − k̂ = (3, 0, −1) be the given force vector.
−→ −−→ −→
∴ AP = OP − OA = (1, −2, 1) − (2, 3, −1) = (−1, −5, 2)
→
− −→ − →
Moment of the force F about the point A = AP × F
î ĵ k̂
= −1 −5 2
3 0 −1
= (5 − 0) î − (1 − 6) ĵ + (0 + 15) k̂
= 5î + 5ĵ + 15k̂ = (5, 5, 15)
√ √ √
∴ Magnitude of the moment = 25 + 25 + 225 = 275 = 5 11.
Illustration 2.25: Find the moment about the point (4, 0, 1) of the forces
2î + ĵ − 3k̂ and 2î − 2ĵ + k̂ acting through the point (−1, 3, −2).
→
−
Solution: The resultant force F is given by
→
−
F = 2î + ĵ − 3k̂ + 2î − 2ĵ + k̂ = (4, −1, −2).
Let A(4, 0, 1) and P (−1, 3, −2) be the given points.
−→
∴ AP = (−1, 3, −2) − (4, 0, 1) = (−5, 3, −3)
52 Scalar and Vector Products
→
−
The moment of the force F about the point A
î ĵ k̂
−→ − →
= AP × F = −5 3 −3
4 −1 −2
= (−6 − 3) î − (10 + 12) ĵ + (5 − 12) k̂
= −9î − 22ĵ − 7k̂
2.6 Exercise
1. Evaluate î + 2ĵ + k̂ · 3k̂ − 2ĵ + 4î .
(Answer : 3)
→
−
2. If −
→
a= î − ĵ + k̂, b = 2î − ĵ + k̂, and −
→
c = î + ĵ − 2k̂, then find
→
− → →
−
a · b +− c .
(Answer : 2)
3. For what value of p, the vectors 2î + 3ĵ − k̂ and pî − ĵ + 3k̂ are
perpendicular to each other?
(Answer :p= 3)
−
→
4. If the vectors −
→
a = mî − 2ĵ + k̂ and b = 2mî + mĵ − 4k̂ are
perpendicular to each other then find the value of m.
(Answer : m = −1, 2)
5. If vectors (m, 2m, 4) and (m, −3, 2) are mutually perpendicular then
find the value of m.
(Answer : m = 2, 4)
−
→
8. Find the value of q if vectors →
−
a = (q, 2, 1), and b = (2, q, −4) are
perpendicular to each other.
(Answer : q = 1)
9. Find the modulus of 2î − 3ĵ + k̂ × (î − ĵ + 2k̂).
√
Answer : 35
10. Find a unit perpendicular vector to the given vector −
→
x = (1, 2, 3) and
→
−
y = (−2, 1, −2) .
Answer : 3√110 (−7, −4, 5)
12. Find a unit vector perpendicular to the plane containing the vectors −
→
a =
→
−
3î + ĵ + 2k̂ and b = 2î + ĵ − k̂.
Answer : √183 (−3, 7, 5)
13. Show + k̂ is
that the angle between the vectors î + ĵ − k̂ and 2î − 2j
sin−1 26
27 .
14. Prove that the angle between two vectors 3î + ĵ + 2k̂ and 2î − 2ĵ + 4k̂
is sin−1 √27 .
18. Find the area of the parallelogram whose adjacent sides are 3î + ĵ − 2k̂
and î − 3ĵ + 4k̂.
√
Answer : 10 3
54 Scalar and Vector Products
20. Constant forces (3, −2, 1) and (−1, −1, 2) acts on the particle. Under
the effects of these forces, a particle is displaced from (2, 2, −3) to the
point (−1, 2, 4). Find the total work done by these forces.
(Answer : 15 unit)
21. Under the effect of two forces (4, 1, −3) and (3, 1, −1) particle is
displaced from origin to (1, 1, 1). Find the work done.
(Answer : 5 unit)
22. A particle is displaced from point (0, 1, −2) to the point (5, 1, 2) under
the effect of constant forces (1, 2, 3) and (3, 1, 1) then find the total work
done.
(Answer : 36 unit)
23. A particle moved from the point î − ĵ to point 3î + k̂ under the effect
of the two constant forces −2k̂ + î + ĵ and 2ĵ + 2î − 4k̂. Then find the
total work done.
(Answer : 3 unit)
24. Force ĵ + î + k̂ is action at −2î + 3ĵ + 4k̂ find the moment of inertia
and its magnitude above 2î + 3ĵ + 5k̂.
√
Answer : (1, 3, −4) and 26
25. Force (1, 1, 1) is acting on B(1, 2, 3) find the magnitude of the moment
of inertia along A(−1, 2, 0).
√
Answer : (−3, 1, 2) and 14
3
Vector Differential Calculus
3.1 Introduction
In this chapter, we study vector functions in three dimensions and the appli-
cations of differential calculus to them. Vectors simplify many calculations
considerably and help to visualize physical and geometrical quantities and
relations between them. Consequently, vector methods are used extensively
in applied mathematics and engineering. The impact of these methods on
the study of physical phenomena such as fluid flow, elasticity, heat flow,
electrostatics, electromagnetism, and waves in solids and fluids, which the
engineer must understand as the foundation for the design and construction
of systems such as aircraft, laser generators, robots, and thermo-dynamical
systems, is critical to the engineer.
Our goal is to acquaint readers with vector calculus, a branch of differen-
tial calculus that applies the basic notions of ordinary differential calculus to
vector functions. The gradient, divergence, and curl are three physically and
geometrically essential concepts connected to scalar and vector fields.
55
56 Vector Differential Calculus
x = f (t) , y = g (t)
over an interval I of t−values, then the set of points (x, y) = (f (t) , g (t))
defined by these equations is a curve in the coordinate plane. The equations
are parametric equations for the curve. The variable t is a parameter for the
curve and its domain I is the parameter interval. If I is a closed interval,
a ≤ t ≤ b, the point (f (a) , g (a)) is the initial point of the curve and
(f (b) , g (b)) is the terminal point of the curve. If the equations of a curve
are given in the plane in parametric equations and parametric interval then
it is called a parameterized curve. The equations and interval constitute a
parameterization of the curve.
A curve C in the two-dimensional xy-plane can be parametrized by
x = x (t) , y = y (t) , a ≤ t ≤ b.
Illustration 3.1: Find a parametrization for the line segment with endpoints
(−2, 1) and (3, 5) .
Solution:
Using (−2, 1), we crate the parametric equations x = −2 + at, y =
1 + bt.
These represent a line, as we see by solving each equation for t and
equating to obtain
x+2 y−1
=
a b
58 Vector Differential Calculus
This line goes through the point (−2, 1) when t = 0. We determine a and b
so that the line goes through (3, 5) when t = 1.
3 = −2 + a ⇒ a = 5x = 3 when t = 1
5 = 1 + b ⇒ b = 4y = 5 when t = 1
Therefore,
x = −2 + 5t, y = 1 + 4t, 0 = t = 1.
or
−
→
r (t) = (−2 + 5t) î + (1 + 4t) ĵ
is a parametrization of the line segment with initial point (−2, 1) and
terminal point (3, 5) .
Illustration 3.2: Find the parametric representation of the straight line
through the point P (1, 2, 3) and has the direction b = i + 2j + 2k.
Solution:
In this case, a = (1 − 0) i + (2 − 0) j + (3 − 0) k = i + 2j + 3k
∴ a1 = 1, a2 = 2, a3 = 3
∴−
→
r (t) = a + tb = (a1 + tb1 ) î + (a2 + tb2 ) ĵ + (a3 + tb3 ) k̂
gives −
→r (t) = (1 + t) î + (2 + 2t) ĵ + (3 + 2t) k̂
or −
→r (t) = (1 + t) î + 2 (1 + t) ĵ + (3 + 2t) k̂ are required for parametric
representation.
→
−
r = xî + y ĵ + z k̂ and −
→
r + δ−
→
r = (r δx) î + (y + δy) ĵ + (z + δz) k̂
∴ δ−
→
r = (δx) î + (δy) ĵ + (δz) k̂
∴ |d−
→ 2
r | = δr2 = δx2 + δy 2 + δz 2 (3.4)
If δs is the length of the are P Q and in the limit as δt → 0, chord
P Q (= δr) and are δs will be equal i.e., dr
ds = 1
d−
→ 2 2 2 2
r dx dy dz
∴ = + + =1 (3.5)
ds ds ds ds
and
d−
→r dx dy dz
= î + ĵ + k̂
ds ds ds ds
−
d→r dx 2
dy 2
dx 2
∴ =
+ + =1 (∵ from (3.4)) (3.6)
ds ds ds ds
T̂ . T̂ = N̂ . B̂ = B̂ . T̂ = 0
and
T̂ × N̂ = B̂ , N̂ × B̂ = T̂ , B̂ × T̂ = N̂ ,
the cyclic order being preserved in the cross products.
(b) A plane through the point P normal to T̂ is known as the normal plane
of the curve at P .
d−
→r d−
→r /dt v
T̂ = = = (3.9)
ds ds/dt |v|
Illustration 3.3: Find the length of the arc between points (a, 0, 0) and
(0, a, 12 πa tan α ) for the curve x = a cos θ , y = a sin θ , z = a θ tan α .
Solution:
Using result (3.8), we get
2 2 2 2
ds dx dy dz
= + +
dθ dθ dθ dθ
= a2 sin2 θ + a2 cos2 θ + a2 tan2 α
= a2 (1 + tan2 α) = a2 sec2 α
ds
∴ = a sec α
dθ
62 Vector Differential Calculus
π/3
= 1 + tan2 x dx
0
π/3
π/3
= sec x dx = [log(secx − tanx)]0
0
π π
= log sec − tan − log (1 − 0)
√ 3 3
= log(2− 3) − 0
√
= log(2 − 3 )
Solution:
Here, r (t) = (cos t) î + (sin t) ĵ
dr
∴−→
v = = (−sin t) î + (cos t) ĵ
√ dt
−
→
v=1
→
−
v (−sin t ) î + (cos t) ĵ
∴ T̂ = →− = = (−sin t) î + (cos t) ĵ
|v| 1
(I) Definition: Curvature k at point P on the curve is are the rate of rotation
of tangent T̂ at P
dΨ
∴k= (i)
dS
where δΨ is the angle through which T̂ has turned when P moves to a
dT̂ dT̂ dΨ dT̂
point Q . dS = dΨ . ds = k dΨ (ii)
Now,
T̂ .T̂ = 1
dT̂ dT̂
∴ T̂ · = 0 ⇒ T̂ ⊥
dS dS
Since T̂ and T̂ + δ T̂ lie in the osculating plane, δ T̂ lies in the osculating
plane i.e., ddST̂ lies in an osculating plane and being perpendicular to, it is
3.4 Curvature and Torsion 65
along N̂ at P .
dT̂
dT̂
∴ = (1) N̂ ∵ =1 (iii)
dψ Dψ
dT̂
= k N̂ (3.10)
dS
dφ
∴τ = (i)
dS
dB̂ dB̂ dφ dB̂
= · = τ (ii)
dS dφ ds d∅
Now,B̂ · B̂ = 1, ∴ B̂ · dB̂
dφ =0
dB
∴ B̂⊥
dφ
dB̂ dB̂
=τ = −τ N̂
ds dφ
Hence,
dB̂
= −τ N̂ (3.11)
ds
(III) Since B̂, T̂ , and N̂ are orthogonal unit vectors (in Figure 3.4),
N̂ = B̂ × T̂
dN̂ dT̂ dB̂
∴ = B̂ × + × T̂
ds ds ds
= B̂ × k N̂ + −τ N̂ × T̂
3.4 Curvature and Torsion 67
d−→r d−→r ds ds
∴−
→
r = = · = · T̂ (ii)
dt ds dt dt
−
→ d2 r d2 s ds dT̂
r¨ = 2 = 2 T̂ + dt . dt
dt dt
d2 s ds dT̂ ds
= 2 T̂ + .
dt dt ds dt
2
d2 s ds dT̂
= T̂ +
dt2 dt ds
d2 s ds 2
= T̂ + k N̂ (iii)
dt2 dt
! " $ 2 2
%
→
− →
−̈ ds d s ds
∴ r × r = T̂ × T̂ + k N̂
dt dt2 dt
ds 3
= k T̂ × N̂ ∵ T̂ × T̂ = 0
dt
3
ds
= k B̂ (iv)
dt
68 Vector Differential Calculus
3
→ −̇
∴ −̇
r × −̈→r = k dsdt and →r= ds
dt (From (ii))
Equating the magnitudes, we get
3
−̇
→ →
−̈ −̇
r × r = k →r (v)
−̇
→ →
−̈
r × r
∴ k = 3 (3.13)
−̇
→ r
Formula (3.13) determines the curvature k or radius of curvature = k1 at
a point P on the curve.
From equation (iii), we get
$ %
...
→
− d3 −
→r d3 s d2 s dT̂ d ds 2 ds 2 dN̂
r = = T̂ + + k N̂ + k
dt3 dt3 dt2 dt dt dt dt dt
$ % $ %
d3 s d2 s dT̂ ds d ds 2 ds 2 dN̂ ds
= 3 T̂ + 2 · + k N̂ + k ·
dt dt ds dt dt dt dt ds dt
dT̂ dN̂
Substituting ds and ds from the results of the Serret-Frenet Formula,
we have
$ %
→
−
... d 3s d 2 s ds d ds 2
ds 3
r = T̂ + k N̂ + k N̂ + k τ B̂ − k T̂
dt3 dt2 dt dt dt dt
$ % & $ %'
3 2
d2 s ds ds d 2s d ds
= − k2 T̂ + k + k N̂
dt3 dt dt dt2 dt dt
$ %
ds 3
+ kτ B̂
dt
$ %
... ds 3 ...
→
− →
−̇
∴ r · r × r = →
−̈ k B̂ . − →
r (∵ From (iv))
dt
ds 6 2
= k τ ∵ B̂ × T̂ = B̂ × N̂ = 0
dt
( )2
= −̇→r × −̈ →r τ (∵ From (v))
3.4 Curvature and Torsion 69
...
−
→
r · −̇ →
r × −→r¨
∴ τ= ( )2 (3.14)
→
−̇
r ×−→
r¨
1
The formula (3.14) gives the torsion τ or radius of torsion σ = τ at a
point P on the curve.
2
Illustration 3.8: For the curve x = t, y = t2 , z = 3 , find (i) K and (ii) τ
at point t .
Solution:
−
→ 2 3
r = t (i) î + t2 ĵ + t k̂
3
−̇
→r = î + 2tĵ + 2t2 k̂
→
−̈
r = 2ĵ + 4t k̂
−̈
→r = 4k̂
⎡ ⎤
î ĵ k̂ 2
→
−̇
r × → −̈
r = ⎢ 2 ⎥
⎢ 1 2t 2t ⎥ = 4t î − (4t) ĵ + 2k̂
⎢ 0 2 4t ⎥
2
Hence, −→ 2
r = 1 + 4t2 + 4t4 = 1 + 2t2
( )2 2
and −̇
→
r × −̈ →r = 16t2 + 16t2 + 4 = 4 2t2 + 1
, -
and r × r · −̈
→
−̇ →
−̈ →
r = 4t2 i − 4t j + 2kj . 4k = 8
( ) ...
−̇
→r × −̈
→
r −̇
→r × −̈ →
r · − →r
Using formula k = ( )3 and τ = ( )2
→
−̇
r →
−̇ →
−̈
r ×r
we get
2(1+2t2 ) 2 8 2
k = (1+2t2 )3 = (1+2t2 )2
and τ = 4(1+2t2 )2
= (1+2t2 )2
Illustration 3.9: Show that for the curve x = a cos θ , y = a sin θ , z =
a θ cot β curvature and torsion are k = a1 sin2 β and τ = a1 sinβ cosβ .
Solution:
Here, −→
r = (a cos θ ) î + (a sin θ ) ĵ + (a θ cot β ) k̂
⎡ ⎤
î ĵ k̂
∴ −̇
→r × −̈
→r = ⎣ −a sin θ a cos θ a cot β ⎦
−a cos θ −a sin θ 0
70 Vector Differential Calculus
and
...
→
−
.
and
...
→
−̇
r × −̈
→r · →
−
r = a2 sin θ cot β î + −a2 cos θ cot β ĵ + a2 k̂ ·
[(a sin θ ) î + (−a cos θ ) ĵ]
= a3 sin2 θ cot β + a3 cos2 θ cot β = a3 cot β
( )
→
−̇
r × →−̈
r a2 cosec β 1
∴k= ( )3 = 3 3
= sin2 β
→
−̇
r
a cosec β a
and
→
−̇
r × −̈
→
r · −̈
→r a3 cot β 1
τ= ( )2 = 4 2 β
= sin β cos β
→
−̇ →
−̈
r × r
a cosec a
d→
−v →
−
v (t + Δt) − −
→
v (t)
=−
→
v (t) = lim (3.15)
dt Δt→0 Δt
provided the limit exists.
The vector −→v (t) is called the derivative of →
−
v (t). (see Figure 3.5).
3.5 Vector Differentiation 71
→
− →
−
dF
Illustration 3.10: If F (t) has a constant magnitude, then prove that dt is
→
−
perpendicular to F (t).
Solution:
→
−
F (t)
− hasa constant magnitude
→
∴ F (t) = constant
72 Vector Differential Calculus
→
− →
− −
→ 2
∴ F (t) · F (t) = F (t) = constant
d −→ − →
∴ F ·F =0
dt
→
− →
−
→ dF
− dF − →
⇒ F · + ·F =0
dt dt
→
−
→ dF
−
⇒ 2F · =0
dt
→
−
→ dF
−
⇒ F · =0
dt
→
− →
−
Since, F · dF
= 0, dF
dt dt is perpendicular to F (t). Hence proved.
→
−
Illustration 3.10: If F (t) has a constant direction, then prove that
→
−
→ dF
−
F × = 0.
dt
−
Solution:
→ →
− →
−
Let F (t) = φ (t). Let G (t) be a unit vector in the direction of F (t) so
→
− →
−
that F (t) = φ (t) G (t).
→
− →
−
dF d G dφ − →
∴ =φ + G (i)
dt dt dt
→
− →
− →
−
If F (t) has constant direction, so has G (t). Thus G (t) is a constant vector
→
−
dG
and dt =0
From (i).
→
−
dF dφ −
→
= G
dt dt
→
−
−
→ dF →
− dφ −
→
∴F × = φG × G
dt dt
−
→ − → dφ
=φ G ×G =0
dt
Illustration 3.11: Find the angle between the tangents to the curve x =
t2 , y = 2t, z = −t3 at the points t = 1 and t = −1.
3.6 Gradient of a Scalar Field and Directional Derivative 73
Solution:
Let −→
r be the position vector of any point (x, y, z) on the curve, then
−
→
r (t) = (x (t) , y (t) , z (t)) = x (t) î + y (t) î + z (t) k̂
∴−→r = t2 î + 2tĵ − t2 k̂
→ d→
− −
r
∴ T = = 2tî + 2ĵ − 3t2 k̂
dt
is a vector along the tangent at any point t.
→
− →
−
∴ T 1 = 2î + 2ĵ − 3k̂ and T 2 = −2î + 2ĵ − 3k̂ are the vectors along
the tangents at t = 1 and t = −1 respectively.
→
− →
−
If θ be the angle between T 1 and T 2 , Then
→ −
− →
T1· T2 2 (−2) + 2 (2) − 3 (−3) 9
cos θ = −
→ −
→ = √4 + 4 + 9 √4 + 4 + 9 = 17
T 1 T 2
9
∴ θ = cos−1 .
17
df f (Q) − f (P )
D−
→f =
b
= lim (s = distance between P and Q)
ds s→0 s
→
−
where Q is a variable point on the ray C in the direction of b and the ray C
is given by
→
−r (s) = x (s) î + y (s) ĵ + z (s) k̂ (s ≥ 0)
→
−
Next, we use Cartesian coordinates, and for b a unit vector. Now consider
the function
and it’s derivative with respect to the arc length s of C. Hence, assuming that
f has continuous partial derivatives and applying the chain rule, we obtain
df ∂f ∂x ∂f ∂y ∂f ∂z
D−
→f =
b
= + +
ds ∂x ∂s ∂y ∂s ∂z ∂s
∂f ∂f ∂f dx dy dz
= î + ĵ + k̂ · î + ĵ + k̂
∂x ∂y ∂z ds ds ds
! "
∂ ∂ ∂ →
−
= î + ĵ + k̂ f · b
∂x ∂y ∂z
d−→r dx dy dz
∵ = î + ĵ + k̂
ds ds ds ds
df → −
− →
∴ D−→f =
b
= ∇f · b = b · grad f
ds
Thus, the directional derivative of f at any point P is the dot product of
→
−
unit vector b and grad f .
Note that the directional derivative of the vector −
→
a of any length (= 0) is
df −
→
a 1 →
Dâ f = = grad f · = ∇f · → −
a = ∇f · â
ds →
−
|a| −
|a|
−
→
where â = a
→
− is the unit vector in the direction of the vector −
→
a.
| |
a
3. Any direction −
→
a orthogonal to a gradient ∇f = 0 is a direction of zero
change in f because θ then equals π/2 and
π
D a f = |∇f | cos
→
− = |∇f | · 0 = 0
2
76 Vector Differential Calculus
1 8î − 4k̂
n̂ = grad f =
|grad f |
(8)2 + (−4)2
8î − 4k̂ 2 1
√ = = √ î − √ k̂.
80 5 5
(b) Here, ∇φ = 6xy î + 3x2 − 3y 2 z 2 ĵ − 2y 3 z k̂
Illustration
3.13: Find the derivative of f (x, y) = x2 sin2y at the point
1, π2 in the direction of −
→
v = 3î − 4ĵ.
Solution:
Consider,
∇f = (2xsin2y ) î + 2x2 cos2y ĵ
and π
(∇f ) 1, = 2sinπ î + (2cosπ ) ĵ
2
= 0 î − 2ĵ = −2ĵ
The direction of −
→
v is the unit vector obtained by dividing →
−
v by its length:
→
−
v 3 4
v̂ = →− = î − ĵ
|v| 5 5
3.6 Gradient of a Scalar Field and Directional Derivative 77
The derivative of at 1, π2 in the direction of v is therefore
3 4
∇f |(1, π ) · v̂ = −2ĵ · î − ĵ
2 5 5
8 8
=0+ =
5 5
Illustration 3.15: If −
→
r = xî + y ĵ + z k̂, Show that
(i) ∇r = r̂
Solution:
(i) grad r = ∇r = î ∂x
∂r
+ ĵ ∂r
∂y + k̂ ∂r
∂z
x y z
= î + ĵ + k̂
r r r
xî + y ĵ + z k̂ →
−
r
= = =− →
r
r r
→
−
r
∵ − = r̂ unit vector
|→r|
Solution:
∂φ ∂φ ∂φ
∇φ = î + ĵ + k̂
∂x ∂y ∂z
2
= î y + ĵ 2xy + z + k̂ 3yz 2
3
∂φ ∂φ ∂φ
∴ = y 2 (i) , = 2xy + z 3 (ii), = 3yz 2 (iii)
∂x ∂y ∂z
Integrating (i), (ii) and (iii) partially with respect to x, y, z respectively,
φ = xy 2 + f1 (y, z)
φ = xy 2 + yz 3 + f2 (z, x)
φ = yz 2 + f1 (x, y)
φ = xy 2 + yz 3 + c (c is an arbitrary constant)
Illustration 3.18: Find the magnitude and the direction of the greatest change
of u = xyz 2 at (1, 0, 3).
Solution:
∂u ∂u ∂u
∇u = î + ĵ + k̂
∂x ∂y ∂z
2 2
= î yz + ĵ xz + k̂ (2xyz)
∴ ∇u at (1, 0, 3) = 9ĵ
∴ The magnitude of the greatest change of u = |∇u| = 9 and its
direction is along the y-axis.
Illustration 3.19: The temperature at any point in space is given by T =
xy + yz + zx. Determine the derivative of T in the direction of the vector
3î − 4k̂ at the point (1, 1, 1).
Solution:
The derivative of T in the direction of the vector 3î − 4k̂ at the point
P (1, 1, 1) is given by (∇T )p · −
→
a ; where −
→
a = 3î − 4k̂.
Now,
∂ ∂
∇T = î (xy + yz + zx) + ĵ (xy + yz + zx)
∂x ∂y
∂
+ k̂ (xy + yz + zx)
∂z
80 Vector Differential Calculus
= (y + z) î + (z + x) ĵ + (x + y) k̂
∴ (∇T )p(1, 1, 1) = 2î + 2ĵ + 2k̂
∴ Directional Derivative of T = (∇T )P · â = 2î + 2ĵ + 2k̂ ·
3î − 4k̂
√
9 + 16
2 4
= (6 − 8) = −
5 5
∴ ∂f
∂x at (2, 0) = e0 − 0 = 1 and ∂f
∂y at (2, 0) = 2 e0 − 2.0 = 2
Solution:
(a) The function increases most rapidly in direction of ∇f at (1, 1)
The gradient is
(∇f )(1, 1) = xî + y ĵ (1, 1) = î + ĵ
Its direction is
→
−
u î + ĵ 1 1
û = →− = = √ î + √ ĵ
|u|
(1)2 + (1)2 2 2
(b) The function decreases most rapidly in the direction of −∇f at (1, 1)
which is
1 1
−−
→
u = − √ î − √ ĵ
2 2
(c) The directions of zero change at (1, 1) are the directions orthogonal to
∇f :
1 1
n̂ = − √ î + √ ĵ
2 2
and
1 1
−n̂ = √ î − √ ĵ
2 2
Since û · n̂ = 0 and −û · (−n̂) = 0.
82 Vector Differential Calculus
Solution:
∂φ ∂φ ∂φ
= 4z 3 − 6xy 2 z , = −6x2 yz, = 12xz 2 − 3x2 y 2
∂x ∂y ∂z
∴ ∇φ = 4z 2 − 6xy 2 z î − 6x2 yz ĵ + 12xz 2 − 3x2 y 2 k̂
∇φ at (2, −1, 2) = 8î + 48ĵ + 84k̂
(i) →
−
a = 2î + 3ĵ + 6k̂
(iii) →
−
a = î + ĵ + k̂
î + ĵ + k̂
∴ â = √
3
Directional derivative = ∇φ .â
î + ĵ + k̂
= 8î + 48ĵ + 84k̂ · √
3
140
= √
3
dy
(iv) dx
dt = et (cost − sint), dt = et (sint + cost ), dz
dt = et
→ d→
− −
r dx dy dz
∴ T = = î + ĵ + k̂
dt dt dt dt
∴ Tat t=0 = î + ĵ + k̂
î + ĵ + k̂
∴ T̂ = √
3
∴ Directional derivative ∇φ · T̂
î + ĵ + k̂
= 8î + 48ĵ + 84k̂ · √
3
140
= √
3
84 Vector Differential Calculus
∴ ∇f = 2xî + 2y ĵ + 2z k̂
Let −
→
a = ∇fat(1, 2, 2) = 2î + 4ĵ + 4k̂
8 + 96 + 168 272
= =
3 3
(vi) Directional derivative ∇φ · â = ∇φ · k̂
= 8î + 48ĵ + 84k̂ · k̂
= 84
Illustration 3.23: Find equations of the tangent and normal to the ellipse
x2 2
4 + y = 2 at the point (−2, 1).
Solution: The ellipse is a level curve of the function
x2
f (x, y) = + y2.
4
3.6 Gradient of a Scalar Field and Directional Derivative 85
(x + 2) (−1) + (y − 1) (2) = 0.
or
x − 2y = −4
Equation of the normal
x+2 y−1
=
−1 2
or
2x + y = −3
(x − x0 ) Fx (x0 , y0 , z0 ) + (y − y0 ) Fy (x0 , y0 , z0 )
+ (z − z0 ) Fz (x0 , y0 , z0 ) = 0 (3.19)
and the equations of the normal lines to the surface through P (x0 , y0 , z0 )are
x − x0 y − y0 z − z0
= =
Fx (x0 , y0 , z0 ) Fy (x0 , y0 , z0 ) Fz (x0 , y0 , z0 )
Illustration 3.24: Find equations for the (a) tangent plane and (b) normal line
at the point P0 (1, 1, 1) on the surface x2 + y 2 + z 2 = 3.
Solution:
F (x, y, z) = x2 + y 2 + z 2 − 3
∴ ∇F = 2xi + 2yj + 2zk
∴ ∇FatP 0 (1, 1, 1) = 2i + 1j + 2k
86 Vector Differential Calculus
(2) Since the fluid is neither created nor destroyed at any point, it is said to
have no sources or sinks.
(3) If the flux entering any element of the space is the same as the leaving it,
→
−
i.e., if div V = 0 everywhere then such a vector point function is called
a solenoidal vector function or solenoidal
→
−
(4) If V represents an electric flux, div V is the amount of flux that diverges
per unit volume.
→
− →
−
(5) If V represents heat flux, div V is the rate at which heat flows from a
point per unit volume.
Illustration 3.25: If −
→
r = xî + y ĵ + z k̂, show that div r = 3.
88 Vector Differential Calculus
∴ div −
→
r = ∇·−
→
r = ∂
∂x (x) + ∂
∂y (y) + ∂
∂z (z)
=1+1+1=3
→
− →
−
Illustration 3.26: If F = x2 z î − 2y 3 z 2 ĵ + xy 2 z k̂ then find div F at the
point (1, −1, 1) .
Solution: We know that
→
− →
− ∂ ∂ ∂
div V = ∇ · V = î + ĵ + k̂ · V1 î + V2 ĵ + V3 k̂
∂x ∂y ∂z
∂V1 ∂V2 ∂V3
= + +
∂x ∂y ∂z
→
− →
− 2
∴ div F = ∇· F = ∂
∂x
∂
x z + ∂y −2y 3 z 2 + ∂
∂z xy 2 z
= 2xz − 6y 2 z 2 + xy 2
Now,
î ĵ k̂
→
− →
−
curl V = ∇ × V = ∂
∂x
∂
∂y
∂
∂z
ω z−ω y ω x−ω z ω y−ω x
2 3 3 1 1 2
for example, then a paddlewheel placed at various points in the field would
→
− →
−
tend to rotate in regions where curl V = 0, while if curl V =0 in the region
→
−
there would be no rotation and the field V is then called irrotational. A field
that is not irrotational is sometimes called a vortex field.
Illustration 3.28: If −→r = xî + y î + z k̂. show that curl −
→
r = 0.
Solution:
î ĵ k̂
→
− →
− ∂
curl r = ∇ × r = ∂x ∂
∂y
∂
∂z
x y z
∂z ∂y ∂ ∂ ∂y ∂x
= î − + ĵ x− z + k̂ −
∂y ∂z ∂z ∂x ∂x ∂y
= î (0) + ĵ (0) + k̂ (0) = 0
→
− →
−
Illustration 3.29: If F = xz 3 î − 2x2 yz ĵ + 2yz 4 k̂, find curl F at the point
(1, 1, 1).
Solution:
î ĵ k̂
→
−
∇ × F = ∂x ∂ ∂
∂y
∂
∂z
xz 3 −2x2 yz 2yz 4
! " ! "
→
− ∂ 4
∂ 2
∂ 3 ∂ 4
∴∇ × F = î 2yz − −2x yz + ĵ xz − 2yz
∂y ∂z ∂z ∂x
! "
∂ 2
∂ 3
+ k̂ −2x yz − xz
∂z ∂y
= 2x2 + 2x2 y î + 3xz 2 ĵ − 4xyz k̂
→
−
∴ curl F at (1, −1, 1) = 3ĵ + 4k̂.
Illustration 3.30: Find constants a, b, c so that
→
−
V = (x + 2y + az) î + (bx − 3y − z) ĵ + (4x + cy + 2z) k̂ is irrota-
tional.
Solution: →
−
→
− −
→
i j k
→
− →
−
curl V = ∇ × V = ∂
∂x
∂
∂y
∂
∂z
x + 2y + az bx − 3y − z 4x + cy + 2z
= (c + 1) î + (a − 4) ĵ + (b − 2) k̂
3.7 Divergence and Curl of a Vector Field 91
→
− →
−
Illustration 3.31: If a vector F is irrotational then show that F = ∇φ =
→
− →
−
grad φ, where φ is a scalar point function of F or scalar potential of F .
→
− →
−
Solution: Let curl F = 0 where F = F1 î + F2 ĵ + F3 k̂
î ĵ k̂
∂
∴ ∂x ∂y∂ ∂
∂z
=0
F F F
1 2 3
i.e.,
∂F3 ∂F2 ∂F1 ∂F3 ∂F2 ∂F1
î − + ĵ − + k̂ − =0
∂y ∂z ∂z ∂x ∂x ∂y
∂F3 ∂F2 ∂F1 ∂F3 ∂F2 ∂F1
∴ − = 0, − = 0, − =0
∂y ∂z ∂z ∂x ∂x ∂y
i.e.,
∂F3 ∂F2 ∂F1 ∂F3 ∂F2 ∂F1
= , = , =
∂y ∂z ∂z ∂x ∂x ∂y
These three conditions are satisfied when
∂φ ∂φ ∂φ
F1 = , F2 = , F3 = ,
∂x ∂y ∂z
where φ is a function of x, y, z
→
− ∂φ ∂φ ∂φ
∴ F = î + ĵ + k̂ = ∇φ
∂x ∂y ∂z
→
−
φ is known as the scalar point function of F . A vector field F which can be
→
−
derived from a scalar field φ so that F = ∇φ is called a conservative vector
field and φ is called the scalar potential.
→
− →
−
Note that conversely if F = ∇φ, then ∇ × F = 0.
→
−
Illustration 3.32: Prove that F = (y 2 cosx+z 3 ) î+(2y sinx−4)ĵ +3xz 2 k̂
is irrotational and find its scalar potential.
92 Vector Differential Calculus
Solution:
î ĵ
k̂
→
−
∇ ×F = ∂
∂x
∂
∂y
∂
∂z = 0
y 2 cosx + z 3 2ysinx − 4 3xz
2
on simplification
Hence,
−
→ ∂φ ∂φ ∂φ
F = ∇φ = î + ĵ + k̂
∂x ∂y ∂z
∂φ ∂φ ∂φ
∴ (i) = y 2 cosx + z 3 , (ii) = 2ysinx − 4 , (iii) = 3xz 2
∂x ∂y ∂z
∴ from (i), φ = y 2 sinx + xz 3 + f1 (y, z) .
from (ii), φ = y 2 sinx − 4y + f2 (z, x) .
from (iii), φ = xz 3 + f3 (x, y).
∴ φ = y 2 sinx + xz 3 − 4y + c , where c is an arbitrary constant.
Illustration 3.33: A fluid motion is given by
−
→
V = (ysinz − sinx ) î + (xsinz + 2yz) ĵ + xycosz + y 2 k̂.
∂φ
∂x = y sinz − sinx (i)
∂φ
∂y = y sinz + 2yz (ii)
∂φ
∂z = xy cosz + y 2 (iii)
From (i), φ = xy sinz + cosx + f1 (y, z)
3.7 Divergence and Curl of a Vector Field 93
Solution:
(i)
! "
2 2 ∂ ∂ ∂
(A · ∇) φ = 2yz î − x y ĵ + xz k̂ · î + ĵ + k̂ φ
∂x ∂y ∂z
∂ ∂ ∂ 2 3
= 2yz − x2 y + xz 2 2x yz
∂x ∂y ∂z
∂ 2 3 ∂ 2 3 ∂ 2 3
= 2yz 2x yz − x2 y 2x yz + xz 2 2x yz
∂x ∂y ∂z
= (2yz) 4xyz 3 − x2 y 2x2 z 3 + xz 2 6x2 yz 2
= 8xy 2 z 4 − 2x4 yz 3 + 6x3 yz 4
(ii)
−
→ ∂φ ∂φ ∂φ
A · ∇φ = 2yz î − x2 y ĵ + xz 2 k̂ · î + ĵ + k̂
∂x ∂y ∂z
= 2yz î − x2 y ĵ + xz 2 k̂ · 4xyz 3 î + 2x2 z 3 ĵ + 6x2 yz 2 k̂
= 8xy 2 z 4 − 2x4 yz 3 + 6x3 yz 4
−
→
Comparison with (i) illustrates the result A · ∇ φ = A · ∇φ.
94 Vector Differential Calculus
(iii)
! "
−
→ 2 2 ∂ ∂ ∂
( A × ∇)φ = 2yz î − x y ĵ + xz k̂ × î + ĵ + k̂ φ
∂x ∂y ∂z
î ĵ k̂
= 2yz −x2 y xz 2 φ
∂ ∂ ∂
∂x ∂y ∂z
$
∂ ∂ ∂ ∂
= î −x2 y − xz 2 + ĵ xz 2 − 2yz
∂z ∂y ∂x ∂z
%
∂ ∂
+ k̂ 2yz + x2 y φ
∂y ∂x
∂φ ∂φ ∂φ ∂φ
= − x2 y + xz 2 î + xz 2 − 2yz ĵ
∂z ∂y ∂x ∂z
∂φ ∂φ
+ 2yz − x2 y k̂
∂y ∂x
−
→
A × ∇ φ = − 6x4 y 2 z 2 + 2x3 z 5 î + 4x2 yz 5 î
+ 4x2 yz 5 − 12x2 y 2 z 3 ĵ + 4x2 yz 4 + 4x3 y 2 z 3 k̂
(iv)
−
→ ∂φ ∂φ ∂φ
A × ∇ φ = 2yz î − x2 y ĵ + xz 2 k̂ × î + ĵ + k̂
∂x ∂y ∂z
î ĵ k̂
= 2yz −x y xz 2
2
∂φ ∂φ ∂φ
∂x ∂y ∂z
∂φ ∂φ ∂φ ∂φ
= −x2 y − xz 2 î + xz 2 − 2yz ĵ
∂z ∂y ∂x ∂z
∂φ ∂φ
+ 2yz + x2 y k̂
∂y ∂x
= − 6x4 y 2 z 2 + 2x3 z 5 î + 4x2 yz 5 − 12x2 y 2 z 3 ĵ
+ 4x2 y 3 z 4 + 4x3 y 2 z 3 k̂
−→ →
−
Comparison with (iii) illustrates the result A × ∇ φ = A × ∇φ.
3.7 Divergence and Curl of a Vector Field 95
Solution:
î ĵ
k̂
→
− → ∂
−
Curl A = ∇ × A = ∂x ∂ ∂
∂y ∂z
y2 2xy −z 2
φ = x2 yz + f1 (y, z)
φ = x2 yz + y 2 + f (z, x)
φ = x2 yz + y 2 + f3 (x, y)
∴ φ = x2 yz + y 2 + c
(i) div (−
→u +− →
v ) = div −
→
u + div −
→v
or ∇ · ( u + v ) = ∇ · u + ∇ · −
→
− →
− →
− →v
(ii) div (f u ) = f (div u ) + (grad f )· −
→
− →
− →
u
or f (∇ · −
→
u ) + (∇f ) · −
→
u.
Proof:
1. (i) ∇ · (−
→
u +−
→ ∂
v ) = î ∂x + ĵ ∂
∂y
∂
+ k̂ ∂z · (−
→
u +−
→
v)
/ ∂
= î · (−
→
u +−→v)
∂x
/ ∂ / ∂
= î · −→u + î · −
→
v
∂x ∂x
∂ ∂ ∂
= î + ĵ + k̂ ·u
∂x ∂y ∂z
∂ ∂ ∂
+ î + ĵ + k̂ ·−
→v
∂x ∂y ∂z
=∇·− →u +∇·→ −
v
→∂
−
(ii) ∇ · (f −
→ ∂
u ) = î ∂x · (f −
→ ∂
u ) + ĵ ∂y · (f −
→
u ) + k ∂z · (f −
→u)
∂ ∂ ∂
= î· (f −
→u )+ĵ· (f − →
u )+ k̂· (f →
−
u)
∂x ∂y ∂z
/ ! ∂f ∂−→u
"
= î →
−
u +f
∂x ∂x
/ ∂f / ∂−
→u
= î · −
→u +f î ·
∂x ∂x
= (∇f ) · − →u + f (∇ · −→
u)
2. (i) ∇ × (f →
− ∂
u ) = î ∂x + ĵ ∂y ∂ ∂
+ k̂ ∂z × f−→
u
/ ∂
= î × f−→u
∂x
/ ∂
= î × (f −
→
u)
∂x
/ ∂f −
→ ∂− →u
= î × u +f
∂x ∂x
/ ∂f −→
/ ∂− →
u
= î × u + î × f
∂x ∂x
/ ∂f / ∂− →u
= î ×− →u +f î
∂x ∂x
→
−
= (∇f ) × u + f (∇ × u )→
−
98 Vector Differential Calculus
2
(ii) ∇ × (→
−
u ×−
→
v)= î ∂
∂x × (−
→
u ×−
→
v)
/ ∂ −
= î × (→
u ×−→
v)
∂x
/ ∂−
→u ∂−→v
= î × ×−
→v +−→
u ×
∂x ∂x
/ →
−
∂u / ∂−
→
v
= î × ×−
→v + î × →
−
u ×
∂x ∂x
Now
/ ∂−→
u / 3 ∂−→
u ∂−
→u −
4
î × →
−
× v = →
−
î · v − î · →
v
∂x ∂x ∂x
−
→ → → → −
−
→ →
−
∵−→
a × b ×− c = b (− a ·→
c)− − →
a · b − c
/ ∂→
−u ∂−
→
u ∂−→
u ∂−→
u
î · −
→
v = î · −
→
v + ĵ · − →v + k̂ · −
→
v
∂x ∂x ∂y ∂z
∂u ∂u ∂u
= v1 + v2 + v3
∂x ∂y ∂z
where −
→
v = v1 î + v2 ĵ + v3 k̂
∂ ∂ ∂ →
−
= v1 + v2 + v3 u
∂x ∂y ∂u
/ ∂− → 3 4
→
− u ∂ ∂ ∂ →
−
î · v = v1 î + v2 ĵ + v3 k̂ · î + ĵ + k̂ u
∂x ∂x ∂y ∂z
= (−
→
v · ∇) − →
u
/ →
−
∂u → / ∂−→
u −
î · −v = î · →v
∂x ∂x
/ ∂
= î ·−
→
u − →
v
∂x
3 4
∂ ∂ ∂ →
−
= î + ĵ + k̂ · u − →
v
∂x ∂y ∂z
= (∇ · − →u) − →v
/ ∂−→
u
∴ î × ×−
→v = (− →v · ∇) −→
u − (∇ · −
→
u) − →
v
∂x
3.7 Divergence and Curl of a Vector Field 99
Also
/ ∂−→
v / ∂−
→
v
î × →−u × =− î × × −
→
u
∂x ∂x
= − (→−
u · ∇) −
→
v + (∇ · −
→
v) −
→
u
∇ × (−
→
u ×− →v ) = (−
→
v · ∇) −
→u − (∇ · −
→
u) −
→v − (−
→
u · ∇) −→
v + (∇ · −
→
v) −
→
u
→
− →
− →
− →
− →
− →
− →
− →
−
= (∇ · v ) u − (∇ · u ) v + ( v · ∇) u − ( u · ∇) v
→
−
Illustration 3.38: Prove that V = rn −
→
r is irrotational. Find n when it is also
solenoidal.
Solution:
→
−
∇ × V = ∇ × (rn − →
r)
= ∇ (rn ) × −
→
r + rn (∇ × −
→r)
−
→
using ∇ × (φ −
→
u) = V φ ×− →u + φ (∇ × −
→
u)
/ ∂ / ∂−
→r
∇ (rn ) = î rn = î nrn−1
∂x
x ∂x
/
= î nr n−1
since r = x + y 2 + z 2
2 2
/ r
=n î rn−2 x
/
∴ ∇ r2 = nrn−2 î x = nrn−2 xî + y î + z k̂
= nrn−2 − →r
Since ∇ × −
→
r =0
→
−
Hence ∇ × V = nrn−2 −
→
r ×−
→
r + rn (0)
= 0, since −
→
r ×−
→
r =0
= rn (∇ · −
→
r ) + ∇ (rn ) ·−
→
r
100 Vector Differential Calculus
using ∇ · (φ −
→u ) = φ (∇ · −
→
u ) + ∇φ · −
→
u
→
−
since ∇ · r = 3 and ∇r = nr
n n−2 →
−
r
Hence
→
−
∇ · V = 3rn + nrn−2 −
→
r ·−
→
r
= 3rn + nrn−2 r2
= (n + 3) rn
→
− →
−
If the vector V is solenoidal ∇ · V = 0
∴ (n + 3) rn = 0, i.e., n = −3.
→
− →
− →
− →
−
(vi) curl curl V = ∇ × ∇ × V = ∇ ∇ · V − ∇2 V .
Proof:
∂f
(i) ∇ · ∇φ = î ∂x
∂
+ ĵ ∂
∂y
∂
+ k̂ ∂z · î ∂x + ĵ ∂f ∂f
∂y + k̂ ∂z
→
− → 2−
− → 2−
→ 2−
→
(ii) (∇ · ∇) V = ∇2 V = ∂∂xV2 + ∂∂yV2 + ∂∂zV2
(iii) ∇ (∇ · ∇) = ∇ ∂V ∂x
1
+ ∂V2
∂y + ∂V3
∂z = which is a vector
î k̂
ĵ
∂ ∂ ∂
(iv) curl grad f = ∇ × ∇f = ∂x ∂z = 0 on simplification
∂f ∂y
∂f
∂x ∂f
∂y ∂z
→
−
(v) div curl V = ∇ · (∇ × V )
î ĵ k̂
→ ∂
− ∂
→
−
∇ × V = ∂x ∂y ∂z , where V = V1 î + V2 ĵ + V3 k̂
∂
V V V
1 2 3
→
− ∂V3 ∂V2 ∂V1 ∂V3 ∂V2 ∂V1
∴ ∇ × V = î − + ĵ − + k̂ −
∂y ∂z ∂z ∂x ∂x ∂y
→
− →
−
∴ div curl V = ∇ · ∇ × V
→
− →
− →
−
i.e., curl curl V = grad div V − ∇2 V
102 Vector Differential Calculus
→
− →
−
Illustration 3.39: If ρ E = ∇φ, where ρ, φ are scalar fields and E is a vector
→
− →
−
field, prove that E · curl E = 0.
Solution:
→
− 1
E = ∇φ
ρ
→
− →
− 1
curl E = ∇ × E = ∇ × ∇φ
ρ
1 1
=∇ × ∇φ + ∇ × (∇φ)
ρ ρ
[∵ ∇ × (f u ) =∇f ×−
→
− →u +f (∇×−
→
u)
1
=∇ × ∇φ + 0 [∵ ∇ × ∇f = 0
ρ
→
− → −
− →
∴ E curl E = E × ∇ ρ1 × ∇φ
1 →
−
=∇ · ∇φ × E
ρ
−
→ → − → → −
[∵ −
→
a · b ×− c = b · (−
c ×→
a)
1 → −
− →
=∇ · ρE×E
ρ
→ −
− →
= 0 since E × E = 0
2
Illustration 3.40: Prove that ∇2 f (r) = f (r) + r f (r).
Solution:
∇2 f (r) = ∇ · {∇ f (r)} =div {grad f (r)}
∂2 ∂2 ∂2
= + + f (r)
∂x2 ∂y 2 ∂z 2
Now ∂
∂x f (r) = ∂
∂x f (r) · ∂r
∂x = f (r) · x
r since r2 = x2 + y 2 + z 2
∂2 ∂ # .
∴ f (r) = f (r) · x · r−1
∂x2 ∂x
x
= f (r) r · 1 + f (r) · · x r−1 − f (r) x2 r−3
−1
r
f (r) x2 f (r) x2 f (r)
= + −
r r2 r3
3.7 Divergence and Curl of a Vector Field 103
Similarly,
∂2 ∂2 ∂2 3f (r) f (r)
+ + f (r) = + f (r) −
∂x2 ∂y 2 ∂z 2 r r
2f (r)
= + f (r)
r
2f (r)
∴ ∇2 f (r) = div grad f (r) = r + f (r).
Illustration 3.41: Maxwell’s equations of the electromagnetic theory are
−
→ →
−
−
→ →
− →
− ∂H → ∂E
−
∇ · E = 0, ∇ · H = 0, ∇ × E = − , ∇×H =
∂t ∂t
→
− →
−
Show that E and H satisfy wave equations
→ 2−
− → → 2−
− →
(i) ∇2 E = ∂∂tE
2 and (ii) ∇2 H = ∂∂tH
2
Solution:
→
−
−
→ ∂H ∂ →
−
∇× ∇× E =∇× − =− ∇ ×H
∂t ∂t
∂ ∂E ∂2E
=− =− (i)
∂t ∂t ∂t2
But
→
− →
− →
− →
−
∇ × ∇ × E = ∇ ∇ · E − ∇2 E = −∇2 E (ii)
Now
→
−
−
→ ∂E ∂ →
−
∇× ∇×H =∇× = ∇× E
∂t ∂t
→
− →
−
∂ ∂H ∂2 E
= − =− 2 (iii)
∂t ∂t ∂t
but
→
− →
− →
− →
−
∇ × ∇ × H = ∇ ∇ · H − ∇2 H = −∇2 H (iv)
3.8 Exercise
1. Determine k and τ for the following curve:
(i) x = t cos t , y = t sin t , z =λt at t = 0
2 3λ
Answer: k = 1+λ2
, τ= 2(1+λ2 )
13. Find the length of the arc of the curve x = 3t, y = 3t2 , z = 2t3
between t = 0 and t = 1.
(Answer: 5)
3 3 3a 2
x = a cos t, y = a sin t , z = 2 cos t
14. Find the lengthof the curve
3a
from the point a, 0, 2 to the point (0, a, 0).
3a
Answer: √ 2
106 Vector Differential Calculus
17. A particle moves along a plane curve such that its linear velocity is
perpendicular to the radius vector. Show that the path of the particle
is a circle.
18. Find the magnitude of the tangential components of acceleration at any
time t of a particle whose position at any time t is given by x = cost +
tsint , y= sint − tcost .
(Answer: 1)
19. Show that the length of the √ curve 2x = a (cos 3θ + cos θ ) , 2y =
a
(sin 3θ +
√ sin θ ) z = 3 a cos θ measured from the point
a, 0, 3 a in 2aθ.
d2 V d3 V
d
20. Prove that dt V. dV
dt × dt 2 dt × dt3 .
= V . dV
21. Show that r = e−1 (a cos2t + b sin 2t) , where a and b are constant
2
vectors, is a solution to the differential equation ddt2r + 2 dr
dt + 5r = 0.
32. What is the angle between the normals to the surface xy = z 2 at the
points (1, 9, −3) and (−2, −2, 2)?
Answer: cos−1 √11118
38. Find the angle between the tangent planes to the surfaces xlogz = y 2 −
1 and x2 y = 2 − z at the point (1, 1, 1).
Answer: cos−1 √130
→
−
45. If F = z 2 + 2x + 3y î + (3x + 2y + z) ĵ + (y + 2xz) k̂, Show that
F is irrotational but not solenoidal.
→
−
46. Show that F = 6xy + z 3 î + 3x2 − z ĵ + 3xz 2 − y k̂
→
−
is irrotational. Find scalar φ such that F = ∇φ.
47. In each case the velocity vector − →v of a steady fluid motion is given, Find
→
−
curl v . Is the motion incompressible?
(i) −
→
v = z 2 ĵ , (ii) −
→
v = y î − xĵ , (iii) −
→
v = xî + y ĵ
⎛ ⎞
Answer: (i) curl − →v = −2z ĵ, incompressible
⎝ (ii) curl − →v = −2k̂, incompressible ⎠
→
− →
−
(iii) curl v = 0, div v = 2, compressible
→
− →
−
48. If the vector product of the vectors A and B be the curl of a third vector,
→
− →
− →
−
prove that A · curl = B · curl A .
→
− →
−
49. Prove that div (f curl F ) = (grad f ) · curl F .
50. If φ, ψ satisfy Laplace equation, prove that the vector (φ∇ψ − ψ∇φ) is
solenoidal.
d−
→ d−
→
52. If u
dt =−
→
w ×−
→
u and v
dt =−
→
w ×−
→
v , then prove that
d −
(→
u ×−
→
v)=−
→
w × (−
→
u ×−
→
v ).
dt
d−
→
53. If −
→
r = t3 î + 2t3 − 1
5t2
ĵ, then show that r̂ × r
dt = k̂.
4
Vector Integral Calculus
4.1 Introduction
Vector calculus deals with the differentiation and integration of vector func-
tions. We have learned about the derivative of a vector function, gradient,
divergence, and curl in vector differential calculus. In vector integral calculus,
we learn about line integral, surface integral, and volume integral. It plays an
important role in differential geometry and the study of partial differential
equations. It is useful in the study of rigid dynamics, fluid dynamics, heat
transfer, electromagnetism, theory of relativity, etc.
111
112 Vector Integral Calculus
− −
→
F (→
r ) · d−
→
r = F1 dx + F2 dy + F3 dz
C C
→
−
where, F = F1 î + F2 ĵ + F3 k̂ and −
→r = xî + y ĵ + k̂
If the curve C is represented by a parametric representation
→
−
r (t) = xî + y ĵ + z k̂,
then the line integral along the curve C from t = a to t = b is
b
→ −
− → →
− → d−
− →r
F (r)·dr = F · dt
C a dt
b
dx dy dz
= F1 + F2 + F3 dt
a dt dt dt
9If C is a closed curve, then the symbol of the line integral C is replaced by
C.
→
−
Two other types of line integrals are C F × d− →
r and C φd−
→
r , (where φ
is a scalar point function) which are both vectors.
Note:
1. The curve C is called the path of integration, the points −
→
r (a) and −
→
r (b)
are called initial and terminal points respectively.
2. The direction from A and B along which t increases is called positive
direction on C.
4.2.1 Circulation
→
−
If F is the velocity of a fluid particle and C is a closed curve, then the line
9 −→ → →
−
integral C F · d− r represents the circulation of F around the curve C.
Note:
→
−
1. If the circulation of F around every closed curve C in the region R is
→
− 9B−→ → →
−
zero, then F is irrotational, i.e., if A F · d−
r = 0, F is irrotational.
→ →
−
Illustration 4.1: Evaluate C F · d−r along the parabola y 2 = x between the
→
−
points (0, 0) and (1, 1) where F = x2 î + xy ĵ.
4.3 Path Independence of Line Integrals 115
Solution:
Let −
→
r = xî + y ĵ
∴ d−
→
r = îdx + ĵdy
→
−
Here, F = x2 î + xy ĵ
→ → 2
−
∴ F · d−
r = x î + xy ĵ · îdx + ĵdy
= x2 dx + xydy (4.1)
In the above expression, we can see that
→ −
−
F · d→ r contains both the variables x and y.
To apply line integral in Equation (4.1), we require the expression either in
terms of x or in terms of y variable. As we have discussed that the line integral
is independent of the path, we can consider the expression in Equation (4.1)
in terms of any one variable. In this illustration, we represent the Equation
(4.1) in terms of y variable and as shown in Figure 4.3, the path of integration
is the parabola
x = y 2 ⇒ dx = 2ydy
Substituting in the Equation (4.1) and integrating between the limits y =
0 to y = 1, we get
1
→ −
− →
F ·dr = (y 4 · 2ydy + y 2 · ydy)
C 0
1
5
= 2y + y 3 dy
0
6
4 1
y y 1 1 7
= 2 + = + =
6 4 0 3 4 12
∴ x = cost, y = sint , z = t
∴ dx = −sint dt, dy = cost dt, dz = dt
→ →
−
∴ F · d−
r = z î + xĵ + y k̂ · îdx + ĵdy + k̂dz
= zdx + xdy + ydz
= t (−sint ) dt + cost · cost dt + sint dt
= −tsint + cos2 t + sint dt
Let →
−
r = xî + y ĵ + z k̂ then
d−
→
r = îdx + ĵdy + k̂dz
4.3 Path Independence of Line Integrals 117
→ →
−
Now, F · d−
r
= (2x − y + 2z)î + (x + y − z)ĵ + (3x − 2y − 5z)k̂ ·(îdx + ĵdy + k̂dz)
= (2x − y + 2z) dx + (x + y − z) dy + (3x − 2y − 5z) dz
Next, the path of integration is the circle in xy-plane of radius 2 units and
center at the origin, i.e., x2 + y 2 = 4 and in xy-plane z = 0. Therefore, the
parametric equation of the circle is
x = 2cosθ , y = 2 sinθ
dx = −2sinθ dθ , dy = 2cosθ dθ
For the complete circle, θ varies from 0 to 2π.
→ →
−
Substituting in F · d−
r and integrating between the limits θ = 0 to θ = 2π,
2π
∴ Circulation = [(2 · 2 cos θ − 2 sin θ) (−2 sin θdθ)
0
+ (2 cos θ + 2 sin θ) (2 cos θ dθ)]
2π
=4 −2cosθ sinθ + sin2 θ + cos2 θ + cosθ sinθ dθ
0
2π 2π
sin2θ cos2θ
=4 1− dθ = 4θ + = 8π
0 2 4 0
→ →
− →
−
Illustration 4.4 Evaluate C F · d− r where F = x2 + y 2 î − 2xy ĵ and C
is the rectangle in the xy-plane bounded by y = 0, x = a, y = b, x = 0.
Solution:
Consider, −
→
r = xî + y ĵ
∴ d− →r = îdx + ĵdy
→ →
−
Now, F · d−
r = x2 + y 2 î − 2xy ĵ · (îdx + ĵdy)
= x2 + y 2 dx − 2xydy
Next, the path of integration is the rectangle OABD (See Figure 4.4)
bounded by the four lines y = 0, x = a, y = b, x = 0.
→ −
− → → −
− → → −
− → → −
− → → −
−
∴ F ·dr = F ·dr + F ·dr + F ·dr + F · d→r
C OA AB BD DO
(4.2)
Solution:
Consider, −
→
r = xî + y ĵ + z k̂ then d−
→
r = îdx + ĵdy + k̂dz
→ 2
−
Here, we have F = 3x + 6y î − 14yz ĵ + 20xz 2 k̂
→ → 2
−
∴ F · d−r = 3x + 6y î − 14yz ĵ + 20xz 2 k̂ · (îdx + ĵdy + k̂dz)
Next, the path of integration is the straight line joining the points
A (0, 0, 0) to B (1, 1, 1). The equation of the line AB is
x−0 y−0 z−0
= =
0−1 0−1 0−1
∴x=y=z
∴ dx = dy = dz
→
− −
Substituting in F ·d→
r and integrating between the limits x = 0 to x = 1,
we get
1
→ →
− − # 2 .
F ·dr = 3x + 6x dx − 14x2 dx + 20x3 dx
C 0
1
= (20x3 − 11x2 + 6x)dx
0
1
x4 x3 x2 13
= 20 − 11 + 6 =
4 3 2 0 3
→
−
Illustration 4.6 If F = 2xyz î + x2 z + 2y ĵ + x2 y k̂, then
→
−
(i) If F is conservative, then find its scalar potential φ.
(ii) Find the work done in moving a particle under this force field
from (0, 1, 1) to (1, 2, 0).
Solution:
→
− →
−
(i) Since F is conservative, we have F = ∇φ
∂φ ∂φ ∂φ
∴ 2xyz î + x2 z + 2y ĵ + x2 y k̂ = î + ĵ + k̂
∂x ∂y ∂z
120 Vector Integral Calculus
Considering only those terms on the right-hand side of the integral which
have not appeared in the previous integral, i.e., omitting the x2 yz terms
in second and third integral, we get
φ = x2 yz + y 2 + c
where c is the integrating constant.
→
−
(ii) F is conservation and hence the work done is independent of the path.
→ −
−
∴ Work done = F · d→
r
C
(1,2,0)
(1,2,0)
= dφ = |φ|(0,1,1)
(0,1,1)
(1,2,0)
= x2 yz + y 2 + c (0,1,1)
=3
→
−
Illustration 4.7 If F = (x2 − yz)î + y 2 − zx ĵ + z 2 − xy k̂, then
→
−
(i) If F is conservative, then find its scalar potential φ.
4.3 Path Independence of Line Integrals 121
(ii) Find the work done in moving a particle under this force field
from (1, 1, 0) to (2, 0, 1).
Solution:
→
− →
−
(i) Since F is conservative, we have F = ∇φ
∂φ ∂φ ∂φ
∴ (x2 − yz)î + y 2 − zx ĵ + z 2 − xy k̂ = î + ĵ + k̂
∂x ∂y ∂z
Considering only those terms on the right-hand side of the integral which
have not appeared in the previous integral, i.e., omitting the xyz terms
in second and third integral, we get
x3 y3 z3
φ= − xyz + + +c
3 3 3
where c is the integrating constant.
→
−
(ii) F is conservation and hence the work done is independent of the path.
122 Vector Integral Calculus
− −
→
∴ Work done = F · d→
r
C
(2,0,1)
(2,0,1)
= dφ = |φ|(1,1,0)
(1,1,0)
3 (2,0,1)
x y3 z3
= − xyz + + + c
3 3 3 (1,1,0)
7
=
3
→
−
This is called the surface integral of F over the surface S.
The surface integral can also be written as
→ −
− → →
−
F · d S , Where d S = n̂dS
S
∇φ
If the equation of surface S is φ (x, y, z) = 0, then n̂ = |∇φ| .
4.4.1 Flux
→
−
If F represents the velocity of the fluid at any point P on a closed surface S,
→
− →
−
then surface integral S F · n̂ dS represents the flux of F over S, i.e., the
volume of the fluid flowing out from S per unit time.
Note:
−
→ →
−
If S F · n̂ dS = 0, then F is called a solenoidal vector point function.
→
− −
→
Illustration 4.8: Evaluate S F · n̂ dS, where F = 18z î − 12ĵ + 3y k̂ and
S is the part of the plane 2x + 3y + 6z = 12 in the first octant.
Solution:
(i) The given surface is the plane 2x + 3y + 6z = 12 in the first octant (See
Figure 4.6(a)).
Let φ = 2x + 3y + 6z
Figure 4.6 Representation of the projection of the plane in the first octant
4.4 Surface Integrals 125
12−2x
(iv) Along the vertical strip P Q, y varies from 0 to 3 , and in the region
R, x varies from 0 to 6.
→
−
∴ F · n̂ dS
S
2î + 3ĵ + 6k̂ 7
= 18z î − 12ĵ + 3y k̂ · dxdy
R 7 6
1
= (36z − 36 + 18y) dxdy
6
! R
"
12 − 2x − 3y
=3 2 − 2 + y dxdy
R 6
6 12−2x−3y
6
= (6 − 2x)dydx
0 0
6 12−2x
=2 (3 − x) |y|0 3 dx
0
6
(12 − 2x)
=2 (3 − x) dx
0 3
4 6 2
= (x − 9x + 18)dx
3 0
6
4 x3 9x2
= − + 18x
3 3 2 0
4
= (72 − 162 + 108) = 24
3
(∵ x2 + y 2 + z 2 = 1)
−
→
(v) S F · n̂ dS
= yzdydz + xzdzdx + xydxdy
S
dxdy
= yz î + xz ĵ + xy k̂ · xî + y ĵ + z k̂
z
R
dxdy
= (3xyz)
z
R
=3 xydxdy
R
π 1
2
=3 rcosθ · rsinθ · r drdθ
0 0
π 1
sin2θ2
=3 dθ · r3 dr
0 2 0
π 1
3 −cos2θ 2 r4 3 3
= · = (−cosπ + cos0 ) =
2 2 0 4 0 16 8
→
−
Illustration 4.10: Find the flux of F = î − ĵ + xyz k̂ through the circular
region S obtained by cutting the sphere x2 +y 2 +z 2 = a2 with a plane y = x.
Solution:
We know that
−
→
Flux = F · n̂ dS
S
(i) Here, the surface S (See Figure 4.8) is the intersection of the sphere
x2 +y 2 +z 2 = a2 with a plane y = x, which is an ellipse 2x2 +z 2 = a2 .
(ii) Normal to the ellipse 2x2 + z 2 = a2 is also normal to the plane y = x.
Let φ = x − y
∇φ î − ĵ
n̂ = = √
|∇φ| 2
Substituting x = √a rcosθ
2
, z = arsinθ , the equation of the ellipse 2x2 +
2
z 2 = a2 reduces to r = 1 and dxdz = √ a
2
rdr dθ .
Along the radius vector OP , r varies from 0 to 1, and for a complete
ellipse, θ varies from 0 to 2π.
2π 1 2
→ −
− a
F ·→n dS = 2 √ rdr dθ
S 0 0 2
2 1
2
2a r √ 2 1
= √ |θ|2π 0 = 2 a · · 2π
2 2 0 2
√
= 2 πa2
Aliter,
− −
→
F ·→
n dS = 2 dxdz
S
⎡ R
⎤
⎢ x2 y2 ⎥
= 2 ⎣Area of the ellipse 2 + 2 = 1⎦
√a
a
2
a
= 2 · π√ · a
2
√ 2
= 2 πa
√
Hence, flux = 2 πa2 .
4.5 Volume Integrals 129
(i)
î ĵ k̂
→
−
∇× F = ∂
∂x
∂
∂y
∂
∂z
2x2 − 3z −2xy −4x
= (0 − 0) î − (−4 + 3) ĵ + (−2y − 0) k̂
= ĵ − 2y k̂
2 2−x
= ĵ − 2y k̂ |z|4−2x−2y
0 dydx
0 0
2 2−x
= ĵ − 2y k̂ (4 − 2x − 2y) dydx
0 0
2 2−x
= (4 − 2x − 2y) ĵ − 2 (4 − 2x) y k̂ + 4y 2 k̂ dydx
0 0
2 $ 0
2 2−x 1
= (4 − 2x) |y|2−x − y ĵ
0 0
0
& 3 2−x ' %
2 2−x y
− 2 (2 − x) y 0 − 4 k̂ dx
3 0
2! "
2 2 3 8 8 8
= (2 − x) ĵ − (2 − x) k̂ dx = ĵ − k̂ = (ĵ − k̂)
0 3 3 3 3
4.6 Exercise
→
− →
1. Evaluate C F · d− r along the curve x2 + y 2 = 1, z = 1 in the positive
→
−
direction from (0, 1, 1) to (1, 0, 1), where F = (yz + 2x) î + xz ĵ +
(xy + 2z) k̂.
(Answer: 1)
→ →
− →
−
2. Evaluate C F · d− r over the circular path x2 + y 2 = a2 where F =
siny î + x (1 + cosy ) ĵ.
(Answer : πa2 )
→
−
3. Find the work done in moving a particle in the force field F = 3x2 î +
(2xz − y) ĵ + z k̂ along the curve x2 = 4y and 3x3 = 8z from x = 0 to
x = 2.
(Answer: 16)
5. Find the work done in moving a particle along the straight-line segments
joining the points (0, 0, 0) to (1, 0, 0) , then to (1, 1, 0) , and finally to
→
−
(1, 1, 1) under the force field F = 3x2 + 6y î − 14yz ĵ + 20xz 2 k̂.
Answer : 23
3
→
−
6. Find the work done by the force F = xî − z ĵ + 2y k̂ in displacing the
particle along the triangle OAB, where
OA : 0 ≤ x ≤ 1, y = x, z = 0
AB : 0 ≤ z ≤ 1, x = 1, y = 1
BO : 0 ≤ x ≤ 1, y=z=x
3
Answer : 2
→
−
7. Find the work done by the force F = 16y î + 3x2 + 2 ĵ in moving
a particle once round the right half of the ellipse x2 + a2 y 2 = a2 from
(0, 1) to (0, −1).
Answer : 8aπ − 4a2 − 4
→
− → →
−
8. Evaluate C F · d− r , where F = 2xî + 4y ĵ − 3z k̂ and C is the curve
→
−
r = cost î + sint ĵ + t k̂ from t = 0 to t = π.
2
Answer : −3π
2
→
−
9. Find the circulation of F = (x − 3y) î + (y − 2x) ĵ around the ellipse
in the xy− plane with the origin as a center and 2 and 3 as semi-major
and semi-minor axes respectively.
(Answer : 6π)
→
−
10. Find the circulation of F = y î + z ĵ + xk̂ around the curve x2 + y 2 =
1, z = 0.
(Answer : − π)
→
−
11. If F = 2xy + z 3 î + x2 ĵ + 3xz 2 k̂ is conservative then (i) find its
scalar potential φ, (ii) find the work done in moving a particle under this
force field from (1, −2, 1) to (3, 1, 4).
Answer : (i) φ = x2 y + xz 3 + c, (ii) 202
4.6 Exercise 133
→
−
12. If F = 3x2 y î + (x3 − 2yz 2 )ĵ + (3z 2 − 2y 2 z)k̂ is conservative then (i)
find its scalar potential φ, (ii) find the work done in moving a particle
under this force field from (2, 1, 1) to (2, 0, 1).
Answer : (i) φ = x3 y + z 3 − y 2 z 2 + c, (ii) − 7
→
−
13. If F = 2xyez î + x2 ez ĵ + x2 yez k̂ is conservative then (i) find its scalar
potential φ, (ii) find the work done in moving a particle under this force
field from (0, 0, 0) to (1, 1, 1).
Answer : (i) φ = x2 yez + c, (ii) e
→
− →
−
14. Evaluate S F · n̂dS where F = 3y î + 2z ĵ + x2 yz k̂ and S is the
surface y 2 = 5x in the positive octant bounded by the planes x = 3 and
z = 4.
(Answer : − 42)
→
− →
−
15. Evaluate S F · n̂dS where F = (x + y 2 )î − 2xĵ + 2yz k̂ and S is the
surface 2x + y + 2z = 6 in the first octant.
(Answer : 81)
→
− →
−
16. Evaluate S ∇ × F · n̂dS where F = y 2 î + y ĵ − xz k̂ and S is the
upper half of the sphere x2 + y 2 + z 2 = a2 .
(Answer : 0)
→
−
17. Find the flux of the vector field F through the portion√ of the sphere
√
x2 + y 2 + z 2 = 36 lying between the planes z = 11 and z = 20
→
−
where F = xî + y ĵ + z k̂.
√ √
Answer : 72π 20 − 11
→
−
18. Find the flux of the vector field F = xî +
y ĵ + x2 + y 2 − 1 k̂ through
the outer side of the hyperboloid
√ z = x + y 2 − 1 bounded by the
2
planes z = 0 and z = 3.
√
Answer : 2 3π
→
−
19. Find the flux of the vector field F = 2y î−z ĵ +x2 k̂ across the surface of
the parabolic cylinder y 2 = 8x in the first octant bounded by the planes
y = 4 and z = 6.
(Answer : 132)
134 Vector Integral Calculus
→
− →
−
20. Evaluate V ∇ · F dV where F = 2x2 y î − y 2 ĵ + 4xz 2 k̂ and V is
the region in the first octant bounded by the cylinder y 2 + z 2 = 9 and
the plane z = 2.
(Answer : 180)
→
− →
−
21. Evaluate V ∇ · F dV where F = 2xz î − xĵ + y 2 k̂ and V is the
region bounded by the surfaces x = 0, y = 0, y = 6, z = x2 , z = 4.
Answer : 128î − 24ĵ + 384k̂
Proof: Let R be the bounded region by the curve C as shown in Figure 5.1.
Let the curve C be divided into two parts, the curves EAB and BDE.
135
136 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
Let the equations of the curves EAB and BDE are x = f1 (y), x = f2 (y)
respectively and are bounded between the lines y = c and y = d.
Consider,
d $ f2 (y) %
∂N ∂N
dxdy = dx dy
R ∂x c f1 (y) ∂x
d
f (y)
= |N (x, y)|f21 (y) dy
c
d
= [N (f2 , y) − N (f1 , y)] dy
c
d d
= N (f2 , y) dy + N (f1 , y) dy
c
c
= N (x, y) dy + N (x, y) dy
BDE EAB
:
= N (x, y)dy
C
:
∂N
∴ dxdy = N (x, y)dy (5.1)
R ∂x C
Similarly, let the curve C be divided into two parts, the curves ABD and
DEA. Let the equation of the curves ABD and DEA are y = g1 (x) , y =
g2 (x) respectively and are bounded between the lines x = a and x = b.
Now, consider
b $ g2 (x) %
∂M ∂M
dxdy = dy dx
R ∂y a g1 (x) ∂y
b
g (x)
= |M (x, y)|g21 (x) dx
a
b
= [M (x, g 2 ) − M (x, g 1 )] dx
a
b b
=− M (x, g 2 ) dx − M (x, g 1 ) dx
!
a a
"
=− M (x, y) dx + M (x, y) dx
DEA ABD
5.1 Green’s Theorem (in the Plane) 137
:
=− M (x, y)dx
C
:
∂M
∴ − dxdy = M (x, y) dx (5.2)
R ∂y C
x = rcosθ , y = rsinθ
∴ x4 − x = 0
∴ x x3 − 1 = 0
∴ x = 0 or x3 = 1
Next,
M = 3x2 − 8y 2 , N = 4y − 6xy
∂M ∂N
∴ = −16y, = −6y
∂y ∂x
:
∂N ∂M
∴ M dx + N dy = − dxdy
C R ∂x ∂y
1 √x
= 10y dxdy
0 x2
1
√x
= 5 y 2 x2 dx
0
1
=5 x − x4 dx
0
1
x2 x5 1 1 3
=5 − =5 − =
2 5 0 2 5 2
:
∂N ∂M
M dx + N dy = − dxdy
∂x ∂y
C
R
= (−sinx − 1 ) dydx
R
π
$ 2x %
2 π
= (−sinx − 1)dy dx
x=0 y=0
π
2x
2
= [−ysinx − y]0π dx
0
π
2π
2 2π
= sinx −
− dx
0 x x
π
! 2 " π2
2 x 2 π
= − [−xcosx + sinx ]0 −
2
=− −
π π 0 π 4
→
−
Illustration 5.3: Verify Green’s theorem for the function F = (x + y) î +
2xy ĵ and C is the rectangle in the xy-plane bounded by x = 0, y = 0, x = a,
y = b (See Figure 5.4).
Solution:
We know that
: :
− −
→
M dx + N dy = F · d→
r
C :C
= (x + y) dx + 2xy dy
C
Along OA, y = 0 ⇒ dy = 0
a
a2
∴ M dx + N dy = xdx = (i)
OA 0 2
Along AB, x = a ⇒ dx = 0
b
2ab2
∴ M dx + N dy = 2ay dy = = ab2 (ii)
AB 0 2
Along BC, y = b ⇒ dy = 0
0
a2
∴ M dx + N dy = (x + b)dx = − − ab (iii)
AB a 2
Along CO, x = 0 ⇒ dx = 0.
0
∴ M dx + N dy = 0 dy = 0 (iv)
CO b
Now,
a b
∂N ∂M
− dxdy = (2y − 1) dxdy
R ∂x ∂y 0 0
2y 2 a b
= − y dx
0 2 0
a
2
= b − b dx
0
2 a
= b −b dx
2 0 a
= b − b (x)0 = ab2 − ab (vi)
142 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
→
−
Illustration 5.5: Verify Green’s theorem for the function F = (x − y) î+xĵ
and the region R bounded by the unit circle
C :−
→
r (t) = (cost ) î + (sint ) ĵ, 0 ≤ t ≤ 2π
→
−
Solution: Consider, −
→
r = xî+y ĵ ⇒ d−
→
r = îdx+ ĵdy and F = (x−y)î+xĵ
→ →
−
∴ F · d−
r = (x − y) dx + xdy
Now,
M = x − y, N = x
∂M ∂N
∴ = −1, =1
∂y ∂x
: ! "
∂N ∂M
∴ M dx + N dy = − dxdy
R ∂x ∂y
C
= [1 + 1] dxdy
R
=2 dxdy = 2π
: : R
→
− −
F · d→
r = (x − y) dx + xdy
C C
: 2π
# .
= (cost − sint ) (−sint ) + cos2 t dt
0
2π
# .
= −sint cost + sin2 t + cos2 t dt
0
2π
= [−sint cost + 1] dt
0
2π ! "
sin2t
= − + 1 dt
0 2
1 cos2t 2π
= + |t|2π
0
2 2 0
1
= [cos4π − cos0 ] + 2π = 2π
: 4 !
"
→
− → − ∂N ∂M
∴ F ·dr = − dxdy = 2π
C R ∂x ∂y
144 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
(ii) M = y1 , N= 1
x
∂M 1 ∂N 1
= − 2, =− 2
∂y y ∂x x
9
(iii) C (M dx + N dy) = AB (M dx + N dy) + BD (M dx + N dy)
+ DQA (M dx + N dy) (i)
Figure 5.6 Represents the region bounded by the parabola and lines
5.1 Green’s Theorem (in the Plane) 145
4
= dx = |x|41 = 3
1
(b) Along BD : x = 4 ⇒ dx = 0 and y varies from 1 to 2.
1 1
(M dx + N dy) = dx + dy
BD BD y x
2
1 1 1
= dy = |y|21 =
1 4 4 4
√
(c) Along DQA : y = x ⇒ dy = 2√1 x dx and x vary from 4 to 1.
1 1
(M dx + N dy) = dx + dy
DQA DQA y x
1
1 1 1
= √ dx + · √ dx
4 x x 2 x
1
√ 1
= 2 x − √
x 4
1 5
=2−1−4+ =−
2 2
Substituting in equation (i), we get
1 5 3
(M dx + N dy) = 3 + − = (ii)
C 4 2 4
√
(iv) Let R be the region bounded by the parabola y = x and the √ lines
x = 1, x = 4, y = 1. Along the vertical strip, y varies from 1 to x and
in the region R, x varies from 1 to 4.
4 √x
∂N ∂M 1 1
− dxdy = − 2 + 2 dxdy
R ∂x ∂y 1 1 x y
4 √ x
1 1
= − · y − dx
x2 y 1
1
4
3 1
= −x− 2 − x− 2 + x−2 + 1 dx
1
4
−1 1 1
= 2x − 2x − + x
2 2
x 1
146 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
1
=1−4− +4−2+2+1−1
4
3
= (iii)
4
→
−
∇ × F · n̂ dS = ∇ × F1 î + F2 ĵ + F3 k̂ · n̂ dS
S S
+ ∇ × F3 k̂ · n̂ dS (5.3)
S
Consider,
! "
∂ ∂ ∂
∇ × F1 î · n̂ dS = î + ĵ + k̂ × F1 î · n̂ dS
S ∂x ∂y ∂z
S
∂F1 ∂F1
= −k̂ + ĵ · n̂ dS
S ∂y ∂z
∂F1 ∂F1
= ĵ · n̂ − k̂ · n̂ dS (5.4)
∂y ∂z
∂−
→
r ∂f
= ĵ + k̂
∂y ∂y
Taking dot product with n̂,
∂−
→
r ∂f
· n̂ = ĵ · n̂ + k̂ · n̂ (5.5)
∂y ∂y
∂−
→
r
∂y is tangential and n̂ is normal to the surface S.
∂−
→
r
· n̂ = 0
∂y
Substituting in the Equation (5.5),
∂f
0 = ĵ · n̂ + k̂ · n̂
∂y
∂f ∂z
ĵ · n̂ = − k̂ · n̂ = − k̂ · n̂ (∵ z = f (x, y))
∂y ∂y
148 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
and :
∇ × F3 k̂ · n̂ dS = F3 dz (5.9)
S C
5.2 Stokes’ Theorem 149
Note:
If surfaces S1 and S2 have the same bounding curve C, then
:
→
− →
− → −
−
∇ × F · n̂ dS = ∇ × F · n̂ dS = F · d→
r .
S1 S2 C
→
−
Illustration 5.7: Verify Stokes’s theorem for F = x2 + y 2 î + 2xy ĵ,
taken round the rectangle bounded by the lines x = ±a, y = 0, y = b (See
Figure 5.8).
Solution:
Consider, −→
r = xî + y ĵ ⇒ d−
→
r = îdx + ĵdy and let ABCD be the given
rectangle then
→ −
− → → −
− → → −
− → → −
− → → −
−
F ·dr = F ·dr+ F ·dr+ F ·dr+ F · d→r
ABCD AB BC CD DA
and
− −
→
→ 2 2
F · d r = x + y î + 2xy ĵ · îdx + ĵdy
= x2 + y 2 dx + 2xydy
Along AB, x = a ⇒ dx = 0 and y varies from 0 to b
b
→ −
− → 1
F · d r = −2a ydy = −2a · b2 = −ab2
AB 0 2
Similarly,
→
− − a 2
F · d→
r = x2 + b2 dx = − · a2 − 2ab2
BC −a 3
0
→
− −
F · d→
r = 2a ydy = −ab2
CD b
and
− −
→ a
2a3
F · d→
r = x2 dx =
DA −a 3
Thus,
− −
→
F · d→
r = −4ab2 .
ABCD
−
→
Also, since curl · F = −4y k̂,
b
→
− a
∴ curl · F dS = −4y k̂ · k̂ dxdy
S 0 −a
b a
= −4 ydxdy
0 −a
b
= −4 |x|a−a ydy
0
2 b
y
= −8a = −4ab2
2 0
Hence, the theorem is proved.
→
−
Illustration 5.8: Verify Stokes’s theorem when F = (2x − y) î − yz 2 ĵ −
y 2 z k̂, where S is the upper half surface of the sphere x2 + y 2 + z 2 = 1 and
C is the boundary.
Solution: Stokes’s theorem is given as
→ −
− → →
−
F ·dr = curl F · n̂ dS
C S
î ĵ k̂
→
−
= k̂
∴ curl F = ∂/∂x ∂/∂y ∂/∂z
2x − y −yz 2 −y 2 z
5.2 Stokes’ Theorem 151
∴ x = cosφ , y = sinφ , z = 0
∴ dx = −sinφ dφ, dy = cosφ dφ, dz = 0
→ →
−
∴ F · d−
r = (2x − y) î − yz 2 ĵ − y 2 z k̂ · îdx + ĵdy + k̂dz
= (2x − y) dx − yz 2 dy − y 2 zdz
= − (2cosφ − sinφ ) sinφ dφ
2π
→ −
− →
∴ F ·dr =− (2cosφ − sinφ ) sinφ dφ
C 0
2π
=− 2cosφ sinφ − sin2 φ dφ
0
=π (ii)
Figure 5.9 Represents the surface of a rectangular lamina bounded by the lines
2 0 0
=0+ ydy + 4xdx + ydy
0 1 2
2 0 2
x2
= ydy + 4 − ydy = −2
0 2 1 0
Now,
î ĵ k̂
−
→ ∂
∇ × F = ∂x ∂
∂y
∂
∂z = î (0) + ĵ (0) + k̂ (−2xy) = −2xy k̂
xy 2 y 0
Thus, :
− −
→ →
−
F · d→
r = ∇ × F · n̂ dS = −2
C S
which verifies Stokes’s theorem.
Illustration 5.10: Use Stokes’s theorem to evaluate
→
− − → − →
C F · d r if F = (x + y) î + (2x − z) ĵ + (y + z) k̂ and C is the boundary
of the triangle (2, 0, 0) , (0, 3, 0) and (0, 0, 6) (See Figure 5.10).
Solution:
î ĵ k̂
→ ∂
− ∂ ∂
= 2î + k̂
curl F = ∂x ∂y ∂z
x + y 2x − z y + z
Let φ = 3x + 2y + z = 6
∇φ 3î + 2ĵ + k̂
∴ n̂ = = √
|∇φ| 14
→
− 3î + 2ĵ + k̂ 7
curl F · n̂ = 2î + k̂ · √ =√
14 14
Projection on xy-plane:
√
dxdy 14
dS =
= 1 dxdy
n̂ · k̂
= 7dxdy
S
= 7 × Area of the triangle on xy-plane
1
= 7 × × 3 × 2 = 21
2
= F3 (x, y, f2 ) dxdy − F3 (x, y, f1 ) dxdy (5.11)
R R
and
∂F2
dxdydz = F2 n̂ · ĵ dS (5.14)
V ∂y S
Substituting Equations (5.12), (5.13), and (5.14) in the Equation (5.10),
→
−
∇ · F dV = F1 n̂ · î dS + F2 n̂ · ĵ dS + F3 n̂ · k̂ dS
V S S S
156 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
= F1 î · n̂ + F2 ĵ · n̂ + F3 k̂ · n̂ dS
S
−
→
= F1 î + F2 ĵ + F3 k̂ · n̂ dS = F · n̂ dS
S S
−
→ −
→
Hence, V ∇ · F dV = S F · n̂ dS
Note: The cartesian form of Gauss’ divergence theorem is
∂F1 ∂F2 ∂F3
+ + dxdydz = (F1 dydz + F2 dzdx + F3 dxdy)
V ∂x ∂y ∂z S
→
−
Illustration 5.11: Verify Gauss’ divergence theorem for F = 4xz î − y 2 ĵ +
yz k̂ over the cube x = 0, x = 1, y = 0, y = 1, z = 0, z = 1.
Solution: By Gauss’s divergence theorem,
→
− −
→
∇ · F dV = F · n̂ dS
V S
−
→
(i) F = 4xz î − y 2 ĵ + yz k̂
→
− ∂ ∂ 2 ∂
∇· F = (4xz) + −y + (yz)
∂x ∂y ∂z
= 4z − 2y + y = 4z − y
1 1 1
−
→
∇ · F dV = (4z − y)dxdydz
V 0 0 0
1 1
= 2z 2 − yz 1 dxdy
0
0 0
1 1
= dx (2 − y)dy
0 0
1
y 2
|x|10
= 2y − 2
0
1 3
=2− = (a)
2 2
5.3 Gauss’ Divergence Theorem 157
dxdy
2. On S2 (DEF G) : z = 1, n̂ = k̂, dS = = dxdy
|n̂·k̂|
x and y both vary from 0 to 1.
→
−
∴ F · n̂ dS = 4xz î − y 2 ĵ + yz k̂ · k̂ dxdy
S2 S2
1 1
1 2 1
= ydxdy = = 1 |x|1 = 1
y
2 2 0 2
0 0 0 0
158 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
dzdx
4. On S4 (BCDG) : y = 1, n̂ = ĵ, dS = |n̂·j| = dzdx
x and z both vary from 0 to 1.
→
−
∴ F · n̂ dS = 4xz î − y 2 ĵ + yz k̂ · ĵ dzdx
s4 S4
1 1
= −dzdx = −1
0 0
dydz
5. On S5 (OABC) : x = 0, n̂ = −î, dS = = dydz
|n̂·î|
y and z both vary from 0 to 1.
→
−
∴ F · n̂ dS = 4xz î − y 2 ĵ + yz k̂ · −î dydz = 0
S5 S5
dydz
6. On S6 (ABGF ) : x = 1, n̂ = î, dS = = dydz
|n̂·î|
y and z both vary from 0 to 1.
→
−
∴ F · n̂ dS = 4xz î − y 2 ĵ + yz k̂ · î dydz
S6 S6
1 1
= 4zdzdx = 2
0 0
→
−
(i) F = 2xz î + yz ĵ + z 2 k̂
→
− ∂ ∂ ∂ 2
∇· F = (2xz) + (yz) + (z )
∂x ∂y ∂z
= 2z + z + 2z = 5z
π
θ varies from 0 to 2
φ varies from 0 to 2π
2π π
→
− 2
a
∇ · F dV = 5 rcosθ · r2 sinθ drdθdφ
V φ=0 θ=0 0
π 4 a
2π 2 r
=5 dφ cosθ sinθ dθ
φ=0 θ=0 4 0
π
1 cos2θ 2 a4 5
= 5|φ|2π
0 · − · = πa4 (a)
2 2 0 4 4
(iii) The given surface is open and closed by the circular surface S2 in xy-
plane. Thus, the surface S consists of two surfaces S1 and S2 .
→
− →
− →
−
∴ F · n̂ dS = F · n̂ dS + F · n̂ dS (b)
S S1 S2
∇φ 2xî + 2y ĵ + 2z k̂ xî + y ĵ + z k̂
∴ n̂ = = =
|∇φ| 4x2 + 4y 2 + 4z 2 a
dxdy adxdy
dS = =
n̂ · k̂ z
→
−
F · n̂dS
S1
xî + y ĵ + z k̂ adxdy
= 2xz î + yz ĵ + z 2 k̂ ·
R a z
5.3 Gauss’ Divergence Theorem 161
= 2x2 + y 2 + z 2 dxdy
R
= 2x2 + y 2 + a2 − x2 − y 2 dxdy
R
= x2 + a2 dxdy
R
2π a
−
→
∇ × F · n̂ dS = r2 cos2 θ + a2 r dr dθ
S1 0 0
2π ! 4 a 2 a "
r
2 r
= 2
4 cos θ + a 2 dθ
0 0 0
2π ! 4 "
a 1 + cos2θ a4
= + dθ
0 4 2 2
4 5 1 sin2θ 2π 5
=a θ+ = πa4
8 8 2 0 4
→
−
(i) F · n̂ = lx + my + nz
= x î + y ĵ + z k̂ · l î + m ĵ + n k̂
→
−
∴ F = x î + y ĵ + z k̂
→
−
(ii) ∴∇ · F = ∂
∂x (x) + ∂
∂y (y) + ∂
∂z (z) = 3
(iii)
−
→
∇ · F dV = 3 dV
V V
Volume of the region bounded by
=3
the sphere of 2 unit radius
4
=3· π(2)3 = 32 π
3
5.4 Exercise
→
−
1. Verify Green’s theorem for the function F = y 2 − 7y î+(2xy +2x)ĵ
and curve C : x2 + y 2 = 1.
(Answer: 9π)
9 2
2. Verify Green’s theorem for C 3x − 8y dx + (4y − 6xy)dy where C
is the boundary of the triangle with vertices (0, 0) , (1, 0) and (0, 1).
Answer : 53
9
3. Using Green’s theorem, evaluate the linear integral C (siny dx
+cosxdy) counterclockwise, where C is the boundary of the triangle
with vertices (0, 0) , (π, 0) , (π, 1).
Answer : − 1 + π2 − π1 cos1
9 # .
4. Evaluate C x2 − 2xy dx + (x2 y + 3)dy around the boundary C of
the region y 2 = 8x, x = 2.
Answer : 128
5
164 Green’s Theorem, Stokes’ Theorem, and Gauss’ Theorem
9
5. Verify Green’s theorem in the plane for C 2x − y 2 dx − xydy where
C is the boundary of the region enclosed by the circles x2 + y 2 = 1 and
x2 + y 2 = 9.
(Answer : 60π)
9
6. Verify Green’s theorem for C x2 − 2xy dx + x2 y + 3 dy where C
2
is
the boundary
1
of the region bounded by y = x and the line y = x.
Answer : 4
→
−
7. Verify Stokes’s theorem for F = x2 − y 2 î + 2xy ĵ, in the rectangular
region in the xy-plane bounded by the lines x = ±a, y = 0, y = b.
Answer : 4ab2
→
−
8. Verify Stokes’s theorem for F = (x + y) î + (y + z) ĵ − xk̂ and S is
the surface of the plane 2x + y + z = 2 which is in the first octant.
(Answer : − 2)
9
9. Evaluate by Stokes’s theorem C (ex dx + 2ydy − dz), where C is the
curve x2 + y 2 = 4, z = 2.
(Answer : 0)
→
−
10. Verify Stokes’s theorem for F = xz î+y ĵ +y 2 xk̂ over the surface of the
tetrahedron bounded by the planes y = 0, z = 0 and 4x + y + 2z = 4
above the yz-plane.
(Answer : 0)
→
−
11. Verify Stokes’s theorem for F = x2 +y + 2 î + 2xy ĵ + 4zex k̂ over
the surface S of the paraboloid z = 9 − x2 + y 2 above the xy-plane.
(Answer : − 9π)
−
→ →
−
12. Evaluate using Stokes’s theorem S ∇ × F · n̂ dS where F = 3y î −
xz ĵ + yz 2 k̂ and S is the surface of the paraboloid x2 + y 2 = 2z bounded
by the plane z = 2 and C is its boundary traversed in the clockwise
direction.
(Answer : 20π)
13. Prove that √ dS
= √4π , where S is the ellipsoid a2 x2 +
S a2 x2 +b2 y 2 +c2 z 2 abc
b2 y 2 + c2 z 2 = 1.
5.4 Exercise 165
→ −
− → →
−
14. Evaluate S F · d S using divergence theorem where F = x3 î+y 3 ĵ +
z 3 k̂ and S is the surface of the sphere x2 + y 2 + z 2 = a2 .
Answer : 12
5 πa
5
→ −
− → →
−
15. Evaluate F · d S using Gauss’ divergence theorem where F 2xy î +
yz 2 ĵ +zx k̂ and S is the surface of the region bounded by x = 0, y = 0,
z = 0, y = 3, x + 2z = 6.
Answer : 351
2
→
−
16. Verify Gauss’ divergence theorem for F = (x2 − yz)î + (y 2 − zx)ĵ +
(z 2 − xy)k̂ over the region R bounded by the parallelepiped 0 ≤ x ≤
a, 0 ≤ y ≤ b, 0 ≤ z ≤ c.
(Answer : abc(a + b + c))
→
−
17. Verify Gauss’ divergence theorem for F = xî + y ĵ + z k̂ over the region
R bounded by the sphere x2 + y 2 + z 2 = 16.
(Answer : 256π)
→
−
18. Verify Gauss’ divergence theorem for F = 2xy î + 6yz ĵ + 3zxk̂ over
the region bounded by the coordinate planes and the plane x+y +z = 2.
Answer : 22
3
6
MATLAB Programming
167
168 MATLAB Programming
>> a=3;
>> b=5;
>> c1=a+b
c1 =
>> c2=a-b
c2 =
-2
>> c3=a/b
c3 =
0.6000
In this example, the semicolon at the end of the statements for a and b,
suppress output to run the program smoothly. Whereas in the statement
c1=a+b, c2=a-b, and c3=a/b are not followed by a semicolon so the
stored values “dumped” as the output.
6.1 Basic of MATLAB Programming 169
Input:
Output:
c=
140.1000
In this example, is given for the newline. i.e., once the program is
run user can see the input statement, and the user can give input in the
next line in the “command window”.
Solution:
170 MATLAB Programming
Input:
Output:
Welcome to MATLAB Programming
In this program, “fprintf (‘ ’)” is used to print given input in a single
quotation mark (‘ ’).
4. Write a user define MATLAB program to print square, cube, and
square roots to preserve 4 digits after the decimal point for any
number.
Solution:
Input:
Output:
Output:
In this program, to plot sinx for 0≤x≤2π, use the inbuilt command
“plot(x,y)” then define x values using the command x=0:0.1:2*pi then
store the values of sinx in variable y.
6. Write a MATLAB program to draw any curve.
Solution:
Input:
Output:
172 MATLAB Programming
Solution:
Input:
Output:
6.1 Basic of MATLAB Programming 173
Solution:
Input:
Output:
Solution:
Input:
174 MATLAB Programming
Output:
Solution:
Input:
6.1 Basic of MATLAB Programming 175
Output:
Input:
Output:
Enter the number : 10
x=
10
x=
10
x=
10
x=
176 MATLAB Programming
10
x=
10
12. Write a MATLAB program to print the utility of dummy index for
any number consecutive 6 times. Also, take index from user.
Solution:
Input:
Output:
Enter the number : 2
ans =
2
ans =
4
ans =
8
ans =
16
ans =
32
ans =
64
Also, by user define index
Input
6.1 Basic of MATLAB Programming 177
Output:
Enter the number : 2
Enter the index : 3
ans =
2
ans =
4
ans =
8
Solution:
Input:
Output:
sum1 =
55
By user define number
178 MATLAB Programming
Input:
Output:
Enter a number upto which sum need to find: 5
a=
5
sum1 =
15
14. Write a MATLAB program to find the sum of the first four elements
in an array of six elements.
Solution:
Input:
Output:
sum1 =
5
By user define
6.1 Basic of MATLAB Programming 179
Output:
Solution:
Input:
Output:
n= 1m= 1
n= 1m= 2
n= 2m= 1
n= 2m= 2
n= 3m= 1
n= 3m= 2
Solution:
Input:
180 MATLAB Programming
Output:
sum1 =
24
Summation performed by this program
sum1 = a(b(1))+a(b(2))+a(b(3))+a(b(4))
= a(2)+a(3)+a(5)+a(7)
= 5+7+9+3
= 24
Solution:
Input:
Output 1:
a=
6.1 Basic of MATLAB Programming 181
10
b=
12
Output 2:
a=
10
b=
-1
18. Write a MATLAB program to represent the use of “if - elseif - else”
loop.
Solution:
Input:
182 MATLAB Programming
Output:
4 is less than 5 but greater than 1
Solution:
Input:
Output:
Enter a year in YYYY format : 2020
2020 is a leap year
Enter a year in YYYY format : 2022
2022 is not a leap year
6.1 Basic of MATLAB Programming 183
>> v1=[1 2 3 4 5]
v1 =
1 2 3 4 5
>> v2=[1, 2, 3, 4, 5]
v2 =
1 2 3 4 5
>> cv1=[1;-4;3;9;-10]
cv1 =
1
-4
3
9
-10
>> cv2=[1;2;-2;0.1]
184 MATLAB Programming
cv2 =
1.0000
2.0000
-2.0000
0.1000
>> w=v1’
w=
1
2
3
4
5
>> w1=cv1’
w1 =
1 -4 3 9 -10
To access elements, we use colon notation (:). For example, for the first three
elements of the w1 vector,
>> w1(1:3)
ans =
1 -4 3
6.1 Basic of MATLAB Programming 185
>> w1(3:end)
ans =
3 9 -10
Output:
c=
8 48 100
186 MATLAB Programming
A=
1 2
3 4
A=
1 2
3 4
5 6
Once the matrix is stored in MATLAB, we can view a particular element of
the matrix. For example, to view elements in row 1st and column 2nd, we use
A(2,1)
6.1 Basic of MATLAB Programming 187
>> A(2,1)
ans =
To find the dimension of a vector or a matrix, we use the size command. For
example, to find the dimension of the matrix
⎡ ⎤
1 2
A=⎣ 3 4 ⎦
5 6
We have
>> size(A)
ans =
3 2
>> size(A)
ans =
2 2
i.e., size(A)=[m n]
We have
188 MATLAB Programming
B=
0 1 3
-2 0 7
>> B’
ans =
0 -2
1 0
3 7
Solution:
6.2 Some Miscellaneous Examples using MATLAB Programming 189
Output:
Solution:
Input:
x-coordinate of a vector: 3
y-coordinate of a vector: 4
z-coordinate of a vector: -5
Output:
The modulus of the vector (3,4,-5) = 7.071068
Solution:
a = [3 -1 -4];
b = [-2 4 -3];
c = [1 2 -1];
190 MATLAB Programming
z=3*a-2*b+4*c
Output:
z=
17 -3 -10
Solution:
a = [1 2 1];
b = [2 1 1];
c = [3 4 1];
z1 = a+2*b+c
z2 = z1.*z1
z3 = sum(z2)
z4 = sqrt(z3)
Output:
z1 =
8 8 4
z2 =
64 64 16
z3 =
144
z4 =
12
6.2 Some Miscellaneous Examples using MATLAB Programming 191
Solution:
Input-1:
x-coordinate of a vector: 1
y-coordinate of a vector: 0
z-coordinate of a vector: 0
Output-1:
The vector (1, 0, 0) is a unit vector.
Input-2:
x-coordinate of a vector: 1
y-coordinate of a vector: 1
z-coordinate of a vector: 0
Output-2:
The vector (1, 1, 0) is not a unit vector.
Input-3:
x-coordinate of a vector: 0
y-coordinate of a vector: 0
z-coordinate of a vector: 0
192 MATLAB Programming
Output-3:
The vector (0, 0, 0) is a zero vector.
Input-4:
x-coordinate of a vector: 1/sqrt(3)
y-coordinate of a vector: 0
z-coordinate of a vector: sqrt(2/3)
Output-4:
The vector (5.773503e-01, 0, 8.164966e-01) is a unit vector.
Solution:
Input:
The first vector in the form of [x y z]: [-1 6 8]
The second vector in the form of [x y z]: [1 3 -4]
Output:
z1 =
0 9 4
z2 =
-2 3 12
6.2 Some Miscellaneous Examples using MATLAB Programming 193
Solution:
Input:
Enter x-coordinate of an arbitrary vector : 3
Enter y-coordinate of an arbitrary vector : 4
Enter z-coordinate of an arbitrary vector : 5
Enter an arbitrary scalar for a product with a given arbitrary
vector : -1
Output:
a=
3 4 5
da =
-3 -4 -5
194 MATLAB Programming
Solution:
Output:
z1 =
20
z2 =
0.0000e+00 + 2.3220e+02i
x.y = 20
Solution:
6.2 Some Miscellaneous Examples using MATLAB Programming 195
Input 1:
Enter a first vector in the format [x y z] = [1 2 3]
Enter a second vector in the format [x y z] = [-1 -2 -3]
Output 1:
z1 =
-14
z2 =
1.8000e+02 - 1.9085e+02i
x.y =-14
z1 =
z2 =
90
x.y =0
196 MATLAB Programming
-15
z2 =
1.8000e+02 - 1.8624e+02i
x.y =-15
The angle between x and y is 180.000000
Solution:
6.2 Some Miscellaneous Examples using MATLAB Programming 197
Input 1:
Enter a first vector in the format [x y z] = [1 -2 2]
Enter a second vector in the format [x y z] = [0 0 -1]
Output 1:
(i) is true. 2.000000 < = 3.000000
(ii) is true. 2.449490 < = 4.000000
(iii) is true. 3.741657 > = 2.000000
Input 2:
Enter a first vector in the format [x y z] = [1 -1 -1]
Enter a second vector in the format [x y z] = [2 -4 7]
Output 2:
(i) is true. 8.306624 < = 14.387495
(ii) is true. 8.366600 < = 10.038675
(iii) is true. 8.602325 > = -6.574573
Solution:
198 MATLAB Programming
Input:
Enter a first vector in the format [x y z] =
[3 -2 1]
Enter a second vector in the format [x y z] =
[1 -2 1]
Output:
The projection of a on b is 3.265986.
The projection of b on a is 2.138090.
Solution:
Input 1:
Enter a first vector in the format [x y z] =
[1 0 0]
Enter a second vector in the format [x y z] =
6.2 Some Miscellaneous Examples using MATLAB Programming 199
[0 1 0]
Output 1:
c=
0
The vectors a and b are perpendicular to each other.
Input 2:
Enter a first vector in the format [x y z] =
[1 0 0]
Enter a second vector in the format [x y z] =
[1 0 0]
Output 2:
c=
1
The vectors a and b are not perpendicular to each other.
Input 3:
Enter a first vector in the format [x y z] =
[1 2 3]
Enter a second vector in the format [x y z] =
[-2 1 3]
Output 3:
c=
9
The vectors a and b are not perpendicular to each other.
Solution:
200 MATLAB Programming
Input:
Enter a first vector in the format [x y z] =
[2 -3 1]
Enter a second vector in the format [x y z] =
[1 -1 2]
Output:
c=
-5 -3 1
The cross product is (-5, -3, 1).
Solution:
Output:
The total work done is 10.000000 units.
Solution:
6.2 Some Miscellaneous Examples using MATLAB Programming 201
Output:
The moment of the force F about the point A is (-3, 19, -4).
The magnitude of the moment is 19.646883.
Solution:
t = 0:0.1:3*pi;
plot3(sin(2*t),cos(t),t)
f = @(t) sqrt(4*cos(2*t).∧ 2 + sin(t).∧ 2 + 1);
len = integral(f,0,3*pi)
Output:
202 MATLAB Programming
len =
17.2220
2 −y 2
xe−x
Solution:
Output:
Solution:
t = 0:0.1:2*pi;
f = @(t)(-t.*sin(t)+cos(t).∧2+sin(t));
len = integral(f,0,2*pi)
Output:
len =
9.4248
Solution:
204 MATLAB Programming
Output:
Solution:
Output:
q1 =
2.734244598320928e+03
q2 =
2.734244599944285e+03
Solution:
fun = @(x,y) 1./(1 + x + y);
References 205
ymax = @(x) x;
q = integral2(fun,0,1,0,ymax)
Output:
q=
0.261624071883185
References
[1] The MathWorks Inc. MATLAB 7.0 (R14SP2). The MathWorks Inc.,
2005. The MathWorks Inc. MATLAB 7.0 (R14SP2). The MathWorks
Inc., 2005.
[2] D. Houcque. Introduction to MATLAB for Engineering Students. North-
western University, 2005.
Index
A Binormal, 60, 65
Absolute, 3 Bold, 1
Acceleration, 1, 106 Boundary, 135, 144, 153
Access, 167, 184 Bounded, xii, 124, 129, 134
Accurate, xi
Acronym, 167 C
Addition, v, 5, 6, 9, 168 Cables, 29
Adjacent, 38 Calculus, vi, 111
Adjoining, 58 Capabilities, 167
Advance, 66 Cartesian, 2, 4, 58
Aircraft, 55 Centrifugal, 1
Algebraic, 29, 37 Charge, 1
Analogous, 73 Circle, 64, 117, 126, 143
Analysis, 1 Circular, 127, 133, 160
Analytic, ix Circulation, vii, 112, 117
Angle, vi, ix, 12, 29 Clockwise, 66
Angled, 29 Closed, 112, 114, 123, 129
Angles, 12 Coefficients, 120
Angular, 89 Collinear, v, 8
Applied, 46, 48, 49, 50 Command, 167, 168, 171, 187
Arbitrary, 1, 92, 93, 95 Commands, x, 167
Arc Length, vi, 57, 61 Common, 8
Arc rate, xi, 65 Commutative, 10, 30
Area, vii, 1, 39, 122, 128 Component, 71, 124, 128, 137
Arithmetic, x, 167 Components, v, 2, 5, 13, 25
Arrow, 1 Computations, 167
Atmosphere, 56 Concept, ix, 1, 7, 55
Axis, 2, 4, 5, 111, 137 Cone, 76
Consecutive, 38, 60, 175, 176
B Conservative, 91, 113, 114, 120
Basic, v, 45, 55, 167, 168 Constant, 48, 54, 56, 72, 74
207
208 Index
H M
Hangs, 29 Machinery, ix
Heat flow, 55 Magnetic, 1, 56
Helix, 63 Magnitude, 1, 8, 18, 86
Hemisphere, 159 Magnitudes, 1, 50
Hexagon, 14 Mass, 1, 86
High-performance, 167 Mathematical, ix, 167, 168
Horizontal, 25 MATLAB, ix, 167, 170, 178
Matrices, 167
I
Maximum, 74, 108
Incompressibility, 87 Measure, vi, 30
Incompressible, 87 Measured, 1, 74
Increasing, 66 Measurement, ix, 48
Independence, ix, 113 Messages, 167
Independent, vii, 113, 114, 115 Moduli, 10, 16, 31
Independently, 1 Modulus, 3, 4, 9, 47
Initial, 1, 2, 7, 9 Moment, 1, 46, 47, 51
Input, 167, 159, 171, 175 Momentum, 1
Integral, 111, 122, 129, 135 Mutually, 32, 52, 60
Integrals, 111, 112, 113, 135
Integration, 111, 113, 114, 117 N
Intensity, 1, 56 Negative, 2, 3, 6, 10
Interpretation, vii, 38, 86, 69 Neighboring, 60
210 Index
213
River Publishers Series in Mathematical, Statistical and
Elementary Vector Calculus Computational Modelling for Engineering
MATLAB Programming
Sir Isaac Newton, one of the greatest scientists and mathematicians
of all time, introduced the notion of a vector to define the existence of
gravitational forces, the motion of the planets around the sun, and the
motion of the moon around the earth. Vector calculus is a fundamental
scientific tool that allows us to investigate the origins and evolution of
space and time, as well as the origins of gravity, electromagnetism, and
nuclear forces. Vector calculus is an essential language of mathemati-
cal physics, and plays a vital role in differential geometry and studies
related to partial differential equations widely used in physics, engi-
neering, fluid flow, electromagnetic fields, and other disciplines. Vector
calculus represents physical quantities in two or three-dimensional
space, as well as the variations in these quantities.
The machinery of differential geometry, of which vector calculus
is a subset, is used to understand most of the analytic results in a more
general form. Many topics in the physical sciences can be mathemati-
cally studied using vector calculus techniques.
This book is designed under the assumption that the readers have
no prior knowledge of vector calculus. It begins with an introduction to
vectors and scalars, and also covers scalar and vector products, vector
differentiation and integrals, Gauss’s theorem, Stokes’s theorem, and
Green’s theorem. The MATLAB programming is given in the last chapter.
This book includes many illustrations, solved examples, practice
examples, and multiple-choice questions.
Jitendra Pancha
Nita H. Shah
Nita H. Shah
River Publishers River Jitendra Panchal