1 Vector Calculus
1 Vector Calculus
z = x + iy = r(cos ! + i sin ! )
i!
e +e
cos ! =
2
"i!
i!
e "e
; sin ! =
2i
y=
Im(z)
"i!
x= Re(z)
) = rei!
"i!
z* = r ( cos ! " i sin ! ) = re
z = r cos ! + i sin !
Magnitude!
or
z 2 = rei" re!i"
= r2
Plane wave:
Wave number: k = 2$ / %
' f (0, 0) *
Real part of f : # = cos )
( A ,+
!1
Three Dimensions!
! !
!
!
k ! k, x ! r, kx ! kx x + ky y + kz z = kir
i(kx x+ky y+kz z"# t+$ )
f (x, y, z,t) = Ae
! !
i( k i r "# t+$ )
= Ae
Vector Wave!
Vector Calculus!
Read Rohlf, P576 to 577!
Gradient Operator
The gradient operator gives the direction and magnitude of the steepest!
rate of increase of a scalar function
. !
Cartesian coordinates.!
!
#F #F #F
!F "
i+
j+
k
#x
#y
#z
General coordinates.!
!
#F
#F
#F
!F "
u1 +
u2 +
u3
#s1
#s2
#s3
F(x, y, z)
!
$ #f
#f #f
!f " &
i+
j+
#y
#z
% #x
'
k)
(
Spherical Coordinates:
f = f (r,! , " )
!
$f
1 $f
1 $f
#f = ur
+ u!
+ u"
$r
r $!
r sin ! $"
!
! is a vector one can dot it with another vector.
Since
This is known as the divergence of a vector field.!
Cartesian coordinates.!
! !
!
"
"
"
! E = div( E) =
Ex + E y + Ez
"x
"y
"z
Cylindrical coordinates:
! ! 1 "
1 "
"
! E =
rEr +
E# +
E
r "r
r "#
"z z
( )
( )
( )
Spherical coordinates:
! ! 1 " 2
1
"
1 "E$
! E = 2
r Er +
E# sin# +
r sin# "#
r sin# "$
r "r
! !
A! E =
Ax
Ay
Az
Ex
Ey
Ez
i
! !
#
! " E = curl(E) =
#x
Ex
j
#
#y
Ey
k
#
#z
Ez
i
! !
#
! " E = curl(E) =
#x
Ex
Cartesian coordinates:!
ur
Spherical coordinates:
! ! 1 $
!" E=
r $r
Er
! !
!" E=
j
#
#y
Ey
ru#
uz
$
$#
rE#
$
$z
Ez
k
#
#z
Ez
ur
ru#
r sin # u$
%
r sin # %r
Er
%
%#
rE#
%
%$
r sin # E$
) (
! ! !
! !! ! !! ! ! ! ! ! !
! u v = u !v + v !u + u " ! " v + v " ! " u
!
!
! " !# = 0
! ! !
! !"u = 0
!
! !
! ! ! ! !!
! " ! " u = ! ! u $ ! !u
! !
!
! !#1 " !# 2 = 0
( )
( )
( ) (
(
)
Gradient: !
!
$ #f
#f #f '
!f " &
i+
j+
k)
#x
#y
#z
%
(
Divergence:
! !
! "Ex "E y "Ez
! E = div( E) =
+
+
"x
"y
"z
Curl:!
Laplacian:!
j k
i
! !
# # #
! " E = curl(E) =
#x #y #z
Ex E y Ez
! !
#2 f #2 f #2 f
! f " !i !f = 2 + 2 + 2
#x
#y
#z
2
( )
Divergence Theorem
(Rohlf, P 576)!
! !
! !
"
!! Pida = !!! "i Pdv
The flux of a vector over a closed surface = the integral over the enclosed volume of the divergence.!
For example, for the electric field due to a charge distribution:!
!
da
!
P
! !
! !
"
!! Aida = !!! "i Adv
Gauss" Law!
.
! ! 1
q
Eid
a
=
#
dv
=
"
""
! 0 """
!0
! !
q
$i
E
dv
=
"""
!0
q
#
dv
=
"""
!0
! !
! 0 # = $i E (Gauss's Law)
Stokes Law
(Rohlf, P 577)!
! ! !
! !
## (! " P)ida = "# P dl
! !
!
The flux of ! " P is the circulation of P around any closed loop which bounds
the surface. The curl therefore is a measure of the rotation of the vector field. !
!
da
!
P
!
dl
!
!
and the gravitational field, which is g = !"U .!
!
v = 10yi m/s.!
!
is E = 10xi. Find the divergence and therefore the charge!
distribution.!