You are currently viewing A Dipole in a Field: The Compass Torque and Energy
JEE Main and Advanced5 min readSep 4, 2026Updated Sep 5, 2026

A Dipole in a Field: The Compass Torque and Energy

A Dipole in a Field: The Compass Torque and Energy
5 min read · 883 words

JEE/NEET Physics · Magnetism & Matter series · Part 2 of 4 · All parts →

✪ Key points — the 30-second version

  • A dipole in field B feels torque: τ = mB sinθ — it twists toward alignment
  • Potential energy: U = −mB cosθ — lowest when aligned (stable), highest when opposed
  • Work to flip from aligned to anti-aligned: W = 2mB
  • Oscillations: a disturbed dipole swings — the basis of magnetometers
  • Axial vs equatorial field of a bar magnet: B_ax = μ₀2m/4πr³, B_eq = μ₀m/4πr³ (half, reversed)

Why does a compass swing north? Its dipole moment sits in Earth’s field, feels a twist toward alignment, and — overshooting — oscillates like a pendulum until friction stills it. That gentle dance measures magnetic fields. Part 2 of the Magnetism & Matter series.

In this card

  1. The alignment torque
  2. Energy of orientation
  3. The oscillating needle
  4. The bar magnet’s own field
  5. Solved examples
  6. Common mistakes
  7. This physics in your daily life
  8. Practice set
  9. Recap

The Alignment Torque

Field B pushes the N-pole one way, the S-pole the other: a twisting couple, exactly like the current loop of the last series:

τ = mB sinθzero when aligned, maximum when perpendicular

Energy of Orientation

U = −m·B = −mB cosθaligned = energy valley; anti-aligned = energy hill; flip cost = 2mB

The Oscillating Needle

Nudge a compass from north and the restoring torque swings it back — past, and back again: simple harmonic-ish oscillation with period T = 2π√(I/mB) (I = needle’s rotational inertia). Time the swings and you’ve measured B: the oscillation magnetometer.

The Bar Magnet’s Own Field

PositionFieldCompare
Axial (on the N-S line)μ₀ 2m / 4πr³strongest far-field
Equatorial (⊥ bisector)μ₀ m / 4πr³half the axial, reversed
Bothfall as 1/r³dipole fields fade fast

Solved Examples

✎ Easy — the torque. m = 0.5 A·m² ⊥ to B = 0.2 T: torque?

τ = 0.5 × 0.2 = 0.1 N·m.

Answer: 0.1 N·m

✎ Exam level — the flip. Energy to reverse that dipole (aligned → anti-aligned)?

W = 2mB = 2 × 0.5 × 0.2 = 0.2 J.

Answer: 0.2 J

✎ JEE level — timing a field. A needle with I = 2×10⁻⁶ kg·m² and m = 4×10⁻² A·m² oscillates with T = 2 s. B?

T = 2π√(I/mB) → B = 4π²I/(mT²) = 4π²×2×10⁻⁶/(4×10⁻²×4) ≈ 5×10⁻⁵ T.

Earth-scale field, measured with a stopwatch.

Answer: ≈5×10⁻⁵ T

⚠ Mistakes students make — and how to avoid them

  • U = +mB cosθ sign error. Energy is MINUS m·B: aligned (θ=0) must be the lowest state.
  • Torque maximum at alignment. Opposite: aligned torque is zero (stable), perpendicular is maximum.
  • Equatorial field direction. It points OPPOSITE to m at the equator — a favourite direction question.
  • Using 1/r² for dipole fields. Dipoles fall as 1/r³: unlike single charges or poles, distant dipole fields fade fast.

This Physics in Your Daily Life

◎ This physics in your daily life

  • Every compass ever carried — dipole torque aligning with Earth’s field: navigation by τ = mB sinθ for two millennia.
  • Magnetic knife racks and cabinet latches — aligned dipoles locking into energy valleys: U = −mB as furniture.
  • Magnetic stirrers in labs — rotating fields torquing dipole stir bars: chemistry stirred by alignment energy.
  • Magnetometers in phones (compass apps) — oscillation and alignment physics miniaturised into chips: orientation sensing.
  • MRI’s radio flips — nuclear dipoles lifted over the 2mB energy hill by resonant pulses: medical imaging as dipole acrobatics.
One idea, three doors — open whichever clicks for you
Same concept (why dipoles align and oscillate), three different ways of seeing it. If one door confuses you, try the next — at least one will stick.
Door 1 · The story way

A weather vane in wind: pressure differences twist it until it points downwind, but momentum carries it past, and it wobbles back — swinging until it settles. A magnetic dipole in a field is an electromagnetic weather vane: torque toward alignment, inertia overshooting, oscillation born.

Door 2 · The numbers way

m = 0.5 A·m² in Earth’s 5×10⁻⁵ T: flip energy 2mB = 5×10⁻⁵ J — tiny, yet enough to line up every compass needle on the planet. In an MRI’s 3 T: 3 J per mole-scale nuclear moments — radio-frequency photons must be supplied to climb the hill: resonance imaging.

Door 3 · The picture way

Draw the dipole as an arrow in a set of field lines: parallel to the field, it sits in an energy valley (U = −mB); perpendicular, halfway up (U = 0); anti-parallel, on the hilltop (U = +mB). Tip it slightly and the torque arrow always points back downhill: the energy landscape IS the restoring force.

Why is this happening at all? Why does alignment mean low energy? Because the N-pole then sits where the field already points — like water settling downhill: systems drift to states nature can maintain without effort. Why oscillation rather than instant settling? Inertia: the needle’s rotational momentum can’t vanish at alignment, so it converts into overshoot — the same exchange that powers every pendulum and every SHM card of the Oscillations series.

Practice set (answers hidden — try first)

(NEET-level) m = 0.2 A·m² at 30° to B = 0.5 T: τ =
0.2×0.5×0.5 = 0.05 N·m.
(JEE Main-level) U for m aligned with B (m=0.1, B=0.3):
−0.03 J → −3×10⁻² J.
(NEET-level) Torque when dipole ⊥ B is
Maximum (mB).
(Concept) Stable equilibrium for a dipole:
Parallel to the field.
(JEE Main-level) Axial vs equatorial field at same r:
Axial is double (and same direction as m).
🧠 Memory tricks & everyday anchors — the 20-second revision

  • τ = mB sinθ toward alignment
  • U = −mB cosθ; flip cost 2mB
  • oscillation: T = 2π√(I/mB)
  • axial 2× equatorial, 1/r³ falloff
  • energy valley at alignment
  • 🔁 torque and energy formulas
  • 🔁 stability of alignment
  • 🔁 oscillation timing method
▶ Recap card — save for revision week

  • 🧠 Chant: ‘align to the valley’.
  • 🧠 Measure trick: ‘time the swings, read the field’.
  • 🏠 Daily: compass apps run dipole oscillation physics.
  • 🏠 Daily: MRI flips nuclear dipoles over 2mB hills.

Quick revision

  • A dipole in field B feels torque: τ = mB sinθ — it twists toward alignment
  • Potential energy: U = −mB cosθ — lowest when aligned (stable), highest when opposed
  • Work to flip from aligned to anti-aligned: W = 2mB
  • Oscillations: a disturbed dipole swings — the basis of magnetometers
  • Axial vs equatorial field of a bar magnet: B_ax = μ₀2m/4πr³, B_eq = μ₀m/4πr³ (half, reversed)
  • The bar magnet’s own field
ShareTelegramX

Have a doubt on this topic?