Fernando Garcia

Home     Research     Blog     Other     About me


PHYS405 - Electricity & Magnetism I

Spring 2024

Problem 6.21

(a) Show that the energy of a magnetic dipole moment m in a magnetic field B is

U=mB

(Assume that the magnitude of the dipole moment is fixed, and all you have to do is move it into place and rotate it into its final orientation. The energy required to keep the current flowing is a different problem, which we will confront in chapter 7.) Compare Eq. 4.6.

(b) Show that the interaction energy of two magnetic dipoles separated by a displacement r is given by:

U=μ04π1r3[m1m23(m1r^)(m2r^)]

Compare to Eq. 4.7.

(c) Express your answer to (b) in terms of the angels θ1 and θ2 in Fig. 6.30.

Use the result to find the stable configuration two dipoles would adopt if held a fixed distance apart, but left free to rotate.

(d) Suppose you had a large collection of compass needles, mounted on pins at regular intervals along a straight line. How would they point (assuming the Earth's magnetic field can be neglected)?

(A rectangular array of compass needles aligns itself spontaneously, and this is sometimes used as a demonstration of "ferromagnetic" behavior on a large scale. It's a bit of a fraud, however, since the mechanism here is purely classical, and much weaker that the quantum mechanical exchange forces that are actually responsible for ferromagnetism).

Part (a)

Recall from the beginning of chapter 6 (page 271) that with dipole moment m in a field B, the force is

F=(mB)

By definition of work/energy:

U=rFdl=r(mB)dl=mB(r)+mB()=mB(r)

Where in the above we assume that the B field goes to zero at infinity and we also used the fundamental theorem of gradients (ab(T)dl=T(b)T(a)).

Part (b)

Recall that the magnetic field of a dipole can be written in coordinate free form:

Bdip(r)=μ04π1r3(3(mr^)r^m)

Using this and the result from part (a), it follows that

U=μ04π1r3[m1m23(m1r^)(m2r^)]

Part (c)

We start by noting that

m1m2=m1m2cos(θ2θ1)=m1m2(sinθ1sinθ2+cosθ1cosθ2)

And

m1r^=m1cosθ1m2r^=m2cosθ2

So

U=μ04πm1m2r3(sinθ1sinθ22cosθ1cosθ2)

Be careful with the algebra here. We have 3cosθ1cosθ2 but also +1cosθ1cosθ2.

Part (d)

They will all point parallel to each other


Back to PHYS405 site