Equations For The Vector Potential
Equations For The Vector Potential
Equations For The Vector Potential
The vector potential A(x, y, z) for any particular magnetic field B(x, y, z) is not unique
— there is a whole family of such vector potential related by gauge transforms
∫∫∫
1 (∇ · A0 )(r′ ) 3 ′
Λ(r) = d Vol (2)
4π |r − r′ |
we have
∇ · A = ∇ · A0 + ∇2 Λ = 0. (4)
Now consider the equations for the magnetic field B(x, y, z) in terms of the vector poten-
tial A(x, y, z). On one hand, B = ∇ × A automatically solves the zero-divergence equation
∇ · B = 0. On the other hand, the Ampere equation ∇ × B = µ0 J becomes a second-order
equation for the vector potential
µ0 J = ∇ × (∇ × A) = ∇(∇ · A) − ∇2 A. (5)
In the transverse gauge ∇ · A = 0, the first term on the RHS vanishes, and we are left with
1
the Poisson equation for the vector potential,
Component by component, it looks exactly like the Poisson equation for the scalar potential
of the electrostatics,
∇2 V (x, y, z) = ϵ−1
0 ρ(x, y, z), (7)
These Coulomb-like equations for the vector potential lead to the appropriate Biot–
Savart–Laplace equations for the magnetic field B(x, y, z) by simply taking the curl of both
sides. For example, for the volume current J(r′ ),
( ∫∫∫ )
µ0 J(r′ ) 3 ′
B(r) = ∇ × A[from eq. (8)] = ∇ × d Vol
4π |r − r′ |
∫∫∫ ( ) ∫∫∫ ( )
µ0 J(r′ ) ′ µ0 1 ′
= ∇r × ′
3
d Vol = ∇r ′
× J(r′ ) d3 Vol
4π |r − r | 4π |r − r |
∫∫∫ ∫∫∫
µ0 −(r − r′ ) ′ 3 ′ µ0 ′ r − r′ 3 ′
= × J(r ) d Vol = J(r ) × d Vol .
4π |r − r′ |3 4π |r − r′ |3
(11)
However, for practical calculations of the magnetic field, it is often easier to first evaluate
the Coulomb-like integrals (8)–(10) for the vector potential and then take its curl, instead
of directly evaluating the appropriate Biot–Savart–Laplace integral.
2
Example: Rotating Charged Sphere
Consider a uniformly charged spherical shell of radius R and charge density σ. Let’s
make this sphere spin around its axis with angular velocity ω . Consequently, a point P
on this sphere with radius-vector r′ (counted from the sphere’s center) moves with linear
velocity v = ω × r′ , which makes for the surface current density
K(r′ ) = σv = σ ω × r′ . (12)
Let’s find the magnetic field of this current, both inside and outside the sphere.
Instead of using the Biot–Savart–Laplace equation, let’s start by calculating the vector
potential from eq. (9):
∫∫ ∫∫
µ0 K(r′ ) = σωω × r′ 2 ′ µ0 σ r′
A(r) = ′
d A = ω× d2 A′ . (13)
4π |r − r | 4π |r − r′ |
sphere sphere
Note: I use vector notations for the angular velocity ω instead of the spherical coordinates
based on the spin axis because evaluating the integral on the RHS of eq. (13) is easier in
a different system of spherical coordinates. Indeed, once I pull the ω × factor outside the
integral, the remaining integral
∫∫
r′
d2 A ′ (14)
|r − r′ |
sphere
depends only on the r and on the sphere’s radius R, hence by spherical symmetry the vector
obtaining from the integral (13) must point in the direction of r — from the center of the
sphere towards the point where we evaluate the vector potential. Consequently,
µ0 σ
A(r) = ω × r̂) I
(ω (15)
4π
where I is the magnitude of the integral in eq. (13), or equivalently its projection on the r̂
axis, thus
∫∫
r′ · r̂ 2 ′
I = d A. (16)
|r − r′ |
sphere
To take this integral, let’s use the spherical coordinates where the “north pole” θ′ = 0 points
in the direction of r so that the θ′ coordinate of some point r′ on the sphere is the angle
3
between the vectors r′ and E. Consequently,
and hence
∫∫
R cos θ′
I = √ × R2 sin θ′ dθ′ dϕ′ . (18)
r2 + R2 − 2Rr cos θ′
sphere
The integral over dϕ′ here is trivial and yields 2π, while in the integral over dθ′ it’s convenient
to change the integration variable to c = cos θ′ . Thus
∫π ∫+1
cos θ′ sin θ′ dθ′ c dc
I = 2πR3 √ = 2πR3 √ . (19)
r2 + R2 − 2Rr cos θ′ r2 + R2 − 2Rrc
0 −1
To evaluate the remaining integral, we expand the denominator into Legendre polynomials
in c,
∑ Rℓ
× Pℓ (c) for r > R (measuring A outside the sphere),
1 ℓ rℓ+1
√ =
r2 + R2 − 2Rrc
∑ rℓ
× Pℓ (c) for r < R (measuring A inside the sphere),
Rℓ+1
ℓ
(20)
then note that in the numerator c = P1 (c) and therefore
∫+1 {
2
2 for ℓ = 1
Pℓ (c) × c dc = × δℓ,1 = 3
(21)
2ℓ + 1 0 for any other ℓ.
−1
Consequently,
R
2 outside the sphere,
r2
I = 2πR3 × × (22)
3 r
inside the sphere,
R2
and plugging this result into eq. (15), we finally arrive at the vector potential:
µ0 σR4 ω × r̂
Outside the sphere, A = , (23)
3 r2
4
µ0 σR
Inside the sphere, A = ω × r).
(ω (24)
3
Now that we finally got the vector potential, the magnetic field obtains by taking its
curl. By the double vector product formula,
∇ × (ω
ω × r) = ω (∇ · r) − (ω
ω · ∇)r = ω (3) − ω = 2ω
ω, (25)
( ) ( ) ( )
ω × r̂ ω ×r 1 1
∇× = ∇× = ∇ 3 × (ω ω × r) + 3 ∇ × (ω ω × r)
r2 r3 r r
−3r̂ 1 1( )
(26)
= × (ωω × r) + (2ωω ) = 2ω
ω − 3r̂ × (ω
ω × r̂)
r4 r3 r3
1( )
= 3 3r̂(r̂ · ω ) − ω .
r
µ0 σR4 ( )
Outside the sphere, B = 3r̂(r̂ · ω ) − ω , (27)
3r3
2µ0 σR
Inside the sphere, B = ω. (28)
3
Curiously, the magnetic field inside the sphere turns out to be uniform! Also, outside the
sphere, the magnetic field looks like the field of a pure magnetic dipole with dipole moment
4π 4
m = R σω
ω. (29)
3
I shall explain the magnetic dipoles, quadrupoles, etc., later in these notes.
5
Example: Flat Current Sheet
For our next example, consider a flat current sheet in the xy plane with uniform current
density K in the ŷ direction. In terms of the 3D current density,
Consequently, the Poisson equation for the vector potential of the current sheet is
Thanks to the symmetries of this equation, we may look for a solution of the form
d2 A
= −µ0 Kδ(z). (33)
dz 2
Despite the delta function on the RHS, the solution of this differential equation is continuous
at z = 0, namely
⋆ A general solution of eq. (33) is A(z) = − 12 µ0 K × |z| + αz + β for arbitrary constants α and β, but
the upside-down symmetry z → −z of the current sheet requires α = 0, while β is physically irrelevant.
6
This is general behavior of the vector potential for all kinds of 2D current sheets, flat or
curved, with uniform or non-uniform 2D currents: The vector potential is continuous across
the current sheet, but its normal derivative has a discontinuity,
( )
∂A
disc = −µ0 K. (36)
∂xnormal
disc(B) = µ0 K × n (37)
Suppose electric current I flows through a closed wire loop of some complicated shape,
and we want to find its magnetic field far away from the wire. Let’s work through the vector
potential according to the Coulomb-like formula
I
µ0 I dr′
A(r) = . (38)
4π |r − r′ |
wire
Far away from the wire, we may expand the denominator here into a power series in (r′ /r),
thus
∞
∑
1 r′ℓ
= × Pℓ (cos α) (39)
|r − r′ | rℓ+1
ℓ=0
Plugging the expansion (39) into eq. (38)for the vector potential, we obtain
∞ I
µ0 I ∑ 1
A(r) = r′ℓ Pℓ (r̂ · r̂′ ) dr′ (41)
4π rℓ+1
ℓ=0 wire
— the expansion of the vector potential into magnetic multipole terms. Let me write down
7
more explicit formulae for the three leading terms,
I
1
dr′ ⟨⟨ monopole ⟩⟩
r I
1
+ (r̂ · r′ ) dr′ ⟨⟨ dipole ⟩⟩
µ0 I
r 2
I
.
A(r) = (42)
4π 1
+ 3 ( 32 (r̂ · r′ )2 − 21 r′2 ) dr′ ⟨⟨ quadrupole ⟩⟩
r
+ ··· ⟨⟨ higher multipoles ⟩⟩
Naively, the leading term in this expansion is the monopole term for ℓ = 0 (the top line in
eq. (42)), but it vanishes for any closed current loop,
I
dr′ = 0 (43)
Thus, the magnetic multipole expansion starts with the dipole term — which dominates the
magnetic field at large distances from the wire loop. (Except when the dipole moment
happens to vanish.)
Let’s simplify the dipole term in (42) using a bit of vector calculus, Let c be some
constant vector. Then
I I
′ ′
c· (r̂ · r ) dr = (r̂ · r′ ) c · dr′
where
( ) ( )
∇r′ × (r̂ · r′ ) c = ∇r′ (r̂ · r′ ) × c = r̂ × c (45)
hence
I ∫∫ I
′ ′
c· (r̂ · r ) dr = (r̂ × c) · d A = (r̂ × c) ·
2
d2 A
= c · (a × r̂),
8
and therefore
I
(r̂ · r′ ) dr′ = a × r̂. (47)
Plugging this integral into the dipole term in the expansion (42), we arrive at
µ0 m × r̂
Adipole (r) = (48)
4π r2
I am going to skip over the higher multipoles in these notes. Instead, let me consider
replacing a single wire loop with a circuit of several connected wires. In this case, we may use
the Kirchhoff Law to express the whole circuit as several overlapping loops with independent
currents; if a wire belongs to several loops, the current in that wire is the algebraic sum of
the appropriate loop currents. By the superposition principle. the vector potential of the
whole circuit is the sum of vector potentials of the individual loops, and as long as the whole
circuit occupies small volume of size ≪ r, we may expand each loop’s A into multipoles,
exactly as we did it for a single loop. In general, the leading contribution is the net dipole
term,
∑
loops
µ0 mi × r̂ µ0 mnet × r̂
Adipole (r) = 2
= (49)
4π r 4π r2
i
where
∑
loops ∑
loops
mnet = mi = Ii ai (50)
i i
Now suppose instead of a circuit of thin wires we have some current density J(r′ ) flowing
through the volume of some thick conductor. However, the conductor have small size in
all directions, much smaller than the distance r to where we want to calculate the vector
potential and the magnetic field. In this case, we may use the multipole expansion, but the
9
algebra is a bit different from what we had for a thin wire:
∫∫∫ ∞ ∫∫∫
µ0 J(r) 3 ′ µ0 ∑ 1 ′
A(r) = ′
d Vol = r′ℓ Pℓ (r̂ · r̂′ ) J(r′ ) d3 Vol , (51)
4π |r − r | 4π r ℓ+1
ℓ=0
The monopole term here vanishes just as it did for the wire loop, albeit in a less obvious
way. To see how this works, pick a constant vector c and take the divergence
( )
∇r′ · (c · r′ )J(r′ ) = c · J + (c · r) (∇ · J), (53)
where the second term on the RHS vanishes for a steady — and hence divergence-less —
current. Consequently,
∫∫∫ ∫∫∫
′ ′ ′
c· 3
J(r )d Vol = (c · J(r′ )) d3 Vol
V V
⟨⟨ by eq. (53) ⟩⟩
∫∫∫
( ) ′
= ∇r′ · (c · r′ )J(r′ ) d3 Vol (54)
∫∫V
( )
= (c · r′ )J(r′ ) · d2 A
S
where S is the surface of the volume V. That volume must include the whole conductor,
but we may also make it a bit bigger, which would put the surface S outside the conductor.
But then there would be no current along or across S, so the integral on the bottom line
10
of (54) must vanish. Consequently, the top line of eq. (54) must vanish too, and since c is
an arbitrary constant vector, this means zero monopole moment,
∫∫∫
′
J(r′ )d3 Vol = 0. (55)
V
Next, consider the dipole term in (52) and try to rewrite it in the form (48) for some
dipole moment vector m. This time, the algebra is a bit more complicated. For an arbitrary
but constant vector c, we have
( )
c · r̂ × (J × r′ ) = (c · J) (r̂ · r′ ) − (c · r′ ) (r̂ · J), (56)
( )
∇r′ (c · r′ ) (r̂ · r′ ) J(r′ ) = (c · J) (r̂ · r′ ) + (c · r′ ) (r̂ · J) + (c · r′ ) (r̂ · r′ ) (∇ · J), (57)
⟨⟨ where the last term vanishes for a steady current. ⟩⟩
⟨⟨ which has ∇ · J = 0 ⟩⟩
and hence
( ) ( )
(c · J) (r̂ · r′ ) = 1
2 c · r̂ × (J × r′ ) + 1
2 ∇r′ (c · r′ ) (r̂ · r′ ) J(r′ ) . (58)
As for the monopole terms, let’s take the integration volume V a bit larger that the whole
conductor, so its surface S is completely outside the conductor. Then on the last line of
11
eq. (59) the current J vanishes everywhere on the surface, so the surface integral vanishes.
Consequently,
∫∫∫ ∫∫∫
′ 1 ′
c· (r̂ · r′ ) J(r′ ) d3 Vol = c · r̂ × (J(r′ ) × r′ ) d3 Vol , (60)
2
V V
Plugging this formula into the dipole term in the vector potential (52), we arrive at
∫∫∫
µ0 ′ ′ 3 ′ µ0 m × r̂
Adipole (r) = (r̂ · r ) J(r ) d Vol = (62)
4πr2 4π r2
conductor+
— exactly as in eq. (48) for the current loop — for the magnetic dipole moment
∫∫∫
1 ′
m = r′ × J(r′ ) d3 Vol . (63)
2
conductor+
Let me conclude this section with the dipole term in the magnetic field,
µ0 3(m · r̂)r̂ − m
Bdipole (r) = ∇ × Adipole (r) = , (64)
4π r3
where the algebra of taking the curl is exactly as in eq. (26) earlier in these notes. In spherical
coordinates centered at the dipole and aligned with the dipole moment,
µ0 m sin θ
A = ϕ
ϕ̂ , (65)
4π r2
µ0 m 2 cos θ r̂ + sin θ θθ̂
B = . (66)
4π r3
12
Force and Torque on a Magnetic Dipole
The B field (64) of a magnetic dipole looks exactly like the E field of an electric dipole:
In fact, in a uniform B field these formulae are exact for any closed current loop rather than
just a pure dipole. For the net force, this is trivial,
I (I )
⃗
Fnet = Idℓ × B = I ⃗
dℓ = 0 × B = 0. (69)
Consequently,
∫ I
τ net = r × dF = r × (I dr × B)
13
When the external magnetic field is non-uniform the net force on a current loop does
not vanish. For a small loop, the net force is related to the magnetic moment as
where the gradient acts only on the components of B and not on the m. Let me skip the
proof of this formula and simply say that it is completely similar to the force on an electric
dipole in a non-uniform electric field,
For atoms and molecules, the magnetic dipole moment is fixed by the quantum effects.
Consequently, the magnetic force (74) on an atom or a molecules acts as a potential force,
with a potential energy
The same potential energy — or rather its variation when the magnetic moment m changes
its direction — is also responsible for magnetic the torque τ = m × B.
14