Professional Documents
Culture Documents
Lec04 MTI Vectorial Methods
Lec04 MTI Vectorial Methods
10 February 2005
Massachusetts Institute of Technology
Department of Physics
8.022 Spring 2005
Lecture 4:
Wrap up of vector calculus:
Poisson & Laplace equations; curl
4.1
We have learned several mathematical operations which fall into the category of vector
calculus. In Cartesian coordinates, these operations can be written in very compact form
using the following operator:
~ x + y + z .
x
y
z
The first vector calculus operation we learned is the gradient. It converts the electric
potential into the electric field:
~ = grad
E
~ .
=
The second operation is the divergence, which relates the electric field to the charge density:
~ = 4 .
div E
Via Gausss theorem (also known as the divergence theorem), we can relate the flux of any
vector field F~ through a closed surface S to the integral of the divergence of F~ over the
volume enclosed by S:
I
~=
F~ dA
div F~ dV .
V 0
34
~
F~ dA
.
V
4.2
So far, weve only defined the divergence as a particular limit. We now want to develop a
concrete calculation showing its value. To do so, consider an infinitesimal cube with sides
x, y, and z, centered on the coordinate x, y, z:
z
y
z
x
y
(x,y,z)
x
[The large dot in the center of this cube is only there to mark the coordinate (x, y, z) it
doesnt mean anything else.] We take this region to be filled with a vector field F~ . To begin,
we want to compute the flux of F~ over this cube. Lets look at the flux over just the z faces
(the top and bottom):
z =
~
F~ dA
"
"
z Fz
z Fz
' xy Fz (x, y, z) +
xy Fz (x, y, z)
2 z
2 z
Fz
.
' xyz
z
Repeating this exercise to find the fluxes through the other four sides, we find
Fx
x
Fy
' xyz
.
y
x ' xyz
y
35
div F~ = lim
On the last line, weve taken advantage of the fact that we can think of the gradient operator
as a vector. In Cartesian coordinates, the divergence is nothing more than combination of
derivatives one finds by taking the dot product of this operator with a vector field. It should
be strongly emphasized at this point, however, that this only works in Cartesian coordinates.
In spherical coordinates or cylindrical coordinates, the divergence is not just given by a dot
product like this!
4.2.1
In Lecture 2, we worked out the electric field associated with a sphere of radius a containing
uniform charge density :
4
~
r
r
ra
E(r)
=
3
4a3 /3
=
r
r>a.
r2
Recall that we found this by applying the integral form of Gausss law. Breaking it up into
Cartesian components, we have for r a
4
x
3
4
=
y
3
4
=
z ;
3
Ex =
Ey
Ez
for r > a,
Ex =
Ey =
Ez =
4a3 x/3
(x2 + y 2 + z 2 )3/2
4a3 y/3
(x2 + y 2 + z 2 )3/2
4a3 z/3
(x2 + y 2 + z 2 )3/2
so
~ E
~ = 4 + 4 + 4 = 4
3
3
3
exactly as advertised! The region r > a is a bit messier:
Ex
4a3 x/3
=
x
x (x2 + y 2 + z 2 )3/2
4a3
3x2
1
=
3
(x2 + y 2 + z 2 )3/2 (x2 + y 2 + z 2 )5/2
"
(1)
#
(2)
3
(x2 + y 2 + z 2 )3/2 (x2 + y 2 + z 2 )5/2
"
#
4a3
3
3
=
3
(x2 + y 2 + z 2 )3/2 (x2 + y 2 + z 2 )3/2
= 0.
"
(3)
(4)
(5)
Since there is no charge in the exterior region = 0 for r > a this is exactly what
~ E
~ should give.
4.3
The div and grad operations can be combined to make an equation that relates the potential
to the charge density :
div grad = 4 .
In Cartesian coordinates, this takes a very nice, simple form:
~ ()
~ = 4
or
2 = 4 .
~ and
The operator 2 is, in Cartesian coordinates, exactly whatd you expect taking
dotting it into itself:
2 =
2
2
2
+
+
.
x2 y 2 z 2
The equation 2 = 4 is called Poissons equation; the operator 2 is called the Laplacian.
37
For a two dimensional function (x, y), the Laplacian tells us about the average curvature
of the function. Lets look at a couple of examples. First, take a potential that is a bowl-like
paraboloid in the x y plane:
(x, y) =
a 2
x + y2 ,
4
2
1.5
1
0.5
0
-2
1
0
-1
-1
0
1
2 -2
38
4.4
Laplaces equation
1
0.5
0
-0.5
-1
-2
1
0
-1
-1
0
1
2 -2
4.5
Earnshaws Theorem
electrostatic fields. Any object that is in stable equilibrium must be at a minimum of its
potential energy. Since the potential energy of a charge in an electrostatic field is just
U = q, it follows that stable equilibrium requires a minimum in the electric potential. Such
a minimum just isnt possible when = 0 we must have 2 = 0. This result goes under
the name Earnshaws Theorem.
This means that any configuration make out of pure point charges cannot be stable. For
example, if we glue positive charges to the corners of a cube, it is impossible to stably hold
any kind of charge inside that cube:
All the forces cancel out on a charge at the exact center but, if we displace it just slightly
away from the center, it will rapidly fall out of equilibrium and come shooting out of the
cube. This result was very disturbing to scientists in the late 19th and early 20th centuries,
since it implied that atoms could not be stable the electron should fall into the proton after
a few microseconds. It wasnt until we developed an understanding of quantum mechanics
that the stability of matter made any sense.
4.6
The curl
We wrap up this lecture with the final instrument in our vector calculus arsenal. We begin
by thinking about the line integral of a vector field F~ around some closed loop C:
F~ d~s .
40
We now bridge the contour C with a new path B. Doing so we make two new loops C1
and C2 . C1 is built from an open loop C1o and the path B going upwards; C2 is built from
an open loop C2o and the path B going downwards:
C1
o
C2
B
B
o
C1
C2
Now, we manipulate the integral in a manner similar to what we did when we derived the
divergence:
=
=
C1
F~ d~s +
o
C1
=
=
F~ d~s +
o
C1o
C1
C2o
1 + 2 .
F~ d~s +
o
C2
F~ d~s +
F~ d~s +
F~ d~s
C2
F~ d~s +
F~ d~s +
Z
C2o
F~ (d~s)
F~ d~s
F~ d~s
F~ d~s
The key bit to this analysis is that when we cut a big contour in half, we end up with a
path going in one direction on the new bridging contour, and in the opposite direction on
the other side. Hence, everytime we do this, we get internal contours that cancel out, and
whats left is equivalent to the original big contour.
We now repeatedly break up the contour into lots of little bits:
I
F~ d~s =
big I
X
i=1 Ci
or
=
big
X
i .
i=1
41
F~ d~s ,
As we keep breaking the object up, we end up covering the area enclosed by the contour
with a grid of little circulation cells:
and so the total circulation must be proportional to the area that the contour encloses. We
thus define a vector called the curl of F~ :
curl F~ n
= lim
A0
F~ d~s
.
A
The area A is bounded by the contour C. The curl is thus circulation of F~ per unit A, in the
limit in which A goes to zero. Notice that the curl is a vector: it points in the direction n
which is normal to the surface. We define this direction with the right hand rule: curl your
right-hand fingers in the direction of Cs circulation, and your thumb defines n
.
As with the divergence, an important theorem is connected to the curl. We start with
its definition, and then do the breaking up into little bits:
=
F~ d~s =
=
=
=
=
big I
X
F~ d~s
i=1 Ci
H
big
X
Ai
i=1
big
X
i=1
big
X
i=1
I
A
Ci
F~ d~s
Ai
Ai curl F~ n
curl F~ (Ai n
)
~.
curl F~ dA
In words, the circulation of a vector field F~ over a closed contour C equals the flux of the
curl of F~ through the surface bounded by C. This rule is known as Stokes theorem.
~ We already know that
Suppose our vector field F~ is just an electrostatic field, E.
I
~ d~s = 0
E
for any contour C since the electric force is conservative. It follows from this that
~ =0
curl E
This is an important point, which is worth emphasizing: a good electrostatic field has no
curl.
42
4.7
Consider a square lying in a plane parallel to the y z plane, with sides y and z, centered
on the coordinate (x, y, z). This square is immersed in a vector field F~ . Using this square,
lets work out what the curl must be.
z
d
z
a
(x,y,z)
x
We approximate the integral along the 4 legs as follows:
#
"
z Fy
y
F~ d~s = Fy (x, y, z z/2)y ' Fy (x, y, z)
2 z
a
"
#
Z c
F
y
z
F~ d~s = Fz (x, y + y/2, z)z ' Fz (x, y, z) +
z
2 y
b
"
#
Z d
z Fy
~
F d~s = Fy (x, y, z + z/2)(y) ' Fy (x, y, z) +
y
2 z
c
#
"
Z a
F
y
z
z .
F~ d~s = Fz (x, y y/2, z)(z) ' Fz (x, y, z)
2 y
d
Z
abcd
F~ d~s =
Fz Fy
yz ,
y
z
F~ d~s
z,y0
zy
!
Fz Fy
=
.
y
z
lim
abcd
This is the x component of the curl because, by right-hand rule, that is the orientation of
the square.
43
If we repeat this exercise for squares oriented parallel to the x y planes and the x z
planes, we find
h
curl F~
curl F~
Fx Fz
z
x
!
Fy Fx
.
x
y
=
=
Theres a nice trick that we can use to work out these two components: we use cyclic
permutation to flip around the axes. This
means
we just cyclic the labels,
which
is equivalent
h
i
h
i
~
~
to rotating the axes around. To get curl F , take the answer for curl F , and permute
y
x
the coordinate indices: x becomes
y,
y
becomes
z,
z
becomes
x.
Do
it
one
more
time, and
h
i
~
youve got the answer for curl F .
z
Putting all of this together, we have
!
Fx Fz
Fy Fx
Fz Fy
x +
y +
z
y
z
z
x
x
y
~ F~ .
=
curl F~ =
Just as the divergence is nicely expressed using the gradient operator and the dot product,
the curl is nicely expressed using the gradient operator and the cross product.
4.8
Gausss theorem
F
dA
surface S
enclosing
volume V
~=
F~ dA
div F~ dV
4.8.2
Stokess law
curve C
bounding
surface S
F~ d~s =
~.
curl F~ dA
Gradient theorem
We only discussed this in detail for the electric potential, but the following rule holds for
any1 scalar function:
f (~b) f (~a) =
~b
~a
~ d~s .
f
grad f
point b
ds
curve C
point a
We will use these results many times as this course progresses.
Except for some really bizarre ones which we will never encounter in this class.
45