Tutorials

Budker group Berkeley Tutorials

Danila Barskiy Tutorials


Dipole-Dipole Interactions Explained

by Dr. Danila Barskiy

Interactions between spins are fundamental for understanding magnetic resonance. One of the most important ones is the magnetic dipole-dipole interaction. Spins act as tiny magnets, thus, they can interact with each other directly through space, pretty much the same way as classical magnetic dipoles (Figure 1). In NMR, dipole-dipole interactions very often determine lineshapes of solid-state samples and relaxation rates of nuclei in the liquid state.

Figure 1. Nuclear spin 1 produces the magnetic field that is sensed by a spin 2. Similarly, nuclear spin 2 produces the magnetic field that is sensed by a spin 1.

In many NMR textbooks, you can find the following expression for dipole-dipole (DD) Hamiltonian between two spins 1 and 2:

ˆHDD=d12(3ˆI1zˆI2zˆI1ˆI2),

where d12=μ04πγ1γ2r3(3cos2θ1)2, γ1 and γ2 are gyromagnetic ratios of the spins, r is the distance between them. Meaning of the angle θ can be seen from the Figure 2. But how was this expression derived?

Figure 2. Two nuclear spins, 1 and 2, are separated by the distance r. θ is defined as an angle between z-direction of the coordinate system and the vector connecting the two spins. If there is an external magnetic field B0, it is usually defined along the z-axis.

In physics, I rarely struggled with imagining abstract things and concepts, but rather, I was often lazy to do math thoroughly and derive equations from the beginning to the end. That’s why I decided to write here a full derivation, from the beginning to the end, for the Hamiltonian of interacting nuclear spins. We will start from a classical expression of the magnetic field produced by the dipole and finish by the analysis of a truncated dipole-dipole Hamiltonian. Usually, you don’t see such a full derivation in textbooks. Maybe, this is because textbooks have limited space… Luckily, here we do not have such limitations, thus, we can have some fun here! Let’s go then! 🙂

Classical equation describing the magnetic field Bdip(r) produced by a magnetic dipole moment μ is

Bdip(r)=μ04πr3(3(μˆr)ˆrμ),

where ˆr=r|r| is a unit vector. It is easy to show that (μr)r=(rr)μ.

Indeed,

(μr)r=(μxrx+μyry+μzrz)(rxryrz)=
(μxrxrx+μyryrx+μzrzrxμxrxry+μyryry+μzrzryμxrxrz+μyryrz+μzrzrz)

which is the same as

(rr)μ= (rxrxrxryrxrzryrxryryryrzrzrxrzryrzrz)(μxμyμz)= (rxrxμx+rxryμy+rxrzμzryrxμx+ryryμy+ryrzμzrzrxμx+rzryμy+rzrzμz).

Thus we write the magnetic field produced by a magnetic dipole μ2 as

Bμ2=μ04πr3(3(ˆrˆr)μ2μ2).

The energy of a magnetic dipole μ1 interacting with the magnetic field Bμ2 produced by a magnetic dipole μ2 (dipole-dipole interaction) is therefore

EDD=(μ1Bμ2)=μ04πr3(3μ1(ˆrˆr)μ2(μ1μ2)).

The transition from classical to quantum mechanics is realized by substituting the measurable quantities by corresponding quantum mechanical operators:

EDDˆHDDμ1γ1ˆI1μ2γ2ˆI2

ˆHDD=μ04πγ1γ1r3(3ˆI1(ˆrˆr)ˆI2(ˆI1ˆI2))=b12ˆI1ˆDˆI2.

Here b12 is a factor which depends only on the types of the nuclear spins and the distance between them, and a tensor of dipole-dipole interactions contains information about the mutual orientation of two spins:

ˆD=3(ˆrˆr)ˆ1.

Here ˆ1 is a unit matrix. Note that we write Hamiltonian ˆHDD in units of [rad/s], that is why one is missing. In spherical coordinates:

ˆr=(sinθcosϕsinθsinϕcosθ).

Therefore,

ˆD=(3sin2θcos2ϕ13sin2θcosϕsinϕ3sinθcosθcosϕ3sin2θcosϕsinϕ3sin2θsin2ϕ13sinθcosθsinϕ3sinθcosθcosϕ3sinθcosθsinϕ3cos2θ1).

Looks good, doesn’t it? Now, let’s evaluate the product ˆI1ˆDˆI2:

ˆI1ˆDˆI2= (ˆI1xˆI1yˆI1z) (3sin2θcos2ϕ13sin2θcosϕsinϕ3sinθcosθcosϕ3sin2θcosϕsinϕ3sin2θsin2ϕ13sinθcosθsinϕ3sinθcosθcosϕ3sinθcosθsinϕ3cos2θ1)(ˆI2xˆI2yˆI2z)=

(ˆI1xˆI1yˆI1z) (ˆI2x(3sin2θcos2ϕ1)+ˆI2y(3sin2θcosϕsinϕ)+ˆI2z(3sinθcosθcosϕ)ˆI2x(3sin2θcosϕsinϕ)+ˆI2y(3sin2θsin2ϕ1)+ˆI2z(3sinθcosθsinϕ)ˆI2x(3sinθcosθcosϕ)+ˆI2y(3sinθcosθsinϕ)+ˆI2z(3cos2θ1))

=ˆI1xˆI2x(3sin2θcos2ϕ1)+ˆI1xˆI2y(3sin2θcosϕsinϕ)+ +ˆI1xˆI2z(3sinθcosθcosϕ)+ˆI1yˆI2x(3sin2θcosϕsinϕ)+ˆI1yˆI2y(3sin2θsin2ϕ1)+ +ˆI1yˆI2z(3sinθcosθsinϕ)++ˆI1zˆI2x(3sinθcosθcosϕ)+ˆI1zˆI2y(3sinθcosθsinϕ)+ˆI1zˆI2z(3cos2θ1).

Let’s color terms to make it easier grouping them:

ˆI1xˆI2x(3sin2θcos2ϕ1)+ ˆI1xˆI2y(3sin2θcosϕsinϕ)+ ˆI1xˆI2z(3sinθcosθcosϕ)+ ˆI1yˆI2x(3sin2θcosϕsinϕ)+ ˆI1yˆI2y(3sin2θsin2ϕ1)+ ˆI1yˆI2z(3sinθcosθsinϕ)+ ˆI1zˆI2x(3sinθcosθcosϕ)+ˆI1zˆI2y(3sinθcosθsinϕ)+ ˆI1zˆI2z(3cos2θ1).

Grouping the red terms gives

(ˆI1xˆI2xcos2ϕ+ˆI1yˆI2ysin2ϕ)3sin2θ(ˆI1xˆI2x+ˆI1yˆI2y).

Let’s not forget about intrinsic connections of spin angular momentum with raising and lowering operators:

ˆI1xˆI2x=(ˆI1++ˆI1)2(ˆI2++ˆI2)2=14(ˆI1+ˆI2++ˆI1+ˆI2+ˆI1ˆI2++ˆI1ˆI2)

ˆI1yˆI2y=(ˆI1+ˆI1)2i(ˆI2+ˆI2)2i=14(ˆI1+ˆI2+ˆI1+ˆI2ˆI1ˆI2++ˆI1ˆI2).

Therefore, grouping the red terms gives

(ˆI1xˆI2xcos2ϕ+ˆI1yˆI2ysin2ϕ)3sin2θ(ˆI1xˆI2x+ˆI1yˆI2y)= =(ˆI1+ˆI2+ˆI1ˆI2+)34sin2θ+(ˆI1+ˆI2++ˆI1ˆI2)34sin2θ(cos2ϕ) 12(ˆI1+ˆI2+ˆI1ˆI2+)=(ˆI1+ˆI2+ˆI1ˆI2+)14(13cos2θ) (ˆI1+ˆI2++ˆI1ˆI2)34sin2θ(cos2ϕ).

Grouping the blue terms gives

(ˆI1xˆI2y+ˆI1yˆI2x)3sin2θcosϕsinϕ=(ˆI1+ˆI2+ˆI1ˆI2)34sin2θ(isin2ϕ),

where we took into consideration that

ˆI1xˆI2y=(ˆI1++ˆI1)2(ˆI2+ˆI2)2i=14i(ˆI1+ˆI2+ˆI1+ˆI2+ˆI1ˆI2+ˆI1ˆI2)
ˆI1yˆI2x=(ˆI1+ˆI1)2i(ˆI2++ˆI2)2=14i(ˆI1+ˆI2++ˆI1+ˆI2ˆI1ˆI2+ˆI1ˆI2).

Red and blue terms can be combined nicely to form

(ˆI1+ˆI2+ˆI1ˆI2+)14(13cos2θ)+ˆI1+ˆI2+(34sin2θe2iϕ)+ˆI1ˆI2(34sin2θe+2iϕ).

Now let’s focus on purple terms:

(ˆI1xˆI2z+ˆI1zˆI2x)(ˆI1xˆI2z+ˆI1zˆI2x)(3sinθcosθcosϕ) +(ˆI1yˆI2z+ˆI1zˆI2y)(3sinθcosθsinϕ)= =((ˆI1+ˆI2z+ˆI1ˆI2z+ˆI1zˆI2++ˆI1zˆI2)cosϕ)34sin2θ +((iˆI1+ˆI2z+iˆI1ˆI2ziˆI1zˆI2++iˆI1zˆI2)sinϕ)34sin2θ= =(ˆI1+ˆI2z+ˆI1zˆI2+)(34sin2θ)eiϕ+(ˆI1ˆI2z+ˆI1zˆI2)(34sin2θ)e+iϕ.

Overall, we have split our dipolar Hamiltonian into six terms, the so-called “Dipolar Alphabet”:


ˆI1ˆDˆI2=ˆA+ˆB+ˆC+ˆD+ˆE+ˆF,

where

ˆA=ˆI1zˆI2z(3cos2θ1)

ˆB=(ˆI1+ˆI2+ˆI1ˆI2+)(13cos2θ)4

ˆC=(ˆI1+ˆI2z+ˆI1zˆI2+)(34sin2θ)eiϕ

ˆD=(ˆI1ˆI2z+ˆI1zˆI2)(34sin2θ)e+iϕ

ˆE=ˆI1+ˆI2+(34sin2θ)e2iϕ

ˆF=ˆI1ˆI2(34sin2θ)e+2iϕ.


To summarize, the Hamiltonian of two interacting spins is a 4×4 matrix composed of 6 operators. Each of the letters of the dipolar alphabet corresponds to certain matrix elements in the final Hamiltonian (Figure 3).

Figure 3. If written in Zeeman basis (αα, αβ, βα and ββ), dipole-dipole Hamiltonian can be split into the following six terms of the “Dipolar Alphabet”.

Without an externally imposed direction in space (for example, in the case of two equivalent spins in zero magnetic field), all of the terms of the dipole-dipole Hamiltonian need to be used for calculating an NMR spectrum. This is because all orientations in space are equivalent. However, in the presence of the external high magnetic field, the Hamiltonian can be simplified via the use of so-called “secular approximation”.

The secular approximation concerns the case where the Hamiltonian is the sum of two terms:

ˆH=ˆA+ˆB,

where ˆA is a “large” operator and ˆB is a “small” operator. In our case, ˆA can be an operator describing the interaction with the magnetic field (Zeeman Hamiltonian) and ˆB is DD Hamiltonian. Eigenstates of the Zeeman Hamiltonian are familiar αα, αβ, βα, ββ. Generally, ˆB does not commute with ˆA, therefore, if written in the eigenbasis of ˆA, it has finite elements everywhere.

The secular approximation for ˆB means that we leave only the blocks that correspond to the eigenvalue structure of the operator ˆA (Figure 4) and disregard all other elements.

Figure 4. Energy level structure of the Zeeman Hamiltonian: lowest energy level (E1) corresponds to the state αα, energy levels E2 and E3 correspond to the states αβ and βα. The highest energy level (E4) corresponds to the nuclear spin state ββ. The essence of secular approximation is to make the to-be-simplified Hamiltonian match the eigenvalue structure of the main Hamiltonian. One can see from Figure 3 that the first two terms of the DD Hamiltonian will match the structure of the Zeeman Hamiltonian.

In general, we can omit a matrix element bnm that is much smaller than

|bmn||EmEn|.

For homonuclear case (e.g., two interacting protons), this means that only the first two terms of the dipolar Alphabet will survive:

ˆI1ˆDˆI2=ˆA+ˆB=

=ˆI1zˆI2z(3cos2θ1)+(ˆI1+ˆI2+ˆI1ˆI2+)(13cos2θ)4=

=ˆI1zˆI2z(3cos2θ1)(ˆI1xˆI2x+ˆI2yˆI2y)(3cos2θ1)2=

=(3cos2θ1)2(2ˆI1zˆI2z+ˆI1zˆI2zˆI1zˆI2z(ˆI1xˆI2x+ˆI2yˆI2y))=

=(3cos2θ1)2(3ˆI1zˆI2zˆI1ˆI2).

Overall, this is how you go from the classical description of the magnetic field of the dipole to the truncated form of the Hamiltonian in the high magnetic field. In the next post I will show how this Hamiltonian leads to the characteristic lineshape of the NMR line for solids.