Docsity

Vector calculus so far, Lecture notes of Vector Analysis

Toggle sidebar
bg1
Scott Hughes 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 Summary: Vector calculus so far
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∂
∂x + ˆy∂
∂y + ˆz∂
∂z .
The first vector calculus operation we learned is the gradient. It converts the electric
potential into the electric field:
~
E=−grad φ
=−~
∇φ .
The second operation is the divergence, which relates the electric field to the charge density:
div ~
E= 4πρ .
Via Gauss’s theorem (also known as the divergence theorem), we can relate the flux of any
vector field ~
Fthrough a closed surface Sto the integral of the divergence of ~
Fover the
volume enclosed by S:
IS
~
F·d~
A=ZV
div ~
F dV .
This follows from the definition of the divergence:
div ~
F= lim
V→0HS~
F·d~
A
V.
34
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Vector calculus so far and more Lecture notes Vector Analysis in PDF only on Docsity!

Scott Hughes 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 Summary: Vector calculus so far

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 ˆ

∂x

  • ˆy

∂y

  • ˆz

∂z

The first vector calculus operation we learned is the gradient. It converts the electric

potential into the electric field:

E = −grad φ

∇φ.

The second operation is the divergence, which relates the electric field to the charge density:

div

E = 4πρ.

Via Gauss’s 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:

∮

S

F · d

A =

∫

V

div

F dV.

This follows from the definition of the divergence:

div

F = lim

V → 0

∮

S

F · d

A

V

4.2 Divergence in Cartesian coordinates

So far, we’ve 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:

(x,y,z)

x

y

z

∆

∆z

∆y

x

[The large dot in the center of this cube is only there to mark the coordinate (x, y, z) — it

doesn’t 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. Let’s look at the flux over just the z faces

(the top and bottom):

z

∫

top & bottom

F · d

A

' ∆x∆y [F z

(x, y, z + ∆z/2) − F z

(x, y, z − ∆z/2)].

Since the cube is taken to be very small (indeed, we will soon take the limit ∆x, ∆y, ∆z → 0),

we approximate the integral. Notice that the contribution from the bottom face (z − ∆z/2)

enters with a minus sign, consistent with that face pointing down.

Now, to evaluate the function under the integrand, we make a Taylor expansion about z:

z

' ∆x∆y

[

F

z

(x, y, z) +

∆z

∂F

z

∂z

]

− ∆x∆y

[

F

z

(x, y, z) −

∆z

∂F

z

∂z

]

' ∆x∆y∆z

∂F

z

∂z

Repeating this exercise to find the fluxes through the other four sides, we find

∆Φx ' ∆x∆y∆z

∂Fx

∂x

y

' ∆x∆y∆z

∂F

y

∂y

so

E =

πρ +

πρ +

πρ = 4πρ

exactly as advertised! The region r > a is a bit messier:

∂Ex

∂x

∂x

4 πρa

3

x/ 3

(x

2

  • y

2

  • z

2 )

3 / 2

4 πρa

3

[

(x

2

  • y

2

  • z

2 )

3 / 2

3 x

2

(x

2

  • y

2

  • z

2 )

5 / 2

]

Repeating for y and z components and adding, we have

E =

4 πρa

3

[

(x

2

  • y

2

  • z

2 )

3 / 2

3 x

2

  • 3y

2

  • 3z

2

(x

2

  • y

2

  • z

2 )

5 / 2

]

4 πρa

3

[

(x

2

  • y

2

  • z

2 )

3 / 2

(x

2

  • y

2

  • z

2 )

3 / 2

]

Since there is no charge in the exterior region — ρ = 0 for r > a — this is exactly what

E should give.

4.3 Laplacian operator and Poisson’s equation

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 πρ.

The operator ∇

2 is, in Cartesian coordinates, exactly what’d you expect taking

∇ and

dotting it into itself:

2

=

2

∂x

2

2

∂y

2

2

∂z

2

The equation ∇

2

φ = − 4 πρ is called Poisson’s equation; the operator ∇

2

is called the “Lapla-

cian”.

For a two dimensional function φ(x, y), the Laplacian tells us about the average curvature

of the function. Let’s look at a couple of examples. First, take a potential that is a bowl-like

paraboloid in the x − y plane:

φ(x, y) =

a

(

x

2

  • y

2

)

which has the appearance

0

1

2

0

1

2

0

1

2

0

1

For this function, ∇

2 φ = ∂

2 φ/∂x

2

  • ∂

2 φ/∂y

2 = a — the function has positive curvature

everywhere, reflected by the fact that the bowl-like function curls up everywhere. There is

a minimum at x = 0, y = 0.

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 isn’t possible when ρ = 0 — we must have ∇

2 φ = 0. This result goes under

the name Earnshaw’s 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 wasn’t 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:

C

This quantity is called the circulation Γ of

F :

∮

C

F · d~s.

We now bridge the contour C with a new path B. Doing so we make two new loops C 1

and C 2

. C

1

is built from an open loop C

o

1

and the path B going upwards; C 2

is built from

an open loop C

o

2

and the path B going downwards:

C

o

1

C

o

2

B

B

C

1

C

2

Now, we manipulate the integral in a manner similar to what we did when we derived the

divergence:

∫

C

o

1

F · d~s +

∫

C

o

2

F · d~s

∫

C

o

1

F · d~s +

∫

C

o

2

F · d~s +

∫

B

F · d~s +

∫

B

F · (−d~s)

( ∫

C

o

1

F · d~s +

∫

B

F · d~s

)

( ∫

C

o

2

F · d~s −

∫

B

F · d~s

)

∮

C 1

F · d~s +

∮

C 2

F · d~s

1

2

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

what’s left is equivalent to the original big contour.

We now repeatedly break up the contour into lots of little bits:

∮

C

F · d~s =

big ∑

i=

∮

C i

F · d~s ,

or

big ∑

i=

i

4.7 The curl in Cartesian coordinates

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,

let’s work out what the curl must be.

x

y

z

∆y

∆ z

(x,y,z)

a b

d c

We approximate the integral along the 4 legs as follows:

∫ b

a

F · d~s = F y

(x, y, z − ∆z/2)∆y '

[

F

y

(x, y, z) −

∆z

∂F

y

∂z

]

∆y

∫ c

b

F · d~s = F z

(x, y + ∆y/ 2 , z)∆z '

[

F

z

(x, y, z) +

∆y

∂F

z

∂y

]

∆z

∫ d

c

F · d~s = F y

(x, y, z + ∆z/2)(−∆y) ' −

[

F

y

(x, y, z) +

∆z

∂F

y

∂z

]

∆y

∫ a

d

F · d~s = F z

(x, y − ∆y/ 2 , z)(−∆z) ' −

[

F

z

(x, y, z) −

∆y

∂F

z

∂y

]

∆z.

Adding these together, we have

∮

abcd

F · d~s =

(

∂F

z

∂y

∂F

y

∂z

)

∆y∆z ,

which tells us that

[

curl

F

]

x

= lim

∆z,∆y→ 0

∮

abcd

F · d~s

∆z∆y

(

∂F

z

∂y

∂F

y

∂z

)

This is the x component of the curl because, by right-hand rule, that is the orientation of

the square.

If we repeat this exercise for squares oriented parallel to the x − y planes and the x − z

planes, we find

[

curl

F

]

y

(

∂F

x

∂z

∂F

z

∂x

)

[

curl

F

]

z

(

∂F

y

∂x

∂F

x

∂y

)

There’s 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

to rotating the axes around. To get

[

curl

F

]

y

, take the answer for

[

curl

F

]

x

, and permute

the coordinate indices: x becomes y, y becomes z, z becomes x. Do it one more time, and

you’ve got the answer for

[

curl

F

]

z

Putting all of this together, we have

curl

F =

(

∂F

z

∂y

∂F

y

∂z

)

x ˆ +

(

∂F

x

∂z

∂F

z

∂x

)

y ˆ +

(

∂F

y

∂x

∂F

x

∂y

)

ˆz

∇ ×

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 Wrap up and summary

That was a lot of math. Let’s summarize all of these results:

4.8.1 Gauss’s theorem

dA

F

surface S

enclosing

volume V

∮

S

F · d

A =

∫

V

div

F dV

The surface S is the boundary of the volume V.