0% found this document useful (0 votes)
63 views

Continuity, Conservation, Stokes, and Maxwell

1. The continuity equation describes the conservation of an energy-like quantity ρ for waves or fields described by equations like the wave equation or Schrodinger equation. 2. Integrating ρ over a volume and using the divergence theorem shows that the total energy E is conserved, with changes in E equal only to energy flux across the boundary. 3. Similarly for the Schrodinger equation, defining ρ and J in terms of the wavefunction ψ yields a continuity equation, implying conservation of the integral of ρ.

Uploaded by

Shahil Azmayish
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Continuity, Conservation, Stokes, and Maxwell

1. The continuity equation describes the conservation of an energy-like quantity ρ for waves or fields described by equations like the wave equation or Schrodinger equation. 2. Integrating ρ over a volume and using the divergence theorem shows that the total energy E is conserved, with changes in E equal only to energy flux across the boundary. 3. Similarly for the Schrodinger equation, defining ρ and J in terms of the wavefunction ψ yields a continuity equation, implying conservation of the integral of ρ.

Uploaded by

Shahil Azmayish
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Continuity, conservation, Stokes, and Maxwell

November 21, 2019

1 The continuity equation


Suppose the wave equation is satisfied by a displacement from equilibrium ψ

1 ∂2ψ
− + ∇2 ψ = 0
c2 ∂t2
in a medium of density µ, and consider the definitions
" 2 #
µ ∂ψ 2
ρ = + c ∇ψ · ∇ψ
2 ∂t
∂ψ
J = −µc2 ∇ψ
∂t
These have units of
 2
∂ψ
[ρ] = [µ]
∂t
kg m2
=
m3 s2
E
=
m3
which we may think of as energy density and
 
  ∂ψ
[J] = [µ] c2 [∇ψ]
∂t
kg m2 m m
=
m3 s2 s m
Ec
=
m3
E
=
m2 s
which an energy flux (energy per unit area per second).
Then (magically),

∂ψ ∂ 2 ψ
 
∂ρ 2 ∂ψ
= µ + µc ∇ψ · ∇
∂t ∂t ∂t2 ∂t
 
∂ψ ∂ψ
∇·J = −µc2 ∇ · ∇ψ − µc2 ∇ · ∇ψ
∂t ∂t

1
If we add these together,

∂ψ ∂ 2 ψ
     
∂ρ 2 ∂ψ
 2 ∂ψ  ∂ψ
+∇·J = µ + µc ∇ψ· ∇
  − µc ∇  ·
∇ψ − µc2 ∇ · ∇ψ
∂t ∂t ∂t2   ∂t    ∂t ∂t
1 ∂2ψ
 
∂ψ
= −µc2 − 2 2 + ∇2 ψ
∂t c ∂t
= 0

where we use the wave equation in the last step.


There is a systematic way to find quantities for which this equation holds, but it depends on the La-
grangian, which we will not look into now. However, the continuity equation
∂ρ
+∇·J = 0 (1)
∂t
is important because it tells us we have a conserved quantity.

1.1 Conservation of energy


In the example above, the units are chosen to correspond to conservation of energy. To see that the total
energy actually is conserved, we integrate the energy density over a volume V and use the divergence theorem.
Let ˆ
E = ρd3 x
V

Then the time derivative of E is


ˆ
dE d
= ρ (x, t) d3 x
dt dt
V
ˆ
∂ρ 3
= d x
∂t
V

Using the continuity equation, Eq.(1), this becomes


ˆ
dE
= − ∇ · Jd3 x
dt
V

Now, recall that the divergence theorem tells us that the volume integral of a divergence of a vector field
equals the flux of that vector field across the boundary,
ˆ ˛
∇ · vd3 x = n̂ · vd2 x
V S

Here V is any volume and S is the closed boundary of that volume; n̂ is the unit outward normal to S, so
that at any point on the boundary, n̂ · v is the part of v crossing the boundary.
Returning to the time rate of change of E and applying the divergence theorem,
˛
dE
= − n̂ · Jd2 x
dt
S

This means that the only change in energy E in the volume V is that decrease due to a flow of energy
outward across the boundary of the region. If no energy crosses the boundary (or the boundary is taken at
infinity) then energy is conserved.

2
1.2 Probability and the Schrödinger equation
This sort of conservation law applies to most field theories. For example, starting with the Schrödinger
equation,
~2 2 ∂ψ
− ∇ ψ + V ψ = i~
2m ∂t
we multiply by the complex conjugate of the wave function, ψ ∗ ,
~2 ∗ 2 ∂ψ
− ψ ∇ ψ + V ψ ∗ ψ = i~ψ ∗
2m ∂t
Now take the complex conjugate of the whole equation,
~2 ∂ψ ∗
− ψ∇2 ψ ∗ + V ψψ ∗ = −i~ψ
2m ∂t
These must both be true. Now subtract the two equations,
~2 ∂ψ ∗
 
∂ψ
ψ ∗ ∇2 ψ − ψ∇2 ψ ∗ = i~ ψ ∗

− +ψ (2)
2m ∂t ∂t
Exercise: Show that
ψ ∗ ∇2 ψ − ψ∇2 ψ ∗ = ∇ · (ψ∇ψ ∗ − ψ ∗ ∇ψ)
and that
∂ψ ∂ψ ∗ ∂
ψ∗ +ψ = (ψψ ∗ )
∂t ∂t ∂t

Rewriting Eq.(2) with the results of the exercise,


~2 ∂
− ∇ · (ψ∇ψ ∗ − ψ ∗ ∇ψ) = i~ (ψψ ∗ )
2m ∂t
we define
ρ ≡ ψ∗ ψ
i~
J = (ψ ∗ ∇ψ − ψ∇ψ ∗ )
2m
Then after we cancel an overall factor of i~, the equation takes the form of the continuity equation,
∂ρ
+∇·J = 0
∂t
From this form, we immediately know that the integral of ρ is a conserved quantity,
ˆ ˛
 
d 
ψ ∗ ψd3 x = − n̂ · Jd2 x
dt
V S

In quantum mechanics, ψ ψ is given the interpretation of a probability density, and its integral is the proba-
bility of finding the particle in the volume V . The current J is a probability flux, giving the flow of probability
from one place to another. If we take V to be all space, so that no current can flow out, the probability of
finding the particle must be 1. Therefore, we normalize the wave function so that its integral over all space
is 1, ˆ
ψ ∗ ψd3 x = 1
V
and this quantity must be conserved.

3
1.3 Conservation of electric charge
We will look at Maxwell’s equations in more detail shortly. In particular, we will show that it is a consequence
of Maxwell’s equations that the electric charge density ρ and the current density J satisfy the continuity
equation. Therefore, total electric charge is conserved, and the charge in any volume V changes only if
current flows across the boundary of V .

2 The cross product, the curl, and Stokes’ theorem


2.1 Cross product
We have used the dot product to form a scalar from two vectors. The cross product is another geometrically
significant way to combine a pair of vectors, this time to get a third vector. The cross product is an oriented
area. Given any two vectors, we may form a parallelogram by placing the tail of one of the vectors to the
tip of the other.

u x v = Area of
v parallelogram

Direction
perpendicular
to xy plane
q (right hand rule)

j
u
x

The two vectors shown lie in the xy-plane. The area of the parallelogram is the base times the height,
which we may take as the projection of →−
v perpendicular to →−u , times the length of →
−u . The direction is the
direction perpendicular to both, given by the right hand rule. Here it is the z-direction, so


u ×→

v = uv sin θ k̂

where θ is the angle between the two vectors.


To compute the cross product in terms of the components of → −u and →

v , rotate both vectors through an


angle −ϕ, so that the new vector u - call it ũ - lies along the x axis. Then the area of the parallelogram is
just the length of ũ, which is its x-component, ũ = ũx , times the component of ṽ perpendicular to ũ. This
is just ṽy , and since the area is the same before and after rotation,


u ×→ −
v = uv sin θ = ũx ṽy

4
But the components of ũ and ṽ are just found by rotation through the angle −ϕ between ũ and the x-axis,
    
ũx cos ϕ sin ϕ ux
=
0 − sin ϕ cos ϕ uy
 
ux cos ϕ + uy sin ϕ
=
−ux sin ϕ + uy cos ϕ
and
    
ṽx cos ϕ sin ϕ vx
=
ṽy − sin ϕ cos ϕ vy
 
vx cos ϕ + vy sin ϕ
=
−vx sin ϕ + vy cos ϕ
Therefore, we know that
ũx = ux cos ϕ + uy sin ϕ
ṽy = −vx sin ϕ + vy cos ϕ
and the condition that ũy = 0 shows that
−ux sin ϕ + uy cos ϕ = 0
We can also express the sine and cosine in terms of the original components,
ux
cos ϕ =
u
uy
sin ϕ =
u
where u2 = u2x + u2y .
Now we have

−u ×→ −
v = uv sin θ
= ũx ṽy
= (ux cos ϕ + uy sin ϕ) (−vx sin ϕ + vy cos ϕ)
= −vx ux cos ϕ sin ϕ + vy ux cos2 ϕ − vx uy sin ϕ sin ϕ + vy uy sin ϕ cos ϕ
= −vx ux cos ϕ sin ϕ + vy ux cos2 ϕ − vx uy sin2 ϕ + vy uy sin ϕ cos ϕ
ux uy u2 u2y uy ux
= −vx ux + vy ux x2 − vx uy 2 + vy uy
u u u u u u
1
−vx uy ux + vy ux ux − vx uy uy + ux vy u2y
2 2 2

=
u2
1
(−vx uy + vy ux ) u2x + (−vx uy + ux vy ) u2y

= 2
u
1
(−vx uy + vy ux ) u2x + u2y

= 2
u
= ux vy − uy vx
Therefore, the curl is


u ×→

v = (ux vy − uy vx ) k̂
We may carry out the same sort of calculation for all three components of a more general pair of vectors to
show that for arbitrary →

u and →

v , the cross product is given by


u ×→

v = (uy vz − uz vy ) ĵ + (uz vx − ux vy ) ĵ + (ux vy − uy vx ) k̂ (3)

5
2.2 The curl
An important variant of the cross product occurs if we replace the first vector with the gradient,
∂ ∂ ∂
∇ = î + ĵ + k̂
∂x ∂y ∂z

and let the derivatives act on the second vector. Let v (x) be a vector field with Cartesian components

v = vx î + vy ĵ + vz k̂

Then the curl of v is written as ∇ × v and substituting the gradient for →−


u in Eq.(3),
     
∂vz ∂vy ∂vx ∂vz ∂vy ∂vx
∇ × v = î − + ĵ − + k̂ −
∂y ∂z ∂z ∂x ∂x ∂y

2.3 Stokes’ theorem


The meaning of the curl is given by Stokes’ theorem.
Stokes’ theorem Let S be any 2-dimensional surface with closed boundary curve C, and let the normal
at any point of S be n̂. Then the integral of the normal component of the curl over S equals the line
integral of v around C:
¨ ˛
n̂ · (∇ × v) = v · dl
S C

Proof: We start with a small rectangular surface with sides a and b. We may choose our coordinates in any
way we please, so let the x and y directions be taken along the sides of the rectangle, with the normal
in the z-direction.

dl = - i dx
b (a,b)

dl = - j dy dl = j dy
S

dl = i dx a x

6
Then the surface integral of the curl is
¨ ¨   
∂vy (x, y) ∂vx (x, y) ∂vx ∂vy (x, y)
n̂ · (∇ × v) = k̂ · k̂ − −
∂x ∂y ∂y ∂x
S S
ˆa ˆb  
∂vy (x, y) ∂vx (x, y)
= dx −dy
∂x ∂y
0 0
ˆb ˆa ˆa ˆ
   b 
∂vy (x, y)  ∂vx (x, y) 
= dy  dx − dx  dy
∂x ∂y
0 0 0 0
ˆb ˆa
= dy (vy (a, y) − vy (0, y)) − dx (vx (x, b) − vx (x, 0))
0 0

and re-ordering the integrals progressively around the rectangle,

¨ ˆa ˆb ˆa ˆb
n̂ · (∇ × v) = dxvx (x, 0) + dyvy (a, y) − dxvx (x, b) − dyvy (0, y)
S 0 0 0 0

Now let dl be an infinitesimal vector along the counterclockwise boundary of the rectangle. That is, along
y = 0, dl = îdx, then along the side at x = a we have dl = ĵdy. Back across the top at y = b the displacement
is along dl = −îdx, and returning down the y axis to the origin dl = −ĵdy. The remaining integrals become

¨ ˆa ˆb ˆa ˆb
n̂ · (∇ × v) = dxvx (x, 0) + dyvy (a, y) − dxvx (x, b) − dyvy (0, y)
S 0 0 0 0
ˆa   ˆb   ˆa   ˆb  
= îdx · v (x, 0) dx + ĵdy · v (a, y) + −îdx · v (x, b) + −ĵdy · v (0, y)
0 0 0 0
ˆa ˆb ˆa ˆb
= dl · v (x, 0) dx + dl · v (a, y) + dl · v (x, b) + dl · v (0, y)
0 0 0 0
˛
= v · dl
boundary

To complete the proof, we cover a general surface S with infinitesimal rectangles and apply this result to
each one. Where the rectangles have sides in common, the counterclockwise paths cancel so the net effect a
line integral around the perimeter of the entire surface.
From Stokes’ theorem we see that the curl tells us how much the vector field v tends to circle around
any given closed curve.

3 Maxwell’s equations
We are now in a position to discuss the Maxwell equations for electromagnetism. Maxwell’s equations may be
written as either integral equations or differential equations. The two forms are connected by the divergence
theorem and Stokes’ theorem.

7
3.1 Gauss’s law
In integral form, the first equation expresses Gauss’s law that the integral of the electric field over any closed
surface is proportional to the total enclosed charge,

E · n̂ d2 x = 4πQenclosed

If we write the charge enclosed as a volume integral over the region inside the closed Gaussian surface,
˚
Qenclosed = ρ d3 x
V

and use the divergence theorem to write the surface integral as an integral over the same volume,
‹ ˚
2
E · n̂ d x = ∇ · E d3 x
V

then, combining the integrals, Gauss’s law becomes


˚
(∇ · E − 4πρ) d3 x = 0
V

Since this holds for any volume V we may take the limit as V approaches any point, and the integrand must
vanish at that point. Therefore,
∇·E = 4πρ (4)
is the differential form of Gauss’s law.

3.2 Gauss’s law for magnetism


The differential form for Gauss’s law for magnetism follows in exactly the same way, but since there are
no separate magnetic charges, the right side of the equation is zero. We immediately have the vanishing
divergence of the magnetic field,
∇·B = 0 (5)

3.3 Faraday’s law


Faraday’s law of magnetic induction states that a changing magnetic flux through a loop produces a potential
around the loop. Magnetic flux is given by the surface integral of the normal component,
¨
B · n̂ d2 x
S

while the potential around the loop (“electromotive force”) is given by the integral of the electric field around
the boundary C of S, so the law is
˛ ¨
1 d
E · dl = − B · n̂ d2 x
c dt
C S

The relative negative sign follows from Lenz’s law. Using Stokes theorem to write the electric integral as a
curl, ˛ ¨
E · dl = n̂ · (∇ × E) d2 x
C S

8
both the two integrals and the dot products with the normal combine,
¨  
1 ∂
n̂ · ∇ × E + B d2 x = 0
c ∂t
S

The surface is arbitrary, so we may shrink it to any point to find that the integrand must vanish. In fact,
since we may tip the surface in any direction at the point in question, the direction of the normal is also
arbitrary and we conclude that
1 ∂B
∇×E+ =0
c ∂t
at every point.

3.4 Ampère’s law


Ampère’s law states that the flux of a current through any surface equals the line integral of the magnetic
field around boundary of the surface. Maxwell noted the additional need for any time rate of change of
electric flux through the surface, so (including units) the integral form of Ampère’s law takes the form
¨ ˛ ¨
4π 2 1 d
J · n̂ d x = B · dl − E · n̂ d2 x
c c dt
S C S

Stokes’ theorem lets us write all three integrals as a single surface integral by setting
˛ ¨
B · dl = n̂ · (∇ × B) d2 x
C S

The combined equations all involve the normal component of a vector,


¨  
1 ∂E 4π
0 = n̂ · (∇ × B) − − J d2 x
c ∂t c
S

and once again, since we may orient the surface in any direction as we shrink it to any point, we get the
differential form of Ampère’s law,

1 ∂E 4π
∇×B− = J
c ∂t c

3.5 Maxwell’s equations


Collecting the differential forms, we have the full set of Maxwell equations,

∇·E = 4πρ (6)


∇·B = 0 (7)
1 ∂B
∇×E+ = 0 (8)
c ∂t
1 ∂E 4π
∇×B− = J (9)
c ∂t c
With one more result, we can show that the sources on the right hand side of Maxwell’s equations satisfy
the continuity equation. The result we need is

9
Exercise: Show that the divergence of a curl always vanishes,

∇ · (∇ × v) = 0

Exercise: Show that the curl of a gradient always vanishes,

∇ × ∇f = 0

Exercise: Add the time derivative of Eq.(6) to c times the divergence of Eq.(9) to show that ρ and J satisfy
the continuity equation. What is the conserved charge?

3.5.1 One more identity: the curl of a curl


When the sources vanish, the electric and magnetic fields satisfy wave equations. To see this we require one
further identity, involving the curl of a curl:

∇ × (∇ × v)

There are much easier ways to prove this once we have a bit more notation, but it is not too bad if we just
take it a step at a time. Let w be the curl of v,

w = ∇×v
     
∂vz ∂vy ∂vx ∂vz ∂vy ∂vx
= î − + ĵ − + k̂ −
∂y ∂z ∂z ∂x ∂x ∂y
so the components of w are
∂vz ∂vy
wx = −
∂y ∂z
∂vx ∂vz
wy = −
∂z ∂x
∂vy ∂vx
wz = −
∂x ∂y
Then

∇ × (∇ × v) = ∇×w
     
∂wz ∂wy ∂wx ∂wz ∂wy ∂wx
= î − + ĵ − + k̂ −
∂y ∂z ∂z ∂x ∂x ∂y
    
∂ ∂vy ∂vx ∂ ∂vx ∂vz
= î − − −
∂y ∂x ∂y ∂z ∂z ∂x
    
∂ ∂vz ∂vy ∂ ∂vy ∂vx
+ĵ − − −
∂z ∂y ∂z ∂x ∂x ∂y
    
∂ ∂vx ∂vz ∂ ∂vz ∂vy
+k̂ − − −
∂x ∂z ∂x ∂y ∂y ∂z
 2
∂ 2 vx ∂ 2 vx ∂ 2 vz

∂ vy
= î − − +
∂y∂x ∂y 2 ∂z 2 ∂z∂x
 2 2 2
∂ 2 vx

∂ vz ∂ vy ∂ vy
+ĵ − − +
∂z∂y ∂z 2 ∂x2 ∂x∂y
 2
∂ 2 vz ∂ 2 vz ∂ 2 vy

∂ vx
+k̂ − − +
∂x∂z ∂x2 ∂y 2 ∂y∂z

10
Within each component we replace the unmixed second derivatives with the Laplacian,
∂ 2 vx ∂ 2 vx ∂ 2 vx
− 2
− = − ∇ 2 vx
∂y ∂z 2 ∂x2
and similarly for the other two components. This gives
 2
∂ 2 vx ∂ 2 vz

∂ vy
∇ × (∇ × v) = î + + − ∇2 vx î
∂y∂x ∂x2 ∂z∂x
 2
∂ 2 vy ∂ 2 vx

∂ vz
+ĵ + + − ∇2 vy ĵ
∂z∂y ∂y 2 ∂x∂y
 2
∂ 2 vz ∂ 2 vy

∂ vx
+k̂ + + − ∇2 vz k̂
∂x∂z ∂z 2 ∂y∂z
The remaining terms all have a common derivative. Pulling it out, what remains is a divergence,
 
∂ ∂vx ∂vy ∂vz
∇ × (∇ × v) = î + + − ∇2 vx î
∂x ∂x ∂y ∂z
 
∂ ∂vx ∂vy ∂vz
+ĵ + + − ∇2 vy ĵ
∂y ∂x ∂y ∂z
 
∂ ∂vx ∂vy ∂vz
+k̂ + + − ∇2 vz k̂
∂z ∂x ∂y ∂z
We can recombine the gradient with the Laplacian terms combining as ∇2 v:
∇ × (∇ × v) = ∇ (∇ · v) − ∇2 v
Now we blink twice in amazement and smile.

3.6 Wave equations


Suppose we are in a region away from sources so that
ρ = 0
J = 0
Then Gauss’s law (6) and Ampère’s law (9) simplify to
∇·E = 0 (10)
1 ∂E
∇×B− = 0 (11)
c ∂t
Now look at the curl of Faraday’s law,
 
1 ∂B
∇× ∇×E+ = 0
c ∂t
Using our new identity,
 
2 1 ∂B
∇ (∇ · E) − ∇ E + ∇ × = 0
c ∂t
Interchanging the order of differentiation of the magnetic field, we can replace ∇ × B using Eq.(11). Then,
dropping ∇ · E we see that the electric field satisfies the wave equation,
1 ∂E
− + ∇2 E = 0
c2 ∂t
Exercise: Show that the magnetic field satisfies the wave equation.

11
3.7 Electric and magnetic potentials
Two of Maxwell’s equations–Gauss’s law for magnetism, Eq.(7) and Faraday’s law, Eq.(8),

∇·B = 0
1 ∂B
∇×E+ = 0
c ∂t
allow us to define potentials. We have seen that the divergence of a curl vanishes, and there is a converse:
if the divergence of a vector field vanishes then (in a suitable region) the vector field may be written as the
curl of another vector. Therefore, Gauss’s law for magnetism implies the existence of another vector A such
that

B = ∇×A

The new vector A is called the vector potential. If we substitute this into Faraday’s law, the entire law
becomes a vanishing curl,
1 ∂
∇×E+ (∇ × A) = 0
c ∂t
 
1 ∂A
∇× E+ = 0
c ∂t
´
Recall that potential energy V = − F · dx exists when the integral for the work
ˆ
W = F · dx

is independent of path. Path independence means that if we go up any one path and back another we get
zero, so that ˛
F · dx = 0

for any closed curve. By Stokes’ theorem, this means that the curl of the force vanishes.
The situation is the same here. Because the curl of E + 1c ∂A
∂t vanishes, it may be written as the gradient
of a potential,
1 ∂A
E+ = −∇φ
c ∂t
Therefore, given the scalar and vector potentials φ and A, we may find both the electric and magnetic fields,
1 ∂A
E = −∇φ −
c ∂t
B = ∇×A (12)

3.8 Wave equations for the potentials


Now, if we use the source-free Gauss law, Eq.(10), the first of these becomes

0 = ∇·E 
1 ∂A
= ∇ · −∇φ −
c ∂t
1 ∂
= −∇2 φ − (∇ · A)
c ∂t

12
Reorganizing this into a wave equation by adding and subtracting a second time derivative, there is a bit
extra:
1 ∂2φ 2 1 ∂2φ 1 ∂
− + ∇ φ + + (∇ · A) = 0
c2 ∂t2 c2 ∂t
2 c ∂t
1 ∂2φ

1 ∂ 1 ∂φ
− 2 2 + ∇2 φ + +∇·A = 0 (13)
c ∂t c ∂t c ∂t
Before dealing with the extra terms, we consider a second equation. Substituting the potentials for the
fields in the source-free Ampère law,
1 ∂E
∇×B− = 0
 c ∂t
1 ∂ 1 ∂A
∇ × (∇ × A) − −∇φ − = 0
c ∂t c ∂t
1 ∂φ 1 ∂2A
∇ (∇ · A) − ∇2 A + ∇ + 2 2 = 0
c ∂t c ∂t
Once again, we have a wave equation plus extra terms
1 ∂2A
 
1 ∂φ
− 2 2 + ∇2 A − ∇ +∇·A = 0 (14)
c ∂t c ∂t

It would be very convenient if the extra term 1c ∂φ


∂t + ∇ · A, which occurs in both wave equations, were to
vanish. It turns out that we can require this, because there is some freedom in the choice of the scalar and
potential. This freedom is called gauge invariance.

3.9 Gauge invariance


The specification of φ and A is not unique. Given the expressions for the fields, Eqs.(12),
1 ∂A
E = −∇φ −
c ∂t
B = ∇×A
we notice that the magnetic field is unchanged if we add the gradient of any function to the vector potential,
because the curl of a gradient vanishes:
B = ∇ × A = ∇ × (A + ∇f )
Of course, such a change also changes the expression for the electric field,
1 ∂ (A + ∇f )
E0 = −∇φ −
c ∂t  
1 ∂A 1 ∂f
= −∇φ − −∇
c ∂t c ∂t
However, if we change φ at the same time by the time derivative of f , everything works out. That is, make
two replacements at once:
A ⇒ Ã = A + ∇f
1 ∂f
φ ⇒ φ̃ = φ − (15)
c ∂t
Together these leave the electric and magnetic fields unchanged. Eqs.(15) are called a gauge transformation.
Exercise: Substitute the gauge transformation, Eqs.(15) into the expressions for the fields, Eqs.(12), just
to check that the fields are unchanged.

13
3.10 Back to the wave equation
Using our freedom to choose the function f in the gauge transformation, we now ask if it is possible to choose
f so that
1 ∂ φ̃
+ ∇ · Ã = 0
c ∂t
Suppose we start with a potential and vector potential such that this expression does not vanish, but instead
gives some function, g
1 ∂φ
+∇·A=g
c ∂t
Now compute the same combination of derivatives in a different gauge choice,
 
1 ∂ φ̃ 1 ∂ 1 ∂f
+ ∇ · Ã = φ− + ∇ · (A + ∇f )
c ∂t c ∂t c ∂t
1 ∂φ 1 ∂2f
= − 2 2 + ∇ · A + ∇ · ∇f
c ∂t c ∂t 
1 ∂2f

1 ∂φ
= + ∇ · A − 2 2 + ∇2 f
c ∂t c ∂t
2
1 ∂ f
= g − 2 2 + ∇2 f
c ∂t
We would like to choose f so that this new expression vanishes. But we can, because it just involves solving

1 ∂2f
− + ∇2 f = −g
c2 ∂t2
This is just another wave
 equation
 with g as a source. Once we solve this, we may make a gauge transfor-
mation from (φ, A) to φ̃, Ã , and the new potentials will satisfy

1 ∂ φ̃
+ ∇ · Ã = 0 (16)
c ∂t
This choice is called the Lorentz gauge.
With the new potentials satisfying the Lorentz gauge condition, the wave equations, Eqs.(13) and (14)
reduce to

1 ∂ 2 φ̃
− + ∇2 φ̃ = 0
c2 ∂t2
1 ∂ 2 Ã
− 2 2 + ∇2 Ã = 0
c ∂t
Therefore, the potentials may be chosen to satisfy the wave equation.

3.11 Electromagnetic energy


In addition to conservation of charge, the Maxwell equations also imply conservation of energy and momen-
tum. To identify these, begin with Faraday and Ampère’s laws with vanishing current, J = 0,
1 ∂B
∇×E+ = 0
c ∂t
1 ∂E
∇×B− = 0
c ∂t

14
Consider the dot product of the electric field with Faraday’s law,
1 ∂E
E · (∇ × B) − E · = 0
c ∂t
and a similar expression from the dot product of the magnetic field with Ampère’s law,
1 ∂B
B · (∇ × E) + B · = 0
c ∂t
Subtracting,
 
1 ∂B 1 ∂E
B · (∇ × E) + B · − E · (∇ × B) − E · = 0
c ∂t c ∂t
1 ∂E 1 ∂B
E· B· + B · (∇ × E) − E · (∇ × B) = 0 (17)
c ∂t c ∂t
The first two terms may each be written as half the time derivative of E · E and B · B,
1 ∂E 1 ∂
E· = (E · E)
c ∂t 2c ∂t
1 ∂B 1 ∂
B· = (B · B)
c ∂t 2c ∂t
To simplify the remaining two terms, we need the triple product of three vectors, A · (B × C). The triple
product is the volume of a parallelepiped: the cross product gives the area of the base and the dot product
gives the height perpendicular to the base. Since we may regard any two of the vectors as defining the base,
we may cyclically permute the order of the vectors,
A · (B × C) = B · (C × A) = C · (A × B)
A similar result holds if one of the vectors is the gradient operator. Taking into account the sign because of
the odd permutation, we can show that
B · (∇ × E) − E · (∇ × B) = ∇ · (E × B)
Combining these results, Eq.(17) simplifies to
1 ∂
E2 + B2 + ∇ · (E × B) = 0

2c ∂t
and identifying
1
E2 + B2

u≡
2c
S≡E×B
we recognize the continuity equation,
∂u
+∇·S=0
∂t
1

The density u = 2c E2 + B2 is the energy density of an electromagnetic wave, while the Poynting
vector,
S=E×B
gives the energy flux (joules per square meter per second ) of an electromagnetic wave. The Poynting vector
points in the direction of propagation of the wave. The integral of the continuity equation shows that
ˆ
dE d
= u d3 x
dt dt
V
ˆ
= − n̂ · S d2 x
S

15
´
so that the total energy E = V
ud3 x in any volume V changes only by the Poynting flux out across the
boundary S of V .

16

You might also like