







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








In electrostatics, electric fields constant in time are produced by stationary charges. In magnetostatics
magnetic fields constant in time are produced by steady currents.
Electric currents
The electric current in a wire is the charge per unit time passing a given point. If charge dQ passes point P
in Fig.5. 1 per time dt the magnitude of the current is
dQ
dt
By definition, negative charges moving to the left count the same as positive charges moving to the right.
In practice, there is a convention to assume that the electric current flows in the direction of motion of
positive charges. Current is measured in coulombs-per-second, or amperes (A): 1A=1C/s.
A line charge traveling down a wire at speed v (Fig. 5.1) constitutes a current
This is because a segment of length v t, carrying charge v t, passes point P in a time interval t.
Fig. 5 .1 Line current
We note that current is actually a vector. A neutral wire, of course, contains as many stationary positive
charges as mobile negative ones. The former do not contribute to the current.
When charge flows over a surface , we describe it by the surface current density , K, defined as follows:
Consider a “ribbon” of infinitesimal width dl
, running parallel to the flow (Fig. 5 .2). If the current in
this ribbon is d I , the surface current density is
d
dl
In words, K is the current per unit width-perpendicular-to-flow. In particular, if the mobile surface charge
Fig. 5 .2 Surface current
When the flow of charge is distributed throughout a three-dimensional region, we describe it by the volume
current density J defined as follows: Consider a “tube” of infinitesimal cross section da
, running
parallel to the flow (Fig. 5. 3 ). If the current in this tube is d I , the volume current density is
d
da
and the velocity is v , then
Fig. 5 .3 Volume current
According to Eq.( 5. 5 ), the current crossing a surface S can be written as
S S
I Jda da
J n. ( 5. 7 )
In particular, the total charge per unit time leaving a volume V is
3
S V
da d r
J n J. ( 5. 8 )
Because charge in conserved, whatever flows out through the surface must come at the expense of that
remaining inside:
3 3 3
V V V
d
d r d r d r
dt t
The minus sign reflects the fact that an outward flow decreases the charge left in V. Since this applies to
any volume, we conclude that
t
This is the precise mathematical statement of local charge conservation. It is called the continuity
equation. The continuity equation played an important role in deriving Maxwell’s equations as will be
discussed in electrodynamics.
Magnetostatics deals with steady currents which are characterized by no change in the net charge density
We note here that a moving point charge does not constitute a steady current and therefore cannot be
described by laws of magnetostatics.
/ 2 / 2 2
0 0 0
2 2
/ 2 / 2
cos
cos cos
4 cos 4 2
s I I
B I d d
s s s
The Biot and Savart law ( 5. 13 ) can be generalized to the case of surface and volume currents.
Fig. 5.
For a volume current one has to replace Id l in eq. ( 5. 13 ) by J ( r ) dadl , where J ( r ) is the volume current
density, da is the cross-sectional area of the filament, and dl is the magnitude of d l (see Fig.5.6). Then
taking into account the fact that dadl = d
3
r is a volume element, we obtain
3 0
3
d r
J r r r
B r
r r
Similar, for surface currents we have
0
3
da
K r r r
B r
r r
The Biot and Savart law is an analog of the Coulomb’s law in electrostatics.
Ampere’s experiments did not deal directly with the determination of the relation between currents and
the magnetic field, but were concerned rather with the force between current-carried wires. It was
experimentally found that the force experienced by a wire carried current I in the presence of a magnetic
field B is given by
d I d
F I B l B. ( 5. 17 )
By substituting the expression for the magnetic field ( 5. 13 ) produced by another wire we find the force
between two wires carrying currents I and I
0
3
d d
l l r r
r r
This is the original form of the Ampere’s law. This expression can be written on a more simple form if we
0
3
C C
d d d d
l l r r r r l l
r r
According to Newton, the force of the loop carrying current I should be equal and opposite to the force on
the other loop, implying certain symmetries in the integrand above. The second term in the numerator
changes sign under the interchange of r and
r (which is consistent with Newton’s low), but the first
term does not. It appears that the first term is identically equal to zero:
3
C C C C C C
d d
d d d d
l l r r
l l l
r r r r r r
Here the last step follows from the fact that we integrate over a closed path. Thus we find that the force
between the two current loops may be written simply as
0
3
C C
d d
l l r r
r r
Example: force between parallel wires
Suppose we have two parallel wires a distance d apart carrying currents I 1
and I 2
and wish to find the
force per unit length acting on one of them. At a point r on the one carrying current I 2
, there is a field B
produced by the other current which is directed perpendicular to the plane containing the wires. This field
is given by eq.( 5. 14 ) the integral over the sources in the other wire,
0 1
d
According to eq. ( 5. 17 ), the force is
0 1 2
2
F I Bdl dl
d
The total force is, not surprisingly, infinite, but the force per unit length is
0 1 2
f
d
In case of a volume current distribution the magnetostatic force produced by a magnetic field
B r on a
object carrying a volume current density J r ( )is as follows:
3
d ( ) d r
F I B J r B r. ( 5. 25 )
This equation is actually a consequence of the Lorentz force affecting a moving charged particle. The Lorentz
force is
where q and v are a charge and velocity of the particle. According to this equation the force on the charge
density ( ) r moving with velocity v r ( )is the integral
3
F v r B r r. ( 5. 27 )
Taking into account that by definition J r ( ) v r ( ) ( ) r , we arrive at eq. ( 5. 25 ).
Differential Equations of Magnetostatics and Ampere’s Law
To obtain differential equations for the magnetic field we rewrite Eq.( 5. 15 ) as follows:
0 3
d r
B r J r
r r
where we have used the identity
3
r r
r
. Now using the identity
component of the vectors in the left- and right-hand side of Eq.( 5. 40 ) over open surface S shown in
Fig.5.7 we obtain:
0
S S
B n J n. ( 5. 41 )
Fig. 5.
Using the Stokes’s theorem it can be transformed into
0
C S
B l J n
Since the surface integral of the current density is the total current I passing through the closed curve C,
Ampere's law can be written in the form:
0
C
B d l I. ( 5. 43 )
Just as Gauss’s law can be used for calculation of the electric field in highly symmetric situations, so
Ampere's law can be employed in analogous circumstances.
Example: a straight infinite wire. Ampere’s law allows calculating the magnetic
field produced by an infinite straight wire in a much more simple way as
compared to the direct calculation using eq. ( 5. 13 ). By symmetry the magnetic
field produced depends only on the distance from the wire s and is oriented
perpendicular to the wire. Using the Ampere’s law we can write
0
C
B d l I , ( 5. 44 )
where C is a circle of radius s centered on the wire, and I is the current crossing the surface subtended by
the circle which is exactly the current is the wire. Since B is constant on the circle we immediately obtain
0
or
0
s
which is identical to the result ( 5. 14 ).
Vector Potential
The basic differential laws of magnetostatics are
0
According to eq. ( 5. 47 ) the divergence of B is zero which implies that there are no sources which produce a
s
magnetic field. There exist no magnetic analog to electric charge. According to eq. ( 5. 48 ) a magnetic field
curls around current. Magnetic field lines do not begin or end anywhere – to do so would require a nonzero
divergence. They either form closed loops or extend out of infinity.
Now the problem is how to solve differential equations ( 5. 47 ) and ( 5. 48 ). If the current density is zero in the
region of interest, B 0 permits the expression of the magnetic field B as the gradient of a magnetic
scalar potential,
M
B. Then ( 5. 47 ) reduces to the Laplace equation for M
, and all our techniques for
handling electrostatic problems can be brought to bear. A large number of problems fall into this class, but we
will defer discussion of them until later.
A general method of attack is to exploit equation ( 5. 47 ). If B 0
everywhere, B must be the curl of
some vector field A ( r ), called the vector potential :
B r ( ) A r ( ). ( 5. 49 )
We have, in fact, already written B in this form ( 5. 31 ). Evidently, from ( 5. 31 ), the general form of A is
3 0
d r
J r
A r r
r r
vector potential can be freely transformed according to
This transformation is called a gauge transformation. Such transformations on A are possible because
( 5. 49 ) specifies only the curl of A. The freedom of gauge transformations allows us to make A have
any convenient functional form we wish.
If ( 5. 49 ) is substituted into the equation ( 5. 48 ), we find
0
or
2
0
If we now exploit the freedom implied by ( 5. 51 ), we can make the convenient choice of gauge,
To prove that this is always possible, suppose that our original potential, A 0
, is not divergenceless. If we
0
A A , the new divergence is
2
0
If we assume now that A 0 , then we have
2
0
Using this gauge in eq.( 5. 54 ), we find that each rectangular component of the vector potential satisfies the
Poisson equation,
2
0
From our discussions of electrostatics it is clear that the solution for A in unbounded space is
where we used eq.( 5. 63 ). Taking the last integral by parts we obtain
3 3 3 3 3
j i j i i i j i i j j
i i i
x d r x x x d r x x x d r x x J d r J d r
r J J J r r , ( 5. 69 )
Here we took into account that
3
j i j i
V S
x x d r x x da
J J n due to no currents crossing surface
S. Generalizing to all three components we have
3 3
d r d r
r r J r r J. ( 5. 70 )
It easy to see from Eqs.( 5. 67 ) and ( 5. 70 ) that the vector potential can be written as
3 0
3
d r
r
A r r r J r. ( 5. 71 )
It is customary to define the magnetic moment density or magnetization as
M r r J r. ( 5. 72 )
and its integral as the magnetic moment m :
3
d r
m r J r. ( 5. 73 )
The vector potential represents therefore the magnetic dipole vector potential:
0
3
4 r
m r
A r. ( 5. 74 )
This is the lowest non-vanishing term in the expansion of A for a localized steady-state current
distribution. The magnetic field B outside the localized source can be calculated directly by evaluating the
curl of ( 5. 74 ). Using the identity
( a b ) a ( b ) b ( a ) ( b ) a ( a ) b. ( 5. 75 )
and taking into account that m is constant, we obtain
2
0
5
r
r
r r m m
B r. ( 5. 76 )
Far away from any localized current distribution the magnetic field is that of a magnetic dipole of dipole
moment given by ( 5. 73 ). The equation ( 5. 76 ), however, is not complete for a point magnetic dipole. In
this case there is an additional term that takes into account the field at the origin representing a delta-
function field similar to the point electric dipole. We may find the magnitude and the direction of this
singular field by a more careful analysis of what happens as r 0. To this end it is useful to write the
vector potential of the dipole as follows
0
4 r
m
A r , ( 5. 77 )
where we used ( f a ) f a f a. We can then write
0 0 2
4 r 4 r r
m m m
B r A r. ( 5. 78 )
The last term on the right-hand side is just
3
same as the electric field of an electric dipole and leads to eq.( 5. 76 ) when r 0. It has also a singularity
the limit
3
r r
d r da
r r
m m
n. ( 5. 79 )
Here we used the identity, valid for any scalar function f ( x ) (as follows, e.g., from the divergence
theorem:
3
V S
f d r fda
a n a , so that
3
V S
f d r fda
a a n ):
3
V S
f d r f da
r n r , ( 5. 80 )
where S is the surface enclosing the domain V and n is the usual outward unit normal.
Continuing, we have
3
r r
da da
r r
m m r
n r m. ( 5. 81 )
Hence we find that
r
m
contains the singular piece
m. Putting it into Eq.( 5. 78 ), we
conclude that the delta-function piece of the magnetic field is
m , and hence the total field of the
magnetic dipole is
2
3 0
5
r
r
r r m m
r m r. ( 5. 82 )
Consequences of the presence of the delta-function piece are observed in an atomic hydrogen where the
magnetic moment of the electron interacts with that of the nucleus, or proton. Without this interaction, all
total-spin states of the atom would be degenerate. As a consequence of the interaction, the triplet (spin-
one) states are raised slightly in energy relative to the singlet (spin-zero) state. The splitting is small even
on the scale of atomic energies, being about 10
eV. The delta-function part of the field also plays an
important role in the scattering of neutrons from magnetic materials.
If the current is confined to a plane, but otherwise arbitrary, loop, the magnetic moment can be expressed
in a simple form. If the current I flows in a closed circuit whose line element is d l , ( 5. 72 ) becomes
d
m r l. ( 5. 83 )
For a plane loop such as that in Fig. 5. 8 , the magnetic moment is
perpendicular to the plane of the loop. Since ½ r d l da , where d a
is the triangular element of the area defined by the two ends of d l and
the origin, the loop integral gives the total area of the loop. Hence the
magnetic moment has magnitude,
m I Area , ( 5. 84 )
regardless of the shape of the circuit.
Fig.5.
Along the way in this derivation, we have made use of the facts that the divergence and curl of B are zero
in the region near the origin. The final result has the form of the gradient of a scalar function,
F m B , ( 5. 95 )
where the gradient is to be evaluated at the center of the current distribution. Notice in particular that
there is no force if the applied magnetic induction is uniform. More generally, the force is in the direction
of the gradient of the component of B in the direction of m.
The potential energy of a permanent magnetic moment (dipole) in an external magnetic field can be
obtained from the expression for the force ( 5. 95 ). If we interpret the force as the negative gradient of the
potential energy U , we find
U m B
This is well-known result, which shows that the dipole tends to orient itself parallel to the field in the position
of lowest potential energy.