Magnetic dipoles

Consider a general current distribution $\v J(\v x)$ confined to a ball $V = \sb{\v x}{|\v x|<R}$.

Magnetic field due to magnetic dipole open_in_new

The leading approximation for the vector potential and magnetic field for $|\v x|\gg R$ is $$ \begin{align*} \v A(\v x) &\approx \v A_\text{dipole}(\v x) = \frac{μ_0}{4π} \frac{\v m\times \v x}{|\v x|^3}, \\ \v B(\v x) &\approx \v B_\text{dipole}(\v x) = \frac{μ_0}{4π} \frac{3(\v m\cdot \v x)\v x - |\v x|^2 \v m}{|\v x|^5} \end{align*} $$ where the magnetic dipole moment is given by $$ \begin{align*} \v m = \frac{1}{2}\int_{V} \v x \times \v J \d^3 \v x \iff \int_{V} x_i J_j \d^3 \v x = ε_{ijk} m_k. \end{align*} $$ (Derivation)

$\v A_\text{dipole}$ and $\v B_\text{dipole}$ are produced by a magnetic point dipole $\v m$ at the origin, corresponding to $$ \begin{align*} \v J_\text{dipole}(\v x) = ∇\times (\v m\, δ(\v x)). \end{align*} $$

Force and torque on magnetic dipole open_in_new

Under an external magnetic field $\v B(\v x)$ that varies slowly over the length scale $R$, the current distribution experiences a torque (Derivation) $$ \begin{align*} \v τ \approx \v m\times \v B \end{align*} $$ and a force (Derivation) $$ \begin{align*} \v F \approx ∇(\v m\cdot \v B) \end{align*} $$ up to first order.

Thus the force is conservative: $$ \begin{align*} \v F \approx -∇U, \qquad U = -\v m\cdot \v B, \end{align*} $$ with the potential energy $U$ minimised when $\v m$ is aligned with $\v B$.