Professional Documents
Culture Documents
Vector Analysis
Definition
A vector in n dimension is any set of n-components that
transforms in the same manner as a displacement when you
change coordinates
Displacement is the model for the behavior of all vectors
Roughly speaking: A vector is a quantity with both direction as well as
magnitude.
On the contrary, a scalar has no direction and remains unchanged when
one changes the coordinates.
Notation: Bold face A, in handwriting A . The magnitude of the vector is
denoted by A A A
Example:
Scalars: mass, charge, density, temperature
Vectors: velocity, acceleration, force, momentum
Vector Algebra
Vector Operations
(a) Addition of two vectors
Parallelogram law: To find A+B, place the tail of B at the head of A and
Page 1
B
A
A+B
A
-A
Page 2
B
Dot product is commutative:
AB BA
If A, B perpendicular, / 2 A B 0
If A, B point to the same direction, 0 A B AB
In particular, A A A2
Page 3
A
n is a unit vector ( magnitude =1 ) perpendicular to the plane spanned by
In particular
A A 0
(c)
x x y y z z 1
x y x z y z 0
A B Ax x Ay y Az z Bx x By y Bz z
A B Ax Bx Ay By Az Bz
(d)
x x y y z z 0
x y y x z
y z z y x
z x x z y
A B Ax x Ay y Az z Bx x By y Bz z
Ay Bz Az By x Az Bx Ax Bz y Ax By Ay Bx z
x
A B Ax
Bx
y
Ay
By
z
Az
Bz
Triple Products
(a)
A B C Ax x Ay y Az z By Cz Bz C y x Bz Cx BxCz y BxC y By Cx z
Ax By Cz Bz C y Ay Bz C x BxCz Az BxC y By C x
Ax
A B C Bx
Cx
(b)
Ay
By
Cy
Az
Bz
Cz
A B C B A C C A B
Page 5
x dx, y dy, z dz :
dl dxx dyy dzz
r r r x x x y y y z z z
with magnitude
r r r x x 2 y y 2 z z 2
The corresponding unit vector is
r r
r r
r r
Page 6
Vector Calculus
Line, Surface, and Volume Integrals
(a) Line Integrals
v dl
b
v
dl
v da
da
v
v da
Td
(ii) Volume integral of vector field v
vd
y
z
x
y
z
Gradient
Consider a scalar field T(x,y,z)
T
T
T
dT dx dy dz
x
z
y
It can be written as
T
T
T
dT
x
y
y
z
x
dT T dl
Then
Geometrical meaning:
dT T dl cos
where is the angle between T and dl , the direction along which you
move
When dl points to the same direction as T , 0 and dT T dl
attains its maximum value.
The gradient T points in the direction of maximum increase of
T
The magnitude T gives the slope (rate of increase) along this
maximal direction
In particular, when dl T , dT=0 moving along the contour line
The fundamental theorem of gradient:
a T dl a
b
Page 9
dT T (b) T (a)
The Divergence
To measure the flux (source/sink) density
Evaluate the flux of a vector field v through a closed surface enclosing a
point (x, y, z).
z
da
(x, y, z)
The integral is
v da .
v da
v da
vz(x, y, z+z/2)
vx(x-x/2, y, z)
vy(x, y-y/2, z)
vy(x, y+y/2, z)
vx(x+x/2, y, z)
vz(x, y, z-z/2)
= ( +
, , ) () + (
, , ) ()
2
2
, ) () + (,
, ) ()
2
2
+ (, , + ) () (, , ) ()
2
2
= ( +
, , ) (
, , )
2
2
+ (, +
, ) (,
, )
2
2
+ (, , + ) (, , )
2
2
+ (, +
Page 11
( +
, , ) (
, , )
2
2
(, +
, ) (,
, )
2
2
(, , +
= lim
(, , )
)
2
2
1
,,0
lim
( +
+ lim
, , ) (
, , )
2
2
(, +
, ) (,
, )
2
2
(, , )
)
2
2
+ lim
0
=
+
+
= (
+
+ ) ( + + )
(, , +
+
+
Page 12
When i 0
v da v d
Page 13
The Curl
The curl of a vector field v measures how much the vector v curls
around the point in question. Intuitively, if you place a tiny paddle wheel
probe in a flowing fluid, it determines whether it will turn and how fast
the angular velocity is.
curl v 0
curl v = 0
curl v 0
Page 14
Consider
n z
y y / 2
y y / 2
x x / 2
= (,
x x / 2
, ) + ( +
, , )
2
2
, ) (
, , )
2
2
( +
, , ) (
, , )
2
2
=
(, +
(, +
, ) (,
, )
2
2
1
1
= lim
0
,0
lim
= lim
( +
, , ) (
, , )
2
2
Page 15
lim
, ) (,
, )
2
2
(, +
Similarly,
n y
1
=
lim
n x
1
=
lim
x
vx
y
vy
vx vz
y
z x
v y vx
z
x y
z
vz
x y z vx x v y y vz z
y
z
x
Page 16
( ) = ( )
Stokes theorem
Consider the line integral along a closed loop C
Partition the loop into a large number of small loops. Since the line
integral of adjacent sides of two loops goes in opposite direction and
cancels each other, we have
= = ( )
When da 0,
= ( )
fg f g gf
A B A B B A A B B A
Page 17
Ay
Az Bx x By y Bz z
y
z
x
B
B
B
x Ax x Ay x Az x
x
y
z
A B Ax
Note:
By
By
By
y Ax
Ay
Az
x
y
z
B
B
B
z Ax z Ay z Az z
x
y
z
fA f A A f
A B B A A B
fA f A A f
A B B A A B A B B A
f A
f Az
f
A
f x Ax f y Ay
Az
f
x y
y z
z
x
Ax Ay Az
f
f
f
Ax
Ay
Az
f
y
z
y
z
x
x
f A f A
Second Derivatives
Laplacian Divergence of gradient
2T T
T
T
T
x y
z x
y
z
y
z x
y
z
x
2T 2T 2T
2 2 2
x
y
z
Curl of gradient
The curl of a gradient is always zero
T 0
Gradient of divergence
v
Curl of Curl
v v 2 v
Page 19
Curvilinear Coordinates
Spherical Polar Coordinates
2
2
2
r x y z
x r sin cos
1
y r sin sin cos
x2 y 2 z 2
z r cos
tan 1
x
Page 20
Basis vectors
x sin cos r cos cos sin
r sin cos x sin sin y cos z
cos cos x cos sin y sin z y sin sin r cos sin cos
sin x cos y
z cos r sin
The same basis vector associated with different points are along
different directions
0
r r r
r
sin
cos
sin r cos
Infinitesimal displacement
dl drr rd r sin d
d r 2 sin drd d
T
T
T
x
y
z
x
y
z
T r T T
T
1 T
1 T
r
r
r
r sin
Divergence
v
1 2
1
1 v
r vr
sin v
2
r r
r sin
r sin
Curl
v
v
1
1 1 vr
1
sin v r
rv rv r
r sin
r sin r
r r
Hence
Laplacian
2T T
1 2
1
1 T
r
sin
r 2 r
r sin
r sin
1 2 T
1
1 T
1
1 T
r
sin
2
r r r r sin
r r sin r sin
1 T
1
T
1
2T
2T 2 r 2
sin
r r r r 2 sin
r 2 sin 2 2
Page 22
Cylindrical Coordinates
s, , z
s
Cylindrical Coordinates s, , z
s: Distance from the z axis
: Angle around from the x axis (right-hand rule)
x s cos
1 y
y s sin tan
x
zz
zz
Basis vectors
s cos x sin y
x cos s sin
z z
z z
s s z z 1
s s z z 0
s z
z s
z s
The same basis vector associated with different points are along
different directions
z z z s s
0
s z s z s z
Infinitesimal displacement
dl dss sd dzz
T
T
T
x
y
z
x
y
z
T s T T z
cos s sin
Page 24
T
1 T
T
s
z
s
s
z
Divergence
v
1
1 v v
svs z
s s
s z
Curl
1 vz v vs vz
v
1
v
sv s z
s s
s z z s
Hence
Laplacian
2T T
1
1 T T z
s T s
s s
s
z
z z
2
2
1 T 1 T T
2T
s s s s 2 2 z 2
1 T
s
s s s
Page 25
1 1 T
s s