Potential Energy of a Magnetic Dipole (Formula & Derivation)

Physics · Magnetism And Matter · NEET

The potential energy of a magnetic dipole of moment m in a uniform field B is U = -mB cosθ = -m·B, where θ is the angle between m and B. Energy is lowest (U = -mB, stable) when the dipole lines up with the field (θ = 0°) and highest (U = +mB, unstable) when it points opposite (θ = 180°). Memory hook: "aligned is relaxed" — a dipole wants to sit at the minimum energy, just like a ball rolling to the bottom of a valley.
U = -mB cosθ (dipole in field B →)+mB0-mBθ (0°→180°)min U=-mB (θ=0°, stable)max U=+mB (θ=180°, unstable)U=0 at θ=90°Field B →m aligned → lowest energy
Potential energy U = -mB cosθ versus angle: lowest (-mB) when the dipole aligns with B (stable), zero at 90°, and highest (+mB) when anti-aligned (unstable).

Your doubts, answered

Why is the potential energy of a magnetic dipole negative?

The minus sign is a choice of reference, not an error. We fix U = 0 at θ = 90° (dipole perpendicular to B). When the dipole turns toward the field (θ < 90°), the field does positive work on it, so its stored energy drops below zero, giving negative U. Negative energy just means the dipole is in a bound, lower state than the θ = 90° reference. At θ = 0°, U = -mB is the most negative and most stable.

Why do we take U = 0 at θ = 90° and not at θ = 0°?

By convention (NCERT), the reference position is where the dipole is perpendicular to the field, because there the torque is maximum but the dipole is neither strongly pulled to align nor to anti-align. Setting U = 0 there makes the formula clean: U = -mB cosθ. If you shifted the zero to θ = 0°, every energy value would just change by a constant mB, but energy differences (which is all that matters physically) stay the same.

What is the difference between torque and potential energy here?

Torque τ = mB sinθ tells you how strongly the field twists the dipole at a given angle; it is a vector effect that is maximum at 90° and zero at 0° and 180°. Potential energy U = -mB cosθ tells you how much energy is stored at that angle; it is a scalar, minimum at 0° and maximum at 180°. Torque is the negative rate of change of U with angle: τ = -dU/dθ.

Is U = -mB cosθ the same as the work done to rotate the magnet?

Not exactly — they are linked but different. U is the energy at one position. The work you must do to turn the dipole from angle θ1 to θ2 equals the change in energy: W = U2 - U1 = mB(cosθ1 - cosθ2). So work is a difference of two U values. That is why the next concept, work done to rotate a bar magnet, builds directly on this formula.

What is the potential energy at 0°, 90°, and 180°?

At θ = 0° (aligned): U = -mB cos0° = -mB, the minimum, stable equilibrium. At θ = 90° (perpendicular): U = -mB cos90° = 0, the reference. At θ = 180° (anti-aligned): U = -mB cos180° = +mB, the maximum, unstable equilibrium. Remember: cos runs +1 → 0 → -1, so U runs -mB → 0 → +mB.

⚠️ The NEET trap
Writing U = +mB cosθ or forgetting the minus sign, so students say maximum energy is at θ = 0°.
The correct formula is U = -mB cosθ = -m·B. Minimum energy (-mB) is at θ = 0° where the dipole is ALIGNED; maximum energy (+mB) is at θ = 180°.
🧠 The negative sign is the whole point: aligned means lowest energy. If your formula gives maximum energy at alignment, you dropped the minus sign.

Real NEET questions

2016

A bar magnet is hung by a thin cotton thread in a uniform horizontal magnetic field and is in equilibrium. The energy required to rotate it by 60° is W. The torque required to keep the magnet in this new (60°) position is:

A · W/√3
B · √3 W
C · √3 W/2
D · 2W/√3
Solution: Step 1 — Start position: at equilibrium the magnet is aligned with the field, so θ = 0° (m parallel to B). Step 2 — Work to rotate to 60°: W = ΔU = mB(cos0° - cos60°) = mB(1 - 1/2) = mB/2. So mB = 2W. Step 3 — Torque needed to hold it at 60°: τ = mB sin60° = (2W)(√3/2) = √3 W. Answer: (B). Key idea: the same product mB appears in both the energy formula and the torque formula, so you solve for mB from the energy and plug it into torque.

Solved Magnetism And Matter NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 11 Magnetism And Matter NEET PYQs ›
Next concept: Work Done to Rotate a Bar Magnet in a Magnetic FieldKeep learning — 2 minFeeling ready? Solve the Magnetism And Matter NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

What is the formula for the potential energy of a magnetic dipole?

U = -mB cosθ, which in vector form is U = -m·B, where m is the magnetic moment, B is the field, and θ is the angle between them.

When is the potential energy of a magnetic dipole minimum?

At θ = 0°, when the dipole is aligned with the field. Then U = -mB, the lowest possible value, and this is the position of stable equilibrium.

How is potential energy derived from torque?

The work done against the field torque τ = mB sinθ to rotate from θ = 90° (reference) to θ is U = ∫ mB sinθ' dθ' from 90° to θ = -mB cosθ. Integrating the torque gives the energy.

What are the units of magnetic dipole potential energy?

Joule (J). Since m is in A·m² and B is in tesla (T), the product mB has units A·m²·T = J.

Why is this concept important for NEET?

It links three high-frequency ideas — torque, work to rotate, and stable/unstable equilibrium — so one clean formula U = -mB cosθ unlocks a whole cluster of Magnetism and Matter questions.