Everything
Everything
P. Campbell
(for use in conjunction with the teaching material on the PHYS20141 Blackboard area )
In this lecture series we bring together ideas introduced in PHYS10342 “Electricity and
Magnetism” and PHYS10372 “Mathematics 2” (and in your quantum mechanics and
relativity courses) and develop the formalism with which you can approach your future
problems in modern physics. Studying electromagnetism can be a mathematically in-
tensive pursuit. You already have foundations in some of the mathematics we will use
(vectors and polar coordinates), but other material (the -function and Laplace/Poisson
equation) are presented here initially and covered in more detail in the course on “Math-
ematics of waves and fields”, PHYS20171 (and MATH20401).
0 1
v1
v = v1 î + v2 ĵ + v3 k̂ ⌘ @ v2 A ⌘ (v1 , v2 , v3 ) . (1.1)
v3
2
1.1 Scalars and vectors 3
The use of vectors is common place in the study of electromagnetism. For example,
Coulomb’s law between two point charges is
1 q1 q2 q1 q2 r 1 r2
Force = ) F12 = . (1.12)
4⇡"0 r2 4⇡"0 |r1 r2 | 3
be a vector field.
X @vi 3
@vx @vy @vz
r·v = + + = . (1.15)
@x @y @z @xi
i=1
then
r · v = 2 > 0. (1.17)
If r · v > 0, one has the interpretation of a “source”, and if r · v < 0 then of a “sink”.
Vector fields with these properties are illustrated in figure 1.1.
1.2 Vector calculus 5
Fig. 1.1. On the left is a vector field with r · v > 0, for example v = xî + y ĵ, and on the left is
one with r · v < 0.
Fig. 1.2. The vector v = y î + xĵ which has a curl which is in the positive z-direction. which
would be out of the page.
î ĵ k̂
@ @ @
r⇥v = @x @y @z . (1.18)
vx vy vz
@2 @2 @2
r2 = + + , (1.20)
@x2 @y 2 @z 2
r2 v = r2 vx î + r2 vy ĵ + r2 vz k̂. (1.21)
(1.22)
1.2 Vector calculus 6
There are 3 important vector identities which we will use during the course
r⇥r = 0, (1.23)
r · (r ⇥ v) = 0, (1.24)
2
r ⇥ (r ⇥ v) = r(r · v) r v, (1.25)
which hold for all scalar fields and vector fields v. These are all easy to show in
component notation, for example
î ĵ k̂
@ @ @
r⇥r = @x @y @z
@ @ @
@x @y @z
✓ 2 ◆ ✓ ◆ ✓ ◆
@ @2 @2 @2 @2 @2
= î + ĵ + k̂
@y@z @z@y @z@x @x@z @x@y @y@x
= 0, (1.26)
if partial derivatives commute.
where dS = dS n̂ and n̂ is the outward facing normal vector of the surface S enclosing
the volume V as illustrated in the left-hand portion of figure 1.3.
Stokes’ theorem links the curl of a vector field through a surface and the integral of
the field around a loop enclosing the surface as illustrated in the right hand portion of
figure 1.3 ,
Z I
r ⇥ v · dS = v · d`. (1.29)
S L
The direction of the normal vector to the surface n̂, such that dS = n̂dS, is given by the
right-hand screw rule relative to the sense of the line integral. In this case, this means
that n̂ is into the page.
1.2 Vector calculus 7
V S
n̂
Fig. 1.3. On the left is an illustration of the situation used in the divergence theorem: volume V ,
closed surface S enclosing V and the outward facing normal n̂. On the right is that for Stokes’
theorem: a closed surface, S, and bounding loop, L. For this direction of the loop, the right-hand
screw rule implies that the normal, n̂ is into the page.
then
@ 1@ ˆ @
r =r̂ + ✓+ ẑ, (1.35)
@r r @✓ @z
1 @ 1 @v✓ @vz
r·v = (rvr ) + + , (1.36)
r @r
✓ r◆@✓ ✓ @z ◆ ✓ ◆
1 @vz @v✓ @vr @vz ˆ 1 @rv✓ @vr
r⇥v = r̂ + ✓+ ẑ,
r @✓ @z @z @r r @r @✓
✓ ◆ 2 2
1 @ @ 1 @ @
r2 = r + 2 2 + . (1.37)
r @r @r r @✓ @z 2
The volume element becomes
dV = rdrd✓dz. (1.38)
(x a) = 0 unless x = a. (1.45)
and
Z 1
(x a)f (x) dx = f (a), (1.46)
1
Formally, the value of (x a) at x = a is infinite such that the above integral is finite.
In 3 dimensions, the -function is
(3)
(r a) = (x a1 ) (y a2 ) (z a3 ). (1.48)
r2 f = 4⇡g, (1.52)
and Laplace’s equation is that with g = 0. They are relevant to problems involving
potentials for example in electromagnetism and gravity.
1.4 Laplace’s & Poisson’s Equations 10
4
!=1
3.5
! = 0.3
3 ! = 0.1
2.5
f(x)
2
1.5
1
0.5
0
-4 -2 0 2 4
x
Fig. 1.4. The Gaussian function for = 1.0, 0.3 and 0.1. Notice that the area under the curve
remains the same, but the function becomes more and more peaked at x = 0 as ! 0.
If the scalar field f only depends on r, then we say that f is spherically symmetric.
Thus, Laplace’s equation for a spherically symmetric scalar field f = f (r) is
✓ ◆
1 d 2 df
r = 0, (1.53)
r2 dr dr
which is integrated once to give
df
r2 = A, (1.54)
dr
and twice to give
A
f =B , (1.55)
r
where A, B are constants. If one has the condition that f (r = 1) = 0 then B = 0, so
that
A
f (r) = . (1.56)
r
A potential of this form gives rise to a 1/r2 force-law.
1.4 Laplace’s & Poisson’s Equations 11
where the first equality comes from the divergence theorem. Now, h = 0 on S, and
hence,
Z
|rh|2 dV = 0. (1.60)
V
P. Campbell
(for use in conjunction with the teaching material on the PHYS20141 Blackboard area)
Maxwell’s equations are the governing set of equations for electromagnetism. They de-
scribe how electric and magnetic fields are linked, and how they are generated. Histor-
ically, they were deduced empirically. In this section we will derive the equations and
discuss some of the applications to vacuum situations.
We note that the charge density is a scalar field and the current density is a vector
field and both can be defined at any point in space and time. The current, I, is a flux
through a surface and is, as such, not a vector. It can only be postive or negative (or
zero) but can however be thought of as having a direction – this direction is specified by
the orientation of the lower dimensional surface, eg. a wire, through which the current
flows.
2
2.1 Currents the continuity equation 3
dA = n̂dA
The conservation of charge implies that the rate of loss of charge through a surface is
given by the current, that is, Q̇ = −I. Hence, we find that
! ! !
ρ̇ dV = Q̇ = − j · dS = − ∇ · j dV, (2.3)
V S V
where the final equality follows from the divergence theorem. Therefore
!
{ρ̇ + ∇ · j} dV = 0, (2.4)
V
and, as this must hold over any volume V , the integrand itself must be zero,
ρ̇ + ∇ · j = 0. (2.5)
This is the continuity equation.
Now consider a current through a surface, as illustrated in Figure 2.1. One can define
a velocity field v such that j = ρv which corresponds to the local velocity of the positive
charge carriers. Hence,
! ! ! !
I = dI = j · dS = ρv · n̂dS = −nevdrift dS, (2.6)
where vdrift = −v · n̂ is the electron drift velocity through the surface [ms−1 ], n" is the
number density [m−3 ], e is the charge on the electron (e = 1.6 × 10−19 C) and dS is
the area of the surface [m2 ]. The minus sign arises as the current is defined to be in
the direction of the +ve charge carriers and the electron drift velocity is in the opposite
direction.
2.2 Integral forms of Maxwell’s equations 4
The force per unit charge carries units [NC−1 ], and is computed via the Lorentz force
law,
f = E + v × B. (2.9)
The electromagnetic energy density has units [Jm−3 ] and in vacuum is
1 1
u = ε0 |E|2 + |B|2 , (2.10)
2 2µ0
and thus the total electromagnetic energy in a volume V is
!
Utot = u dV, (2.11)
V
whose unit is [J]. The electromotive force is the integrated component of the electric field
along a line,
!
E = E · d!, (2.12)
As with the case of the continuity equation, this integral must hold over any integration
volume V , and therefore its integrand must be zero, meaning that
1
∇·E= ρ, (2.16)
ε0
which is the differential form of Gauss’ law.
Using identical arguments to those used in the case of Gauss’ law one derives that
∇·B = 0 which must be true for every magnetic field, both static and time-varying. A
consequence of this relationship is that magnetic field lines never start (or end) anywhere:
there are no “sources” or “sinks” of magnetic field; they must either be closed, or infinite.
2.2 Integral forms of Maxwell’s equations 6
Using similar arguments as for Gauss’s law, but this time asserting that this must be
true for all surfaces, one can deduce the differential form of the Faraday-Lenz law
∇ × E + Ḃ = 0 . (2.20)
The constant of proportionality, µ0 , known as the permeability of free space, defines the
strength of magnetic field for a given current, in the same way that the permittivity of
free space defines the strength of electric field for a given charge. Using Stokes’ theorem
and the same argument used in the previous section, one can deduce the differential form
of Ampère’s law
∇ × B = µ0 j . (2.22)
Ampère’s law has been experimentally tested in many situations. However, it has an
important limitation. If one take the divergence of each side the differential equation,
one finds that ∇ · j = 0 since ∇ · ∇ × B = 0, therefore, for consistency with the continuity
equation we require ρ̇ = 0, that is, Ampère’s law only applies in situations where the
charge density is time independent.
2.2 Integral forms of Maxwell’s equations 7
Maxwell realised that one must introduce an extra term into Ampère’s law to ame-
liorate this problem. He thought of Ampère’s law as holding for some effective current
which is
jeff = j + jdisp (2.23)
= j + ε0 Ė, (2.24)
and the extra current, jdisp whose form can be deduced simply from Gauss’ law, was
termed the displacement current. Therefore, the integral form of the Ampère-Maxwell
law is given by
% ! ' (
B · d! = µ0 j + ε0 Ė · dS. (2.25)
L S
from which we can see that magnetic fields can be created by both a current, or a
time-varying electric field. The differential form
∇ × B − µ0 ε0 Ė = µ0 j, (2.26)
can be deduce by now familiar arguments.
2.2.6 Summary
The integral forms of Maxwells equations are
1
! !
E · dS = ρ dV, (2.27a)
S ε0 V
!
B · dS = 0, (2.27b)
S
d
E = − ΦB , (2.27c)
dt
% ! ' (
B · d! = µ0 j + ε0 Ė · dS. (2.27d)
L S
2.2 Integral forms of Maxwell’s equations 8
∇ · B = 0, (2.28b)
∇ × E + Ḃ = 0, (2.28c)
∇ × B − µ0 ε0 Ė = µ0 j. (2.28d)
Maxwell’s equations govern how electric and magnetic fields are sourced by charge and
current density and how they interact with each other. The two fields are infact the same
phenomenon, but for the moment it useful to note a few points:
• There are two sourceless equations ∇·B = 0 and ∇×E+ Ḃ = 0 and 2 sourced equations
∇ · E = ε10 ρ and ∇ × B − µ0 ε0 Ė = µ0 j which define how electric and magnetic fields
are created by charge and current densities.
• There are two equations which can be thought of as imposing spatial constraints on the
fields, ∇ · E = ε10 ρ and ∇ · B = 0, and two equations which govern the time evolution
of the fields Ḃ = −∇ × E and Ė = µ01"0 (∇ × B − µ0 j).
• One can derive the continuity equation from the Ampère-Maxwell law by taking the di-
vergence of both sides and substituting in Gauss’ law. This implies that the continuity
equation does not bring extra dynamical constraints on the theory.
• The measured values of ε0 = 8.854 × 10−12 F m−1 and µ0 = 4π × 10−7 H m−1 , give
µ0 ε0 = c−2 to high precision. Since one is computed from the magnitude of the
electric field created by a given charge and the other is the magnetic field created by a
particular current, there is little chance this is coincidental and instead points to some
deep connections between Maxwell’s law and relativity (which we will explore later).
2.2 Integral forms of Maxwell’s equations 9
Fig. 2.2. Schematic of the electric field in the regimes where (a) ∇ · E > 0 which could correspond
to the electric field around a positive charge, (b) ∇ · E = 0 an example of which could be the
field through a capacitor and (c) ∇ · E < 0 which could correspond to the field around a negative
charge.
∇·B=0 ∇ × B = µ0 j. (2.29b)
Note that E and B have decoupled and have no influence on each other. The first two
equations are those of electrostatics, and the second two are those of magnetostatics. The
fact that ∇ × E = 0 is often termed as E being irrotational. In addition, the continuity
equation implies that ∇ · j = 0 which implies that the current flow is incompressible.
Electric fields satisfy
Q
! !
E · dS = , E · d! = 0, (2.30)
S ε0 L
or alternatively the differential forms ∇ · E = ρ/ε0 and ∇ × E = 0. From these facts and
the patterns we expect for different values of the divergence of a vector field (section 1),
we can deduce that electric field lines end on point charges. Various situations of interest
are shown in fig. 2.2.
Magnetic fields satisfy
! " !
B · d! = µ0 Ii B · dS = 0, (2.31)
L S
2.2 Integral forms of Maxwell’s equations 10
One can also substitute the expression for B into that for the magnetic flux, φB and
deduce that
# # #
φB = B · dS = ∇ × A · dS = A · d!. (2.37)
S S L
1 ρ(r! ) (r − r! )
#
E(r) = −∇φ = dV ! . (2.40)
4πε0 V |r − r! |3
The integral for the potential sums up the contributions of the infinitesimal charge dq =
ρdV ! at position r! in dV ! and weights it by the inverse distance between the point at
which one is computing the field, r, and the position r! . This is illustrated in Figure 2.4.
The integral for E performs a similar calculation but the weighting is the inverse square
distance and there is a vectorial sum of the field from all the points in the volume.
We can take the charge distribution to be a set of point charges. This is modelled by
a sum of delta-functions,
"
ρ(r) = qi δ (3) (r − ri ) , (2.41)
i
makes the electrostatic potential and electric field integrals straight-forward to evaluate.
2.3 Electostatics and magnetostatics 12
(r )
r-r
r
r
O
Fig. 2.4. Geometry for calculating the electric field at a point r due to a charge distribution which
is only non-zero inside some (shaded) volume. The integral (2.40) sweeps over the shaded region
picking up the value of the charge density at every location weighted by the inverse distance from
the point to r.
They are
1 " qi
φ(r) = , (2.43)
4πε0 |r − ri |
i
1 " qi
E(r) = ŝi (2.44)
4πε0
i
|r − ri |2
1 " qi (r − ri )
= 3 , (2.45)
4πε0 |r − r i |
i
where ŝi (si = r − ri ) is a unit vector from the location where the electric field is to be
evaluated, r, to the location ri of the ith charge (which has charge qi ).
Consider a system with two point charges. The electric field at r due to a point charge
q2 is given by
1 q2 (r − r2 )
E2 (r) = . (2.46)
4πε0 |r − r2 |3
This can be used to compute the force on charge 1 due to charge 2
q1 q2 r 1 − r 2
F12 = q1 E2 (r1 ) = = −F21 . (2.47)
4πε0 |r1 − r2 |3
Hence, we have shown that Coulomb’s law is a consequence of Maxwell’s equations in
the time independent limit.
2.3.2 Magnetostatics
In the time independent limit, the magnetic vector potential satisfies
∇2 A = −µ0 j, (2.48)
2.3 Electostatics and magnetostatics 13
d!1 = d!ẑ
I1 I2
Fig. 2.5. Two inifinite wire with current I1 and I2 flowing in the z-direction. If I1 and I2 are
both positive. there is an attractive force per unit length acting between the wires.
r1 r2
I2
d!2
I1
d!1
Since ẑ × θ̂ = −r̂, we deduce that, if I1 , I2 > 0, then there is a attractive force per unit
length of
dF12 µ0 I1 I2
= . (2.59)
d' 2πd
Now let us consider two general loops, as illustrated in Figure 2.6. The force on loop
1 due to the magnetic field from loop 2 is given by
!
F12 = I1 d!1 × B2 (r1 ), (2.60)
2.3 Electostatics and magnetostatics 15
We will compute the electric field by two methods. First via the potentials (i.e. calculate
φ and then find E = −∇φ), and then via Gauss’ law.
One can define the spherical polar coordinate system (r! , θ! , φ! ) so that the angles θ!
and φ! are measured relative to the vector r, that is, the north pole is chosen to be in
the direction of r. We can then compute the potential by
! ∞ ! π ! 2π
1 !2 ! ! ! ρ(r! )
φ(r) = r dr sin θ dθ dφ!
4πε0 0 0 0 (r2 + r!2 − 2rr! cos θ! )1/2
! ∞ ! π
1 ρ(r! )
= 2π r!2 dr! sin θ! dθ!
4πε0 0 0 (r2 + r!2 − 2rr! cos θ! )1/2
"# $1/2 %π
r2 + r!2 − 2rr! cos θ!
! ∞
1 !2 ! !
= r dr ρ(r )
2ε0 0 rr!
0
! ∞
1 ! ! !
# ! !
$
= dr r ρ(r ) r + r − |r − r |
2ε0 r 0
& ! r ! ∞ '
1 1 ! !2 ! ! ! !
= dr r ρ(r ) + dr r ρ(r ) , (2.66)
ε0 r 0 r
2.4 Calculating E and B fields 17
ẑ
r
(x, y, z)
θ̂
Fig. 2.7. The set-up used in the calculation of the magentic field due to an infinite current carrying
wire.
This is quite a lengthy and involved calculation. If we use Gauss’ law then we must
think a little about the symmetry of the situation, and choose a sensible’ Gaussian
surface over which to integrate. By symmetry we can deduce that E = Er r̂ and then
choose a spherical surface with radius r,
Q(r) 4π r ! !2 !
! !
2
E · dS = 4πr Er = = dr r ρ(r ), (2.68)
ε0 ε0 0
where Q(r) is the charge inside a sphere of radius, r. Therefore,
! r
1
Er = dr! r!2 ρ(r! ), (2.69)
ε0 r 2 0
which was arrived at through much simpler algebra.
of the magnetic field. We have a position vector inside the current distribution,
r! = (0, 0, z ! ), d! = (0, 0, 1)dz ! , (2.70)
where −∞ < z ! < +∞. The Biot-Savart law for this geometry becomes
µ0 I (0, 0, 1)dz ! × (x, y, z − z ! )
!
B(r) = (2.71)
4π (x2 + y 2 + (z − z ! )2 )3/2
! ∞
µ0 I dz !
= (−y, x, 0) 3/2
. (2.72)
4π −∞ (x2 + y 2 + (z − z ! )2 )
Therefore, via Ampère’s law, the magnetic field around a current carrying wire is in
obvious agreement with the magnetic field calculated via the Biot-Savart law.
Fig. 2.8. The set-up used in the calculation of the electric field due to a circular loop of charge.
and centre it at the origin. Adopting a cylindircal polar coordinate system, the charge
density, ρ(r! ) is zero except when r! = R and z ! = 0 and therefore it is given by
We will use a Cartesian system for r = (x, y, z) and a cylindrical coordinate system for
r! = (r! cos θ! , r! sin θ! , z ! ) and hence
2
|r − r! |2 = x2 + y 2 + r! − 2xr! cos θ! − 2yr! sin θ! + (z − z ! )2 . (2.79)
It is difficult to compute a closed form for the θ! -integral, but it can be done for points
on the axis of the loop, that is when x = y = 0 for which one obtains
0
λRz
E(x, y, z) = 0 . (2.82)
2ε0 (R2 + z 2 )3/2
1
2.5 Electric & magnetic dipoles 20
r! r
Fig. 2.9. The set-up used in calculating the electric field due to a localized distribution of charge
at some point r which is a long way distant from the charge.
Therefore, we see that in the far-field approximation, the potential/field due to an ex-
tended, but localized charge distribution looks like the potential/field of a point particle
whose charge is the integrated charge density,
!
Q = dV ρ(r). (2.85)
and using this one can compute the electric dipole moment,
!
$ / $0
dV ! r! − r q δ (3) r! − a − δ (3) r! + a
# # $ #
p(r) = (2.88)
= q [(a − r) − (−a − r)] = 2qa. (2.89)
Therefore, denoting d = 2|a| – the separation between the charges – we have
|p| = p = qd. (2.90)
For a typical molecular separation of 0.1 nm the magnitude of the electric dipole moment
is 1.6 × 10−29 C m.
The electrostatic potential due to these point charges, and the electric field are given
by
( )
q 1 1
φ(r) = − , (2.91)
4πε0 |r − a| |r + a|
( )
q r−a r+a
E(r) = 3
− . (2.92)
4πε0 |r − a| |r + a|3
Now,
*
|r − a| = r2 + a2 − 2r · a (2.93)
1
a 2 2r · a
= r 1+ 2 − 2 , (2.94)
r r
and, expanding as a Taylor series in a/r, which corresponds to finding the fields at a
distance from the dipole which is much greater than the separation between the charges
of the dipole, one can deduce that
1 1/ r·a 0 1 1 / r·a 0
= 1 + 2 + ··· , = 1 + 3 + · · · . (2.95)
|r − a| r r |r − a|3 r3 r2
Therefore, inserting these into the expressions for the electrostatic potential,
q 2 r·a / r·a 03
φ(r) = 1 + 2 + ··· − 1 − 2 + ··· (2.96)
4πε0 r r r
q p · r̂
≈ 2r · a = . (2.97)
4πε0 r3 4πε0 r2
Similarly for the electric field,
1
E(r) ≈ [3 (r̂ · p) r̂ − p] . (2.98)
4πε0 r3
As a simple example let us take a dipole aligned along the z-axis where the charges
are separated by d as illustrated in Figure 2.10, that is
d
a= (0, 0, 1), p = qd(0, 0, 1), (2.99)
2
2.5 Electric & magnetic dipoles 22
Fig. 2.10. Two charges (separated by a distance d) in the z-direction as used in the example of
an electric dipole.
and use
r̂ = (sin θ, 0, cos θ). (2.100)
This means that we are considering the plane y = 0.
One then can easily calculate that in the plane y = 0 we have
3 sin θ cos θ
qd cos θ qd
φ= 2
, E= 0 . (2.101)
4πε0 r 4πε0 r3 2
3 cos θ − 1
Note that for the dipole φ ∝ 1/r2 and E ∝ 1/r3 whereas for a point charge, φ ∝ 1/r
and E ∝ 1/r2 . This is because the total charge of the dipole is zero,
!
Q = dV ρ = 0, (2.102)
and hence the terms which are ∝ 1/r in φ and ∝ 1/r2 in E are zero.
One can perform similar calculations in the case of magnetic fields but it a little more
involved and hence we will just state the main results. The magnetic dipole moment is
I
4
# ! $
m(r) = r − r × d!, (2.103)
2
which can be used to show that
µ0 m × r̂ µ0 1
A(r) = , B(r) = [3 (r̂ · m) r̂ − m] . (2.104)
4π r2 4π r3
2.5 Electric & magnetic dipoles 23
Fig. 2.11. On the left is representation of the electric field lines due to two point charges and on
the right is the same for the magentic field lines created by a cricular loop carrying a current.
In both cases the field lines have the same dipolar pattern at long distances, but they are very
different near the sources.
For a simple closed loop, the amplitude of the magnetic dipole moment is the
current multiplied by the area of the loop and its direction is perpendicular to the
loop and the sense is given by the right-hand screw rule for the current.
2.6 Structure of Maxwell’s equations 24
where Ψ is an arbitrary scalar field, then the electric and magnetic fields are unchanged
implying that a family of solutions for φ and A exist. We can convince ourselves that
this is true for the electric field,
! " ! "
E! = −Ȧ! − ∇φ! = − Ȧ + ∇Ψ̇ − ∇ φ − Ψ̇ = −Ȧ − ∇φ = E, (2.113)
and one can perform a similar calculation for the magnetic field.
This is an example of gauge freedom, and it is “controlled” by imposing a condition
on φ and A that links them so that unique electric and magnetic fields are found. This
is called fixing the gauge and a popular choice is the Lorenz gauge†
1
φ̇ + ∇ · A = 0. (2.114)
c2
When φ is independent of time, this gauge condition becomes ∇ · A = 0, which is called
the Coulomb gauge.
Let us presume that the Lorenz gauge is not satisfied for some φ and A, then if we
perform a gauge transformation (2.112), we obtain
# $
1 ! ! 1 1 2
φ̇ + ∇ · A = 2 φ̇ + ∇ · A − Ψ̈ − ∇ Ψ . (2.115)
c2 c c2
If we now choose Ψ to be a solution of
1 1
2
Ψ̈ − ∇2 Ψ = 2 φ̇ + ∇ · A, (2.116)
c c
which is (in principle) a solvable wave equation since the RHS of the equation is just
a known forcing term, then it is always possible to find a Ψ so that the Lorenz gauge
condition is satisfied.
We define the electric and magnetic fields in terms of a scalar and vector field, according
to
B = ∇ × A, E = −Ȧ − ∇φ. (2.117)
We can now insert these into the sourced Maxwell equations, that is, Gauss’ law and the
Ampère-Maxwell law. To begin with, let us take Gauss’ law and replace the electric field
E with the scalar and magnetic potentials using (2.117)
! " ∂
∇ · E = −∇ · ∇φ + Ȧ = −∇2 φ − ∇ · Ȧ = −∇2 φ − ∇ · A. (2.118)
∂t
We can use the Lorenz gauge condition (2.114) to provide an expression for ∇ · A in
terms of φ̇, so that
1 ∂2φ 1
∇ · E = −∇2 φ + = ρ. (2.119)
c2 ∂t2 ε0
† This is not a spelling mistake: the Lorenz gauge and Lorentz transformation were invented by different people!
2.6 Structure of Maxwell’s equations 26
1 ∂2
!= − ∇2 , (2.121)
c2 ∂t2
which are two sourced wave equations. Therefore, we have shown that by introducing the
potentials φ and A, Maxwell’s equations become two sourced wave equations. The scalar
potential φ is sourced by the charge density ρ, and the vector potential A is sourced by
the current density j. Notice that the speed of these waves is c (the speed of light).
with the x and y coordinates remaining unchanged, and where the Lorentz factor γ is
defined as usual by
$−1/2
v2
#
γ= 1− 2 . (2.124)
c
2.6 Structure of Maxwell’s equations 27
By the chain rule we can compute the partial derivative operators in the “primed” frame
in terms of quantities in the “unprimed” frame,
# $
∂ ∂t ∂ ∂z ∂ ∂ ∂
= + = γ + v , (2.125a)
∂t! ∂t! ∂t ∂t! ∂z ∂t ∂z
# $
∂ ∂ v ∂
= γ + . (2.125b)
∂z ! ∂z c2 ∂t
We can combine these expressions to find, for example, how the wave operator (2.121)
transforms under a Lorentz transformation. The wave operator in the “primed” frame is
1 ∂2 ∂2
!! = −
c2 ∂t!2 ∂z !2
∂ 2 v ∂ 2
# $ # $
1 2 ∂ 2 ∂
= γ +v −γ +
c2 ∂t ∂z ∂z c2 ∂t
γ2 ∂2 ∂2 2
# 2
v ∂2 v2 ∂ 2
# $ $
2 ∂ 2 ∂
= + 2v +v −γ +2 2 +
c2 ∂t2 ∂t∂z ∂z 2 ∂z 2 c ∂z∂t c4 ∂t2
v2 ∂ 2 v2 ∂ 2
' # $ # $ (
2 1
= γ 1− 2 − 1− 2
c2 c ∂t2 c ∂z 2
1 ∂2 ∂2
= 2 2
− 2, (2.126)
c ∂t ∂z
that is,
!! = !, (2.127)
which means that the wave operator ! is invariant under Lorentz transformations.
Let us consider what information we can gain by performing a Lorentz transformation
on the conservation equation: if charge is conserved in one frame it is conserved in all
frames. This means that the conservation equation in the “primed” frame is still zero,
∂ρ!
+ ∇! · j! = 0, (2.128)
∂t!
and using (2.125) to express the derivative operators in terms of quantities in the un-
primed frame, this becomes
∂jx! ∂jy!
# $ # $
∂ ∂ ! ∂ v ∂
γ +v ρ + + +γ + j ! = 0. (2.129)
∂t ∂z ∂x ∂y ∂z c2 ∂t z
We now rearrange this,
and similarly,
This means that Maxwell’s equations are Lorentz invariant and hence one could say that
Maxwell “anticipated” Einstein’s discovery of Special Relativity.
' # $(
∂φ ∂Ay ∂Ay ∂Az
Ey! = −γ + +v − , (2.140b)
∂y ∂t ∂z ∂y
' (
∂φ ∂Az
Ez! = − + . (2.140c)
∂z ∂t
To be able to identify the terms on the right-hand-side of these expressions with the
2.6 Structure of Maxwell’s equations 30
electric and magnetic fields in the unprimed frame, we should remember that
∂Ay
∂Az
∂y − ∂z
B = ∇ × A = ∂A ∂Az
∂z − ∂x . (2.141)
x
∂Ay ∂Ax
∂x − ∂y
This enables us to realise, for example, that the term multiplying v in (2.140a) is By and
that the first two terms are Ex . Hence, we can deduce that
∂Ay v ∂φ v ∂Ay
γ( ∂A
∂y
z
− ∂z − c ∂y
2 − c ∂t
2 )
= γ( ∂A ∂Az v ∂Ax v ∂φ . (2.143)
− + + )
x
∂z ∂x c ∂t
2 c2 ∂x
∂Ay ∂Ax
∂x − ∂y
Equations (2.142) and (2.144) reveal that only the components of E and B in the plane
perpendicular to the Lorentz transformation are affected: Ez , Bz are unaffected.
(i) for a wire carrying a static line charge density λ, by using Gauss’ law the electric
field is
λ
E= r̂; (2.145)
2πε0 r
2.6 Structure of Maxwell’s equations 31
(ii) and for a line current, by using Ampère’s law, the magnetic field is
µ0 I
B=
θ̂. (2.146)
2πr
Now recall the Lorentz transformations of the electric (2.142) and magnetic (2.144) fields,
for a Lorentz boost along the ẑ-direction:
v
Ex! = γ(Ex − vBy ), Bx! = γ(Bx + E )
c2 y
(2.147a)
v
Ey! = γ(Ey + vBx ), By! = γ(By − E ),
c2 x
(2.147b)
Ez! = Ez , Bz! = Bz (2.147c)
Let us consider a physical system where we observe a charge-carrying-wire in the rest
frame of the wire, whose electric field (in Cartesian components) is
cos θ
λ
E= sin θ , B = 0. (2.148)
2πε0 r
0
Now we transform to a frame moving at speed v in the ẑ-direction, by using the Lorentz
transformations (2.147). For the moving observer, the fields around the wire become
cos θ
γλ λ!
E! = sin θ ≡ r̂, (2.149)
2πε0 r 2πε0 r
0
sin θ !
γλv ≡ µ0 I θ̂,
B! = − cos θ (2.150)
2πc2 ε0 r2 2πr
0
which implies that the charge and current densities in S !
λ! = λγ, I ! = −γvλ = −λ! v. (2.151)
This impies that a static observer sees a line charge density λ and no magnetic field,
while a moving observer sees both an electric field and a magnetic field. The wire is
Lorentz contracted, that is, lengths in the z-direction are reduced by L = L0 /γ. Since
the total charge remains constant λ = Q/L0 and hence λ! = Q/L. The magnetic field is
generated by a current I ! = −λ! v. These “new” charge and current densities also follow
from (2.133), where one can set jz = 0 and find ρ! , jz! .
Importantly, even at low velocities, where γ → 1, the “relativistic” effects are observed:
E! & E + v × B, (2.152)
! 2
B & B − (1/c ) v × E, (2.153)
!
j & j − ρv, (2.154)
ρ! & ρ − (1/c2 ) j · v. (2.155)
PHYS 20141 ELECTROMAGNETISM : 2021/22
P. Campbell
(for use in conjunction with the teaching material on the PHYS20141 Blackboard area)
So far we have studied Maxwells equations in a vacuum and we have solved for the
electric and magnetic fields in various simple configurations of charge and/or current. We
have seen that these calculations can become very difficult even for apparently simple
configurations – for example, the cases of the off-axis fields due to circular loops of
charge and current. One mole of a material contains 6 × 1023 atoms or molecules and
each contains positive (protons) and negative (electrons) charges in non-uniform charge
distributions which are often moving, creating currents. In this section of the course, we
will see that these charges can lead to complicated collective phenomena which, while
small at the atomic scale, can produce significant macroscopic effects. We will show how
these phenomena can be modelled within Maxwell’s equations.
3.1 Conductors
In a conductor a significant fraction of its electrons are “free to move” - these are the so
called conduction electrons. This means that the resistance, R, to the flow of a current is
very low and the corrreponding conductivity, σ, is very high. Ohm deduced an empirical
relationship linking the current I, voltage V and resistance, R,
1 1
!
I= V = E · d!. (3.1)
R R
We define the conductivity, σ, by
1
σdS = d!, (3.2)
R
where σ has units [Ω−1 m−1 ]. Substituting this relation into Ohm’s law and using the
definition of the current, this enables us to deduce a relationship between the electric
field, conductivity and current
j = σE, (3.3)
2
3.2 Method of images 3
charge + q
Fig. 3.1. Schematic setup for the method of images. A charge q sits a distance a above an earthed
conducting plane
which is the form of Ohm’s law which we can use in the context of Maxwell’s equations.
We will now use this expression for the current in the conservation equation, ρ̇+ ∇ ·j =
0, and Gauss’ law, ∇ · E = ε10 ρ, to show that
σ
ρ̇ + ∇ · j = ρ̇ + σ∇ · E = ρ̇ + ρ = 0. (3.4)
ε0
This equation can be integrated to give
charge −q, and one ignores the plane. Then, the potential due to this charge– anti-charge
pair is thus
# $
q 1 1
φ(r) = − (3.7)
4πε0 |r − a| |r + a|
% '
q 1 1
= & −& . (3.8)
4πε0 x2 + y 2 + (z − a)2 x2 + y 2 + (z + a)2
If we now set z = 0 in this expression,
φ(x, y, 0) = 0, (3.9)
which is exactly the boundary condition of the charge above the conducting plane. Hence,
the solution satisfies the boundary condition, and by the uniqueness theorem it is the
only solution.
The physical picture, for a positive charge +q, the conduction electrons in the slab are
attracted to the surface of the conductor and their overall effect is equivalent to a charge
−q at z = −a. (Infact there is a surface charge density induced which can be computed
using Gauss’ law.)
There is a force on the charge due to the “image charge”:
F = qEimage (r = a), (3.10)
where
q r+a
Eimage = − (3.11)
4πε0 |r + a|3
3.3 Capacitance, relative permittivity & dielectrics 5
+Q
−Q
Fig. 3.2. Parallel plate capacitor with the plates separated by a distance d which have been
charged by a power supply with potential difference ∆V . The electric field is in the z-direection
and will be directed from the positively charged plate to the negative.
Substance εr
Air (1atm) 1.00059
Air (100atm) 1.0548
Teflon 2.1
Polyethylene 2.25
Mylar 3.1
Glass 5 – 10
Water 80.4
Strontium Titanate 310
Table 3.1. Typical values of the relative permittivity (dielectric constant) for some
materials. Note that these values are dependent on enviromental properties such as
density, pressure and temperature.
3.4 Polarization
Polarization of a material object occurs when the constituents of the substance align in
some preferred direction associated with an electric field. To understand how the atoms
3.4 Polarization 7
+q F
Eext
F −q
where θ is the angle between the dipole and the external field. The torque on the dipole
is
If θ = 0 the energy due to the external field is minimized and the torque is zero. There-
fore, dipoles will attempt to rotate to align with the applied field to minimize the energy
and eliminate torque.
For a general dipole, the energy due to and torque on a dipole in an applied electric
field Eext are calculated via
The lowest energy state is acheived by setting p ∝ Eext which corresponds to a state
with zero torque.
Therefore, if an electric field is applied to a material, two things happen:
(i) intrinsic dipoles will align to minimize energy and eliminate torques;
(ii) atoms and molecules can be polarized, inducing a dipole moment.
We define a macroscopic vector field, the polarization, P, whose units are [Cm−2 ] to
represent the combined effect. The polarization vector can be computed from
P = np, (3.21)
where n is the number density of atoms or molecules and p is the average dipole moment
3.4 Polarization 8
due to the alignment of intrinsic dipoles and induced dipoles in the material. The polar-
ization of a material will in general be a function of the applied electric field, P ≡ P(E)
which is called a constitutive relation.
For a linear isotropic material we will take the constitutive relation to be
P = χE ε0 E. (3.22)
In index notation this reads
Pi = χ E ε 0 E i . (3.23)
The coefficient χE is the electric susceptibility, and determines the strength of the re-
sponse of the polarization properties of the material due to an applied electric field E.
This will be a property of the material and will be a function of environmental properties
of the material. We will see later that it is related to the dielectic constant, εr .
We can generalize (3.23) and introduce (a) anisotropic direction dependancies and (b)
non-linear responses. These complicated anisotropic non-linear responses can be encoded
in an expression of the form
3 3
(1) (2)
$ $
Pi = ε 0 χij Ej + ε0 χijk Ej Ek . (3.24)
j=1 j,k=1
(2) (1)
Taking the simple case where χijk = 0, if the matrix χij is diagonal and all entries are
equal then the material is isotropic then (3.23) is recovered. The off-diagonal terms
(1) (2)
in χij reflect anisotropic responses. The final term, χijk , is a tensor and contains
information about quadratic responses of the polarization vector to the applied electric
field. Including the anisotropic and non-linear responses will describe systems closer to
reality (for instance, if a substance is constructed from a regular lattice of atoms there
will be a natural set of preferred directions), but they will make the problem incredibly
complicated. For this reason we will focus on the linear isotropic response (3.23).
large number of atoms (∼ 6 × 1023 atoms per mole). These atoms will be arranged in
highly complicated structures within the substance. It may therefore seem a fruitless task
to attempt to construct a model for how a dielectric material will respond to an applied
electric field. However, we can use our intuition for the behaviour of a single dipole
to build simple theoretical pictures that will enable us to understand the macroscopic
behavior of a dielectric material in the presence of an applied electric field.
3.4.1.1 Alignment
When the atoms or molecules of a dielectric material have an intrinsic dipole moment,
pint , then in the absence of an externally applied electric field there is no energy penalty
in having the dipoles have random alignments. This is shown in Figure 3.4(a). However,
when an external electric field, Eext , is applied to the dielectric material there are large
energies associated with dipoles which have large angles between the dipole moment
and the electric field, which is what we calculated in (3.18). To reduce this energy the
dipoles collectively align with the applied electric field; this is shown in Figure 3.4(b).
The polarization that this induces can be calculated†, and is given by
np2int
Palign = Eext . (3.26)
3kB T
This formula is of the form (3.23), where the electric susceptibility χE is inversely pro-
portional to the temperature.
Note:
• The largest possible field in air is ≈ 106 Vm−1 , beyond which the molecules break
down. This threshold can be a little larger in dielectrics.
• The energy at this threshold electric field is ∆Uext = 2pEext ≈ 2×10−4 eV' Uthermal =
3 −2
2 kB T ≈ 4 × 10 eV, at room temperature. This means that complete alignment will
not take place even at the very largest electric fields possible. However, the fact that
there are so many atoms means that there will be an observable polarization even at
relatively low values of the electric field.
3.4.1.2 Induced
We will now consider a material that does not have any intrinsic dipoles. When an
electric field is applied to this material, the electron “cloud” around an atom will distort
relative to the “cloud” without an applied field. This will create a dipole from a given
atom because the negative electrons are shifted relative to the positive nucleus as shown
in Figure 3.5. These induced dipoles will then align with the applied electric field, in a
manner similar to that discussed in §3.4.1.1. This mechanism is sometimes called atomic
† Grant & Phillips p 62-64
3.4 Polarization 10
Fig. 3.4. Schematic of the distribution of intrinsic dipoles within a substance. In (a) there is
no applied external electric field and the dipoles have a “random” alignment. In (b) there is an
external electric field, which has the effect of aligning the intrinsic dipoles to reduce the energy
of the dipoles.
polarization. In Figure 3.6 we give a schematic showing how the induced polarization
generates a surface charge density due to an applied electric field.
We can calculate the induced dipole moment around a given atom due to some exter-
nally applied field Eext . If the external field causes an offset d for a distribution of radius
R0 , then
q2f
qEext = (3.27)
4πε0 d2
is the force due to the offset, with f ≈ d3 /R03 is the fractional charge offset. Hence,
is the induced dipole moment due to the offset, and therefore the polarization,
where
α ≡ 4πR03 (3.30)
3.4.1.3 Overall
The polarization response of a realistic dielectric material will be a combination of the
induced and alignment phenomena discussed above; which process dominates will be
different for different materials. The overall polarization response of a dielectric material
3.4 Polarization 11
Fig. 3.5. Schematic of how an electric dipole moment can be induced by applying an external
electric field.
Fig. 3.6. Schematic of the induced polarization mechanism. In (a) we show the distribution of
positive charges inside a medium, without applied electric field. In (b) an electric field has been
applied, which moves the charge distributions, and creates a net positive/negative surface charge
density. This is the collective behavior of the single case in Figure 3.5.
is given by
P = Palign + Pinduced
np2intrinsic
= Eext + nαε0 Eext
3kB T
p2int
" #
= ε0 n α + Eext , (3.31)
3kB T ε0
3.5 Electrostatics in dielectrics 12
+Q
d D Voltage, V
−Q
Fig. 3.8. Schematic of the behaviour of a dielectric between two parallel plates. In (a) there is no
applied field, and the intrinsic dipoles within the dielectric substance are randomly aligned. In
(b) we switch on the external field, by connecting the plates across a voltage source. This aligns
the dipoles.
εr − 1
σbottom = P · n̂bottom = + σplate . (3.54b)
εr
The energy of the capacitor is
1 1 Aεr ε0 1 1
!
U = CV 2 = (Ez d)2 = AdDz Ez = D · E dV, (3.55)
2 2 d 2 2
and we note that the expression for the energy of an electric field is modified in the
presence of a dielectric.
Figure 3.8 shows a schematic of what is actually happening inside the dielectric ma-
terial. Intrinsic dipoles have a random orientation before any applied field is switched
on. When we connect the plates to a battery (i.e. to a voltage supply) the electric field
between the plates causes the dipoles to align. At non-zero temperature this alignment
may only be partial with perhaps only a slight preponderance of dipoles aligned with the
field.
3.6 Interfaces between dielectrics 16
L
S
δ"
n̂ n̂
area δS
d d
(a) Surface S enclosing an interface (b) Loop L enclosing an interface
between dielectrics. between dielectrics.
Fig. 3.9. Interface between two different dielectrics (a) a volume with unit normals to the surface
S and (b) a loop of length δ% parallel to the boundary.
E(1)
Region 1 θ1
Region 2 θ2
E(2)
Fig. 3.10. An electric field across two regions of differing relative permitivitties.
B = µ0 N I. (3.64)
M = nm, (3.69)
where m = IAn̂ is the average magnetic dipole moment, and A is the area of the dipole
loop. In analogy with the dielectric case, if the magnetic dipole is in an external magnetic
field Bext , the energy and torque of the dipole is
and once again the (magnetic) dipoles will align to the applied (magnetic) field to reduce
the energy and eliminate torques.
We define the magnetic susceptibility χB , and for a linear isotropic medium the mag-
netization is given in terms of the magnetic field by
χB
M= B. (3.71)
µ0
• χB < 0 corresponds to diamagnetism – equivalent to induced polarization,
• χB > 0 corresponds to paramagnetism – equivalent to alignment polarization.
Note, we here follow the Grant & Phillips definition of magnetic susceptibility (page
184). We will also consider the possibility of a nonlinear response, M = M(B), of a
ferromagnet.
L = me rv. (3.74)
a dielectric the imposition of an external magnetic field Bext will create an alignment.
One finds that
nm2int
M= Bext . (3.83)
3kB T
This is paramagnetism.
Thus, the overall magnetic susceptibility due to diamagnetism and paramagnetism is
given by
# 2
Ze2 'r2 (
$
mint
χB = µ0 n − . (3.84)
3kB T 6me
The first term is the contribution due to alignment (i.e. paramagnetism) and the second
term is due to the induced field (i.e. diamagnetism).
3.10 Magnetostatics in a magnet 22
Hence,
H = N I. (3.95)
1−χB
Since from (3.88) we have H = µ0 B, then
µ0 N 2 πr2 $ dI
E =− , (3.96)
1 − χB dt
and the inductance,
E Lvac
L=− = , (3.97)
I˙ 1 − χB
which motivates us to define the relative permeability,
1
µr ≡ . (3.98)
1 − χB
The magnetic field and magnetic intensity vectors are thus linked via
B = µr µ0 H. (3.99)
3.12 Ferromagnetism
In the derivation of paramagnetism in Section 3.9, we implicitly assumed that the intrinsic
dipole moments did not interact with each other, which enabled us to write down
nm2intrinsic
M= Bext . (3.102)
3kB T
3.12 Ferromagnetism 24
In certain magnetic materials (such as iron, nickel and cobalt) interactions do occur and
can lead to the formation of “domains” of size 0.1-1mm, where in a given domain all
magnetic moments have the same alignment. This is ferromagnetism. For ferromagnets,
the linear expressions linking the magnetization, magnetic field and magnetic intensity
vectors (3.91, 3.99) are not applicable. In general however, the magnetization is some
function of the magnetic field, M = M(B) and the relative permeability is given by
1 ∂B
µr = . (3.103)
µ0 ∂H
Fig. 3.11. Formation of ferromagnetic domains via a phase transition. For high temperatures
relative to the Curie temperature, TC , the substance does not have any domains. As the temper-
ature is decreased domains nucleate and grow. Eventually, magnetic domains completely cover
the substance, where neighbouring domains meet at “domain walls”.
sush that
When the magnetization is constant there are no bound currents (∇ × M = 0), only
3.13 Ideal ferromagnets 26
Fig. 3.12. Sketch of the field lines around a ferromagnet. Notice that the surface of the ferro-
magnet looks as though there are a set of magnetic charges sourcing / sinking the magnetic field
lines.
jsurface = M × n̂. The equations of magnetostatics with no free current are given by the
now familiar formulae
∇ × H = 0, ∇ · H = −∇ · M = ρm . (3.108)
These should be compared with the equations of electrostatics, ∇ × E = 0, ∇ · E = ρ/ε0 ,
where we call ρm an effective magnetic charge. Notice that since the magnetization is
constant within an ideal ferromagnet, ∇ · M = 0; however, this does not mean that
ρm = 0 everywhere. On the surface of an ideal ferromagnet, ρm = −∇ · M (= 0. This
is in analogy with the induced surface charge density in conductors. In Figure 3.12 we
illustrate the H field lines pointing towards from the edges (n.b. the field could equally
well point away from the edges) of the region where M is a constant (i.e. from within
the ideal ferromagnet), inducing a surface magnetic charge density where ∇ · M (= 0.
Let us write H = −∇ψ, where ψ is a magnetic scalar potential. From (3.108) it im-
mediately follows that the magnetic scalar potential satisfies a Poisson equation, sourced
by the magnetic charge density,
∇2 ψ = −ρm = ∇ · M. (3.109)
The solution to this equation is
"
1 ∇r! · M(r$ )
ψ(r) = − dV $ . (3.110)
4π |r − r$ |
3.13 Ideal ferromagnets 27
2
B = µ0 (H + M) = µ0 M0 ẑ. (3.119b)
3
Hence, inside the magnetic sphere, the magnetization M increases, H drops and B
increases. Also note that B and H are anti-parallel, which is a generic feature of
ferromagnets. Recall that our calculation was for T = 0. For T > 0, a combination of
shape and anisotropy effects come into play making the problem much more complicated
and resulting in a non-linear response.
See Figure 3.13 for a sketch of the fields inside and outside the spherical ferromagnet.
Notice that the H-field is lower inside than the B-field, and points in the opposite
direction.
spins flip
O
H/Am−1
Fig. 3.14. Sketch of the behaviour of the magnetic intensity and field vectors as the current
surrounding a ferromagnet is increased. As the current is varied between O and A the energy
supplied by the current flips the domains; above A the magnetization has saturated with (ap-
proximately) all domains in the substance being aligned. The increase of the magnetic field is
now very slow.
We will need to imagine a ferromagnetic substance with a current carrying wire wound
around the substance. The wire will carry a current I, whose value we can control. Since
H = H(I), by controlling the current we are infact controlling the magnetic intensity
vector which will in turn affect the magnetic field.
When there is zero applied current, I = 0, the domains inside the ferromagnet are
randomly aligned so that there is no net magnetization, |M| ≈ 0. As the current is
increased the domains begin to flip due to the energy input from the current carrying
wire. The flip of the domains causes H to increase, causing an increase in the magnetic
field B = µr µ0 H and magnetization M ∝ B; typically, µr ≈ 1000. When the current is
increased, the magnetization will reach a maximum M = Mmax (i.e. saturate) when all
domains in the substance are aligned; the only way of increasing the magnetic field is by
a slow linear increase in H. In Figure 3.14 we show a sketch of the behaviour of B(H).
In Figure 3.15 we show a continuation of the sketch in Figure 3.14 where we now show
what happens if we reduce the current. In going from O → A the current is increased until
the saturation point. If we now reduce the current we travel along the curve A → B some
domains will flip back, but not alll, which will leave a remnant magnetization so that M
will remain significant. At B there is zero applied current, H = 0, and the magnetization
is permanent. If we now applied an opposite current, we travel along B → C, at which
point enough of the domains will have flipped to cancel out the magnetic field. This value
of H = HC is called the coercive field. Between C → D the domains all begin to flip in
3.14 Electromagnets and hysteresis 30
B/T saturation ↑
A
B
C
O F H/Am−1
saturation ↓
D
Fig. 3.15. Hysteresis. The remnant magnetic field is the value of B at B and the coercive field
is the value of H at C.
which is just the area under the hysteresis curve (which is non-zero).
PHYS 20141 ELECTROMAGNETISM : 2021/22
P. Campbell
(for use in conjunction with the teaching material on the PHYS20141 Blackboard area)
1 ∂2φ ∂2φ
− = 0. (4.1)
v 2 ∂t2 ∂x2
The solutions to this wave equation are of the form
2
4.1 Solutions to the wave equation in 1D 3
The first term is a “right moving” solution, and the second a “left moving” solution. For
example, if we take a “plane wave” ansatz
φ(x, t) = Aei(kx−ωt) + Bei(kx+ωt) , (4.3)
and substitute this into the wave equation we find that the ansatz should be subject to
the dispersion relation ω = vk. The phase of these waves is ϕ = kx − ωt, and hence parts
of the field with the same phase are those for whom ϕ = 2πn, where n ∈ Z. The phase
velocity is
ω
vp = , (4.4)
k
and the group velocity
∂ω
vg = . (4.5)
∂k
If φ is a real scalar field, the physical part of the solution is
Re(φ) = |A| cos (kx − ωt + arg A) . (4.6)
For example, if arg A = 0,
Re(φ) = A cos (kx − ωt) , (4.7)
or if arg A = ± π2 , then
! π"
Re(φ) = A cos kx − ωt ± = ∓A sin(kx − ωt). (4.8)
2
We have done this for the right-moving part, but the equivalent is also true for the
left-moving term (but in the opposite direction).
For notational clarity, in this section the Cartesian basis vectors are denoted x̂, ŷ, ẑ.
We use k̂ to denote the direction wavevector.
The wave equation in 3D is given by
1 ∂2φ
− ∇2 φ = 0, (4.9)
v 2 ∂t2
whose solutions are given by
φ = Aei(k·r−ωt) + Bei(k·r+ωt) . (4.10)
Notice that the wave-number k from the 1D case has been promoted to the wave-vector
k. If we set B = 0 for simplicity, then the solution reads
φ = Aei(k·r−ωt) = Aei(kx x+ky y+kz z−ωt) . (4.11)
We can calculate the spatial derivative of this solution:
∂φ
= ikx Aei(k·r−ωt) = ikx φ. (4.12)
∂x
4.2 Maxwell’s equations in free space & the electric wave equation 4
4.2 Maxwell’s equations in free space & the electric wave equation
In free space there are no charges or currents (i.e. ρ = 0, j = 0). Hence, Maxwell’s
equations in free space read
∇ · E = 0, ∇ · B = 0, (4.20a)
2
Ḃ = −∇ × E, Ė = c ∇ × B. (4.20b)
If we now take the time derivative of the last of these equations,
Ë = c2 ∇ × Ḃ = −c2 ∇ × (∇ × E) = −c2 ∇(∇ · E) − ∇2 E ,
# $
(4.21)
and by noting that ∇ · E = 0 in free space, this becomes
1
Ë − ∇2 E = 0, (4.22)
c2
4.2 Maxwell’s equations in free space & the electric wave equation 5
The last equality follows from the Faraday-Lenz law. After integrating it, we find
kE0
B= ŷ cos(kz − ωt), (4.33)
ω
ie. B0 = (kE0 /ω)ŷ. Hence, for the explicit example, E ∝ x̂ we find that B ∝ ŷ and
k ∝ ẑ.
The last equality follows from the Faraday-Lenz law. After integrating it, we find
kE0
B= ŷ cos(kz − ωt), (4.33)
ω
ie. B0 = (kE0 /ω)ŷ. Hence, for the explicit example, E ∝ x̂ we find that B ∝ ŷ and
k ∝ ẑ.
We can use the electric and magnetic fields which describe plane waves (4.29) to compute
the energy density. One finds
1 % & '(2 1 % & '(2
u = ε0 E02 Re ei(k·r−ωt+θ) + E 2
Re e i(k·r−ωt+θ)
2 2µ0 c2 0
% & '(2
= ε0 E02 Re ei(k·r−ωt+θ) . (4.46)
4.3 Poynting vector, intensity and radiation pressure 8
Notice that the contributions to u from the electric and magnetic fields are identical. We
can read off that the maximum energy density is
umax = ε0 E02 , (4.47)
and we can calculate that the average energy density is
1
%u& = ε0 E02 , (4.48)
2
as cos2 (k · r − ωt + θ) = 12 .
) *
In summary, we have calculated the rate of change of the total energy U̇ in the same
volume, and we have found that it is equal to the total flux of the vector N out of a
surface (in vacuum). Therefore we identify N as the energy flux through a surface.
In materials it is often useful to define the Poynting vector as,
N = E × H, (4.57)
which differs to the earlier definition if µr (= 1. The difference arises due to the presence
of currents (and energy loss to driving these currents). In the former definition the energy
expended driving all currents is considered. In the latter, E × H, the energy expended
on free currents alone is balanced by the flux.
Using the 4.54 definition we can insert a plane wave solution (4.29) into the Poynting
vector,
1 E0 × (k × E0 ) % & i(k·r−ωt+θ) '(2
N = E×B= Re e
µ0 ωµ0
E02
= k̂ cos2 (k · r − ωt + θ) , (4.58)
Z0
where Z0 is the impedance of free space (4.51). We note that the direction of wave
motion (i.e. k̂) is the same as that of N, so that the waves energy flux goes in the same
direction as the wavevector (which is not the case for the electric or magnetic fields). We
can read off the maximum value that the Poynting vector takes
E02
Nmax = , (4.59)
Z0
and again note that the units of Nmax are W m−2 . The irradiance (or intensity) is defined
to be the average of the Poynting vector,
E02
%N & = . (4.60)
2Z0
The momentum of a photon is p = U/c, and hence the momentum flux is %N & /c
[Nm−2 ], and this is the radiation pressure, Pr . At a boundary the radiation creates a
force, Fr , and the magnitude of this force depends on whether or not the radiation is
absorbed or reflected by the boundary:
∇ · E = 0, ∇ · B = 0, (4.63a)
Ḃ = −∇ × E, Ė = c2 (∇ × B − µ0 j) . (4.63b)
We can find the time derivative of the third Maxwell equation and substitute the fourth
for Ė to obtain
B̈ = −∇ × Ė = −c2 ∇ × (∇ × B − µ0 j) = c2 ∇2 B + µ0 ∇ × j ,
" #
(4.64)
that is,
1
B̈ − ∇2 B = µ0 ∇ × j. (4.65)
c2
In a similar fashion we can obtain
1 ∂j
2
Ë − ∇2 E = −µ0 . (4.66)
c ∂t
Equations (4.65) and (4.66) are two sourced wave equations (these should be compared
with (4.22, 4.23) which were the unsourced wave equations). We will concentrate on
computing the electric field, as the magnetic field can be calculated from the electric
field via Ḃ = −∇ × E.
To continue we will consider two physical cases. The cases are “modeled” by choosing
a particular dependence of the current upon the electric field.
4.4.1 Conductor
In a conductor obeying Ohm’s law, the current is linearly related to the electric field,
j = σE, (4.67)
When we insert this ansatz into the wave equation we find a modified dispersion
relation,
ω2
− − iµ0 σω = −k 2 . (4.70)
c2
Let us define
, -−1
µ0 σω σ & σ ' f
R= 2 2 = = 1.8 × 109 . (4.71)
ω /c 2πε0 f 108 Ω−1 m−1 1GHz
For most cases of interest R ) 1, which implies that
ω2
* µ0 σω, (4.72)
c2
so that
k 2 = iµ0 σω = eiπ/2 µ0 σω, (4.73)
and therefore,
√ 1 √
k = ±eiπ/4 µ0 σω = ± √ (1 + i) µ0 σω . (4.74)
2
Hence, substituting this back into the ansatz for a z-directed wave we obtain
!√ "
µ0 σω
i z−ωt
E = E0 e−z/δ e 2
, (4.75)
where we have defined the skin depth,
+
2
δ= . (4.76)
µ0 σω
This is the length scale over which the amplitude of an EM wave decays inside a con-
ductor. We can imagine a scenario where an EM waves comes from a vacuum, into a
conducting slab, and back out into a vacuum. The wave would look like an oscillatory
solution in the first a vacuum, a damped oscillatory solution in the conductor (with the
amplitude being reduced exponentially) and an oscillatory solution in the second vacuum
– the amplitude here is the final amplitude in the conductor; for a sketch of this situ-
ation see Figure 4.2. Notice that a good conductor will have a very high conductivity,
and therefore a very small skin depth: this means that electromagnetic waves will not
propagate very far into a good conductor.
The behaviour gives rise to the skin effect phenomenon apparent in conductors carrying
alternating current (AC), especially at high frequency. In all conductors the AC current
4.4 EM waves in the presence of a current 12
Fig. 4.2. Sketch of the behaviour of an electromagnetic wave inside a conductor. The EM wave
comes in from the left through free space, enters the conductor at the solid line. The conduc-
tivity within the medium causes the wave to become damped (we have sketched on the damping
envelope) so that by the time the wave leaves the conductor (at the dashed line) the amplitude
has decreased.
transport is non-uniformly distributed with the majority of the conduction only occurring
near the surface of the conductor. The thin conducting layer (referred to as the “skin”)
has a depth characterised by the skin depth, δ. In copper at 50 MHz this layer is only
∼ 10−5 m thick.
4.4.2 Plasma
A plasma is a state of matter which is partially ionised and electrons move under the
influence of the electric field, ignoring the much weaker magnetic field. Thus, the only
force acting on the electron is due to the electric field:
Fe = me r̈ = −eE, (4.77)
where the second equality follows from the Lorentz force law. Also, by the definition of
current density,
where ne is the electron number density in the plasma and me is the mass of the electron.
We can now use this expression in the wave equation for the electric field (4.66),
1 µ 0 e 2 ne
Ë + E = ∇2 E. (4.80)
c2 me
Substituting the ansatz (4.69) into the wave equation (4.80), we obtain the dispersion
relation
ω 2 µ 0 e 2 ne
− + = −k 2 . (4.81)
c2 me
This can be rearranged to obtain
.
ck = ± ω 2 − ωp2 , (4.82)
y=0
θR
θI
y E(R)
x E(I)
Fig. 4.3. Setup, definitions and coordinate system for reflection of an EM wave from a perfect
conductor.
where the wavevectors of the incident and reflected waves are given by
Thus, the waves have the same frequency, but change direction. The task is now to link
(R) (I)
θI and θR and the amplitudes Ei , Ei .
We must now impose boundary conditions. First, the phase must be continuous at
y = 0, which implies that k · r = k" · r at y = 0. Therefore,
which is the well known result that the angle of reflection is the same as the angle of
incidence. Secondly, E// = 0 at y = 0, because E// is continuous and there are no
electric fields inside a conductor. Thus, in the x-direction,
(I) (R) (I) (R)
−E1 cos θI + E1 cos θR = 0 ⇒ E1 = E1 , (4.88)
The interpretation of these results is that no energy is lost during reflection. Thus, the
total electric field is
(I)
−E1 cos θI [cos (k · r − ωt) − cos (k" · r − ωt)]
Etot = E(I) + E(R) = E1(I) sin θI [cos (k · r − ωt) + cos (k" · r − ωt)] ,
(I)
E2 [cos (k · r − ωt) − cos (k" · r − ωt)]
(4.90)
4.5 Reflection of EM waves from a perfect conductor 15
4.4(a).
The second interesting possibility is characterized by α = ±π/2 and E0,x = E0,y in
which case the two components are out of phase by ±π/2. The electric field vector is
given by
# $
E0,x
E = √ x̂ cos(kz − ωt) ∓ ŷ sin(kz − ωt) , (4.96)
2
at θ = 0. For the “+” solution the electric field has right circular polarization, and for
the “−” solution the electric field has left circular polarization. For example, if we take
α = −π/2 then the components of the electric field vector are
where ER = √1 E0,x . The electric field will then trace out a circle of radius ER going
2
4.6 Polarization of EM waves & Stokes’ parameters 17
Ey Ey
√1 E0,y ER
2
χ
Ex Ex
ER
− √12 E0,x √1 E0,x
2
−ER
− √12 E0,y
−ER
Fig. 4.4. Behaviour of the components of the electric field vector in the plane perpendicular to
the wave motion for linear and right circular polarization. The angle χ ≡ kz − ωt and the arrow
denotes the directed the electric field rotates around the Ex − Ey plane.
1 1
â = √ (x̂ + ŷ) , b̂ = √ (x̂ − ŷ) . (4.99b)
2 2
Note that (â, b̂) are at 45◦ to x̂, ŷ. We define the Stokes parameters via
where the components of the electric field vector in the various bases are given by
The parameters (Q, U ) describe linear polarization and V circular polarization. The
parameter I is the average intensity. See Figure 4.5 for a diagrammatic representation.
=0
=0
Q<
Q>
Ex Ex
Q>0
U >0 U <0
V >
Ey Ey
U< U>
Ex Ex
Fig. 4.5. The properties of the Stokes parameters for (a) linear and (b) circular polarization, in
the (Ex , Ey )-plane.
Ḃ = −∇ × E, Ḋ = ∇ × H − jfree , (4.110b)
where ρfree and jfree are the free charge and currents, which are the quantities that can
be externally controlled.
For simplicity let us set the free charge and current to zero, ρfree = 0, jfree = 0, and
consider linear isotropic materials (i.e. not ferromagnets) so that we can take
1
D = εr ε0 E, H= B. (4.111)
µr µ0
Thus, the Ampere-Maxwell equation becomes
c2
Ė = ∇ × B = v 2 ∇ × B, (4.112)
εr µ r
where
c c
v= =√ , (4.113)
n εr µ r
√
and n = εr µr is the refractive index. Therefore, we see that EM waves move a speed
v < c in dielectric/magnetic media. The dispersion relation becomes
ck
ω = ±vk = ± . (4.114)
n
4.7 EM waves in dielectric and magnetic media 20
E(T)
Refractive index nT
θT
y=0
θR
θI
y E(R)
x E(I)
Refractive index nI
Fig. 4.6. Setup, definitions and coordinate system for refraction of an EM wave at a boundary
between two regions of different refractive indices.
It is important to note that the refractive index n may be dependent upon frequency.
Consider the situation depicted in Figure 4.6: an EM wave in a medium with refractive
index nI hits a boundary with another medium with refractive index nT . The EM wave
then splits into reflected and transmitted components.
We write the field vectors as
(I)
E(I) = E0 ei(k·r−ωt) , (4.115a)
(R) (R) !
E = E0 ei(k ·r−ωt) , (4.115b)
(T) !!
E(T) = E0 ei(k ·r−ωt) , (4.115c)
where the wavevectors are
k = k(sin θI , cos θI , 0), (4.116a)
k% = k(sin θR , − cos θR , 0), (4.116b)
%% %%
k = k (sin θT , cos θT , 0), (4.116c)
where
nI ω nT ω
k= , k %% = . (4.117)
c c
As for reflection from a conductor, we demand from the boundary that the phase is
continuous
k · r = k% · r = k%% · r at y = 0. (4.118)
Hence,
kx sin θI = kx sin θR ⇒ θI = θR (4.119)
4.7 EM waves in dielectric and magnetic media 21
as before, and
kx sin θI = k %% x sin θT , (4.120)
which, if we insert the definitions of k and k %% in terms of the refractive indices, reads
nT sin θT = nI sin θI , (4.121)
which is Snell’s law.
One can go further and compute the electric fields E(R) and E(T) in terms of E(I) , which
gives what are known as Fresnel’s equations, which give rise to a number of phenomenon
such as the Brewster angle.
If we consider an EM wave going from air into glass (i.e. nI = 1, nT = 1.5), so that
sin θT = 0.66 sin θI , (4.122)
or, in the opposite direction (from glass into air),
sin θT = 1.5 sin θI . (4.123)
In this second case, sin θI > 1/1.5, sin θT is greater than unity, and there is no transmitted
wave, and everything is reflected back into the glass. This occurs at the critical angle
(when nI > nT ),
θcrit = sin−1 (nT /nI ), (4.124)
such that θI > θcrit only leads to a reflected wave: this is called total internal reflection.