Force, energy and torque on a magnetic dipole, and Maxwell's equations for its field
With the current density of an ideal dipole, J = −m × ∇δ³, the force on it, ∫ J × B d³x, becomes an integral over derivatives of a delta function; integrating by parts and using ∇ · B = 0 gives F = ∇(m · B). The energy of a dipole of fixed moment follows, U = −m · B, and the same method gives the torque, τ = m × B. Then the delta functions are put to a stricter test: the dipole field, including its term (2μ₀/3) m δ³, has zero divergence and a curl equal to μ₀ times the dipole's current, as Maxwell's equations demand; the electric dipole's field, with its term −p δ³/3ε₀, passes the same test with ρ = −p · ∇δ³. Worked example: a small magnet 5 cm from a wire carrying 10 A.
For an electric dipole the results are familiar (slide 15): the force is (p⋅∇)E, or ∇(p⋅E), the torque is p×E+r×F, and the potential energy is U=−p⋅E. For the magnetic case Guth starts from the force on a moving charge and on a piece of current (slide 15):
The magnetic force
F=qv×B,dF=Idℓ×B=J×Bd3x
In words
vector F equals q vector v cross vector B, d vector F equals capital I d vector ell cross vector B equals vector capital J cross vector B d cubed x
using Idℓ=Jd3x for a wire. The total force on a current distribution in an external fieldB, and for the ideal dipole at the origin (slide 15):
The force on a dipole as an integral
F=∫J×Bd3x=−∫B×Jd3x=∫B×(m×∇δ3(r))d3x
In words
vector F equals the integral of vector capital J cross vector B d cubed x equals minus the integral of vector B cross vector capital J d cubed x equals the integral of vector B cross ( vector m cross del delta cubed ( vector r ) )d cubed x
Expand the triple product, B×(m×∇δ3)=m(B⋅∇δ3)−∇δ3(m⋅B). In components (slide 16):
The force in components
Fi=∫d3x[miBj∂xj∂δ3(r)−∂xi∂δ3(r)mjBj]
In words
F i equals the integral of d cubed x the quantity m sub i B j partial delta cubed ( vector r ) over partial x sub j minus partial delta cubed ( vector r ) over partial x sub i, times m sub j B j
F i equals minus the integral of d cubed x the quantity partial over partial x sub j ( m sub i B j ) delta cubed ( vector r ) minus delta cubed ( vector r ) partial over partial x sub i ( m sub j B j )
with m held constant and the gradient taken at the dipole's position. Where no current flows at the dipole, ∇×B=0 there, and this equals (m⋅∇)B, the form that parallels the electric case.
Because the force is a gradient, it has a potential energy. Keeping m fixed and taking U=0 at infinity, where the external fieldvanishes (slide 17):
The potential energy of a magnetic dipole
U(r)=−∫∞rF⋅dℓ=−∫∞r∇(m⋅B)⋅dℓ=−m⋅B(r)
In words
U( vector r ) equals minus the integral from infinity to vector r of vector F dot d vector ell equals minus the integral from infinity to vector r of del ( vector m dot vector B ) times d vector ell equals minus vector m dot vector B ( vector r )
The energy is lowest when the dipole lines up with the field. A dipole with m⋅B>0 is pulled toward stronger field; one pointing against the field is pushed toward weaker field. (This is the energy of moving a dipole of fixed moment, as for a permanent magnet. The energy needed to keep the current of a loop constant while it moves is a separate matter, which the notes do not take up.)
The torque about the dipole's position, the origin, adds up r×dF (slide 17):
The torque as an integral
τ=∫r×dF=−∫r×(B×J)d3x=∫r×[B×(m×∇δ3(r))]d3x
In words
vector tau equals the integral of vector r cross d vector F equals minus the integral of vector r cross ( vector B cross vector capital J )d cubed x equals the integral of vector r cross ( vector B cross ( vector m cross del delta cubed ( vector r ) ) ) d cubed x
tau sub i equals epsilon sub i j k epsilon sub k l m epsilon sub m n p the integral of d cubed x x sub j B sub l m sub n partial delta cubed ( vector r ) over partial x sub p equals minus epsilon sub i j k epsilon sub k l m epsilon sub m n p the integral of d cubed x partial over partial x sub p ( x sub j B sub l m sub n ) delta cubed ( vector r )
The derivative gives two terms, δpjBlmn+xj(∂Bl/∂xp)mn; the second contains xj, which is zero where the delta function sits (slide 18). Setting p=j and using ϵmklϵmnj=δknδlj−δkjδln (slide 18):
tau sub i equals minus epsilon sub i j k epsilon sub m k l epsilon sub m n j B sub l ( vector 0) m sub n equals minus epsilon sub i j k the quantity delta sub k n delta sub l j minus delta sub k j delta sub l n, B sub l ( vector 0) m sub n equals minus epsilon sub i j k B j ( vector 0) m sub k equals ( vector m cross vector B ) sub i
The second product of deltas drops out because ϵijkδkj, summed over j and k, is zero: ϵijk is antisymmetric in j and k (the slide simply crosses it out). The result (slide 19):
About any other point, add r×F for the force applied at the dipole, as in the electric formula. All three results are those of the 8.02 page on magnetic dipoles, found there for a rectangular loop; here they hold for any ideal dipole, and the delta functions did the work.
Worked example
A small magnet next to a wire
A long straight wire along the z axis carries I=10 A in the +z direction. A small magnet with m=0.2 A m², treated as an ideal dipole, sits at (s,0,0) with s=5 cm. Find its energy, the force and the torque on it (a) when m points along +y^, and (b) when it points along +x^, away from the wire.
The field
The wire's field circles it: B=2πμ0Ix2+y2(−y,x,0). At the magnet, B=2πsμ0Iy^, with 2πμ0I=2×10−7×10=2×10−6 T m, so B=2×10−6/0.05=4.0×10−5 T.
(a) Moment along the field
U=−mB=−0.2×4.0×10−5=−8.0×10−6 J and τ=0. For the force, m⋅B=mBy=2πmμ0Ix2+y2x, whose gradient at (s,0,0) is −2πs2mμ0Ix^. So F=0.2×2×10−6/0.0025=1.6×10−4 N toward the wire, the direction in which U=−mμ0I/2πs falls.
(b) Moment away from the wire
Now m⋅B=0 at the magnet, so U=0, and the torque is m×B=0.2×4.0×10−5x^×y^=8.0×10−6z^ N m, turning m toward the field. The force is not zero: m⋅B=mBx=−2πmμ0Ix2+y2y changes along y, and its gradient at the magnet is −1.6×10−4y^ N, a sideways push of the same size, against the field direction.
A check
No current flows at the magnet, so (m⋅∇)B must agree. In (b) it is m∂B/∂x at (s,0,0), where ∂By/∂x=−μ0I/2πs2 and ∂Bx/∂x=0: again −1.6×10−4y^ N.
The field of an ideal dipole, with 2μ0/3=(μ0/4π)(8π/3) (slide 19):
The dipole field
Bdip(r)=4πμ0[r33(m⋅r^)r^−m+38πmδ3(r)]
In words
vector B sub dip ( vector r ) equals mu nought over the quantity 4 pi, times the quantity the quantity 3( vector m dot r hat ) r hat minus vector m, all over r cubed plus 8 pi over 3, times vector m delta cubed ( vector r )
del dot vector B sub dip equals 0, del cross vector B sub dip equals mu nought vector capital J sub dip equals minus mu nought vector m cross del delta cubed ( vector r )
Can we check? Away from the origin both are easy, and both sides vanish. The test is at the origin, where every term is a delta function or its derivative. Guth recalls an identity for the second derivatives of 1/r (slide 20):
partial over partial x sub i ( x sub j over r cubed ) equals minus partial squared over partial x sub i partial x sub j ( 1 over r ) equals the quantity delta sub i j minus 3 r hat sub i r hat sub j, all over r cubed plus 4 pi over 3, times delta sub i j delta cubed ( vector r )
(Why 34π, a remark of ours: the trace of the left side is −∇2(1/r)=4πδ3, the first term on the right has zero trace, and by symmetry the delta-function term must be proportional to δij, so it is a third of 4π on each diagonal entry.)
vector G equals the quantity 3( vector m dot r hat ) r hat minus vector m, all over r cubed, G sub i equals minus the quantity delta sub i j minus 3 r hat sub i r hat sub j, all over r cubed, times m sub j equals m sub j partial squared over partial x sub i partial x sub j ( 1 over r ) plus 4 pi over 3, times m sub i delta cubed ( vector r )
del dot vector G equals m sub j partial over partial x sub j del squared ( 1 over r ) plus 4 pi over 3, times ( vector m dot del ) delta cubed ( vector r ) equals minus 4 pi ( vector m dot del ) delta cubed ( vector r ) plus 4 pi over 3, times ( vector m dot del ) delta cubed ( vector r ) equals minus 8 pi over 3, times ( vector m dot del ) delta cubed ( vector r )
For the curl, the first part of Gk is a derivative of ml∂(1/r)/∂xl, so its curl contains ϵijk times two derivatives, ∂2/∂xj∂xk, which is symmetric in j and k and gives zero (slide 21). Only the hidden delta function survives:
epsilon sub i j k partial G sub k over partial x sub j equals 4 pi over 3, times epsilon sub i j k partial delta cubed ( vector r ) over partial x sub j, times m sub k, del cross vector G equals minus 4 pi over 3, times vector m cross del delta cubed ( vector r )
and the two add up to −4πm×∇δ3. Times μ0/4π (slide 22):
Ampère's law for the dipole
∇×Bdip=μ0Jdip,Jdip=−m×∇δ3(r)
In words
del cross vector B sub dip equals mu nought vector capital J sub dip, vector capital J sub dip equals minus vector m cross del delta cubed ( vector r )
the current density of the first page. The coefficient 38π is the only one that makes both equations work (a remark of ours): any other would leave ∇⋅B=0 at the origin and give the wrong current in the curl.
The same check works for the electric dipole, whose delta-function term has the opposite sign and half the size (slide 23):
The field of an ideal electric dipole
Edip(r)=4πε01[r33(p⋅r^)r^−p−34πpδ3(r)]
In words
vector E sub dip ( vector r ) equals 1 over the quantity 4 pi epsilon nought, times the quantity the quantity 3( vector p dot r hat ) r hat minus vector p, all over r cubed minus 4 pi over 3, times vector p delta cubed ( vector r )
Now the delta term cancels the curl of the first part instead of its divergence, and the divergences add, −38π−34π=−4π, so (slide 23)
Maxwell's equations for the electric dipole
∇⋅Edip=ε0ρdip,ρdip=−p⋅∇δ3(r),∇×Edip=0
In words
del dot vector E sub dip equals rho sub dip over epsilon nought, rho sub dip equals minus vector p dot del delta cubed ( vector r ), del cross vector E sub dip equals 0
with the charge density of the shrunken electric dipole from the first page. The two dipoles have the same field away from the origin and different fields at it, because one is made of charges and the other of currents.
Example: a 0.2 A m² magnet 5 cm from a 10 A wire (B=40 μT) has U=−8.0 μJ and feels 1.6×10−4 N toward the wire when aligned; pointing away from the wire, it feels a torque of 8.0×10−6 N m and a sideways force of 1.6×10−4 N.
Maxwell's equations:G=[3(m⋅r^)r^−m]/r3 has ∇⋅G=−38π(m⋅∇)δ3 and ∇×G=−34πm×∇δ3; the term 38πmδ3 makes ∇⋅Bdip=0 and ∇×Bdip=μ0Jdip.
Electric dipole: the term −34πpδ3 gives ∇⋅Edip=ρdip/ε0 with ρdip=−p⋅∇δ3, and ∇×Edip=0.
The current flowing through each square metre of a cross-section, as an arrow pointing along the flow of charge. Explained in Current, resistance and DC circuits.
A dipole shrunk to zero size while its dipole moment is kept fixed, so that it has exactly the dipole field everywhere outside one point. Explained in The ideal magnetic dipole and its current density.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
The turning effect of a force about a point or axis: the force times its distance from the axis, measured at right angles. Explained in Torque and balance.
A pair of equal and opposite charges or poles close together, or anything whose field far away looks like such a pair. Explained in The electric field.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
An idealised spike: zero everywhere except at one point, yet with total area one. It describes a sudden kick or a point source. Explained in The Fourier transform and AM radio.
The four equations that together describe all electric and magnetic fields: how charges and currents create them and how each changing field creates the other. Explained in Displacement current, Maxwell's equations and light.
Energy stored in the arrangement of a system, such as a raised weight or a stretched spring, that a conservative force can give back. Explained in Gravitational potential energy.
The number A · (B × C) made from three vectors: the volume of the box they span, with a sign; it equals their determinant. Explained in Determinants and the cross product.
The vector of a function's partial derivatives; it points the way the function increases fastest, and its length is that fastest rate. Explained in Graphs, straight lines and slope.
A way of multiplying two vectors that gives a third vector, at right angles to both, as long as the area of their parallelogram. Explained in Torque and the cross product.
Changing sign when two things are swapped, or when a shape or function is reflected; an antisymmetric matrix equals minus its transpose. Explained in Eigenvalues and eigenvectors.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
A measure of how much a vector field spreads out from each point: the amount flowing out of a tiny region per unit size. Explained in Flux and the normal form of Green's theorem.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
A theory in which the strong, weak and electromagnetic forces are parts of one force, which split apart as the universe cooled. Explained in Particles and the four forces.
A particle with a single magnetic pole, north or south alone, carrying magnetic charge, predicted by grand unified theories but never found. Explained in Magnetic fields and magnetic force.
Stated or written out directly and in full, with nothing left to be worked out.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).