An electron moving through the electric field of the nucleus experiences a magnetic field due to its velocity (relativistic effects). An electron circulating around a given axis (which we will define to be $z$) experiences a magnetic field pointing in the $z$ direction. Therefore a spin up or down electron ( $S_z\pm \frac 12 \hbar$) in the same orbital will have different energies by an amount that depends on $L_z$. Thus we can this a spin orbit coupling or interaction.

💃 Example

💼 Case: consider the $2s$ and $2p$ orbitals have $n=2$ and either $\ell=0$ or $\ell=1$ with $m_\ell =-1,0,1$. Each of those 4 states can be occupied by an electron with $m_s=\frac 12 , -\frac 12$. Thus there are $8$ states and they are all degenerate with energy $E)n=-E_r/n^2$

Therefore the energy levels of these states are shifted by amount

$$ \begin{aligned} \Delta E &= \left\langle f(r)\underline{\widehat{L}}\cdot\underline{\widehat{S}}\right\rangle \\ &= \frac{e^2}{8\pi\varepsilon_0m_e^2c^2}\left\langle\frac1{r^3}\right\rangle \frac12\Bigl(j(j+1)-\ell(\ell+1)-s(s+1)\Bigr)\hbar^2\end{aligned} $$

We will take the following definition for $\left\langle\frac1{r^3}\right\rangle$

$$ \left\langle\frac1{r^3}\right\rangle=\frac1{\ell(\ell+\frac12)(\ell+1)n^3a_0^3} \quad \text{for $\ell>0$} $$

Plugging in

$$ \Delta E_n=\frac{E_n^2}{m_ec^2}\,n\frac{j(j+1)-\ell(\ell+1)-s(s+1)}{\ell(\ell+\frac12)(\ell+1)} $$

our $n=2$ state are split into a set of states with energy shifts

$$ \Delta E_2=\frac{(13.6\,\mathrm{eV})^2}{511\,\mathrm{keV}}\times\frac1{24}\left\{\begin{array}{r}+1\\0\\-2\end{array}\right.\quad=1.51\times10^{-5}\,\mathrm{eV}\left\{\begin{array}{r}+1\\0\\-2\end{array}\right. $$

The $+1$ state has degeneracy $4$ ($m_j=-\frac 32 ,\ldots , \frac 32$) The $0$ state has degeneracy $2$ ($m_s=-\frac 12,\frac 12$ or equivalently $m_j=-\frac 12,\frac 12$ since $\ell=0$) and the $-2$ state also has degeneracy $2$ ($m_j=-\frac 12, \frac 12$). There are still $8$ states, the spin-orbit interactions has just split their energies

Magnetic energy

🍎 A magnetic dipole $\vec \mu$ in a magnetic field $\vec B$ has energy $-\vec \mu\cdot \vec B$ so