---
title: The Stark and Zeeman effects
heading: Atoms in electric and magnetic fields, degenerate perturbation theory at work, and the Landé g-factor
eyebrow: B10 · Lesson 36 · Stark and Zeeman effects
xp: 40
---

::: hook
Put an atom in an electric field and its spectral lines shift and split: the Stark effect. Put it in a magnetic field and they split in a different pattern: the Zeeman effect. Both are perturbation theory applied to levels that start out degenerate, as lesson 35 set up, and both are everyday tools: Zeeman splitting measures magnetic fields on the Sun and sets the frequencies of atomic clocks and magnetometers, while the Stark effect tunes molecules and quantum emitters with a voltage. Hydrogen's first excited level shows the most striking case, a shift proportional to the field itself.
:::

::: play
- Hydrogen's n = 2 level in an electric field F. Without the field its four states (2s and the three 2p) share one energy. The field mixes 2s with the 2p state along the field and splits them.
- Two states move apart in proportion to the field, by $\pm3ea_0F$; the other two stay put. The readout gives the shift at the slider's field.
- The ground state, with no degenerate partner, shifts only as $F^2$, hundreds of thousands of times less at this field.
:::

```sim plot
view: graph
x: F = 0..2 MV/m
y: E = -0.4..0.4 meV
slider: F0 = 0..2 step 0.05 = 1 MV/m
plot: 3*0.0529*F | label: shifted up | samples: 50
plot: -3*0.0529*F | label: shifted down | color: ch2 | samples: 50
plot: 0 | dashed | label: two unshifted states
readout: linear Stark shift, meV = 3*0.0529*F0 | digits: 3
```

::: predict
## In a 1 MV/m field, how does hydrogen's n = 2 Stark shift compare with its ground state's?

- [ ] About the same
- [ ] The ground state shifts more, being more tightly bound
- [x] The n = 2 shift is hundreds of thousands of times larger
- [ ] Neither shifts: hydrogen is spherical

::: reveal
The n = 2 shift is about 690 000 times larger: ±0.16 meV against $2.3 \times 10^{-10}$ eV. The ground state has no degenerate partner, so the field can only polarize it slightly, a second-order shift. At n = 2, the degenerate 2s and 2p mix into states with a permanent dipole along the field, which shift in first order.
:::
:::

::: nameit
## Degenerate perturbation theory

When several states share an energy, first-order perturbation theory works only in the basis that diagonalizes the perturbation within those states. Build the small matrix of the perturbation among the degenerate states, find its eigenvalues: those are the first-order shifts, and its eigenvectors are the right states.

## The linear Stark effect

For hydrogen's n = 2, the perturbation $eFz$ connects 2s and 2p₀ with matrix element $-3ea_0F$, and nothing else. The eigenvalues are $\pm3ea_0F$ for the mixtures $\frac{1}{\sqrt2}(2s \pm 2p_0)$, and 0 for 2p₊₁ and 2p₋₁. A non-degenerate state shifts only by $-\frac12\alpha F^2$, with polarizability α; for hydrogen's ground state, $\alpha = 4.5 \times 4\pi\varepsilon_0a_0^3$.

## The Zeeman effect

A field B adds $\mu_BB(L_z + gS_z)/\hbar$, with $\mu_B = 57.9$ µeV/T and g ≈ 2. When spin–orbit coupling is much larger than this, each level of total angular momentum j splits into $2j + 1$ states, shifted by $g_Jm_j\mu_BB$, with the **Landé g-factor**

$$g_J = 1 + \frac{j(j + 1) + s(s + 1) - l(l + 1)}{2j(j + 1)}.$$

A transition's line then splits into components at $(g_um_u - g_lm_l)\mu_BB$, with $\Delta m = 0, \pm1$.
:::

::: example
## What are hydrogen's n = 2 Stark shifts in a 1 MV/m field, and how do they compare with the ground state's?

::: solution
1. **The n = 2 shifts.**
   $$\begin{aligned} \pm3ea_0F &= \pm3 \times 0.0529\text{ nm} \\ &\quad \times 10^6\ \text{V/m} \\ &= \pm0.159\ \text{meV} \end{aligned}$$
   which is ±38 GHz.
2. **The ground state's shift.**
   $$\begin{aligned} \frac12\alpha F^2 &= \frac12 \times 4.5 \times 4\pi\varepsilon_0a_0^3F^2 \\ &= 2.3 \times 10^{-10}\ \text{eV} \end{aligned}$$
3. **Compare.** The ratio is about 690 000. Linear Stark shifts are why Rydberg atoms and some molecules make sensitive electric-field probes, and why quantum dots and defects are tuned with gate voltages.

**Answer:** the n = 2 levels shift by ±0.159 meV (±38 GHz), about 690 000 times the ground state's $2.3 \times 10^{-10}$ eV.
:::
:::

::: example
## What are the Landé g-factors of hydrogen's 2p₃/₂ and 2p₁/₂ levels, and how far apart are their Zeeman sublevels in a 1 T field?

::: solution
1. **2p₃/₂.** With l = 1, s = ½, j = 3/2:
   $$\begin{aligned} g_J &= 1 + \frac{15/4 + 3/4 - 2}{2 \times 15/4} \\ &= \frac43 \end{aligned}$$
2. **2p₁/₂.**
   $$\begin{aligned} g_J &= 1 + \frac{3/4 + 3/4 - 2}{2 \times 3/4} \\ &= \frac23 \end{aligned}$$
3. **Sublevel spacing.** Adjacent sublevels are $g_J\mu_BB$ apart: 77.2 µeV and 38.6 µeV.
4. **Check the approximation.** Both are smaller than the fine-structure splitting of lesson 24 at this field, which is what justifies treating the field as a small perturbation on the j levels.

**Answer:** $g_J = \frac43$ for 2p₃/₂ and $\frac23$ for 2p₁/₂, with sublevels 77.2 µeV and 38.6 µeV apart in 1 T.
:::
:::

::: example
## Into how many lines does sodium's D1 line (3p₁/₂ to 3s₁/₂) split in a 1 T field, and where?

::: solution
1. **The levels.** Upper: $g = \frac23$, $m_j = \pm\frac12$. Lower: g = 2, $m_j = \pm\frac12$.
2. **The allowed shifts.** The allowed transitions give shifts of
   $$\left(\frac23m_u - 2m_l\right)\mu_BB$$
   which are $\pm\frac23$ and $\pm\frac43$ of $\mu_BB$.
3. **In frequency.** With $\frac{\mu_BB}{h}$ = 14.0 GHz, the four lines sit at ±9.3 and ±18.7 GHz.
4. **D2 and the Sun.** The D2 line splits into six. Counting and spacing such components, astronomers measure magnetic fields in sunspots from spectra alone.

**Answer:** D1 splits into four lines, at ±9.3 and ±18.7 GHz from the original line.
:::
:::

::: check
kind: parts
given: l = 1 | 2 | 3

## An electron has orbital quantum number l = {l} and spin ½.

::: part
answer: 1 + 1/(2*l + 1)
tolerance: 0.5%

### What is the Landé g-factor of its j = l + ½ level?

::: misses
- [2] That's pure spin; the orbit lowers it.
- [any] $g_J = 1 + \frac{j(j + 1) + s(s + 1) - l(l + 1)}{2j(j + 1)}$ with $j = l + \frac12$.
:::
:::

::: part
answer: 1 - 1/(2*l + 1)
tolerance: 0.5%

### And of its j = l − ½ level?

::: misses
- [any] The same formula with $j = l - \frac12$.
:::
:::
:::

::: check
given: F = 0.1 | 1 | 5
answer: 3*0.0529*F
unit: meV
tolerance: 0.5%

## How far does hydrogen's n = 2 level shift in a {F} MV/m field?

::: right
Right. $3ea_0F$, in first order because of the 2s–2p degeneracy.
:::

::: misses
- [0.0529*F] The matrix element is $3ea_0F$.
- [any] $\pm3ea_0F$.
:::
:::

::: check
given: g = 0.67 | 1.33 | 2; B = 0.1 | 1 | 3
answer: g*57.88*B
unit: µeV
tolerance: 0.5%

## A level with Landé factor {g} sits in a {B} T field. How far apart are adjacent sublevels?

::: right
Right. $g_J\mu_BB$.
:::

::: misses
- [57.88*B] Include the Landé factor.
- [any] $g_J\mu_BB$ with $\mu_B$ = 57.88 µeV/T.
:::
:::

::: check
given: B = 0.5 | 1 | 2
answer: 13.996*B*4/3
unit: GHz
tolerance: 0.5%

## How far from the unshifted line are sodium D1's outer Zeeman components in a {B} T field?

::: right
Right. $\frac43\frac{\mu_BB}{h}$, from the 2/3 and 2 g-factors.
:::

::: misses
- [13.996*B*2/3] That's the inner pair.
- [any] $(g_um_u - g_lm_l)\frac{\mu_BB}{h}$ with $m_u = \frac12$, $m_l = -\frac12$.
:::
:::

::: check
kind: choice

## Why does hydrogen's ground state show no linear Stark effect?

- [ ] Its electron is too tightly bound
- [x] It has no degenerate partner of opposite parity to mix with, so it has no permanent dipole
- [ ] Electric fields don't act on s states
- [ ] It does show one, too small to measure

::: right
Right. A first-order shift needs a dipole, and only mixing of degenerate states of opposite parity provides one.
:::

::: misses
- [1] Binding affects the size of the second-order shift, not its order.
- [3] They do, through the second-order polarization.
- [4] By symmetry the first-order shift is exactly zero.
:::
:::

::: check
given: j = 0.5 | 1.5 | 2.5
answer: 2*j + 1
tolerance: 0.5%

## A level with j = {j} sits in a weak magnetic field. Into how many sublevels does it split?

::: right
Right. $2j + 1$ values of $m_j$.
:::

::: misses
- [2*j] Count from $-j$ to $+j$ inclusive.
- [any] $m_j = -j, \ldots, j$.
:::
:::

::: check
kind: derivation
vars: j = 0.5..5, l = 0..5

## An electron (spin ½) with orbital quantum number l in a level of total j.

::: step
answer: 1 + (j*(j + 1) + 0.75 - l*(l + 1))/(2*j*(j + 1))

### What is its Landé g-factor?
:::

::: step
answer: (1 + (j*(j + 1) + 0.75 - l*(l + 1))/(2*j*(j + 1)))*57.88

### How far apart, in µeV, are its sublevels in 1 T?
:::

::: right
Right. For pure spin (l = 0) $g_J$ = 2; for pure orbit it would be 1.
:::
:::

::: check
kind: python

## Write `zeeman_lines(gu, ju, gl, jl)` that lists every transition from an upper level ($g_u$, $j_u$) to a lower level ($g_l$, $j_l$) with $\Delta m = 0, \pm1$, and returns the sorted distinct shifts $g_um_u - g_lm_l$ in units of $\mu_BB$, rounded to 9 decimals.

```python starter
def zeeman_lines(gu, ju, gl, jl):
    return [0.0]

print(zeeman_lines(2 / 3, 0.5, 2, 0.5))
```

```python solution
import numpy as np

def zeeman_lines(gu, ju, gl, jl):
    mu = np.arange(-ju, ju + 1)
    ml = np.arange(-jl, jl + 1)
    shifts = set()
    for a in mu:
        for b in ml:
            if abs(a - b) <= 1:
                shifts.add(round(gu * a - gl * b, 9))
    return sorted(shifts)

print(zeeman_lines(2 / 3, 0.5, 2, 0.5))
```

```python tests
import numpy as np
d1 = zeeman_lines(2 / 3, 0.5, 2, 0.5)
assert np.allclose(d1, [-4 / 3, -2 / 3, 2 / 3, 4 / 3]), f"Sodium D1 splits into four lines at ±2/3 and ±4/3; got {d1}."
d2 = zeeman_lines(4 / 3, 1.5, 2, 0.5)
assert np.allclose(d2, [-5 / 3, -1, -1 / 3, 1 / 3, 1, 5 / 3]), f"D2 splits into six lines; got {d2}."
assert zeeman_lines(1, 1, 1, 0) == [-1.0, 0.0, 1.0], "Equal g-factors give the normal Zeeman triplet."
```

::: right
Right. Unequal g-factors make the anomalous patterns: four lines for D1, six for D2, while equal ones collapse to the normal triplet.
:::
:::

::: explain
## Why must degenerate states be handled differently in perturbation theory?

::: model
Ordinary perturbation theory corrects a state by mixing in others with weights that are divided by their energy differences. When two states share an energy, those denominators are zero, which signals that even a tiny perturbation mixes them completely: the "right" states to start from aren't the ones you happened to choose, but whatever combinations the perturbation itself prefers. So you first diagonalize the perturbation within the degenerate set. Its eigenvectors are the states that stay stable as the perturbation is turned on, and its eigenvalues are their first-order shifts, which can be linear in the perturbation's strength, as in hydrogen's Stark effect.
:::
:::

::: practice

::: check
given: F = 0.1 | 0.5 | 1 | 2 | 5 | 10
answer: 3*0.0529*F*1e-3*1.602e-19/6.626e-34/1e9
unit: GHz
tolerance: 0.5%

## Hydrogen n = 2 Stark shift at {F} MV/m, as a frequency?

::: misses
- [any] $\frac{3ea_0F}{h}$.
:::
:::

::: check
given: g = 0.8 | 1.5; B = 0.2 | 5
answer: g*13.996*B
unit: GHz
tolerance: 0.5%

## Sublevel spacing as a frequency, $g_J$ = {g}, in {B} T?

::: misses
- [any] $g_J\frac{\mu_BB}{h}$.
:::
:::
:::
