Electromagnetism: Worked Examples. University of Oxford Second Year, Part A2

Similar documents
Department of Physics IIT Kanpur, Semester II,

Indiana University Physics P331: Theory of Electromagnetism Review Problems #3

Summary: Applications of Gauss Law

Homework Assignment 4 Solution Set

1. (3) Write Gauss Law in differential form. Explain the physical meaning.

Solution Set Eight. 1 Problem #1: Toroidal Electromagnet with Gap Problem #4: Self-Inductance of a Long Solenoid. 9

Electric fields in matter

Electrodynamics I Midterm - Part A - Closed Book KSU 2005/10/17 Electro Dynamic

l=0 The expansion coefficients can be determined, for example, by finding the potential on the z-axis and expanding that result in z.

Physics 3323, Fall 2016 Problem Set 2 due Sep 9, 2016

Problem Set #4: 4.1,4.7,4.9 (Due Monday, March 25th)

UNIVERSITY OF CALIFORNIA - SANTA CRUZ DEPARTMENT OF PHYSICS PHYS 110A. Homework #7. Benjamin Stahl. March 3, 2015

Physics 505 Fall 2005 Homework Assignment #7 Solutions

University of Illinois at Chicago Department of Physics

UNIVERSITY OF CALIFORNIA - SANTA CRUZ DEPARTMENT OF PHYSICS PHYS 110A. Homework #6. Benjamin Stahl. February 17, 2015

Second Year Electromagnetism Summer 2018 Caroline Terquem. Vacation work: Problem set 0. Revisions

FORMULA SHEET FOR QUIZ 2 Exam Date: November 8, 2017

Physics 7B Midterm 2 Solutions - Fall 2017 Professor R. Birgeneau

(b) For the system in question, the electric field E, the displacement D, and the polarization P = D ɛ 0 E are as follows. r2 0 inside the sphere,

Electrostatics. Chapter Maxwell s Equations

Magnetostatics III Magnetic Vector Potential (Griffiths Chapter 5: Section 4)

ECE 3209 Electromagnetic Fields Final Exam Example. University of Virginia Solutions

Junior-level Electrostatics Content Review

Tutorial 3 - Solutions Electromagnetic Waves

lim = F F = F x x + F y y + F z

ELECTRO MAGNETIC FIELDS

Applications of Ampere s Law

Topic 7. Electric flux Gauss s Law Divergence of E Application of Gauss Law Curl of E

Classical Field Theory: Electrostatics-Magnetostatics

Summary: Curvilinear Coordinates

0.4. math. r r = r 2 + r 2 2r r cos(θ ) 0.5. Coordiates.

2nd Year Electromagnetism 2012:.Exam Practice

Electric Flux. To investigate this, we have to understand electric flux.

QUALIFYING EXAMINATION, Part 1. Solutions. Problem 1: Mathematical Methods. r r r 2 r r2 = 0 r 2. d 3 r. t 0 e t dt = e t

Expansion of 1/r potential in Legendre polynomials

1. (3) Write Gauss Law in differential form. Explain the physical meaning.

Ch 30 - Sources of Magnetic Field

7 Curvilinear coordinates

Dielectrics - III. Lecture 22: Electromagnetic Theory. Professor D. K. Ghosh, Physics Department, I.I.T., Bombay

xy 2 e 2z dx dy dz = 8 3 (1 e 4 ) = 2.62 mc. 12 x2 y 3 e 2z 2 m 2 m 2 m Figure P4.1: Cube of Problem 4.1.

Magnetic Fields Part 2: Sources of Magnetic Fields

Gauss s Law. Chapter 22. Electric Flux Gauss s Law: Definition. Applications of Gauss s Law

PHYS 110B - HW #4 Spring 2004, Solutions by David Pace Any referenced equations are from Griffiths Problem statements are paraphrased

PHY481 - Outline of solutions to Homework 3

1. ELECTRIC CHARGES AND FIELDS

Chapter 5. Magnetostatics

Steady and unsteady diffusion

CHAPTER 3 POTENTIALS 10/13/2016. Outlines. 1. Laplace s equation. 2. The Method of Images. 3. Separation of Variables. 4. Multipole Expansion

Lecture notes for ELECTRODYNAMICS.

The dielectrophoretic force on dielectric spherical objects

Physics 202, Lecture 14

Electromagnetism Answers to Problem Set 9 Spring 2006

Problems in Magnetostatics

Electrodynamics Exam Solutions

E & M TEST BANK. August 2016

(a) Consider a sphere of charge with radius a and charge density ρ(r) that varies with radius as. ρ(r) = Ar n for r a

Electromagnetism - Lecture 10. Magnetic Materials

Notes: Most of the material presented in this chapter is taken from Jackson, Chap. 2, 3, and 4, and Di Bartolo, Chap. 2. 2π nx i a. ( ) = G n.

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ.

E. not enough information given to decide

PHYS152 Lecture 8. Eunil Won Korea University. Ch 30 Magnetic Fields Due to Currents. Fundamentals of Physics by Eunil Won, Korea University

MP204 Electricity and Magnetism

Examples of Dielectric Problems and the Electric Susceptability. 2 A Dielectric Sphere in a Uniform Electric Field

Electromagnetism Answers to Problem Set 8 Spring Jackson Prob. 4.1: Multipole expansion for various charge distributions

A cylinder in a magnetic field (Jackson)

Scattering. March 20, 2016

Currents (1) Line charge λ (C/m) with velocity v : in time t, This constitutes a current I = λv (vector). Magnetic force on a segment of length dl is

arxiv: v2 [physics.acc-ph] 27 Oct 2014

Columbia University Department of Physics QUALIFYING EXAMINATION

PHYS 110B - HW #4 Fall 2005, Solutions by David Pace Equations referenced as EQ. # are from Griffiths Problem statements are paraphrased

Linear and Nonlinear Magnetic Media (Griffiths Chapter 6: Sections 3-4) Auxiliary Field H We write the total current density flowing through matter as

8.1 Conservation of Charge and Energy. ρ + J =0, (8.1) t can be derived by considering the flow of charges from a given volume, Q t =

Chapter 28 Sources of Magnetic Field

INGENIERÍA EN NANOTECNOLOGÍA

Introduction to Electrodynamics David J. Griffiths Fourth Edition

E&M. 1 Capacitors. January 2009

Chapter 27 Sources of Magnetic Field

Chapter 28 Sources of Magnetic Field

Errata Instructor s Solutions Manual Introduction to Electrodynamics, 3rd ed Author: David Griffiths Date: September 1, 2004

Chapter 4. Electrostatic Fields in Matter

Contents. Notes based on Fundamentals of Applied Electromagnetics (Ulaby et al) for ECE331, PSU.

week 3 chapter 28 - Gauss s Law

Make sure you show all your work and justify your answers in order to get full credit.

Dielectrics. Lecture 20: Electromagnetic Theory. Professor D. K. Ghosh, Physics Department, I.I.T., Bombay

3 Chapter. Gauss s Law

PHY752, Fall 2016, Assigned Problems

Physics 217 Practice Final Exam

G( x x, t) = 1 (2π) 3. d 3 k e k2 t/µσ e i k ( x x ) A( k, t)e k x d 3 k. A( x, t) = 1

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

3: Gauss s Law July 7, 2008

Vector Potential for the Magnetic Field

PHYS 3327 PRELIM 1. Prof. Itai Cohen, Fall 2010 Friday, 10/15/10. Name: Read all of the following information before starting the exam:

B r Solved Problems Magnetic Field of a Straight Wire

Solutions to PS 2 Physics 201

Chapter 6. Magnetostatic Fields in Matter

CYK\2009\PH102\Tutorial 10

Physics 6C Review 1. Eric Reichwein Department of Physics University of California, Santa Cruz. July 16, Figure 1: Coulombs Law

AMPERE'S LAW. B dl = 0

Lecture 3. Electric Field Flux, Gauss Law. Last Lecture: Electric Field Lines

A half submerged metal sphere (UIC comprehensive

Transcription:

Electromagnetism: Worked Examples University of Oxford Second Year, Part A2 Caroline Terquem Department of Physics caroline.terquem@physics.ox.ac.uk Michaelmas Term 2017

2

Contents 1 Potentials 5 1.1 Potential of an infinite line charge....................... 5 1.2 Vector potential of an infinite wire....................... 6 1.3 Potential of a sphere with a charge density σ = k cos θ............ 7 1.4 Multipole expansion............................... 10 1.5 Electric dipole moment.............................. 11 2 Electric fields in matter 13 2.1 Field of a uniformly polarized sphere...................... 13 2.2 D and E of an insulated straight wire..................... 15 2.3 D and E of a cylinder with polarization along the axis............ 15 2.4 Linear dielectric sphere with a charge at the center............. 16 3 Magnetic fields in matter 19 3.1 Field of a uniformly magnetized sphere..................... 19 3.2 Field of a cylinder with circular magnetization................ 21 3.3 H and B of a cylinder with magnetization along the axis........... 22 3.4 H and B of a linear insulated straight wire.................. 23 3

Most of the problems are taken from: David J. Griffiths, Introduction to Electrodynamics, 4th edition (Cambridge University Press) 4

Chapter 1 Potentials 1.1 Potential of an infinite line charge (a) A straight wire, assumed infinitely long, has a constant linear charge density λ. Calculate the electric field due to the wire. Use this result to calculate the electric potential. Given the symmetry of the system, the electric field at the point P is: ˆ λdz E = cos θ. 4πɛ 0 d2 wire Using d = r/ cos θ and z = r tan θ, which yields dz = rdθ/ cos 2 θ, we get: E = λ ˆ π/2 cos θdθ = 4πɛ 0 r π/2 λ 2πɛ 0 r. Using cylindrical coordinates, E = V yields: V = λ ln r + C, 2πɛ 0 where C is a constant. We see that the reference point for V cannot be taken at infinity (that is, we cannot have V = 0 when r + ). (b) Show that equation (1.12) from the lecture notes cannot be used to calculate the potential. Using equation (1.12) would yield: V = λ 4πɛ 0 ˆ + dz r 2 + z 2 = λ 4πɛ 0 [arcsinh(x)] +, which gives an infinite result. Equation (1.12) is not valid here because it assumes that the reference point for the potential is at infinity, which cannot be satisfied when the wire extends to infinity. 5

1.2 Vector potential of an infinite wire (a) A straight wire, assumed infinitely long, carries a current I. Calculate the magnetic field due to the wire. Use this result to calculate the vector potential. Assuming the current is along the z direction, Ampère s gives the magnetic field: B = µ 0I 2πr ˆθ, where ˆθ is the unit vector in the azimuthal direction. We look for A such that A = B = Bˆθ. In cylindrial coordinates, the θ component of the curl is A r / z A z / r. Given the symmetry of the system, A cannot depend on z, so that we are left with: A z r = µ 0I 2πr = A = µ 0I ln r ẑ. 2π Note that any vector with zero curl could be added to this solution. (b) Show that equation (1.13) (or equation [1.16]) from the lecture notes cannot be used to calculate the vector potential. Using the z component of equation (1.16) would yield: which gives an infinite result. A z = µ ˆ + 0 Idz 4π r 2 + z = µ 0 2 4π [arcsinh(x)]+, As in the case of the infinite line charge above, equation (1.16) is not valid here because it assumes that the reference point for the vector potential is at infinity, which cannot be satisfied when the wire extends to infinity. 6

1.3 Potential of a sphere with a charge density σ = k cos θ We consider a sphere of radius R and a spherical coordinate system (r, θ, ϕ) with origin at the centre of the sphere. A charge density σ = k cos θ is glued over the surface of the sphere. Calculate the potential inside and outside the sphere using separation of variables. There is no charge inside and outside the sphere so that the potential V satisfies Laplace s equation 2 V = 0 at any r R. As the charge density does not depend on ϕ, V is also independent of ϕ. The general solution of Laplace s equation in the asisymmetric case is given by equation (1.32) from the lecture notes. We can then write the potential inside and outside the sphere as: Boundary conditions: V in (r, θ) = V out (r, θ) = l=0 ( l=0 ( αl in r l + βin l α out l r l+1 r l + βout l r l+1 ) P l (cos θ), ) P l (cos θ). (1.1) (i) V out (r, θ) 0 as r +, (ii) (iii) (iv) V in (r, θ) finite inside the sphere, V in (R, θ) = V out (R, θ) (V continuous), E out E in = σ V out + V in ɛ 0 r r = k cos θ ɛ 0. General method (always works): we use the boundary conditions to calculate all the coefficients. Condition (i) implies αl out equations (1.1) become: = 0 l, condition (ii) implies β in l = 0 l, so that Then condition (iii) implies: V in (r, θ) = V out (r, θ) = l=0 l=0 α in l r l P l (cos θ), β out l r l+1 P l(cos θ). (1.2) l=0 α in l R l P l (cos θ) = 7 l =0 βl out R l +1 P l (cos θ),

where we have renamed the index of summation l in the right hand side to make things more clear. We now multiply each side of this equality by P m (cos θ) sin θ and integrate from 0 to π: l=0 α in l R l ˆ π 0 P l (cos θ)p m (cos θ) sin θdθ = l =0 Using the orthogonality of the Legendre polynomials: ˆ π we obtain α in mr m = β out m /R m+1 0 P l (cos θ)p m (cos θ) sin θdθ = 2 2l + 1 δ l,m, βl out ˆ π P R l +1 l (cos θ)p m (cos θ) sin θdθ. 0 m. Therefore, equations (1.2) become: Then condition (iv) implies: V in (r, θ) = V out (r, θ) = l=0 l=0 α in l r l P l (cos θ), αl in R 2l+1 r l+1 P l(cos θ). (1.3) l=0 (2l + 1)α in l R l 1 P l (cos θ) = k cos θ ɛ 0 where we have used the fact that cos θ = P 1 (cos θ). = k ɛ 0 P 1 (cos θ), Here again, we multiply each side of this equality by P m (cos θ) sin θ and integrate from 0 to π: l=0 (2l+1)α in l R l 1 ˆ π 0 P l (cos θ)p m (cos θ) sin θdθ = k ˆ π P 1 (cos θ)p m (cos θ) sin θdθ ɛ 0 The orthogonality of the Legendre polynomials then yields: 2α in mr m 1 = 2k 3ɛ 0 δ 1,m, that is, α in m = 0 for m 1 and α in 1 = k/(3ɛ 0). Finally, equations (1.3) then become: 0 V in (r, θ) = V out (r, θ) = k r cos θ, 3ɛ 0 k R 3 cos θ. 3ɛ 0 r2 (1.4) 8

Shorter method (works in this particular case): we guess some of the coefficients and use the boundary conditions to calculate the others. As the surface charge density is proportional to cos θ, we expect that the potential itself is propotional to cos θ. Therefore, we can assume that all the terms in equations (1.1) are 0 except for l = 1. We will check a posteriori that this assumption is correct. We then write directly: ) V in (r, θ) = (α in r + βin r 2 cos θ, ) V out (r, θ) = (α out r + βout cos θ. r 2 (1.5) As above, the boundary conditions (i) and (ii) yield β in = 0 and α out = 0. Conditions (iii) and (iv) can then be used to calculate α in and β out. Finally, we have found a solution that satisfies Laplace s equation and the boundary conditions. As the solution is unique, this is the correct one, and that justifies a posteriori the assumption we have made to start with. 9

1.4 Multipole expansion A sphere of radius R, centered at the origin, carries charge density: ρ(r, θ) = k R (R 2r) sin θ, r2 where k is a constant, and r, θ are the usual spherical coordinates. Find the approximate potential for points on the z axis, far from the sphere. We use equation (1.35) from the lecture notes with O the center of the sphere and M on the z axis, so that γ = θ and r = z. Monopole term: V 0 (z) = 1 ρ(r)dτ = 4πɛ 0 z V Q 4πɛ 0 z, with dτ = r 2 sin θ dr dθ dϕ and Q is the total charge of the sphere. Here: ˆ R ˆ 2π ˆ π Q = kr (R 2r) dr dϕ sin 2 θdθ. r=0 ϕ=0 θ=0 The integral over r is 0 so that V 0 (z) = 0. Dipole term: Here: V 1 (z) = 1 4πɛ 0 z 2 r cos θρ(r)dτ. V V 1 (z) = kr ˆ R ˆ 2π ˆ π 4πɛ 0 z 2 (R 2r) rdr dϕ sin 2 θ cos θdθ. r=0 ϕ=0 θ=0 The integral over θ is 0 so that V 1 (z) = 0. Quadrupole term: Here: V 2 (z) = V 2 (z) = 1 4πɛ 0 z 3 r 2 1 ( 3 cos 2 θ 1 ) ρ(r)dτ. V 2 kr ˆ R ˆ 2π ˆ π 8πɛ 0 z 3 (R 2r) r 2 ( dr dϕ 3 cos 2 θ 1 ) sin 2 θdθ. r=0 ϕ=0 θ=0 The integral over r is R 4 /6 and the integral over θ is π/8, so that: V (z) V 3 (z) = 1 4πɛ 0 kπ 2 R 5 48z 3. 10

1.5 Electric dipole moment Four charges are placed as shown. Calculate the electric dipole moment of the distribution and find an approximate formula for the potential, valid far from the origin (use spherical coordinates). Since the total charge is 0, the monopole term is also 0. The dipole term in the expansion of the potential is given by: V 1 (r) = 1 4πɛ 0 p ˆr r 2, (equation 1.37 from the lecture notes) where r is the position vector, ˆr is the unit vector along the radial direction in spherical coordinates and p is the electric dipole moment. We have: p = i q i r i, where r i denotes the position of the charge q i. Since the total charge is 0, p does not depend on the choice of the origin from which we measure the positions. We use O as the origin. Then we have: p = (3qa qa)ẑ + ( 2qa + 2qa)ŷ = 2qaẑ, where ẑ and ŷ are unit vectors. Therefore: where we have used ẑ ˆr = cos θ. V (r) V 1 (r) = 1 4πɛ 0 2qa cos θ r 2, 11

12

Chapter 2 Electric fields in matter 2.1 Field of a uniformly polarized sphere (a) Find the electric field produced by a uniformly polarized sphere of radius R. (Hint: use the results of example 1.3) Inside the sphere, the volume charge density is ρ p = P which is 0 as the polarization is uniform. At the surface of the sphere, there is a surface charge density σ p = P ˆr, where ˆr is the unit vector in the radial direction. We choose the z axis in the direction of P, so that σ p = P cos θ in spherical coordinates. In example 1.3 we have calculated the potential of a sphere with a surface charge density proportional to cos θ: V (r, θ) = P 3ɛ 0 r cos θ, for r R, V (r, θ) = P R 3 cos θ, for r R. 3ɛ 0 r2 (2.1) The electric field is: E = V = V r ˆr 1 V r θ ˆθ, where ˆθ is the unit vector in the azimuthal direction. Therefore: 13

E = P ẑ, for r < R, 3ɛ 0 2p cos θ p sin θ E = ˆr + 4πɛ 0 r3 4πɛ 0 r ˆθ, 3 for r > R, (2.2) where we have used r cos θ = z and we have defined the total dipole moment of the sphere p = (4/3)πR 3 P. We see that the field inside the sphere is uniform, whereas the field outside the sphere is that of a perfect dipole p at the origin. (b) Calculate the potential directly using equation 2.7 from the lecture notes. Equation 2.7 gives: V (r) = 1 P(r )dτ (r r ) 4πɛ 0 V r r 3, (2.3) where V is the volume of the sphere. We have seen in the lectures that this expression is valid for calculating the potential both inside and outside the sphere. Since P is uniform, it can be taken out of the integral, so that we obtain: [ 1 V (r) = P 4πɛ 0 V (r r )dτ ] r r 3. (2.4) The term in brackets is the electric field E 1 of a sphere with a uniform charge density equal to unity. This electric field can be calculated using Gauss s law and is given by: E 1 = E 1 = r 3ɛ 0 ˆr, for r < R, V = P E 1 can then be used to recover the potential. (2.5) R3 3ɛ 0 r 2 ˆr, for r > R. Note that the parallel component of E at the surface, E θ (R), is continuous, whereas the perpendicular component, E r (R), is discontinuous: E out E in = σ ˆr. ɛ 0 14

2.2 D and E of an insulated straight wire A long straight wire, carrying uniform line charge λ, is surrounded by rubber insulation out to a radius a. Find the electric displacement and the electric field. Gauss s law (2.16) from the lecture notes can be used to calculate D. Given the symmetry of the problem, and using cylindrical coordinates, D depends only on the distance r to the wire and is in the radial direction. We choose the Gaussian surface to be a cylinder of radius r and length L around the wire. Then Gauss s law yields D 2πrL = λl, that is: D = 2πrˆr, λ where ˆr is the unit vector in the radial direction. This is true for all r > 0. Outside the insulation, P = 0 so that: E = D ɛ 0 = λ 2πɛ 0 rˆr. Inside the insulation, E = (D P)/ɛ 0, which we cannot calculate as we do not know P. 2.3 D and E of a cylinder with polarization along the axis A cylinder of finite size carries a frozen in uniform polarization P, parallel to its axis. (Such a cylinder is know as a bar electret). Find the polarization charges, sketch the electric field and the electric displacement (use the boundary conditions). Polarization charges: there is no volume charge as P is uniform, and the surface charge is P ˆn = +σ on one end and σ on the other end. Electric field: The bar is therefore like a physical dipole. Note that electric field lines terminate on charges, whether they are bound or free, with E pointing towards the negative charge. (Figure from Purcell.) 15

The perpendicular component of E is discontinuous at the surfaces: E out E in = ±σ ɛ 0 ˆn, whereas the parallel component of E is continuous across the lateral surface. Electric displacement: D = ɛ 0 E + P, therefore D = E outside the cylinder. Since there is no free charge at the surfaces, the perpendicular component of D is continuous there, so that D inside the cylinder goes from left to right. Note that D lines terminate on free charges. As there are no free charges here, D lines are continuous: We see that even though there is no polarization outside the cylinder, D is non zero there. This is because the polarization is discontinuous at the surface of the cylinder, and along the lateral surface we have (see equation [2.22] from the lecture notes): D in D out = P. The discontinuity of P generates a non zero D outside. 2.4 Linear dielectric sphere with a charge at the center A point charge q is embedded at the center of a sphere of linear dielectric material (with susceptibility χ e and radius R). Find the electric field, the polarization, and the polarization charge densities, ρ p and σ p. What is the total polarization charge on the surface? Where is the compensating negative polarization charge located? Electric displacement: Given the symmetry of the problem, in spherical coordinates, Gauss s law yields: D = q 4πr 2 ˆr, for all r > 0, where ˆr is the unit vector in the radial direction. Electric field: Inside the sphere, E = D/ɛ with ɛ = ɛ 0 (1 + χ e ). Therefore: E = and E = D/ɛ 0 outside the sphere. q ˆr, for r < R, 4πɛ 0 (1 + χ e )r2 16

Polarization: P = ɛ 0 χ e E inside the sphere, that is: P = Volume polarization charge: χ e q ˆr, for r < R. 4π(1 + χ e )r2 χ e q ρ p = P = 4π(1 + χ e ) Using the definition of the δ function in 3 dimensions: ( ) ˆr r 2 = 4πδ 3 (r), ( ) ˆr r 2. we get: χ e ρ p = q δ 3 (r). 1 + χ e Surface polarization charge: σ p = P(R) ˆr = Therefore, the total surface charge is: Q surf = σ p 4πR 2 = χ e q 4π(1 + χ e )R 2. χ e 1 + χ e q. The compensating negative charge is at the center, which is implied by the fact that the δ 3 function is non zero only at r = 0. As P is radial, the dipoles in the sphere are all aligned in the radial direction, leaving a net charge at the center and at the surface only. 17

18

Chapter 3 Magnetic fields in matter 3.1 Field of a uniformly magnetized sphere (a) Find the magnetic field produced by a uniformly magnetized sphere of radius R. (Hint: use the results of Problem 7 in Problem Set 1) Inside the sphere, the volume current density is J m = M which is 0 as the magnetization is uniform. At the surface of the sphere, there is a surface current density K m = M ˆr. We choose the z axis in the direction of M, so that K m = M sin θ ˆϕ in spherical coordinates. In Problem 7, Problem Set 1, we have calculated the magnetic field due to a spinning sphere, which has a surface current density K proportional to sin θ in the ˆϕ direction. By making the appropriate replacement, we therefore get: B = 2 3 µ 0M, for r < R, B = µ 0MR 3 ( ) 3r 3 2 cos θˆr + sin θˆθ, for r > R. (3.1) We see that the field inside the sphere is uniform. 19

We define the total dipole moment of the sphere m = (4/3)πR 3 M. Then the field outside the sphere can be written as: B = µ ( ) 0m 4πr 3 2 cos θˆr + sin θˆθ, which is the field of a perfect dipole m at the origin. (b) Calculate the vector potential A directly using equation 3.13 from the lecture notes. Derive the magnetic field from A. Equation 3.13 gives: A(r) = µ 0 M(r )dτ (r r ) 4π V r r 3, (3.2) where V is the volume of the sphere. We have seen in the lectures that this expression is valid for calculating the potential both inside and outside the sphere. Since M is uniform, it can be taken out of the integral, so that we obtain: [ µ0 A(r) = M 4π V (r r )dτ ] r r 3. (3.3) The term in brackets is the electric field E of a sphere with a uniform charge density equal to µ 0 ɛ 0. This electric field can be calculated using Gauss s law and is given by: A = M E if then equal to: E = µ 0r ˆr, for r < R, 3 E = µ 0R 3 (3.4) 3r 2 ˆr, for r > R. A = µ 0Mr 3 sin θ ˆϕ, for r < R, A = µ 0MR 3 3r 2 sin θ ˆϕ, for r > R. (3.5) The magnetic field is given by: B = A = 1 r sin θ which leads to the same expressions as in (a). θ (sin θ A) ˆr 1 r (ra) ˆθ, r 20

Field lines of a uniformly magnetized sphere. Note that the perpendicular component of B at the surface, B r (R), is continuous, whereas the parallel component, B θ (R), is discontinuous: B out B in = µ 0K mˆθ. 3.2 Field of a cylinder with circular magnetization A long circular cylinder of radius R carries a magnetization M = kr 2 ˆϕ, where k is a constant, r the radius in cylindrical coordinates and ˆϕ the unit vector in the azimuthal direction. Find the magnetic field due to M inside and outside the cylinder. Calculate H using B and M and, independently, using the current distribution. The volume current density is: The surface current density is: J m = M = 1 r d (rm) ẑ = 3krẑ. dr K m = M(R) ˆr = kr 2 ẑ. Note that the current is flowing up in the volume of the cylinder and returns down along the surface. For a length L of the cylinder, the total current is: I tot = K m 2πRL + L as expected. ˆ R 0 J m 2πrdr = 2πkR 3 Lẑ + 6πkLẑ ˆ R Given the symmetry of the system, and using Ampère s law, we obtain: 0 r 2 dr = 0, and ˆ r 2πrB = µ 0 ˆϕ J m 2πrdr = B = µ 0 kr 2 ˆϕ = µ 0 M for r < R, 0 2πrB = µ 0 ˆϕI tot = B = 0 for r > R. To get H we use H = B/µ 0 M. Then H = 0 everywhere. This is consistent with Ampère s law, as H = J f = 0 and the symmetry of the problem leads to 2πrH = 0ˆϕ. Note however that, in general, there may be a non zero H even when there is no free current (see below). 21

3.3 H and B of a cylinder with magnetization along the axis A cylinder of finite size carries a frozen in uniform magnetization M, parallel to its axis. (Such a cylinder is know as a bar magnet). Find the magnetization currents, sketch the magnetic field B and the auxiliary field H (use the boundary conditions). Magnetization currents: Since the magnetization is uniform, the volume current density is J m = M = 0. The surface current density is K m = M ˆn, that is K m = M ˆϕ on the lateral surface. Magnetic field: The bar is like a finite size solenoid. (Figure from Purcell.) The perpendicular component of B is continuous across the surfaces, whereas: B in B out = µ 0K m ẑ. Auxiliary field: H = B/µ 0 M, therefore H = B/µ 0 outside the cylinder. Since there is no free current at the surfaces, the parallel component of H is continuous there, so that H inside the cylinder goes from right to left. We see that even though there is no magnetization outside the cylinder, H is non zero there. This is because the magnetization is discontinuous at the surface of the cylinder: H out H in = B out µ 0 B in µ 0 + M = M. The discontinuity of M generates a non zero H outside. 22

3.4 H and B of a linear insulated straight wire A current I flows along a straight wire or radius a. If the wire is made of linear material with susceptibility χ m, and the current is distributed uniformly, what is the magnetic field a distance r from the axis? Find all the magnetization currents. What is the net magnetization current flowing along the wire? We define the volume density of free current: J f = I/(πa 2 ), and we assume that the current I flows up along the z axis. Given the symmetry of the system, and using cylindrical coordinates, Ampère s law gives: H 2πr = πr 2 J f ˆθ = H = Ir 2πa 2 ˆθ for r < a, and: H 2πr = I ˆθ = H = I 2πr ˆθ for r > a. Therefore, B = µh, with µ = µ 0 (1 + χ m ) inside the insulated material and µ = µ 0 outside, yields: B = µ 0(1 + χ m )Ir 2πa 2 ˆθ for r < a, B = µ 0I 2πr ˆθ for r > a. Volume density of magnetization current: J m = M = (χ m H) = χ m H, that is: J m = χ m J f ẑ. Surface density of magnetization current: K m = M ˆr = χ m H(a) ˆr, that is: K m = χ m Iẑ/(2πa). Net magnetization current along the wire: as expected. ˆ a 0 J m 2πrdr + K m 2πa = 0, 23