Dipole in a uniform magnetic field

Hold a compass needle in your palm and nudge it sideways: it does not fly off toward magnetic north, it simply turns. That single observation — a magnet in a uniform field feels a twist but no net shove — is the whole physics of this article, and it is one of the cleanest pieces of "quotable, not derivable" content in the CBSE Class 12 syllabus. A bar magnet, a compass needle, and a current-carrying loop are all, magnetically, the same object: a magnetic dipole, characterised by a single vector, the dipole moment m⃗\vec m. Drop that dipole into a uniform magnetic field B⃗\vec B — the kind you would find between the wide flat poles of a horseshoe magnet, or, to a good approximation, near the surface of the Earth over a small patch of ground — and two forces appear at its two "poles," equal in size, opposite in direction, pulling in different straight lines. Equal and opposite forces along different lines never cancel to nothing; they combine into a couple, a pure rotation with zero net push. This chapter, Magnetism and Matter, treats that torque as a fact to be used, not proved — CBSE explicitly keeps the derivation of τ⃗=m⃗×B⃗\vec\tau = \vec m \times \vec B out of the qualitative Class 12 syllabus, reserving the actual pole-force derivation for the loop-in-a-field version you already met with τ⃗=NIA⃗×B⃗\vec\tau = N I \vec A \times \vec B in Moving Charges and Magnetism. What you do need, cold, is the formula, the accompanying energy expression U=−m⃗⋅B⃗U = -\vec m\cdot\vec B, the two special angles where the dipole sits still, and the instinct to reach for sin⁡θ\sin\theta (torque) or cos⁡θ\cos\theta (energy) without mixing them up. This article builds all of that from the torque formula outward — energetics, equilibrium, board-style numericals, and the traps examiners are fondest of setting.

Key takeaways
  • A magnetic dipole (bar magnet, compass needle, or current loop) placed in a uniform field feels zero net force but a nonzero torque, because the pole forces are equal, opposite, and act along different lines — a couple.
  • The torque is τ⃗=m⃗×B⃗\vec\tau = \vec m \times \vec B, magnitude τ=mBsin⁡θ\tau = mB\sin\theta, where θ\theta is the angle between m⃗\vec m and B⃗\vec B; CBSE requires this formula quoted and applied, not derived.
  • Torque is zero at θ=0°\theta = 0° and θ=180°\theta = 180° (dipole aligned or reversed) and maximum at θ=90°\theta = 90° (perpendicular) — the exact opposite of a common gut-feeling mistake.
  • The potential energy of the dipole is U(θ)=−m⃗⋅B⃗=−mBcos⁡θU(\theta) = -\vec m\cdot\vec B = -mB\cos\theta, taken as zero at θ=90°\theta = 90°; it is minimum (most negative) at θ=0°\theta = 0° and maximum at θ=180°\theta = 180°.
  • θ=0°\theta = 0° is stable equilibrium (minimum energy, restoring torque on displacement); θ=180°\theta = 180° is unstable equilibrium (maximum energy, any nudge flips it toward 0°0°).
  • This entire torque-and-energy structure is the magnetic mirror image of the electric dipole in a uniform field (p⃗,E⃗\vec p, \vec E, U=−p⃗⋅E⃗U = -\vec p\cdot\vec E) met earlier in electrostatics — same algebra, different vector labels.
  • Key idea: a magnetic dipole in a uniform field feels a pure torque τ=mBsin⁡θ\tau = mB\sin\theta (never a net force), stores energy U=−mBcos⁡θU = -mB\cos\theta, and settles into stable equilibrium only when m⃗\vec m aligns exactly with B⃗\vec B.
The core insight

A magnetic dipole of moment mm placed in a uniform field BB at angle θ\theta to it experiences a pure aligning torque τ=mBsin⁡θ\tau = mB\sin\theta and no net force, has potential energy U=−mBcos⁡θU = -mB\cos\theta, and is stable only when θ=0°\theta = 0°.

Where it fits in the syllabus

This topic sits inside Unit V, Magnetism and Matter, immediately after the bar-magnet-as-equivalent-solenoid picture and the axial/equatorial field expressions for a dipole. CBSE marks the torque result as qualitative only — the formula τ⃗=m⃗×B⃗\vec\tau = \vec m\times\vec B "may be quoted for reference," and no derivation from first-principles pole forces is examinable, even though a short physical justification (as given below) helps most students remember it. The associated energy expression U=−m⃗⋅B⃗U = -\vec m\cdot\vec B and the stable/unstable equilibrium orientations are standard board-exam material built directly on top of the torque formula, so this article treats torque, energy, and equilibrium as one connected package rather than three separate facts to memorise.

The physical picture

Model the bar magnet as two point magnetic poles: a north pole of strength +qm+q_m and a south pole of strength −qm-q_m, separated by a small vector distance 2l⃗2\vec l pointing from south to north, so that the dipole moment is m⃗=qm(2l⃗)\vec m = q_m(2\vec l), with SI unit A ⋅ m2\text{A}\,\cdot\,\text{m}^2. Place this pair in a field B⃗\vec B that is uniform, meaning it has the same magnitude and direction everywhere the magnet sits — a reasonable approximation between wide magnet poles or over the small footprint of a lab bench. The north pole feels a force qmB⃗q_m\vec B along B⃗\vec B; the south pole feels a force −qmB⃗-q_m\vec B, equal in size and exactly opposite in direction. Add them and the net force is exactly zero, for any orientation of the magnet, because the field does not vary from one pole to the other. But the two forces do not act along the same line — they act at the two ends of the magnet, a distance 2lsin⁡θ2l\sin\theta apart when measured perpendicular to the force direction, where θ\theta is the angle between m⃗\vec m and B⃗\vec B. A pair of equal, opposite, offset forces is a couple, and a couple produces a pure turning effect with a well-defined torque about any point, independent of where you choose to take moments. That turning effect is

τ⃗=m⃗×B⃗,τ=mBsin⁡θ.(1)\vec\tau = \vec m \times \vec B, \qquad \tau = mB\sin\theta. \qquad (1)

where: τ⃗\vec\tau is the torque vector (unit N ⋅ m\text{N}\,\cdot\,\text{m}), acting along an axis perpendicular to both m⃗\vec m and B⃗\vec B by the right-hand rule; m=∣m⃗∣m = |\vec m| is the dipole moment magnitude; B=∣B⃗∣B = |\vec B| is the uniform field strength (tesla); and θ\theta is the angle between the dipole axis and the field, measured 0°0° to 180°180°. The physical reading of sin⁡θ\sin\theta is that the torque vanishes when the dipole is already lined up with the field (θ=0°\theta = 0°, nothing left to turn it) or fully reversed (θ=180°\theta = 180°, the forces are still equal-and-opposite but their offset — the effective lever arm — has shrunk to zero along the perpendicular), and peaks when the dipole sits perpendicular to the field (θ=90°\theta = 90°, maximum lever arm). The energy stored in this configuration follows from the work an external agent must do, against this torque, to rotate the dipole from some reference angle to θ\theta. By convention the reference is θ=90°\theta = 90° (where UU is defined to be zero), giving

U(θ)=−m⃗⋅B⃗=−mBcos⁡θ.(2)U(\theta) = -\vec m\cdot\vec B = -mB\cos\theta. \qquad (2)

where: UU is the potential energy of the dipole–field system (joules); the dot product turns the vector alignment into a single number that is most negative when m⃗\vec m and B⃗\vec B point the same way. Physically, UU is lowest (most negative, −mB-mB) at θ=0°\theta = 0° — the field has "done work" pulling the dipole into alignment, so this is the energetically favoured, stable state — and highest (+mB+mB) at θ=180°\theta = 180°, the fully reversed, unstable state that a magnet only occupies if held there by an external agent.

Figure
A bar magnet shown at four angles inside a uniform field pointing rightward, with torque arrows and a small graph beneath showing torque as a sine curve and energy as a negative cosine curve against angle
A dipole in a uniform field — torque peaks at 90°, energy is lowest at 0° theta = 0, stable, tau = 0 theta = 45, tau = 0.71 mB theta = 90, tau max = mB theta = 180, unstable, tau = 0 angle theta (degrees) tau over mB, U over mB 0 45 90 135 180 tau = mB sin theta U = -mB cos theta

The torque on a magnetic dipole in a uniform field

Derivation AWhy a uniform field gives torque but never force

The goal of this argument is to show, from the two-pole model of a bar magnet and nothing beyond vector addition, why a magnetic dipole placed in a spatially uniform field experiences exactly zero net force yet a nonzero net torque of magnitude mBsin⁡θmB\sin\theta — the qualitative justification CBSE allows in place of a formal proof, useful for remembering rather than reproducing in an exam derivation slot.

Step 1. Model the magnet as two poles. Represent the bar magnet as a north pole of strength +qm+q_m and a south pole of strength −qm-q_m, separated by the vector 2l⃗2\vec l (from south to north), so the dipole moment is defined as m⃗=qm(2l⃗)\vec m = q_m(2\vec l). This mirrors exactly how an electric dipole is built from +q+q and −q-q separated by 2l⃗2\vec l, giving p⃗=q(2l⃗)\vec p = q(2\vec l).

Step 2. Write the two pole forces in the uniform field B⃗\vec B. Each pole, in this model, feels a force proportional to field strength: F⃗N=qmB⃗\vec F_N = q_m\vec B on the north pole and F⃗S=−qmB⃗\vec F_S = -q_m\vec B on the south pole. Because B⃗\vec B is uniform — same magnitude and direction at both pole locations — these two forces are exact negatives of each other, however the magnet is oriented.

Step 3. Add the forces to get zero net force. F⃗net=F⃗N+F⃗S=qmB⃗−qmB⃗=0\vec F_{\text{net}} = \vec F_N + \vec F_S = q_m\vec B - q_m\vec B = 0. This holds at every angle θ\theta, which is the qualitative heart of the result: a uniform field can never push or pull a dipole as a whole, no matter which way it points.

Step 4. Take moments to find the torque. Although the forces cancel, they act at two different points separated by 2l⃗2\vec l, so they form a couple. Taking torque about the centre of the dipole, each pole contributes l⃗×F⃗\vec l \times \vec F (with appropriate signs), and the two contributions add rather than cancel, because the force directions are opposite and the position vectors are opposite, giving (−l⃗)×(−qmB⃗)(-\vec l)\times(-q_m\vec B) on one side matching l⃗×(qmB⃗)\vec l \times (q_m\vec B) on the other. The combined result is τ⃗=(2l⃗)×(qmB⃗)=(qm⋅2l⃗)×B⃗=m⃗×B⃗\vec\tau = (2\vec l)\times(q_m\vec B) = (q_m \cdot 2\vec l)\times\vec B = \vec m\times\vec B, whose magnitude is τ=mBsin⁡θ\tau = mB\sin\theta since the cross product of two vectors of magnitude mm and BB at angle θ\theta has magnitude mBsin⁡θmB\sin\theta.

Step 5. Read off the two special angles directly from the sin⁡θ\sin\theta factor. At θ=0°\theta = 0° and θ=180°\theta = 180°, sin⁡θ=0\sin\theta = 0 so τ=0\tau = 0: the dipole sits in equilibrium in both the aligned and fully reversed orientations. At θ=90°\theta = 90°, sin⁡θ=1\sin\theta = 1 and the torque is maximum, τ=mB\tau = mB — the field's turning effect is strongest exactly when the dipole is perpendicular to it, which is precisely the orientation where the offset between the two pole forces (the effective lever arm) is largest.

Worked examples

Board level - torque on a bar magnet at a given angle

A small bar magnet of dipole moment m=0.40 A ⋅ m2m = 0.40\ \text{A}\,\cdot\,\text{m}^2 is placed in a uniform magnetic field of B=0.25 TB = 0.25\ \text{T}, making an angle of 30°30° with the field direction. Find the torque on the magnet.

Step 1. Write down the torque formula for a dipole in a uniform field: τ=mBsin⁡θ\tau = mB\sin\theta.

Step 2. Substitute the given values, m=0.40 A ⋅ m2m = 0.40\ \text{A}\,\cdot\,\text{m}^2, B=0.25 TB = 0.25\ \text{T}, θ=30°\theta = 30°: τ=0.40×0.25×sin⁡30°\tau = 0.40 \times 0.25 \times \sin30°.

Step 3. Evaluate using sin⁡30°=0.5\sin30° = 0.5: τ=0.40×0.25×0.5=0.05 N ⋅ m\tau = 0.40 \times 0.25 \times 0.5 = 0.05\ \text{N}\,\cdot\,\text{m}. The magnet experiences a torque of τ=0.05 N ⋅ m\tau = 0.05\ \text{N}\,\cdot\,\text{m}, directed so as to rotate m⃗\vec m toward alignment with B⃗\vec B — this is the restoring torque a compass needle feels when displaced 30°30° from magnetic north.

Competitive level - work to flip the dipole, then the equivalent restoring behaviour near equilibrium

The same bar magnet (m=0.40 A ⋅ m2m = 0.40\ \text{A}\,\cdot\,\text{m}^2, B=0.25 TB = 0.25\ \text{T}) is rotated quasi-statically by an external agent from θ=0°\theta = 0° (aligned) to θ=180°\theta = 180° (fully reversed). Find the work done by the external agent, and then find the torque the magnet would feel if displaced by a small angle θ=5°\theta = 5° from the stable orientation, to see how strongly it is "held" near θ=0°\theta = 0°.

Step 1. Use U=−mBcos⁡θU = -mB\cos\theta to find the potential energy at θ=0°\theta = 0°: U1=−0.40×0.25×cos⁡0°=−0.40×0.25×1=−0.10 JU_1 = -0.40\times0.25\times\cos0° = -0.40\times0.25\times1 = -0.10\ \text{J}.

Step 2. Find the potential energy at θ=180°\theta = 180°: U2=−0.40×0.25×cos⁡180°=−0.40×0.25×(−1)=+0.10 JU_2 = -0.40\times0.25\times\cos180° = -0.40\times0.25\times(-1) = +0.10\ \text{J}.

Step 3. Since the rotation is quasi-static (negligible kinetic energy throughout), the work done by the external agent equals the change in potential energy: W=U2−U1=0.10−(−0.10)=0.20 JW = U_2 - U_1 = 0.10-(-0.10) = 0.20\ \text{J}.

Step 4. Now check the restoring torque at a small displacement θ=5°\theta = 5° from the stable orientation, using τ=mBsin⁡θ\tau = mB\sin\theta with sin⁡5°≈0.0872\sin5° \approx 0.0872: τ=0.40×0.25×0.0872≈8.7×10−3 N ⋅ m\tau = 0.40\times0.25\times0.0872 \approx 8.7\times10^{-3}\ \text{N}\,\cdot\,\text{m}. So W=0.20 JW = 0.20\ \text{J} is required to flip the dipole from stable to unstable equilibrium, and near the stable orientation the restoring torque grows roughly in proportion to the small displacement angle (τ≈mBθ\tau \approx mB\theta for small θ\theta in radians), which is exactly the linear-restoring-torque condition behind why a compass needle, once nudged, oscillates back and forth rather than flipping over — the small-angle torque here, 8.7×10−3 N ⋅ m8.7\times10^{-3}\ \text{N}\,\cdot\,\text{m}, is tiny next to the 0.05 N ⋅ m0.05\ \text{N}\,\cdot\,\text{m} found at 30°30°, showing the torque grows fastest as the dipole approaches 90°90°, not near 0°0°. Timing note: the board-level question should take under a minute — one substitution, one sine value. The competitive-level question packs two ideas (energy-as-work, and the small-angle limit of sin⁡θ\sin\theta) into roughly three minutes; the key time-saver is recognising instantly that cos⁡0°=1\cos0°=1 and cos⁡180°=−1\cos180°=-1 without a calculator, and that sin⁡θ≈θ\sin\theta \approx \theta (radians) for small angles saves re-deriving anything from scratch.

Common traps

Examiners repeatedly probe the same handful of confusions in this topic, because the torque and energy formulas look deceptively similar and the physical intuition about forces is easy to get backwards. Thinking a uniform field exerts a net force on a dipole is the single most common error — it does not; the net force is exactly zero for any orientation in a uniform field, and only a torque results. A genuine net force on a dipole requires a non-uniform field (the kind that lets one magnet attract or repel another), which lies beyond this qualitative CBSE topic. Confusing which equilibrium is stable is another frequent slip: θ=0°\theta = 0° (aligned with the field) is the stable, minimum-energy orientation, and θ=180°\theta = 180° (reversed) is the unstable, maximum-energy orientation — not the other way round, and it is worth remembering that "stable" always means the state a small nudge returns to, never the state a small nudge pushes away from. Assuming torque is largest when the dipole is aligned with the field is a natural but wrong instinct — torque is actually zero at θ=0°\theta = 0° (nothing left to turn) and maximum at θ=90°\theta = 90° (perpendicular), because torque scales with sin⁡θ\sin\theta, not with how "magnet-like" the alignment looks. Mixing up the torque and energy formulas costs easy marks on almost every paper: τ=mBsin⁡θ\tau = mB\sin\theta (no negative sign, sine) is a very different function of θ\theta from U=−mBcos⁡θU = -mB\cos\theta (negative sign, cosine) — writing τ=−mBcos⁡θ\tau = -mB\cos\theta or U=mBsin⁡θU = mB\sin\theta is a common transcription error under exam pressure and worth a deliberate double-check before submitting.

You should be able to…

  • Explain, using the two-pole picture, why a magnetic dipole in a uniform field feels zero net force but a nonzero torque.
  • State and apply τ=mBsin⁡θ\tau = mB\sin\theta to compute the torque on a dipole at a given angle to the field.
  • Identify the stable (θ=0°\theta = 0°) and unstable (θ=180°\theta = 180°) equilibrium orientations, and explain which is which in terms of energy.
  • State and apply U(θ)=−mBcos⁡θU(\theta) = -mB\cos\theta, including computing the work done in reorienting a dipole between two angles.
  • Recognise the exact mathematical parallel between this result and the electric dipole in a uniform field, U=−p⃗⋅E⃗U = -\vec p\cdot\vec E.
  • Avoid the common sign and trig-function mix-ups between the torque (sin⁡\sin, no minus sign) and energy (cos⁡\cos, minus sign) formulas.

Ask the tutor: Want a few more mixed torque-and-energy numericals, or a walkthrough of how this exact structure reappears for the electric dipole in Electrostatic Potential and Capacitance?

Why does a compass needle swing back and forth before settling, instead of just stopping at north right away?

Near the stable orientation, theta close to 0 degrees, the restoring torque grows roughly in proportion to the small displacement angle, which is exactly the condition for oscillatory motion, much like a pendulum near the bottom of its swing. The needle overshoots north because it has some rotational inertia, the torque then reverses to pull it back, and it oscillates with slowly shrinking amplitude as friction and air resistance drain the energy, eventually settling at theta equals 0 degrees, the true stable equilibrium.

If the net force on a dipole in a uniform field is always zero, how do two bar magnets actually attract or repel each other?

Two real bar magnets near each other are not sitting in a uniform field at all — each magnet produces a field that grows weaker with distance, so the field one magnet feels from the other is distinctly non-uniform, stronger at the near pole than the far pole. That non-uniformity is exactly what a plain uniform-field torque analysis cannot capture, and producing a genuine net force this way is a separate, more advanced topic that sits outside the qualitative treatment tested at this level.

Is it obvious that the torque formula tau equals m cross B should look just like the electric dipole formula tau equals p cross E?

Yes, and that resemblance is not a coincidence to memorise separately — both a bar magnet and an electric dipole are, in this idealised model, a pair of equal and opposite poles or charges separated by a fixed small distance, sitting in a field that pushes them oppositely. The mathematics of two equal-and-opposite forces forming a couple is identical in both cases, so every formula transfers directly: swap m for p and B for E, and the torque and energy expressions carry over unchanged.

Do I need to memorise the pole-force derivation for the board exam, since it explains where the formula comes from?

No — CBSE explicitly lists this as a qualitative topic where the formula tau equals m cross B may be quoted and applied directly, with no derivation expected in the answer. The pole-force reasoning in this article is there to help the formula make sense and stick in memory, not because an exam question will ask you to reproduce it from scratch; spend your revision time instead on applying the formula correctly across different angles and distinguishing it cleanly from the energy expression.

Before this

Where this leads