Professional Documents
Culture Documents
AMA2112: Mathematics II Chapter 6. Vector Calculus: Dr. ZHANG Guofeng Guofeng - Zhang@polyu - Edu.hk
AMA2112: Mathematics II Chapter 6. Vector Calculus: Dr. ZHANG Guofeng Guofeng - Zhang@polyu - Edu.hk
5 October 2021
0/36
Chapter 6. Vector Calculus
Contents of Chapter 6:
Di↵erential calculus of scalar and vector fields
Line integrals and Green’s Theorem
Surface integrals, Divergence Theorem of Gauss
Stokes’ Theorem
Applications
1/36
Revision: vectors
positive y-axis,
k = (0 0 1) is the unit vector along the
positive z-axis. ( 0,1 ,
→
11.0.07
j, ~k instead of i, j, k.)
(Some people use ~i, ~
2/36
Revision: vectors (Cont’d)
A point P(a, b, c) in the xyz space R3 can be
!
represented by a vector OP with initial point the
origin O and terminal point P (from O to P), i.e,
!
OP = (a, b, c) = ai + bj + ck. The length (also called
! p !
magnitude) k OP k = a2 + b2 + c2 . If k OP k = 1, the
!
vector OP is called a unit vector.
The length of the arrow represents the magnitude of the vector and
the arrow points in the direction of the vector (from its initial point to
its terminal point).
Remark 1
Vectors are used by scientists to indicate quantities (such as
displacement, velocity or force) that have both magnitude and
direction.
the origin
position vector
!
/
a = (a1 , a2 ) a = (a1 , a2 , a3 )
Definition 1 (Position vector)
Let P(a1 , a2 , a3 ) be any point and O be the origin in space R3 . We often
!
use the symbol a to indicate the vector OP (namely, a vector from O
to P). By Equation (1) we know that a = a1 i + a2 j + a3 k = (a1 , a2 , a3 ). a is
called the position vector of the point P. The two-dimensional case
can be defined in a similar way. See Figure above.
5/36
Revision: the dot product of two vectors
a + b , (a1 + b1 , a2 + b2 , a3 + b3 ) .
a • b , a1 b1 + a2 b2 + a3 b3 (2)
6/36
Revision: the dot product of two vectors (Cont’d)
Theorem 2
Clearly,
a • b kak kbk
É i a of -5 9, -
I -
K
a
:-.
-
: ,
,
, ,
a-
'
±
cat Is i'
.
+ ( E. I > j + ( ii. iiii
Pepvesen(afionogapointinXgzsp
Given function to > = fcxtit )
%-) ÷ ,
an Gsu ✗ 1- bnsinnx
= < f) Sjhnx )
Cf Cosnx >
m=±s:*
←
,
""
:*
.
. . >* * .
[ 1 ,
Asx ,
9in . Cos 2¥ Sir > × ,
. . . } Orthogonal
is a
representation of a
function in Hilbert space .
Revision: the cross product of two vectors
Definition 3 (Cross product)
If a = (a1 , a2 , a3 ) = a1 i + a2 j + a3 k and b = (b1 , b2 , b3 ) = b1 i + b2 j + b3 k,
then the cross product of a and b is defined to be
" "
a cross b
a ⇥ b , (a2 b3 a3 b2 , a3 b1 a1 b3 , a1 b2 a2 b1 ) (4)
If you have learned linear algebra, you should know that the cross
product defined in equation (4) can be re-written as a determinant:
2 3
66 i j k 77 i j k
66 77
6
6 7
a ⇥ b = det 66 a1 a2 a3 77 = a1 a2 a3
7 (5)
64 75
b1 b2 b3 b1 b2 b3
If ✓ is the angle between the vectors a and b (so 0 < ✓ < ⇡), then the
cross product defined in equation (4) can be written as the vector
whose magnitude is kak kbk sin ✓ and whose direction is given by the
vector n which is the unit vector perpendicular to the plane containing
a and b. See Figure below.
rule
right -
hand
9/36
Revision: the cross product of two vectors (Cont’d)
Corollary 4
Theorem 3 tells us that the vector a ⇥ b is perpendicular to both a and
b.
Remark 2 (Geometric interpretation of cross product)
Because n in Theorem 3 is a unit vector, knk = 1. We have
From Figure below, we can see that ka ⇥ bk is equal to the area of the
parallelogram determined by the vectors a and b.
a1 a2 a3
a (b⇥c) , b1 b2 b3 .
•
c1 c2 c3
a • (b ⇥ c) = (a ⇥ b) • c (7)
a ⇥ (b ⇥ c) = (a • c)b (a • b)c. (8)
12/36
Scalar fields and vector fields
Definition 4 (Scalar fields and vector fields)
Let R be a region in R3 . A function f : R ! R is also called a scalar
field on R that associates a unique real number with each point
F : R ! R0
P(x, y, z) in R. A function0 3 is called a vector field that
Remark:
“Scalar” is nothing but a nickname of “number”! ↳ >
Remark
“Vector field” is nothing but a nickname of “vector-valued
function”.
maps point to a vector
a
14/36
Vector fields (Cont’d)
Example 5
A vector field on the xy plane is defined as F(x, y) = yi + xj. Describe it
by sketching some of the vectors F(x, y).
¥11,0 ]= j→
Flu , , >
=
- F
F- ( 2,2 ) : -22-12 ;
The arrow gives the direction of the vector and the length of the arrow
gives the magnitude of the vector.
15/36
Vector fields (Cont’d)
More examples
y x z
F(x, y, z) = yi + zj + xk, F(x, y, z) = yi 2j + xk, F(x, y, z) = z i z j + 4k
16/36
Gradient of a scalar field
Definition 5 (Gradient)
Let f (x, y, z) be a scalar field in R3 . Its gradient is defined as
grad f ,
@f
@x
i+
@f
@y
j+
@f
@z
k. ( ¥
=
,
Fy ¥-7
,
r , i +j +k . deft
@x @y @z
☐ f- = 3¥ i' + ¥5
a
I
-
18/36
Examples of vector fields
At each point P(x, y, z), there is a gravity
G(x, y, z), which is a vector pointing to the
center of gravity of the earth. G is a vector
field, namely, the gravitational field.
o
f (x, y, z) = x2 + y 2 + z2 .
19/36
°
*
¥
/
Divergence of a vector field
Definition 6 (Divergence)
Let F(x, y, z) = F1 (x, y, z)i + F2 (x, y, z)j + F3 (x, y, z)k be a vector field. The
divergence of F is defined to be
Since @ @ @
r = i +j +k ,
@x @y @z
F = iF1 + jF2 + kF3 ,
symbolically, we write div F defined in equation (9) as a dot
product
@F1 @F2 @F3
r·F = + + .
@x @y @z
a scalar field .
21/36
Divergence of a vector field (cont’d)
: velocity field
If div !
v (x, y, z) > 0, then P(x, y, z) is called a source.
!
If div v (x, y, z) < 0, then P(x, y, z) is called a sink.
If div !
v (x, y, z) ⌘ 0 for all P(x, y, z), then we say !
v is divergence
free or incompressible.
• e •
-
I
←
④
a
¥ ①
-
→ ←
positive eie-fricha-rge-negat.ie
electric
Chasse
Curl of a vector field
Definition 7 (Curl)
Let F(x, y, z) = F1 (x, y, z)i + F2 (x, y, z)j + F3 (x, y, z)k be a vector field. The curl of
F is defined as a vector field
! ! !
@F3 @F2 @F1 @F3 @F2 @F1
curl F , i+ j+ k.
@y @z @z @x @x @y
Since
@ @ @
r = i +j +k , F = iF1 + jF2 + kF3 ,
@x @y @z
symbolically, we have
i j k ! ! !
@ @ @ @F3 @F2 @F1 @F3 @F2 @F1
r⇥F , @x @y @z = i+ j+ k.
@y @z @z @x @x @y
F1 F2 F3
Hence we also write curl F = r ⇥ F (the “cross product” of r and F).
Notice that curl F is a vector field (i.e., a vector-valued function)!
Remark. Physically, if F(x, y, z) is the velocity field of some flowing fluid, then
r ⇥ F characterizes the rotation of the flow.
23/36
Curl of a vector field (cont’d)
24/36
?⃝
Curl of a vector field (cont’d)
Curl
Tx -5=1
X ¥ ¥ ¥
/
I 5dg zejz 3Z
=/ 0 -
us
'
Ii't lo -
o 75
'
7 IF '
? I
f zy -
+
-
o - =
25/36
Some properties
Theorem 8 (Linearity)
Let f , g be scalar fields, F, G be vector fields, and ↵, be numbers.
r(↵f + g) = ↵rf + rg.
r · (↵F + G) = ↵(r · F) + (r · G).
r ⇥ (↵F + G) = ↵(r ⇥ F) + (r ⇥ G).
26/36
Some properties (cont’d)
¥ In . ¥.
.
2¥ .
.
.
Theorem 9
For a continuously di↵erentiable scalar field f , r ⇥ (rf ) = 0.
For a continuously di↵erentiable vector field F, r · (r ⇥ F) = 0.
Remark
If we use grad , div , and curl to write the equalities, then
27/36
Proofs of the two equalities (DIY)
'
I ii
r ⇥ (rf ) =
i
@ @
j k
@
F- F-
-
/
I
%
F,
Is
Fi
¥
Fs
/
@x @y @z
@f @f @f
@x @y @z
" 2 2
# " # " 2 #
@ f @ f @2 f @2 f @ f @2 f
= i j+ k
@y@z @z@y @x@z @z@x @x@y @y@x
= 0.
! ! !
@ @F3 @F2 @ @F1 @F3 @ @F2 @F1
r · (r ⇥ F) = + +
@x @y @z @y @z @x @z @x @y
! ! !
@2 F 1 2
@ F1 2 2
@ F2 @ F2 2 2
@ F3 @ F3
= + +
@y@z @z@y @z@x @x@z @x@y @y@x
= 0.
28/36
Laplacian of a scalar field
Definition 10 (Laplacian)
Let f be a scalar field. The Laplacian of f is defined to be
f
↳ "
Delta
@2 f @2 f @2 f
f , r · rf = + + .
@x2 @y 2 @z 2
Remark
@ @ @
Recall that the del operator r is r = i @x + j @y + k @z . Therefore,
symbolically,
@2 @2 @2
r·r = + + .
of =
@x2 @y 2 @z 2
@ f @
2 2f
@ 2 t
We call = r · r = @x 2 + @y 2 + @z 2 the Laplacian operator.
f (x, y, z) = x2 y + y 2 z + z 2 x.
Find f .
F- try + 2-
~
¥ 74297,3¥ __y42Z✗
=
Solution.
= ,
it }¥_ = 2x
?¥-~= zz
=
,
us ,
g.
☐ f- = 21×+9+2-7 :
a scalar field.
30/36
Conservative vector fields
31/36
How to tell whether a vector field is conservative?
Theorem 12
Let F be a vector field in R3 . Then F is conservative if and only if
→ f. 5. f. É=Tf
curl F = 0. Curl If =
JX If --
O
%-)
I I
9×-5--1 Z
,
Is
, ✗ 2- -4g xytl
192--1 2x
=
I ✗
-
x 75+19 -
y 75+(2--7) Ñ=o
32/36
How to find a potential function of a conservative
vector field?
Exercise 7. For F = (yz + 2x)i + (xz 4y)j + (xy + 1)k (which has been
proved to be conservative in the previous exercise), find its potential
function.
Find f Such that =
Tf :( ¥ ¥ }¥→
,
Solution.
,
0¥ =
F, = yZt2✗
( Ion )
( I b)
¥
>
✗ Z -
4g
=
Fz=
3¥ =
F- > = XY -11 11 C)
}¥=o
d ( Iea ) w.at ✗
Integrate both sides
- .
-1¢ 9-19,2-2
"
f- my , 2-7=-5192--1 )d×
2x =
Xyz + x
f- exist ) -
-
Xy -2-1*+917 ,
# 7
( Il )
33/36
Exercise 7 (cont’d)
9
Differentiate 111 > w .
v. t .
¥ =
✗ 2- + 3¥ =
✗ 2- -
4g [from 11 > b) 7
¥y= -4g 5¥ ,
=
S -
tasty
gey ,
t) = -29 -1
"
h ok
1127
}hy = ,
(1) 7- 111 ) ft , 9. f) =
Xyz -1 ✗
~
-
zg~-1412-3 ( 132
Z
Differentiate 11£ > w.ir t
-
+3¥ [ from 7
2¥
lie c)
=
✗ g+ ,
xg
3¥ = I hit )= 2- -1C
34/36
2D conservative vector fields
Theorem 13
Let F = F1 (x, y)i + F2 (x, y)j be a vector field in R2 . Then F is
conservative if and only if
@F2 @F1
= .
@x @y
Moreover,
r ⇥ (rf ) = 0, r · (r ⇥ F) = 0
36/36