Answer:
showm
Step-by-step explanation:
Consider a dipole having magnetic moment 'm' is placed in magnetic field
then the torque exerted by the field on the dipole is
![\tau = m* B](https://img.qammunity.org/2020/formulas/physics/college/rxn5frsgs4ebylu2p72vbelivfab8ycvcr.png)
![\tau=mBsin\alpha](https://img.qammunity.org/2020/formulas/physics/college/g3t8x381hmgtn9o619fj48pfmwwi7a673h.png)
Now to rotate the dipole in the field to its final position the work required to be done is
![U=\int \tau d\alpha](https://img.qammunity.org/2020/formulas/physics/college/w15hhekd9ljx5c89ngml0sfdx2dhc2cz60.png)
![U=\int mBsin\alpha d\alpha](https://img.qammunity.org/2020/formulas/physics/college/tyxzi6ugfhdnfvhhfmux0il8dc2rkhm5kq.png)
![U= -mBcos\alpha](https://img.qammunity.org/2020/formulas/physics/college/cf4gzmrysesh18qe70ixe02f877az2s7vd.png)
![U=-\vec{m* \vec{B}}](https://img.qammunity.org/2020/formulas/physics/college/sje1gtiemr4ds1b595z0vtrixynn2q3duj.png)
Minimum energy mB is for the case when m is anti parallel to B.
Minimum energy -mB is for the case when m is parallel to B.