Work Done to Rotate a Bar Magnet in a Magnetic Field

Physics · Magnetism And Matter · NEET

The work done by an external agent to slowly rotate a bar magnet (magnetic moment m) from angle θ1 to θ2 with the field B is W = mB(cos θ1 - cos θ2). This equals the change in potential energy, W = U2 - U1, because U = -mB cos θ. Memory hook: "Work = cos-of-start minus cos-of-end, times mB" - start position first, end position second.
Rotating a bar magnet against field Bfield B (uniform)Btheta1=0m alignedtheta290°180°anti-alignedW = mB(cos theta1 - cos theta2) e.g. 0 to 180: W = 2mB (max)
The magnet (red, moment m) starts aligned with field B (theta1 = 0) and is turned to theta2. Work done W = mB(cos theta1 - cos theta2); a full flip (0 to 180 degrees) needs the maximum work, 2mB.

Your doubts, answered

Is the work to rotate a magnet the same as the torque on it?

No. Torque is a turning force, tau = mB sin theta (unit N.m). Work is energy spent turning it, W = mB(cos theta1 - cos theta2) (unit joule). Torque changes with angle, so you must integrate torque over the angle to get work: W = integral of tau dtheta. A question can give you W and ask for torque at some angle, or the reverse - never mix the two formulas.

Why is the formula cos theta1 minus cos theta2 and not cos theta2 minus cos theta1?

Because W = U(final) - U(initial) and U = -mB cos theta. So W = (-mB cos theta2) - (-mB cos theta1) = mB(cos theta1 - cos theta2). Put the START angle in the first cos and the END angle in the second cos. If you swap them you get the wrong sign, which is the most common NEET mistake here.

How much work to rotate from 0 to 90 versus 0 to 180?

From 0 to 90: W = mB(cos 0 - cos 90) = mB(1 - 0) = mB. From 0 to 180: W = mB(cos 0 - cos 180) = mB(1 - (-1)) = 2mB. Turning it fully around (to anti-aligned) needs twice the work of turning it to 90 degrees - not the same, so read the final angle carefully.

Does the work depend on the path taken while rotating?

No. The magnetic potential energy U = -mB cos theta depends only on the angle, so W depends only on the start and end angles, not on how you get there. The magnetic force here is conservative for this slow rotation, exactly like lifting a mass depends only on height change.

What does 'slowly' or 'quasi-statically' mean in these problems?

It means you rotate so gently that kinetic energy stays zero at every instant. Then all your applied work goes into potential energy, so W(applied) = Delta U. If the magnet were released and swung freely, some energy would become kinetic and this simple formula would not give the applied work.

⚠️ The NEET trap
Using W = mB(cos theta2 - cos theta1) or plugging the final angle into the first cosine, giving the wrong sign or a negative work when it should be positive.
Always W = mB(cos theta1 - cos theta2): START angle in the first cosine, END angle in the second. From aligned (0) to any angle, work is positive because you fight the field.
🧠 First cos = where you START, second cos = where you STOP. Start minus stop.

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 degrees is W. The torque required to keep the magnet in this new (60 degree) position is:

A · W/sqrt3
B · sqrt3 W
C · sqrt3 W/2
D · 2W/sqrt3
Solution: At equilibrium the magnet is aligned, so theta1 = 0. Work to rotate to 60 degrees: W = mB(cos 0 - cos 60) = mB(1 - 1/2) = mB/2. So mB = 2W. Torque needed to hold it at 60 degrees: tau = mB sin 60 = 2W x (sqrt3/2) = sqrt3 W. Answer: B.
2017

A 250-turn rectangular coil of length 2.1 cm and width 1.25 cm carries a current of 85 A and is in a magnetic field of strength 0.85 T. The work done in rotating the coil by 180 degrees against the torque is:

A · 9.1 J
B · 4.55 J
C · 2.3 J
D · 1.15 J
Solution: A current coil is a magnetic dipole with m = NIA. Area A = 0.021 x 0.0125 = 2.625 x 10^-4 m^2. So m = 250 x 85 x 2.625 x 10^-4 = 5.58 A.m^2. For a 180 degree turn (0 to 180): W = mB(cos 0 - cos 180) = mB(1 - (-1)) = 2mB = 2 x 5.58 x 0.85 = 9.48 J, which rounds to about 9.1 J. Answer: A.

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: Stable and Unstable Equilibrium of a Magnetic DipoleKeep 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 work done to rotate a bar magnet formula?

W = mB(cos theta1 - cos theta2), where m is magnetic moment, B is field strength, theta1 is the starting angle and theta2 is the final angle, both measured from the field direction.

What is the work done to rotate a magnet from stable to unstable equilibrium?

From theta = 0 (stable) to theta = 180 (unstable): W = mB(cos 0 - cos 180) = 2mB. This is the maximum possible work for a full flip.

Is work done to rotate a magnet positive or negative?

Rotating away from alignment (increasing angle from 0) needs positive work because you oppose the field. Rotating toward alignment releases energy, giving negative applied work.

What is the SI unit of this work?

Joule (J). Here m is in A.m^2, B in tesla (T), and their product times a dimensionless cosine gives energy in joules.

How is work related to the potential energy of the dipole?

W = U2 - U1 = Delta U, where U = -mB cos theta. The work you do against the field is stored as change in magnetic potential energy.