Sub topic 6
Torque and potential energy of a dipole in a uniform field
This chapter assumes you know vectors and the cross product, torque and rotational equilibrium, and the idea of a magnetic dipole moment m from the earlier chapters. A bar magnet or a current loop in a uniform field B behaves as a dipole with moment m, pointing from the south pole to the north pole.
Torque on the dipole
In a uniform field, the two poles feel equal and opposite forces of magnitude pB, where p is the pole strength. The net force is zero, so the centre of mass does not accelerate. The forces do form a couple, and that couple rotates the magnet.
With θ as the angle between m and B, the torque is
τ = m × B, with magnitude τ = mB sin θ.
The torque tries to line m up with B. It is zero at θ = 0° and θ = 180°, and it is largest (mB) at θ = 90°.
Potential energy
The work done by an external agent in turning the dipole from θ₀ to θ is stored as potential energy. Taking the zero of energy at θ₀ = 90°:
U = −mB cos θ = −m·B
| Orientation | θ | U | Equilibrium |
|---|---|---|---|
| Parallel to field | 0° | −mB (minimum) | Stable |
| Perpendicular to field | 90° | 0 | Torque is maximum |
| Antiparallel to field | 180° | +mB (maximum) | Unstable |
The work needed to rotate the dipole from θ₁ to θ₂ is W = mB(cos θ₁ − cos θ₂). Turning it from the stable position (0°) to the unstable one (180°) costs 2mB.
Worked example
A magnet with m = 0.5 A m² sits in a field B = 0.04 T at θ = 30°. Find the torque and potential energy.
- τ = mB sin 30° = 0.5 × 0.04 × 0.5 = 0.01 N m
- U = −mB cos 30° = −0.5 × 0.04 × 0.866 ≈ −0.0173 J
The code below computes the same quantities. It also gives the small-oscillation period T = 2π√(I/(mB)), where I is the moment of inertia about the axis of rotation. That result comes up again in the next chapter.
import math
def torque(m, B, theta_deg):
return m * B * math.sin(math.radians(theta_deg))
def potential_energy(m, B, theta_deg):
return -m * B * math.cos(math.radians(theta_deg))
def oscillation_period(I, m, B):
return 2 * math.pi * math.sqrt(I / (m * B))
m, B = 0.5, 0.04
print(torque(m, B, 30), potential_energy(m, B, 30))The output is about 0.01 -0.01732.
Common errors
- Using cos for torque or sin for energy. Torque goes with sin θ and energy with cos θ. Check the limits: torque must vanish at 0° and 180°.
- Forgetting the sign of U. U is negative at θ = 0° because the zero is set at 90°. A question asking for "work done" is asking for a difference in U, so the zero does not matter.
- Mixing up stable and unstable. Stable equilibrium is where U is a minimum (θ = 0°). At θ = 180° any small nudge makes the dipole swing away.
- Applying the formulas to a non-uniform field. The net-force argument above fails there.
- Mixing units. Use m in A m² (or J/T) and B in tesla. If a question gives pole strength p and length 2l, first compute m = p × 2l.
Exercise
A bar magnet of moment 2.5 A m² is placed in a uniform field of 0.2 T with its axis at 60° to the field. (a) Find the torque. (b) Find the work needed to turn it until it is antiparallel to the field.
Show answer
(a) τ = mB sin 60° = 2.5 × 0.2 × 0.866 ≈ 0.43 N m. (b) W = mB(cos 60° − cos 180°) = 2.5 × 0.2 × (0.5 + 1) = 0.75 J.
Exercise
At what angle between m and B is the torque on a dipole equal to half its maximum value, and what is U there in terms of mB?
Show answer
τ = mB/2 requires sin θ = 1/2, so θ = 30° (or 150°). At 30°, U = −mB cos 30° ≈ −0.866 mB. At 150°, U ≈ +0.866 mB.