Potential Energy of Magnetic Dipole in Magnetic Field || Magnetism Class 12 Physics Notes

eSaral Academic and Editorial Team
Potential Energy of magnetic dipole in a magnetic field is defined as the amount of work done in rotating the dipole from zero potential energy position to any desired position.
A current loop does not experience a net force in a magnetic field. It, however, experiences a torque. This is very similar to the behavior of an electric dipole in an electric field. A current loop, therefore, behaves like a magnetic dipole.
India's Best Exam Preparation for Class 12th - Download Now
Potential Energy of a Bar Magnet in Uniform Magnetic Field
When a bar magnet of dipole moment M is kept in a uniform magnetic field B it experiences a torque $\tau=M B \sin \theta$ which tries to align it parallel to the direction of the field.
If the magnet is to be rotated against this torque work has to be done.
India's Best Exam Preparation for Class 12th - Download Now
The work done in rotating dipole by small-angle d$\theta $ is $d W =\tau d \theta$
Total work done in rotating it from angle $\theta_{1}$ to $\theta_{2}$ is
$\mathrm{W}=\int \mathrm{dW}=\int_{\theta_{1}}^{\theta_{2}} \tau \mathrm{d} \theta=\mathrm{MB} \int_{\theta_{1}}^{\theta_{2}} \sin \theta \mathrm{d} \theta$
$=\operatorname{MB}\left(\cos \theta_{1}-\cos \theta_{2}\right)$
This work done in rotating the magnet is stored inside the magnet as its potential energy.
So U = MB $\left(\cos \theta_{1}-\cos \theta_{2}\right)$
The potential energy of a bar magnet in a magnetic field is defined as work done in rotating it from a direction perpendicular to the field to any given direction.
$U = W _{ \theta }- W _{\frac{\pi}{2}}=- MB \cos \theta=-\overrightarrow{ M } \cdot \overrightarrow{ B }$

Also Read:
India's Best Exam Preparation for Class 12th - Download Now
About eSaral At eSaral we are offering a complete platform for IIT-JEE & NEET preparation. The main mission behind eSaral is to provide education to each and every student in India by eliminating the Geographic and Economic factors, as a nation’s progress and development depends on the availability of quality education to each and every one. With the blend of education & technology, eSaral team made the learning personalized & adaptive for everyone.
India's Best Exam Preparation for Class 12th - Download Now
For free video lectures and complete study material, Download eSaral APP.

Team eSaral
eSaral Academic and Editorial Team
Team eSaral is the collective author profile for educational content created by eSaral’s teachers and academic contributors. The team draws on expertise from IIT graduates, doctors, experienced educators and subject specialists to develop resources for JEE, NEET and school students. Our articles aim to explain concepts clearly and help students study with confidence.
Related Posts

Plant Cell Diagram: Labelled Structure, Parts and Functions
Simple, labelled plant cell diagram with parts and functions. Covers plant cell structure for Class 6, 7, 8, 9, 10 and 11 students, CBSE-aligned.

Saransh Gupta Sir's Visit to IIT Patna: Hostel Life, Placements & Lessons for JEE Aspirants
Inside Saransh Gupta Sir's IIT Patna visit — hostel life, the library, placements, internships, and real advice for JEE aspirants from students living the IIT dream.

Molality Formula: Formula for Molality, Derivation & Solved Examples
Molality formula is $m = \dfrac{n}{W}$. Learn the formula of molality, its SI unit, derivation, relation with molarity, and solved examples for Class 11, JEE and NEET.

BITSAT Previous Year Question Paper PDF
Download BITSAT previous year question papers PDF. Get year-wise BITSAT PYQs, memory-based papers, exam pattern, and preparation tips to improve your BITSAT preparation.

Teachers’ Day 2026 at eSaral Gurukul: Celebrating the Bond Between Students, Teachers & Mentors
See how Teachers’ Day 2026 was celebrated at eSaral Gurukul, reflecting the bond among students, teachers, and mentors, and the role of guidance beyond academics.

JEE Advanced Attempts: Can You Give It a Third Time? Rules Explained
JEE Advanced attempts: current rule is 2 consecutive years only: full eligibility criteria, the 2025 third-attempt controversy, and the latest 2026 petition news.

Best JEE Preparation App
Best JEE preparation app for Main & Advanced: AI mock tests, live doubt-solving, thousands of practice questions. JEE preparation app for droppers & Class 11-12.

Coordinate Geometry Class 10: Formulas, Notes & Solved Examples
Coordinate geometry class 10: complete CBSE formulas — distance, section, midpoint and area of triangle — with derivation, notes and solved examples.

How to make Notes For JEE Smart Notes Strategy of an AIR 41
Learn how to make notes for JEE the way toppers do — indexing, shorthand, and smart short notes for JEE that cut revision time to just 5–7 days.

SL Arora Physics Class 12 Index – Chapter List for Volume 1 & 2
SL Arora Physics Class 12 index — complete chapter list for Volume 1 & 2, mapped to NCERT solutions for board, JEE Main, and NEET preparation.
