Magnetic dipole potential energy
= Magnetic dipole potential energy
{title2=$U=-\mathbf m\cdot\mathbf B$}
In an external field that varies slowly across a localized magnetic dipole,
$$
U=-\mathbf m\cdot\mathbf B,
\qquad
\mathbf F=\nabla(\mathbf m\cdot\mathbf B).
$$
The <magnetic dipole moment> determines the coupling to the external magnetic field.