BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Magnetic dipoles: torque, energy and force

A current loop in a uniform magnetic field feels no net force, but a torque. For a rectangular loop it is IabB, and in general τ = μ × B, where the magnetic dipole moment μ = NIA points along the loop's area vector by the right-hand rule. Like an electric dipole, a magnetic dipole has potential energy U = −μ · B, lowest when it lines up with the field: compass needles and galvanometers work this way. In a non-uniform field the energy changes with position, so the dipole also feels a force, F = ∇(μ · B): a dipole aligned with the field is pulled towards stronger field, which is why two magnets lined up end to end, north to south, attract. Far away, a current loop's field is a dipole field like that of an electric dipole.

You need this first

Full reading path (70 pages)
  1. Vectors (8.01)
  2. Position and velocity in one dimension (8.01)
  3. Acceleration in one dimension (8.01)
  4. Motion in two dimensions and projectiles (8.01)
  5. Newton's laws of motion (8.01)
  6. The universal law of gravitation (8.01)
  7. Vectors and the dot product (18.02)
  8. Determinants and the cross product (18.02)
  9. Planes through three points, and matrices (18.02)
  10. Equations of planes and square systems (18.02)
  11. Parametric equations of lines and the cycloid (18.02)
  12. Velocity, acceleration and Kepler's second law (18.02)
  13. Functions of two variables and partial derivatives (18.02)
  14. Tangent planes, critical points and least squares (18.02)
  15. The second derivative test (18.02)
  16. Differentials and the chain rule (18.02)
  17. The gradient and directional derivatives (18.02)
  18. Lagrange multipliers (18.02)
  19. Non-independent variables (18.02)
  20. Double integrals (18.02)
  21. Double integrals in polar coordinates, and their uses (18.02)
  22. Change of variables in double integrals (18.02)
  23. Vector fields and line integrals (18.02)
  24. Fields: scalar, vector, gravitational and electric (8.02)
  25. Field lines, charging and electric dipoles (8.02)
  26. Electric fields of continuous charge distributions (8.02)
  27. Contact forces: the normal force and friction (8.01)
  28. Tension in ropes and the spring force (8.01)
  29. Momentum and impulse (8.01)
  30. The derivative: slope of the tangent line and rate of change (18.01)
  31. Limits and continuity (18.01)
  32. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  33. The chain rule and higher derivatives (18.01)
  34. Implicit differentiation and the derivatives of inverse functions (18.01)
  35. Exponentials and logarithms: the number e and its derivatives (18.01)
  36. Linear and quadratic approximations (18.01)
  37. Curve sketching with the first and second derivative (18.01)
  38. Sketching strategy and maximum–minimum problems (18.01)
  39. More max–min, and related rates (18.01)
  40. A ring on a string, and Newton's method (18.01)
  41. The mean value theorem and inequalities (18.01)
  42. Differentials and antiderivatives (18.01)
  43. Kinetic energy and work in one dimension (8.01)
  44. Work and kinetic energy in two and three dimensions (8.01)
  45. Conservative and non-conservative forces (8.01)
  46. Potential energy (8.01)
  47. Electric potential and potential energy (8.02)
  48. Gradient fields and path independence (18.02)
  49. Testing for gradient fields, potentials and curl (18.02)
  50. Green's theorem (18.02)
  51. Flux and the normal form of Green's theorem (18.02)
  52. Simply connected regions (18.02)
  53. Triple integrals and cylindrical coordinates (18.02)
  54. Spherical coordinates and gravitational attraction (18.02)
  55. Vector fields in space and flux through surfaces (18.02)
  56. Flux through graphs and the divergence theorem (18.02)
  57. Gauss's law (8.02)
  58. Conductors, capacitors and stored energy (8.02)
  59. Shielding, combining capacitors and dielectrics (8.02)
  60. Current, resistance and DC circuits (8.02)
  61. Circular motion: polar coordinates, position and velocity (8.01)
  62. Uniform circular motion: centripetal acceleration, period and frequency (8.01)
  63. Circular motion: tangential acceleration and angular acceleration (8.01)
  64. Conservation of momentum (8.01)
  65. Centre of mass and its motion (8.01)
  66. Rigid bodies and rotational kinematics (8.01)
  67. Moment of inertia (8.01)
  68. Torque and the cross product (8.01)
  69. Magnetic fields and the force on moving charges (8.02)
  70. Forces on currents and the Biot–Savart law (8.02)
On this page · 5 sections
  1. Torque on a current loop
  2. Energy
  3. Force in a non-uniform field
  4. The field of a dipole
  5. Summary

Bar magnets create and feel dipole fields, and currents create magnetic fields. This session puts the two together: a current loop is a magnetic dipole (slides 1, 5).

Torque on a current loop#

Put a rectangular loop with sides aa and bb, carrying current II, in a uniform field B⃗=B i^\vec B = B\,\hat i lying in the plane of the loop (course notes, Chapter 8, Section 8.4, p. 7; slides 7–8). The two sides parallel to B⃗\vec B feel no force. The other two, of length aa, feel equal and opposite forces IaBIaB, one out of the page and one into it, so the net force is zero (Eq. 8.4.2). But the forces act on opposite sides, a distance bb apart, and so they twist the loop: the torque about its centre is IabB=IABIabB = IAB (Eq. 8.4.3, p. 7).

With the area vector A⃗=A n^\vec A = A\,\hat n, normal to the loop with its sense given by the right-hand rule (fingers along the current), this is τ⃗=IA⃗×B⃗\vec\tau = I\vec A \times \vec B (Section 8.4, p. 8; slide 9), and it also holds when A⃗\vec A makes any angle θ\theta with B⃗\vec B, giving τ=IABsin⁡θ\tau = IAB\sin\theta. For a coil of NN turns the torque is NN times larger. The quantity NIA⃗NI\vec A is the magnetic dipole moment (pp. 8–9; slide 10):

Magnetic dipole moment
μ⃗=NIA⃗\vec\mu = NI\vec A
In words

vector mu equals capital N capital I vector capital A

in A m², and the torque is

Torque on a magnetic dipole
τ⃗=μ⃗×B⃗\vec\tau = \vec\mu \times \vec B
In words

vector tau equals vector mu cross vector capital B

just like τ⃗=p⃗×E⃗\vec\tau = \vec p \times \vec E for an electric dipole (p. 9; slide 10). It turns μ⃗\vec\mu towards B⃗\vec B: that is how a compass needle lines up, and how a galvanometer, a coil on a spring in a magnet's field, measures current (slides 11–13). One way to picture it: the external field joins onto the field of the needle and pulls it into line (slides 11–12). A needle knocked out of line oscillates about the field direction; the torque on it is matched by an opposite torque on the currents in the Earth's core that make the field, so angular momentum is conserved (Chapter 8, Section 8.4, pp. 11–12).

Energy#

Turning the dipole from angle θ0\theta_0 to θ\theta against the torque takes work μB(cos⁡θ0−cos⁡θ)\mu B(\cos\theta_0 - \cos\theta) (Section 8.4, p. 9). Taking U=0U = 0 at θ=90°\theta = 90°:

Energy of a magnetic dipole
U=−μBcos⁡θ=−μ⃗⋅B⃗U = -\mu B\cos\theta = -\vec\mu \cdot \vec B
In words

U equals minus mu capital B cos theta equals minus vector mu dot vector capital B

It is lowest, −μB-\mu B, with μ⃗\vec\mu along B⃗\vec B (stable) and highest, +μB+\mu B, against it (unstable) (p. 9).

Force in a non-uniform field#

A dipole in a uniform field rotates but does not move as a whole; yet magnets clearly pull on each other (slides 16–18). The difference is that their fields are not uniform. The force is minus the change of energy with position (Section 8.4.1, pp. 10–11; slide 19):

Force on a magnetic dipole
F⃗B=−∇U=∇(μ⃗⋅B⃗)\vec F_B = -\nabla U = \nabla\left(\vec\mu \cdot \vec B\right)
In words

vector F sub B equals minus del U equals del ( vector mu dot vector capital B )

In a uniform field the gradient is zero: no force. For a dipole on the axis of a field Bz(z)B_z(z), pointing along zz, it is Fz=μz dBz/dzF_z = \mu_z\,dB_z/dz (slides 19–20). A dipole aligned with the field is pulled towards stronger field. Above the north pole of a bar magnet the field points up and weakens upwards, so an upward-pointing dipole is pulled down: two magnets lined up north to south attract, and turned against each other they repel (slides 20–22, 24–25). Experiment 7 measures these forces (slide 23).

The field of a dipole#

Far from a small current loop, its field has the same shape as the field of an electric dipole (course notes, Chapter 9, Section 9.5, pp. 23–24):

Field of a magnetic dipole
B⃗=μ04πr3[3(μ⃗⋅r^) r^−μ⃗]\vec B = \frac{\mu_0}{4\pi r^3}\left[3(\vec\mu \cdot \hat r)\,\hat r - \vec\mu\right]
In words

vector capital B equals mu nought over the quantity 4 pi r cubed, times the quantity 3( vector mu dot r hat ) r hat minus vector mu

Source: 8.02T Course Notes, Chapter 9: Sources of Magnetic Fields, Section 9.5, Eq. (9.5.5), p. 24

compared with E⃗=[3(p⃗⋅r^)r^−p⃗]/(4πε0r3)\vec E = [3(\vec p \cdot \hat r)\hat r - \vec p]/(4\pi\varepsilon_0 r^3). On the axis it gives the 1/z31/z^3 fall-off of the ring field. The Earth's field is close to such a dipole field, with the dipole's south pole in the northern hemisphere so that it attracts the north ends of compass needles (Section 9.5.1, p. 24).

Worked example

A small coil in a field

A coil of 50 turns and radius 2 cm carries 0.5 A. (a) Find its magnetic moment. (b) In a uniform 0.2 T field at 30°30° to μ⃗\vec\mu, find the torque. (c) How much work does it take to turn it from aligned to anti-aligned? (d) In a field pointing along +z+z that changes along the axis at dBz/dz=−0.5dB_z/dz = -0.5 T/m, with μ⃗\vec\mu along +z+z, find the force.

(a) Moment

μ=NIπR2=50×0.5×π(0.02)2≈0.0314\mu = NI\pi R^2 = 50 \times 0.5 \times \pi(0.02)^2 \approx 0.0314 A m².

(b) Torque

τ=μBsin⁡30°=0.0314×0.2×0.5≈3.14×10−3\tau = \mu B\sin 30° = 0.0314 \times 0.2 \times 0.5 \approx 3.14 \times 10^{-3} N m.

(c) Work

From U=−μBU = -\mu B to U=+μBU = +\mu B: 2μB=2×0.0314×0.2≈0.01262\mu B = 2 \times 0.0314 \times 0.2 \approx 0.0126 J.

(d) Force

Fz=μ dBz/dz=0.0314×(−0.5)≈−0.0157F_z = \mu\,dB_z/dz = 0.0314 \times (-0.5) \approx -0.0157 N: towards −z-z, where the field is stronger.

Summary#

  • A current loop in a uniform field: no net force, torque τ⃗=μ⃗×B⃗\vec\tau = \vec\mu \times \vec B, with μ⃗=NIA⃗\vec\mu = NI\vec A.
  • Energy U=−μ⃗⋅B⃗U = -\vec\mu \cdot \vec B: lowest when aligned.
  • Force F⃗=∇(μ⃗⋅B⃗)\vec F = \nabla(\vec\mu \cdot \vec B), only in non-uniform fields; aligned dipoles move towards stronger field, so magnets aligned end to end attract (side by side, parallel dipoles repel).
  • Far away a current loop makes a dipole field, μ04πr3[3(μ⃗⋅r^)r^−μ⃗]\frac{\mu_0}{4\pi r^3}[3(\vec\mu \cdot \hat r)\hat r - \vec\mu].

Symbols on this page

Show the 37 symbols used here
ε\varepsilon epsilon.
Written ε₀: the electric constant. Say it: “epsilon”.
θ\theta theta.
The angle between the dipole moment and the field. Say it: “theta” (sounds like “thay-ta or thee-ta”).
μ\mu mu.
The magnetic dipole moment (with subscript 0, the permeability μ₀). Unit: A m². Say it: “mu” (sounds like “myoo”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
τ\tau tau.
The torque on the dipole. Unit: N m. Say it: “tau” (sounds like “rhymes with cow”).
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∇\nabla nabla (del).
Del: ∇f is the gradient, ∇·v the divergence, ∇×v the curl, ∇² the Laplacian. Say it: “del”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
v⃗\vec v vector arrow.
A vector: a quantity with a size and a direction. Say it: “vector”.
aa a.
The length of one pair of sides of the rectangular loop. Unit: m. Say it: “a”.
zz z.
Position along the axis. Unit: m. Say it: “z”.
∥\parallel parallel.
Is parallel to. Say it: “parallel”.
dd d.
The d of dB_z/dz. Say it: “d”.
FF F.
The force on the dipole. Unit: N. Say it: “F”.
rr r.
The distance from the dipole. Unit: m. Say it: “r”.
AA A.
The area vector of the loop, normal to it by the right-hand rule. Unit: m². Say it: “capital A”.
BB B.
The magnetic field. Unit: T. Say it: “capital B”.
bb b.
The length of the other pair of sides. Unit: m. Say it: “b”.
NN N.
The number of turns of the coil. Say it: “capital N”.
pp p.
An electric dipole moment. Unit: C m. Say it: “p”.
RR R.
The radius of the coil. Unit: m. Say it: “capital R”.
θ0\theta_{0} theta nought.
The starting angle between the dipole and the field. Say it: “theta nought”.
EE E.
An electric field. Unit: N/C. Say it: “E”.
UU U.
The potential energy of the dipole in the field. Unit: J. Say it: “U”.
i^\hat{i} i hat.
Unit vector in the x direction: length 1, pointing towards increasing x. Say it: “i hat”.
r^\hat{r} r hat.
The radial unit vector: length 1, pointing away from the origin. Say it: “r hat”.
n^\hat{n} n hat.
The unit normal to the loop. Say it: “n hat”.
II I.
The current in the loop. Unit: A. Say it: “capital I”.
BzB_{z} B z.
The z component of the magnetic field. Unit: T. Say it: “capital B sub z”.
FzF_{z} F z.
The z component of the force on the dipole. Unit: N. Say it: “F sub z”.
μ0\mu_{0} mu nought.
The permeability of free space, 4π × 10⁻⁷ T m/A. Unit: T m/A. Say it: “mu nought”.
ε0\varepsilon_{0} epsilon nought.
The electric constant (vacuum permittivity). Unit: F/m. Say it: “epsilon nought”.
FBF_{B} F sub B.
The magnetic force on the dipole. Unit: N. Say it: “F sub B”.
μz\mu_{z} mu sub z.
The z component of the magnetic dipole moment. Unit: A m². Say it: “mu sub z”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 22 words used here

New here

magnetic dipole moment.
The strength and direction of a magnetic dipole: for a current loop, the current times the area, pointing along the loop's axis.
galvanometer.
A sensitive current meter: a coil on a spring in a magnet's field, which turns by an amount set by the current through it.
magnetic moment.
The strength and direction of a small magnet, such as a current loop or a spinning charged particle.

Also used

dipole.
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.
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.
magnetic field.
The field made by magnets and moving charges, which pushes sideways on other moving charges and turns compass needles. Explained in Magnetic fields and magnetic force.
magnetic dipole.
A small loop of current, or a small magnet, whose field far away has the same shape as that of an electric dipole. Explained in Magnetic fields and the force on moving charges.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
net force.
The sum of all the forces acting on a body, added as vectors; it alone decides the body's acceleration. Explained in What is a force?.
Eq..
Equation: followed by its number in the source, as in Eq. 3.12; Eqs. means equations.
torque.
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.
vector.
A quantity with both a size and a direction, such as a velocity or a force, drawn as an arrow. Explained in Vectors.
right-hand rule.
A way to find a direction with the right hand: curl the fingers from the first vector to the second; the thumb gives the result. Explained in Magnetic fields and magnetic force.
electric dipole.
A pair of equal and opposite electric charges a small distance apart. Explained in Field lines, charging and electric dipoles.
angular momentum.
The turning version of momentum: for a particle, its position from a chosen point crossed with its momentum, r × p. Explained in Kepler's laws and orbits.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
stable.
Of a state or motion: a small disturbance stays small or dies away, so the system remains close to it. Explained in Torque and balance.
unstable.
Of a state or motion: a small disturbance grows, carrying the system further and further away from it. Explained in Radioactive decay.
energy.
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.
gradient.
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.

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).

Where this leads

In cosmology

32 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A current loop sits in a uniform magnetic field. What does it feel?
  2. A small magnet with its moment along the field sits above the north pole of a bar magnet. It is…
  3. The magnetic dipole moment of a 10-turn loop of area 0.010.01 m² carrying 2 A is…
0 of 3 answered

Flashcards

1 / 3