Docsity

Biot-Savart Law and Ampere's Law: Magnetic Fields from Currents, Slides of Law

Toggle sidebar
bg1
1
1
Magnetostatics
()
()
22
23
0' r' 3cos 1
' r' cos
2
4
'
'
() d
dd
rr r
I
Ar
θ
θ
μ
π
−
∫
∫∫
++ +
⎡
⎤
≈
⎢
⎥
⎣
⎦



Magnetic forces
cycloidal motion
R
Z
φ
-'rr

ˆ
r
ˆ
z
ˆ
x
I
d
Magnetic moment
m
B
I
θ
θ
U
y
N
⊗
z
Biot-Savart Law
Griffiths Ex 5.11
ω
x
z
ψ
σ
R
The vector
potential
K
B
Ampere’s
Law
v
dx
dy
zΔ
ρ
ˆ
z
Current
densities
Magnetic multipole expansions
This chapter describes magnetostatics in a vacuum. By magnetostatics we, of
course, don’t mean that the charges are static but rather the magnetic fields, electric
fields and currents are constant in time. We begin with a discussion of magnetic
forces and give an example of motion of a charged particle in a crossed electric and
magnetic field. Interestingly enough the particle moves in a cycloid orbit. We next
discuss the various forms of currents that we will use throughout Physics 435 and
436. These include simple currents (I) measured in Ampere’s , surface currents (K)
measured in Ampere/meter, and (volume) current densities (J) measured in
Ampere/meter^2. We next consider the two methods for calculating the B-field
created by currents. The general method (analogous to Coulomb’s Law) is called
the Biot-Savart Law. For highly symmetric situations one can get the answer much
quicker using Ampere’s Law (analogous to Gauss’s Law) . We turn next to a
discussion of the magnetic moment of a current loop and how it affects the torque
and potential energy of the loop when placed in a magnetic field. We will discuss the
vector potential A(r) from which one can get the magnetic field B through the curl.
The vector potential is how magnetic forces are introduced in Lagrangean
mechanics and quantum mechanics. Finally, in preparation for our discussion of
magnetic fields in materials, we will develop the multipole expansion for the vector
potential from currents. You will notice lots of similarities in the A expansion and the
V multipole expansion of electrostatics.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Biot-Savart Law and Ampere's Law: Magnetic Fields from Currents and more Slides Law in PDF only on Docsity!

1

Magnetostatics

(^2 ) 2 3

0 ' r' cos '^ r'^ 3cos^1 4 2

'^ ' ( )

d d d r r r

I

A r

μ θ^ θ π

∫ ∫ ∫ −

G G G v A^ v A v A "

G

Magnetic forces cycloidal motion

R

Z φ

r^ G^ - r G'

r ˆ

z ˆ

x ˆ I d^

GA

Magnetic moment

G

m

G

B

I

U

Ny

x

z

Biot-Savart Law

Griffiths Ex 5.

ω

G

x

z

ψ

σ

R

The vector potential

A A

K

G

B

G

Ampere’s Law

v

G

dx

dy

Δ z

z ˆ

Current densities

Magnetic multipole expansions

This chapter describes magnetostatics in a vacuum. By magnetostatics we, of

course, don’t mean that the charges are static but rather the magnetic fields, electric

fields and currents are constant in time. We begin with a discussion of magnetic

forces and give an example of motion of a charged particle in a crossed electric and

magnetic field. Interestingly enough the particle moves in a cycloid orbit. We next

discuss the various forms of currents that we will use throughout Physics 435 and

436. These include simple currents (I) measured in Ampere’s , surface currents (K)

measured in Ampere/meter, and (volume) current densities (J) measured in

Ampere/meter^2. We next consider the two methods for calculating the B-field

created by currents. The general method (analogous to Coulomb’s Law) is called

the Biot-Savart Law. For highly symmetric situations one can get the answer much

quicker using Ampere’s Law (analogous to Gauss’s Law). We turn next to a

discussion of the magnetic moment of a current loop and how it affects the torque

and potential energy of the loop when placed in a magnetic field. We will discuss the

vector potential A(r) from which one can get the magnetic field B through the curl.

The vector potential is how magnetic forces are introduced in Lagrangean

mechanics and quantum mechanics. Finally, in preparation for our discussion of

magnetic fields in materials, we will develop the multipole expansion for the vector

potential from currents. You will notice lots of similarities in the A expansion and the

V multipole expansion of electrostatics.

2

Magnetic fields and forces

When both E & B present we have Lorentz force law: In the frame where v=0 we can think of this as:

In moving frame E and B are mixed up. Field transformation

F qE qv B

qE qE qv B E E v B

= + ×
′ = + × → ′= + ×
G G
G G G G
G G G G G G G G
G G

looks similar to time-space mixing in Special Relativity.

t t '

x

x '

v

2

2 2 2

x vt x x vt v c v t x (^) v t c t x v c c

( ) (^ )

2

3 0

2 3 0

0 0

2 0

?

  • ' 4 - '
  • ' (^4) - ' 1 .

1 - 4

Is Not exactly but SR relates them.

We combine with

to get

Biot-Savart

Valid when

d

Recal

s

l

oe

E B x t

v B E c q r r E r r r q r^ r B v c (^) r r

v c c

r B qv c

πε

πε

ε μ

μ μ ε πε

0 0

⇔

= ×

=

= × ⇒

=

= → = ×

G G

G G G

G G^ G G G G

G G^ G G G G



G G^ G

G ( )

3

2 (^3 )

'

  • '

/ ˆ -

rel

where

r r r

v c r vt

B qv

0

⎡ ⎤ ⎢ ⎥ (^) = ⎢ ⎥ ⎢ ⎛^ ⎞^ ⎥ = ⎢ ⎜^ ⎟⎥ ⎣ ⎝^ ⎠⎦

= ×

− × r

r r r

G G

G (^) G G G

G G
G

( ) 2 ( )

v
B r E r
c
= ×
G
G G G
G G
B for moving charge heightens
analogy:

Much later in the course we will show that magnetic and electric fields and forces

can be transformed into each other according to special relativity. In fact

understanding the deep connection between electricity and magnetism was one of

the major motivations for Einstein to invent special relativity. For example we can

think of the magnetic force as part of a transformed electric field which looks very

similar to the relativistic transformation between time and space. But we will show

that fields undergo a tensor transformation rather than the vector transformation

used for time-space. If we view the B-field as the Coulomb law E-field transformed

in a moving frame we essentially get the Biot-Savart law for a moving charge that

shows how a moving charge can create a magnetic field. Our expression is only

good at velocities very small compared to the speed of light. Our Biot-Savart

expression is in terms of epsilon_0 and the speed of light. In Physics 212 you

learned that Maxwell’s triumph was the realization that light is an electromagnetic

phenomena and that the speed of light can be related to the constants of

electrostatic (epsilon_0) and magnetostatics (mu_0) that can be measured or

defined in 19th^ century lab bench experiments. We thus replace our “relativity”

expression with the more conventionally written Biot-Savart law in terms of mu_0. It

is interesting to note that according to the Biot-Savart law the magnetic field has the

same 1/r^2 term that the Coulomb electric field has but it is crossed into the velocity

of the charge owing to the relativistic “origin” of the magnetic field. A velocity

dependence to the force law is unusual and required some fundamental changes to

mechanics as we show later in this Chp. In Physics 436 we will obtain the relativistic

correction to the Biot-Savart form for a charge moving with a constant velocity in

terms of Griffith’s script r notation. More interestingly, we will get the exact Biot-

Savart expression by a tensor transformation of the E-field from a long charged

cylinder. The moving cylinder acts as a the current without the displacement

contribution due to the time varying E-field of the moving point charge.

4

Crossed E and B: cycloid motion

y
x
z
E = E z 0 ˆ
G
B = B x 0 ˆ
G

0 0

0 0

0 0 0

0 0

Let &

Then Eq. of Motion is

ω

ω

= + × =
G G
G G G

o

v x y z a x y z F qE z qv B x ma x y z m x y z qE z q x y z B q x y z B z E B y m qB E V m B

x y z z V y

( ( ) )

For further checks we need

and

cos sin a sin cos

ω ω ω ω ω ω

G
G G G G
G
G

dr v r a r dt v V t V t V t V t

Solution for initial conditions ( ) & ( ) :

ω sin ω cosω ω ω

G G
G

r v V V r t t t

Easy to see that solution has ( ) 0 = 0

G

r

[ ] [ ]

[ ] (^) { ( 1 ) }

Finally check the Eq. of Moti and sin sin

cos cos

on ω ω ω ω ω ω

ω ω ω ω

y z

z (^) y

y z z V y V t V t

V t V V t

 

 (^) 

Solution also has ( ) 0 = 0

G

v

Solution for initial conditions ( ) & ( ) :

ω sin ω cosω ω ω

G G
G

r v V V

r ( t t ) ( t )

Solution for initial conditions ( ) & ( ) :

ω sin ω cosω ω ω

G G
G

r v V V r t t t

Griffiths Ex. 5.2 discusses a particularly elegant example of magnetic and electric

force laws by describing the motion of a charge in crossed electric and magnetic

fields. We use Newton’s dot notation for time derivative throughout. The equation of

motion is fairly simple since these are static, uniform fields. We can simplify the

equation even further by using the cyclotron frequency to parameterize B and the

“selection velocity” V to parameterize E/B. We note that the form of the Lorentz

force means that vB must have the same units of E so E/B indeed has the units of a

velocity. We then have a very simple Eq. of motion which relates the acceleration to

the velocity where the cyclotron frequency gives the extra “per second”. Although

this requires a solution of coupled differential equations, the solution is rather

straightforward and involves sinusoidal solutions. To proceed we need initial

conditions on position and velocity. We start the charge at the origin with zero

velocity and show the solution with these initial conditions. You can easily see all

three components of the displacement vector disappear at t=0. Differentiating the

displacement gives the velocity which also disappears at t=0. We differentiate the

velocity to get the acceleration components. This allows us to check the equation of

motion in the y and z direction. The subscripts on the last boxed equations interpret

the bracketed quantities in terms of the components of velocity and acceleration.

5

The cycloid continues…

0

2 2 (^2 2 )

V

To understand solution let R=

sin cos

sin ; cos Using 1=sin +cos we see: y-Vt

mV qB V V r t t t

y R t t z R t t t z R R

ω

ω ω ω ω ω ω ω ω ω ω

G
V
G
R

ω t Cycloid swept out by point on rim of wheel V rolling w/o slipping

G

0 1 2 3

x

y

g

Slide to get mass from #1 to

2 the fastest is a cycloid

Recall Brachistochrone problem from Calculus of Variations

Fun facts about variables

0 0

0

0

0

0

0 0

0

cyclotron freq

is undeflected velocity

/

is circle radiu

=

f

V

s

E

i

ω

ω

=

= − =

=

→

=

=

=

=

F tot qE qV

qB m

B

V mV

B V

R qB

E B

v V

Fun facts about cycloids

The shape of the cross field orbit is fairly interesting in its own right. If we plot the displacement as a function of time, the orbit sweeps out a cycloid. We can think of a cycloid as a “rolling circle” or the path that a spot on the rim of a wheel sweeps out when it rolls without slipping. To see this we rewrite the solution in terms of a radius R which is the radius that a charge would have if it had velocity equal to the “selection velocity” V. We write the time dependence of y and z in these variables and use cos^2 + sin^2 to eliminate the trig functions. We essentially have the equation of a circle where z is centered on R and y is centered on a point which moves with the “selection velocity”. We note the sharp cusps that occur at the bottom where z=0. These are fairly easy to understand. For the rolling wheel a point on the rim is instantaneously at rest. This means the magnetic force vanishes and there is no acceleration in the y (horizontal) direction. There is however an acceleration in the vertical (z direction) since the E-field still provides a force. Hence the charge rapidly picks up a z velocity due to the E-field acceleration, and much more slowly pick up a horizontal velocity since both v and a are zero in the y-direction. The variables I am using have simple physical significance. Omega is the cyclotron frequency. The “selection velocity” is the velocity that a charge will have so that the Lorentz magnetic force is just canceled by the electric force for crossed fields. This principle can be used to select out specific ion velocities for experiments. Finally R is the magnetic radius for a charge traveling at the selection velocity. The cycloid played a very interesting role in the history of mathematics as one of the first uses of the calculus of variations. The idea was to find the shape of a slide that allows a mass to slide without friction between two points in the shortest amount of time. Euler was able to prove the fastest slide was in the shape of a cycloid. You can easily imagine that a optimal shape exists since you get lots of speed in a steep slide but cover little horizontal distance, and vice versa. It took a genius like Euler to construct the mathematics to find the optimum shape in the 1700’s

7

Current densities

v

G

dx

dy

Δ z

ρ

z^ ˆ

2

Now is charge past in

We can think of Here

units are A/m. Thu

pl

s

and

ane ρ

ρ ρ

ρ

τ

⊥

= ×

∫

∫

S

V

q t q dx dy v dt q dI dx dy v J v z da dx dy z dt J da dx dy v dI I J da

dI dI J J z da dxdy J F J B d

G G
G G G G

i i

G G

G G G G

G

3

μ τ π

= 0 ×

∫

J r r r B r d r r

G G G G
G
G G

V

. If da points out of surface

is current leaving volume.

Thus

From dive

Continuity Equation

rgence thm

S

V V S

S V

V

I J da

I

I d d J da t t J da Jd

d Jd J t t

ρ ρ τ τ

τ

ρ ρ τ τ

=

∂ ∂ = − = − = ∂ ∂ = ∇

∂ (^) ⎛ ∂ − = ∇ → ∇ + ∂ ∂

∫

∫ ∫ ∫

∫ ∫

∫ ∫

G (^) G G i

G (^) G i G (^) G G G i i

G G G i i 0

Since true for any volume 0

V

d

J t

τ

ρ

⎞ (^) = ⎜ ⎟ ⎝ ⎠ ∂ ∇ + = ∂

∫ G G i

Here units are

is width of ribbon

Sur

to

fac

flow

e current

σ ⊥ ⊥

→

= =

⊥

∑ i ∫ i (^) S

q v K da

dI A K v d m I

G^ G

G G (^) G A A

To establish the relation between the current and J we consider J traveling along

the z direction passing through an infinitesimal area vector aligned along z-hat with

an area given by dx times dy. In a time dt, a charge dq will move past a plane where

dq is given by the volume dx dy dz times rho. Since dz = v dt and J = rho v the

current passing through the plane is J dotted into the area vector da. We can think

of J as the current per transverse area a_perp. The units on J will thus be Amperes

per square meter. In the current density form the expressions for the Biot-Savart

and Lorentz force will involve vec-J times d tau rather than I d vec-L. The force

acting on volume of moving charge is J cross B integrated over tau. Similarly the B-

field created by a moving volume of charge can be written in terms of J crossed into

r-hat/r^2 integrated over the volume. The conservation of current can be written in

terms of J and the rate of change of charge density according to the Continuity

Equation. The total integral of J dot d vec-a over a surface enclosing a volume will

be the total current leaving the volume (since our da vector points outward). The

total exiting current will be the negative of the integral of d q / dt in the volume

where q can be written as the volume integral of the charge density. This allows us

to relate the rate of change of the charge density to the divergence of J. The same

continuity equation appears in other branches of physics such as fluid dynamics.

The final current form we will need is the surface current or K. For example, often

there is a bound current that frequently appears in magnetic materials in analogy

with the bound surface charge in electric materials. Essentially K is an infinite J that

only exists just below the surface. Just like I = lambda times velocity, J = rho times

velocity we say K = sigma times velocity. I is the charge per unit time moving past a

point, J is the charge per unit time moving past a transverse area, and K is the

charge per unit time moving past a transverse line segment. K has units of

Ampere/m.

8

B-Field on axis of circular current loop

2 3 0

2 2

I d

B d Rd

r r zz Rs

zz Rs zz Rs R z

μ^ π φ π

= 0 × =

r

r

r

r

G

G A G

v v A

G G

i

G

G

s^ ˆ

z^ ˆ

2 2 3 3 0 2 2 0 2 2

2 2

0 0

2

2 0

3 (^2 )

ˆ cos sin

z s
s z

zz Rs zs R

IR z

B z

I I z

B Rd Rd

R z R z

sd d

zd z R^ z

π π

π π

π

μ φ μ φ φ π π

φ φ φ φ

φ π

μ

0

0

× = 0
× =−

× − +

∫ =^ ∫ =

G

G

R

z

r

G

ˆ z

x ˆ

I d

G

A

s^ ˆ

Although computing E-fields from Coulomb’s Law might be familiar to you from

previous courses, computing B from the Biot-Savart Law may not be. Perhaps the

simplest example is the B-field for a point on the symmetry axis for a circular loop of

radius R carrying a current I. We put the loop in the x-y plane and will calculate the

field at points along the z axis. We will integrate along loop length dL by integrating

the phi angle from 0 to 2 pi. The infinitesimal loop length can be written as phi-hat R

d phi since the vector that points from a point at phi to a point at phi + d phi lies in

the phi-hat direction. We are left with an integral involving r-hat/|r-r’|^2. Here r is

“observation vector” which is the vector from the origin to the point whose field we

wish to compute and r’ is the “source vector” which is a vector from the origin to a

point on the current loop. We write the r-vector in terms of z – the location of our

observer point. We write r’-vector in terms of R and s-hat which specifies the point

on the current loop and depends on phi. We evaluate the cross products using RHR

to the three unit vectors described on right. We can pull out all R,s,and z factors out

of the integral since they have no phi dependence. The z-hat unit vector is also

constant and can be pulled out, but the s-hat integral gives zero when integrated

over a complete period. We are left with the B field on for a point on the central axis.

We were able to get the result very quickly since the spherical unit vectors did

nearly all of the work!

10

Force, and potential of a current loop

( )

( )

1

3

1 3

2

2 4

0 0 0

0

0

0 0 0

0

ˆ ˆ ˆ

' '

' ; '

ˆ ˆ ˆ

y x x y z y x y (^) x y y x x

y (^) x

z x x y z z x

x y z F I a Ia B B B B B F Ia B B B (^) B B B b B B b y y B (^) B F F Ia b b y y x y z F I b b B B B B B B B F F Ib a a z z

= = − +

= − ∂ (^) ∂ ≈ + ≈ + ∂ ∂ ⎛ ∂ ∂ ⎞ → + = (^) ⎜ − ⎟ ⎝ ∂^ ∂ ⎠

= − = −

⎛ ∂ ∂ ⎞

  • = (^) ⎜ − ⎟ ⎝ ∂^ ∂ ⎠

G

G

G G

G

G G

a

b y

z

x

I

( )

1 4

1 4

0

area nˆ RHR ˆ No force in uniform field If we see -

z^ y^ x^ x

z y^ x

x x x

B B^ B B F Iab z y y z B B^ B B z y x B B B F Iab x y z m I Iabx F m B

F U U m B

→

→

⎛ ∂ ∂ ∂ ∂ ⎞ → = (^) ⎜ + − − ⎟ ⎝ ∂^ ∂^ ∂^ ∂ ⎠ ∂ ∂^ ∂ ∇ ⋅ = → + = − ∂ ∂ ∂ ⎛ ∂ ∂ ∂ ⎞ → = − (^) ⎜ ⎟ ⎝ ∂^ ∂^ ∂ ⎠ = × × = − → = ∇ ∴ = −∇ =

G

G G

G

G G^ G^ G G i

G (^) G G i

U

θ

B
G
M
G

m × B

G G

Increase U by in direction of or || M B. We have direction, now f

increasing decre

ind magnitude from work energy

as

ing

θ → Ν θ Ν ×

G
G G^ G

= − cos θ

G G

U m B

Here we find the force on an small current loop. We consider a rectangular loop in the y-z plane of dimensions b by a. Presumably a large area loop can be modeled series of these smaller loops. We expand the three fields to first order with the lowest order being defined at the origin. Our plan is to add the forces in pairs. We write L cross B for segment 1 and L cross B’ for segment 2. Since there current reverses , the net force depends on the difference in the B and B’ which for any component will be the (dB/dy)b. Since the length of segments 1 and 2 is “a” we have a form proportional to “a” “b” I times the dB/dy derivative. Hence we have a form proportional to the magnetic moment in the -x direction times derivatives of B for the force on the #1 + #3 segments. The force on the #2 + # segments is of the same form. In this case the segment lengths are “b” and the field differences are proportional to (dB/dy)a. Adding together all 4 segments we have y and z force components that depend on derivatives of Bx but an x force component that depends on derivatives of Bz and By. We can change the Fx component to a derivative of Bx using the fact that that divergence of a B field vanishes as we will establish shortly. We thus have a force given by the magnitude of the magnetic moment times the gradient of Bx. The magnetic moment is the area of the loop, points in a direction normal to the loop given by the right-hand-rule of the current flow. Since m points in the –x axis we can write the force as the gradient of m dot B. If B is constant, there will be no force on the loop. A force requires a non-uniform B field. Recall the force is negative the gradient of the potential energy and hence we have also established that the potential is – m dot B which is an extremely useful result in its own right. As an example we consider a current loop mounted on axial so it is free to rotate about the y direction. We show the direction of the currents so you can verify the direction of magnetic dipole according to the right hand rule.

We can use the work-potential energy relation to compute the direction and magnitude of the torque acting on the wire loop. We sketch U as a function of the angle theta between B-vec and M-vec. As you can see the minimum of the potential energy is at theta=0. U increases as one increases theta. This means one must do work (eg fight the force on the coil) to increase U. The “angular” force is the torque, and evidently the torque must be in direction to decrease theta. As you can see this implies that the torque must be parallel to M-vec cross B-vec. We now have the direction and need to find the magnitude.

11

Finding the torque N

work=

  • | | | |cos | | | | sin

Hence | | | | sin and ||

U U U d Nd N

U U m B m B N m B

N m B N m B N m B

θ θ θ θ

θ θ θ θ

∂ ∂ Δ = = Δ → = ∂ ∂ ∂ = = − → = = ∂ = × → = ×

G

G G^ G G^ G^ G G i G (^) G G G (^) G G G (^) G G

= − cos θ

G G

U m B

0 0 0

ˆ ˆ ˆ

sin cos sin ˆ

x y z

m m mB y
B

Ν = θ θ= − θ

G
U

θ

B
G
M
G
M × B
G G

G

m

G

B

I

x

z

⊕ y ˆ

Fmag

G

F mag

G

U

Ny

equilibrium

U m B ; F U
N m B
= ×
G^ G^ G^ G
i
G G G
0 (^ )

3

0 2

3 4

1 4 4

Interestingly enough, in the large ˆ ˆ distance limit which is exactly the same as the form for electric fields ; ; For circle loop in x-y plane ˆ if ˆan

m r r m B r

m p B E m I R z r Zz

μ π μ π πε π

0

−

→ → → = =

G G^ i G

G G G G 0 2 0 2 3 3

2 4 2

d r R B I^ R z ˆ^^ IR z ˆ same as BS result Z Z

μ π μ π = =

 G

To find the magnitude of the torque, we set the work done rotating the coil against the torque to the change in potential energy. Work is force time distance or in angular problems: torque times angle. We thus get that the magnitude of the torque is the derivative of U with respect to theta. Hence the magnitude of the torque is the product of the field magnitude times the magnetic moment magnitude times the sine of the angle between them. Recall this is the standard expression for the magnitude of a cross product. The direction of the torque is along m-vec cross B-vec. If N-vec = m-vec cross B-vec we get the direction and magnitude correct and hence this must be the correct torque expression. We plot the torque and potential energy as a function of function of theta. We also plot the torque as a function of theta which is along the axle or y-direction. We see that when the magnetic moment is aligned with the B-field at theta =0, the coil is in a stable equilibrium position with zero torque. If we move the coil at some positive theta, a negative y torque will be present which rotate the coil back to the bottom of the potential hill at theta = 0. You can see the way the magnetic forces on the loop segments directed to the left and right create this torque in the direction of the equilibrium. With no friction the coil will oscillate back and forth about the stable equilibrium with an approximately constant frequency. The maximum torque magnitude occurs where the potential hill is the steepest at theta = 90 degrees. This is also borne out by the torque equation which shows the torque is proportional to sin(theta). There is also another equilibrium point where no torque exists at theta = 180 degrees corresponding to the case where the magnetic moment is anti-parallel to the external B- field. Any slight nudge will cause the coil to try to flip over and oscillate about theta =0. Finally we point out an interesting parallel between the electric dipole moment and the magnetic dipole moment. The expressions for the field ( a long distance away) are basically the same with the indicated “translations”. As a quick check we consider the magnetic moment for a circular loop in the x-y plane. We use B-vec expression to compute the field on a point on the z-axis. Indeed we recover the Biot- Savart expression in the limit Z>>R.

13

Ampere’s Law

( )

3 3 3 3

3 3

4 4

4 4

( ') ' ( ') '

From Gauss's Law lect =4 - ' Hence 1st term becomes

( ') ' ( ')4 - ' ' ( ) Interestingly en

B J r d J r d

r r

J r d J r r r d J r

μ μ τ τ π π πδ

μ τ μ πδ τ μ π π

0 0

0 0 0

∇ × = ∇ ⎛^ ⎞^ − ∇⎡^ ⎤ ∫ (^) ⎜ ⎟ ∫ ⎢ ⎥ ⎝ ⎠ ⎣ ⎦ ∇

∫ ∇^ =^ ∫ =

r r
r r
r
r
r
r

G G G (^) G G G (^) G G i i G (^) G G i

G (^) G G G (^) G G G GG i

G G
G
G

enc

enc

ough the 2nd term vanishes. Thus or integrating over area

familiar Ampere's Law

S S

B J B da B d J da I

B d I

μ μ μ

μ

0 0 0

0

∇ × = ∫ ∇ ×^ =^ ∫ =^ ∫ =

→ (^) ∫ =

G G G G G (^) G G G G G i (^) v i A i G G v i^ A

2

2

enc

Ampere's law is often easiest way to find B in symmetric problems Ex: for infinite wire If we assume ( )ˆ

or ˆagrees w/ Biot-S

B B B s B d sB I I I B s

φ π μ μ μ φ π

0 0 0

= ∫ =^ =^ =

=

G G G G G v i^ A

s

φ^ ˆ

I

ˆ z

s

I

But clearly ˆcan't be right

for a short current segment where ˆ Biot gives B= sin

Whats wrong?

sin

I
B

s

I

s

μ φ π

μ φ θ θ π

0

0 2

G

We have seen the divergence of (r-r’)/|r-r’|^3 before in our discussion of Gauss’s Law in differential form. We found that it was a 3-dimensional delta function. This forces the integral over J at the source point to return J at the observation point as well as conveniently canceling a 4 pi in the denominator of the first term. We thus have the elegant result that the curl of B is mu_0 J. Fortunately the second term vanishes and the elegance survives.

We can next apply Stokes’ law to this result by taking the line integral of each side. On the left we have the line integral of the B-fields, on the right we have the surface integral of the current density J which , as we saw earlier, is just the current enclosed in the loop. This is the (hopefully) familiar Ampere’s Law which you saw in Physics 212. Ampere’s law is the tool of first choice for computing a B field in the highly symmetric situations where a path can be found that is proportional to the full B- field magnitude. A great example is the B-field of an infinite wire at a point a distance s from the wire center. If we assume that the B-field is in the phi-direction and can only depend on the radial distance s, we easily get the form of B(s) since the line integral is just 2 pi s B_phi which must equal the mu_0 I. Of course one should worry about our assumptions on the form of the B-field when applying Ampere’s Law to find the field. We get some insight from the symmetry of the problem and the vanishing of the divergence. We also know that all three components of the curl must vanish in field free regions. From azimuthal symmetry of the source it is clear that B cannot depend on phi. The Biot-Savart Law tells us that B points in the z-hat cross (r-r’) direction and thus must be perpendicular to the z-axis and thus has no Bz. It is equally clear that it cannot depend on z since an infinite wire is looks exactly the same at any finite z. The vanishing of the z component of the curl means we must have d(s*B_phi)/ds = 0. This allows for a B_phi = constant/s and/or a B_s= constant’/s. The single wire is of the form B_phi = constant/s. We will show shortly (and you probably recall) that a solenoid will have a constant B_z. The finite wire shows that one can easily get mislead by an Ampere’s law argument. For example a small, centered current segment looks like it will just have a non-zero B_phi. It seems like the same Ampere’s law treatment should work for the finite current segment as the infinite current segment and we should get the same answer. Of course out Biot-Savart calculation shows us this is wrong since a smaller segment will have a smaller sin(theta_2)- sin(theta_1) and hence the field of this small current segment must be smaller than the infinite current segment. It might be nice to test this experimentally but it seems impossible to actually build a magnetostatic finite current segment!

14

Ampere Law prototypes

K

G

K

G

z

x

y A A

0

0 0

Current sheet

Using normal ˆ ˆ we have useful a BC form ˆ whe

re ( ) ; ( )

enc

K K y K in A m K B d B I K B

K z K z B

x B B K B B x B B x

x B x

μ μ μ

μ μ

η μ η

0 0 0

0 0

> < 0 > <

∫ =^ =^ =^ =
×
G G G
G G G G
G
G G

v i^ A^ A^ A G G

z

x

y

K = K y 0 ˆ

G

A A

← inside outside →

x ˆ

z ˆ

A A

K

G

B

G

0

0 0

only exists inside solenoid

Often where tur

Solenoid

n/m

enc

K K
B

B d B I K B K z K nI n

φ

μ μ μ

0 0 0

∫ =^ =^ =
G
G
G G

v i^ A^ A^ A G

There are many other examples where we get a very simple Ampere’s Law solution

besides the infinite wire. You are familiar with many of these from Physics 212. The

two that are illustrated here are the current sheet where there is a constant surface

current along an infinite plane. Here we use an Ampere’s Loop that is transverse to

the plane. The only unfamiliar thing might be the realization that the total current

that cuts the loop is K times L_perp where L_perp is in the surface and transverse

to K. This is easily remembered one you realize that K is measured in amps/meter.

The B-field is transverse to K and the plane normal and switches direction as you

pass through the plane. The current sheet is the magnetic analogy to the infinite

plane of charge in electrostatics. The other common example is the infinite solenoid.

Here we write the current as a surface current K phi-hat although one typically gets

the surface current by winding current carrying wires around a cylinder. To progress

with Ampere’s law we need to realize that there is no B-field outside the solenoidal

cylinder. Here the L_perp used to compute the total current through the loop is

directed along the z or symmetry axis. We can also use the current sheet Ampere

Law construction to establish an important boundary condition which relates the B

field on either side of the current sheet to the cross product of the surface current K

and the normal to the surface eta-hat. In our example eta-hat is x-hat and K-vec

points along y-hat. Our BC condition is on B_> which is the field past the plane in

the eta-hat direction, and B_< which is the field past the plane in the negative

eta_hat direction. The B_> and B_< difference is given by mu_0 times the cross

product of K and eta. Indeed this is true for the current sheet alone and will be true

for any B-field on either side of a current sheet. We will use this frequently. You can

think of a solenoid as a rotated version of two current sheets on either side of the

diameter with oppositely directed K’s. You can convince yourself that two opposite

current and displaced current sheets only have a field between them.

16

Spinning Ball of Charge w/ Magnetic Scalar Potential

( )

2 1 2 2

where ˆ ˆ ˆ (cos ˆ sin ˆ^ ) ˆ sin ˆ

Try ' (cos cos. To keep V' finite

'( ) cos & '( ) / cos. To find & we use

K v r z K R z r R r r R B B V A r P A r r r V r R A r V r R B r A B B B K

= = × = →
= × = − × =
G G G G G
G
G G G

3

3 3 3

3

3

sin ˆ^ ˆ sin ˆ ' ˆ ' ' ˆ

cos ˆ sin ˆ^ sin ˆ

cos ˆ ˆ

c ˆ

sin

os ˆ si

and

n

B A r A

K r B B R r R V V B V r r r

B B

B B A r A R R R B AR A A B

B r R

R
B B
R

0 > < 0 0

>

<

< 0

>

× = ×
− = × =
G
G G
G G
G
G G

( )

B R cos ˆ sin ˆconstant!

R A R

r R z

< μ σω^ θ^ θ θ μ σω

0

0

0

G

∇ B = 0

G G

i

∇ E = ρ /ε 0

G G

i

x

z

R

σ

ω =ω z ˆ

G

K
G
K
G

Here is a more interesting scalar potential example where we recycle our spherical separation of variable solution in a way very close to the “glued” charge example. In this case we spin the ball of with surface charge density sigma around the z-axis with an angular velocity omega. This will create a surface current given by sigma times velocity where you might recall from Physics 425 is given by omega cross r-vec where r-vec is from the origin to a point on the sphere of radius R. Multiplying this out we find that the surface current is in the phi- hat direction and is proportional to sin(theta). As a guess we try the Laplace potential for P1 (cos theta) since this will result in a simple function of cos(theta). Just like the P1 glued charge example, we will have an A term which is proportional to r for the inside and a term proportional to B/r^2 on the outside. The V’> and V’< are limited to either A or B since we don’t want V’ to blow up at r=0 or r= infinity. We need two BC to fix the unknown A and B variables. Interestingly enough, the potential V’ is not continuous at r=R unlike the case of the spherical electret. Rather, we get the two BC from our “current sheet” expression which relates B just below B< and just above B> the current sheet in the r-hat direction. The K-vec cross eta-hat lies in the theta direction which means that the radial component of B is continuous and the theta component is not. We apply this by first evaluating the B field r-hat and theta-hat components by evaluating the spherical gradient expression at the current sheet location of r=R. Since the gradient gives B-theta component proportional to sin(theta) for both B< and B> and the K cross eta is also proportional to sin(theta) we know we will have a valid solution, the sin(theta) factors will cancel, and thus our V’ propto P1 guess was correct! Essentially continuity of the radial components of B allows us to write B in terms of A and R and the discontinuity of the theta components allows us to find A in terms of sigma, R, and omega. We can insert this A value into our B< expression to get the B-field inside the sphere, and we find that (1) the B-field is in the z-hat direction which is the direction of angular velocity omega and (2) is uniform inside the sphere. It is not that surprising that B is along the z-axis for points on the z-axis since we can think of the sphere as a collection of circular loops -- each centered on the z-axis. By the right- hand rule it is clear that a positive current implies a positive B_z in the center of each circular loop. It is surprising that the field is uniform within the sphere, just like a solenoidal B-field. Unlike the solenoid, the rotating charge field leaks both inside and outside the sphere and hence we cannot use a simple Ampere’s law argument to decide that B is uniform. I also include a sketch of the magnetic field lines for the spinning charge and compare it to the spherical electret example from the last chapter. The big difference is that B-field lines inside the sphere for the magnetic case are in the same direction as those just outside the north or south pole, while the E-field lines inside the spherical electret are in the opposite direction as those just outside either pole. It is easy to see why. In the electret case, there are electric charges on the surface which means field lines can end and begin on a charge and by Gauss’s law one can show E_r is discontinuous. In the magnetic case, there are no “magnetic” charges which can start or stop a magnetic field line, which by a Gauss’s law argument applied to Del dot B = 0 implies B_r is continuous. Incidentally there is never a magnetic charge in any physical system to the best of our knowledge!

17

Analogy w/ electric dipole potential

2 2 0

1 Does^?

/

( ) p^ m^ '( )

r p r m

V r R V r

r r

ε μ

μ πε π

0 0 0

→

G iG^ G^ G^ G iG

2 3 4

4 2 2 4

2 3 2 3

3

3

||

'( ) cos & '( ) cos

; cos cos '( )

ˆ Is Check with ˆ( )

m z

V r R A r V r R B r AR R A R B R m V r R r r R z m dm z Area dI

θ θ

μ σω μ σω μ σω θ μ θ π πσω

0 0

0 0

< = > =

− = − = =

> = ⎯⎯⎯→ 4 4 = =

G G

G G

sin

dI K d

d Rd K R

⊥

⊥

G G
A
G
A
G

R

R sin θ

ω z^ ˆ

4 2 4 1 2 0 1 3 1 4 4 1

cos

sin ˆ^ sin ˆ sin

ˆ (^) cos sin ˆ (1 )

; Area

which checks!

u

dI d K Rd R dm z R dI z R d

m z R d m z R u du

u R m z R u m z

π θ

2 ⊥

−

−

=

= = = ⎡⎣^ ( ) ⎤⎦ =
A
G G
G G

Recall we obtained the a elegant expression for the potential for a glued ball of

charge with sigma proportional to cos(theta) in our Laplace chapter. We will show a

spinning ball of charge has a magnetic moment. Wouldn’t it be cool if we could

make the obvious electric to magnetic transformation to our charged ball expression

to get the magnetic scalar potential for a spinning ball? Lets assume that this

actually does work and use our spinning ball magnetic potential to compute the

required magnetic moment. We get an boxed expression for vec-m. We can check

this by thinking of the spinning ball being equivalent to elements of current loops

each with a magnetic moment element along the z-hat direction. The infinitesimal

magnetic moment will be d vec-m = d i ( area) z-hat = d i [pi (R sin theta)^2] z-hat

since R sin theta is the equivalent radius of the loop. A current element d i is given

by the magnitude surface current K times d Lperp. For this case d Lperp is in the

theta-hat direction and has a length R d theta. We know the surface current for the

spinning charged ball from the previous slide and hence we have a current element

which goes as sin^2(theta) d (theta) and a magnetic moment element which is

proportional to sin^3 (theta) d(theta). We can evaluate the integral of our magnetic

moment elements from 0 to pi using the usual u = cos(theta) variable substitution

for spheres. Indeed we get the same vec-m that we need so that the scalar potential

expression in terms of vec-m is analogous to the voltage expression for for an vec-p

electric dipole moment. The electric-magnetic symmetry is powerful!

19

The vector potential of a current plane

(^2 )

0 0 0

2 2

0 0 2 2 0 2 2 1 2 1 2 0 2 2 0 0

4 4

2 2 4 1 2 2

/ /

( ') ˆ ( ) ' ( ) '

  • ' ˆ ' ˆ ˆ ' ˆ ' ˆ (^) ' ' ' ' ' ( ) Let ' ' ' ' ' '

( )

z (^) z

J r K x A r d A r da

r r zz s s zz s s s z K x (^) s ds da s ds A r s z s z s ds d s ds v dv v z s z K z A z

μ μ τ π π

μ π π ν π

ν

μ

∞

∞ (^) ∞ − + ∞

= (^) ∫ → = ∫

= = − − = +

= → = (^) ∫ = +

= → (^) ∫ = (^) ∫ = ⎡⎣ ⎤⎦ = − + ∞

− → = −

r r

r

G G (^) G GG

G G i G

G (^) ( )

0 0 0 0

0 0 0 0

2

0 2 2 0 0

0 2 2 0 0

ˆ

ˆ ˆ ˆ ˆ

ˆ ˆ ˆ ˆ

x y z

x y z

x

x y z K K y B z z x y z K K y B z z

μ μ

μ μ

∞

→ > = − ∂ ∂ ∂ = − − ∞

→ < = − ∂ ∂ ∂ = + − − ∞

G

G

z ˆ

s '

K

G

K

G

r

G

x ˆ

φ '

r ' G

K

G

K

z G

x

y

A A

In this example we use the vector potential integral to compute the magnetic field of

a uniform current sheet. We place our observation point along the z-axis and our

source point at s’ s-hat. Our vector potential integral becomes an area integral of

the form 2 pi s’ ds’. This integral is easy to evaluate by a variable substitution. For a

z>0 point our integral is of the form z – infinity where the infinity part comes from the

infinite s’ extent. Having a divergent A-vec is a bit disconcerting but doesn’t cause

any problem in the B-field calculation since the B-field is the curl of A which involves

derivatives with respect to observer coordinates and our “infinity” does not depend

on these coordinates. Instead we get the expected B-field on either side of an

infinite current sheet. We will use a similar technique to calculate electromagnetic

radiation from an oscillating current sheet in Physics 436.

20

Vector potential of spinning ball of charge

Griffiths Ex 5.

G

x

z

σ

R

( )

( )

( ) ( )

( )

0

(^4 ) 3

2 2

Griffiths ex 5.11 does this integral for rotating sphere

and gets:

using

ˆ ˆ we get ' A

S

K r A r da

R R

A r R r B r R

R R A r R r m r m r m r A V r r

0 0

0

0 0 > >

< = × → < =
> = × =
×

∫ (^) r

G G
G G
G G G G G G G
G G
G G G G
G G^ G

i nalogy w/ V' is striking!

( )

2 2

2 3

Both and ' are exact if we are
the spinning ball. We will show that arbitrary current loop can be multipole
expanded as
outside
m r m r
A V
r r
m r
A r R
r r

0 0

0

×
× ⎛ ⎞
O
G G^ G
i
G G

In Griffiths Ex 5.11, the text uses the vector potential integral to evaluate vec-A for the spinning ball of charge and takes its curl to find B for a point inside and outside of the ball. Of course, the text gets the same answer we did for the B-field as we did using our Laplace Eq. treatment using the scalar potential. I find the Laplace Eq. treatment to be easier since the vector potential evaluation that Griffiths uses rather tricky – he is the king of spherical integrals. We can use our magnetic moment expression to convert from the angular velocity to the magnetic moment. When written this way we see a remarkable analogy between Griffiths expression for the vector potential and our scalar potential V’ expression. For the scalar potential we have the dot product between m-vec and r-hat , while for the vector potential we have the cross product between m-vec and r-hat. In both the glued charge, and spinning ball examples are ideal electric and magnetic dipoles and hence our simple vector and scalar potential expressions are exact. In general we can expand the vector potential for an arbitrary current system in a magnetic multipole expansion which we develop at the end of these lectures. The magnetic moment or (magnetic dipole) term is the leading term in this expansion since presumably there are no magnetic monopoles.