Article · Wikipedia archive · Last revised Jun 4, 2026

Magnetic dipole–dipole interaction

Magnetic dipole–dipole interaction, also called dipolar coupling or dipolar interaction, refers to the direct interaction between two magnetic dipoles. Roughly speaking, the magnetic field of a dipole goes as the inverse cube of the distance, and the force of its magnetic field on another dipole goes as the first derivative of the magnetic field. It follows that the dipole-dipole interaction goes as the inverse fourth power of the distance.

Last revised
Jun 4, 2026
Read time
≈ 8 min
Length
1,950 w
Citations
5
Source

Magnetic dipole–dipole interaction, also called dipolar coupling or dipolar interaction, refers to the direct interaction between two magnetic dipoles. Roughly speaking, the magnetic field of a dipole goes as the inverse cube of the distance, and the force of its magnetic field on another dipole goes as the first derivative of the magnetic field. It follows that the dipole-dipole interaction goes as the inverse fourth power of the distance.

Mathematical description

In classical magnetostatics

If two or more magnets are small enough or sufficiently distant that their shape and size is not important then both magnets can be modeled as being magnetic dipoles having a magnetic moments m1 and m2. In case of uniformly magnetized spherical magnets this model is precise even at finite size and distance, as the outside field of such magnets is exactly a dipole field.1

Magnetic field of an ideal dipole. source ↗

The magnetic field of a magnetic dipole in vector notation is: B ( m , r ) = μ 0 4 π r 3 ( 3 ( m r ^ ) r ^ m ) + 2 μ 0 3 m δ 3 ( r ) {\displaystyle \mathbf {B} (\mathbf {m} ,\mathbf {r} )={\frac {\mu _{0}}{4\pi r^{3}}}\left(3(\mathbf {m} \cdot {\hat {\mathbf {r} }}){\hat {\mathbf {r} }}-\mathbf {m} \right)+{\frac {2\mu _{0}}{3}}\mathbf {m} \delta ^{3}(\mathbf {r} )} where

  • B is the field
  • r is the vector from the position of the dipole to the position where the field is being measured
  • r is the absolute value of r: the distance from the dipole
  • r ^ = r / r {\displaystyle {\hat {\mathbf {r} }}=\mathbf {r} /r} is the unit vector parallel to r;
  • m is the (vector) dipole moment
  • μ0 is the permeability of free space
  • δ3 is the three-dimensional delta function.2

This is exactly the field of a point dipole, exactly the dipole term in the multipole expansion of an arbitrary field, and approximately the field of any dipole-like configuration at large distances.

Frames of reference for calculating the forces between two dipoles source ↗
Force between coaxial cylinder magnets. According to the dipole approximation, the force drops proportional to 1 / z 4 {\displaystyle 1/z^{4}} for large distance z, resulting in slopes of −4 in the log–log plot. source ↗

If the coordinate system is shifted to center it on m1 and rotated such that the x-axis points in the direction of m1 then the previous equation simplifies to3 B x ( r ) = μ 0 4 π m 1 ( 3 cos 2 θ 1 r 3 ) B y ( r ) = μ 0 4 π m 1 ( 3 cos θ sin θ r 3 ) , {\displaystyle {\begin{aligned}B_{x}(\mathbf {r} )&={\frac {\mu _{0}}{4\pi }}m_{1}\left({\frac {3\cos ^{2}\theta -1}{r^{3}}}\right)\\B_{y}(\mathbf {r} )&={\frac {\mu _{0}}{4\pi }}m_{1}\left({\frac {3\cos \theta \sin \theta }{r^{3}}}\right),\end{aligned}}} where the variables r and θ are measured in a frame of reference with origin in m1 and oriented such that m1 is at the origin pointing in the x-direction. This frame is called Local coordinates and is shown in the Figure on the right.

The force of one magnetic dipole on another is determined by using the magnetic field of the first dipole given above and determining the force due to the magnetic field on the second dipole using the force equation:

F = ( m B ) , {\displaystyle \mathbf {F} =\nabla \left(\mathbf {m} \cdot \mathbf {B} \right),} where the gradient is the change of the quantity m · B per unit distance, and the direction is that of maximum increase of m · B. Using vector notation, the force of a magnetic dipole m1 on the magnetic dipole m2 is: F ( r , m 1 , m 2 ) = 3 μ 0 4 π r 5 [ ( m 1 r ) m 2 + ( m 2 r ) m 1 + ( m 1 m 2 ) r 5 ( m 1 r ) ( m 2 r ) r 2 r ] {\displaystyle \mathbf {F} (\mathbf {r} ,\mathbf {m} _{1},\mathbf {m} _{2})={\frac {3\mu _{0}}{4\pi r^{5}}}\left[(\mathbf {m} _{1}\cdot \mathbf {r} )\mathbf {m} _{2}+(\mathbf {m} _{2}\cdot \mathbf {r} )\mathbf {m} _{1}+(\mathbf {m} _{1}\cdot \mathbf {m} _{2})\mathbf {r} -{\frac {5(\mathbf {m} _{1}\cdot \mathbf {r} )(\mathbf {m} _{2}\cdot \mathbf {r} )}{r^{2}}}\mathbf {r} \right]} where r is the distance-vector from dipole moment m1 to dipole moment m2, with r = ‖r. The force acting on m1 is in opposite direction. As an example the magnetic force for two magnets pointing in the z-direction and aligned on the z-axis and separated by the distance z is:

F ( z , m 1 , m 2 ) = 3 μ 0 m 1 m 2 2 π z 4 {\displaystyle \mathbf {F} (z,m_{1},m_{2})=-{\frac {3\mu _{0}m_{1}m_{2}}{2\pi z^{4}}}} , z-direction.

The final formulas are shown next. They are expressed in the global coordinate system, F r ( r , α , β ) = 3 μ 0 4 π m 2 m 1 r 4 [ 2 cos ( ϕ α ) cos ( ϕ β ) sin ( ϕ α ) sin ( ϕ β ) ] F ϕ ( r , α , β ) = 3 μ 0 4 π m 2 m 1 r 4 sin ( 2 ϕ α β ) {\displaystyle {\begin{aligned}F_{r}(\mathbf {r} ,\alpha ,\beta )&=-{\frac {3\mu _{0}}{4\pi }}{\frac {m_{2}m_{1}}{r^{4}}}\left[2\cos(\phi -\alpha )\cos(\phi -\beta )-\sin(\phi -\alpha )\sin(\phi -\beta )\right]\\F_{\phi }(\mathbf {r} ,\alpha ,\beta )&=-{\frac {3\mu _{0}}{4\pi }}{\frac {m_{2}m_{1}}{r^{4}}}\sin(2\phi -\alpha -\beta )\end{aligned}}}

Classical Hamiltonian of

Consider two classical point-like magnetic dipole moments m1 and m2 in Cartesian coordinate system. In our model we will consider a dipole interaction in the following way. Due to the long range interaction of the magnetic field produced by the dipole, one dipole can interact with the field produced by the other such that the potential energy landscape is given by: U i j = m i B j , {\displaystyle U_{ij}=-\mathbf {m} _{i}\cdot {\mathbf {B} }_{j}\,,} where the indices label the dipole moments. The interaction Hamiltonian of this system calculated to be of the following form:

H = μ 0 4 π | r | 3 [ 3 ( m 1 r ^ ) ( m 2 r ^ ) m 1 m 2 ] μ 0 2 3 m 1 m 2 δ ( r ) , {\displaystyle H=-{\frac {\mu _{0}}{4\pi |\mathbf {r} |^{3}}}\left[3(\mathbf {m} _{1}\cdot {\hat {\mathbf {r} }})(\mathbf {m} _{2}\cdot {\hat {\mathbf {r} }})-\mathbf {m} _{1}\cdot \mathbf {m} _{2}\right]-\mu _{0}{\frac {2}{3}}\mathbf {m} _{1}\cdot \mathbf {m} _{2}\delta (\mathbf {r} ),}

where μ0 is the magnetic constant, r ^ {\displaystyle {\hat {\mathbf {r} }}} is a unit vector parallel center line passing through both dipoles, and |r| is the distance between the centers of m1 and m2. Last term with δ {\displaystyle \delta } -function vanishes everywhere but the origin, and is necessary to ensure that B {\displaystyle \nabla \cdot \mathbf {B} } vanishes everywhere.

In quantum mechanics

This previous Hamiltonian can be simply adapted for a quantum mechanical picture. Consider two spin-1/2 particles S1 and S2 with gyromagnetic ratios γ1 and γ2. The Hamiltonian can now be written as

H = μ 0 γ 1 γ 2 2 4 π | r | 3 [ 3 ( S 1 r ^ ) ( S 2 r ^ ) S 1 S 2 ] . {\displaystyle H=-{\frac {\mu _{0}\gamma _{1}\gamma _{2}\hbar ^{2}}{4\pi |\mathbf {r} |^{3}}}\left[3(\mathbf {S} _{1}\cdot {\hat {\mathbf {r} }})(\mathbf {S} _{2}\cdot {\hat {\mathbf {r} }})-\mathbf {S} _{1}\cdot \mathbf {S} _{2}\right].}


The force F arising from the interaction between m1 and m2 is given by:

F = 3 μ 0 4 π | r | 4 { ( r ^ m 1 ) m 2 + ( r ^ m 2 ) m 1 + r ^ ( m 1 m 2 ) 5 r ^ [ ( r ^ m 1 ) ( r ^ m 2 ) ] } . {\displaystyle \mathbf {F} ={\frac {3\mu _{0}}{4\pi |\mathbf {r} |^{4}}}\{({\hat {\mathbf {r} }}\cdot \mathbf {m} _{1})\mathbf {m} _{2}+({\hat {\mathbf {r} }}\cdot \mathbf {m} _{2})\mathbf {m} _{1}+{\hat {\mathbf {r} }}(\mathbf {m} _{1}\cdot \mathbf {m} _{2})-5{\hat {\mathbf {r} }}[({\hat {\mathbf {r} }}\cdot \mathbf {m} _{1})({\hat {\mathbf {r} }}\cdot \mathbf {m} _{2})]\}.}

The Fourier transform of H can be calculated from the fact that

3 ( m 1 r ^ ) ( m 2 r ^ ) m 1 m 2 4 π | r | 3 = ( m 1 ) ( m 2 ) 1 4 π | r | {\displaystyle {\frac {3(\mathbf {m} _{1}\cdot {\hat {\mathbf {r} }})(\mathbf {m} _{2}\cdot {\hat {\mathbf {r} }})-\mathbf {m} _{1}\cdot \mathbf {m} _{2}}{4\pi |\mathbf {r} |^{3}}}=(\mathbf {m} _{1}\cdot \mathbf {\nabla } )(\mathbf {m} _{2}\cdot \mathbf {\nabla } ){\frac {1}{4\pi |\mathbf {r} |}}}

and is given by

H = μ 0 ( m 1 q ) ( m 2 q ) | q | 2 m 1 m 2 | q | 2 . {\displaystyle H={\mu _{0}}{\frac {(\mathbf {m} _{1}\cdot \mathbf {q} )(\mathbf {m} _{2}\cdot \mathbf {q} )-|\mathbf {q} |^{2}\mathbf {m} _{1}\cdot \mathbf {m} _{2}}{|\mathbf {q} |^{2}}}.}

NMR spectroscopy

The direct dipole-dipole coupling is very useful for molecular structural studies, since it depends only on known physical constants and the inverse cube of internuclear distance. Estimation of this coupling provides a direct spectroscopic route to the distance between nuclei and hence the geometrical form of the molecule, or additionally also on intermolecular distances in the solid state leading to NMR crystallography notably in amorphous materials.

For example, in water, NMR spectra of hydrogen atoms of water molecules are narrow lines because dipole coupling is averaged due to chaotic molecular motion.4 In solids, where water molecules are fixed in their positions and do not participate in the diffusion mobility, the corresponding NMR spectra have the form of the Pake doublet. In solids with vacant positions, dipole coupling is averaged partially due to water diffusion which proceeds according to the symmetry of the solids and the probability distribution of molecules between the vacancies.5

Although internuclear magnetic dipole couplings contain a great deal of structural information, in isotropic solution, they average to zero as a result of diffusion. However, their effect on nuclear spin relaxation results in measurable nuclear Overhauser effects (NOEs).

The residual dipolar coupling (RDC) occurs if the molecules in solution exhibit a partial alignment leading to an incomplete averaging of spatially anisotropic magnetic interactions i.e. dipolar couplings. RDC measurement provides information on the global folding of the protein-long distance structural information. It also provides information about "slow" dynamics in molecules.

See also

See also

References

References

  • Malcolm H. Levitt, Spin Dynamics: Basics of Nuclear Magnetic Resonance. ISBN 0-471-48922-0.
  1. Lehner, Günther (2008). Electromagnetic Field Theory for Engineers and Physicists. p. 309. doi:10.1007/978-3-540-76306-2. ISBN 978-3-540-76305-5. S2CID 117970017.
  2. δ3(r) = 0 except at r = (0, 0, 0), so this term is ignored in multipole expansion.
  3. Schill, R. A. (2003). "General relation for the vector magnetic field of a circular current loop: A closer look". IEEE Transactions on Magnetics. 39 (2): 961–967. Bibcode:2003ITM....39..961S. doi:10.1109/TMAG.2003.808597.
  4. Abragam, A. (1961) The Principles of Nuclear Magnetism. Oxford University Press, Oxford.
  5. Gabuda, S.P.; Lundin, A.G.(1969) Diffusion of Water Molecules in Hydrates and NMR Spectra. JETP, 28 (3), 555. http://www.jetp.ac.ru/cgi-bin/dn/e_028_03_0555.pdf Archived 2018-05-17 at the Wayback Machine