PHYS-373 · Lesson 6 of 12 · 21 min

Time-independent perturbation theory: non-degenerate and degenerate

Very few Hamiltonians can be diagonalized exactly. But many real problems are close to one that can: hydrogen with a weak applied field, an oscillator with a slightly anharmonic potential, an atom with small relativistic corrections. Perturbation theory is the systematic way to exploit that closeness. It expresses the energies and states of the full problem as power series in the strength of the extra term, with coefficients built entirely from the solutions of the simple problem. Developed by Erwin Schrödinger in 1926, in the third of his papers on wave mechanics, it is probably the most used calculation method in quantum physics.

Setting up the expansion

Suppose the Hamiltonian is \(H = H^0 + \lambda H'\), where the eigenvalue problem for \(H^0\) is solved, \(H^0\psi_n^0 = E_n^0\psi_n^0\), with orthonormal eigenstates, and \(\lambda\) is a bookkeeping parameter that will be set to 1 at the end. We look for the eigenstates and eigenvalues of \(H\) as power series:

\[\psi_n = \psi_n^0 + \lambda\,\psi_n^1 + \lambda^2\psi_n^2 + \cdots, \qquad E_n = E_n^0 + \lambda E_n^1 + \lambda^2 E_n^2 + \cdots .\]

Substituting into \(H\psi_n = E_n\psi_n\) and collecting powers of \(\lambda\) gives a hierarchy of equations. At order \(\lambda^0\) we recover the unperturbed problem. At order \(\lambda^1\):

\[H^0\psi_n^1 + H'\psi_n^0 = E_n^0\psi_n^1 + E_n^1\psi_n^0 .\]

First-order energy

Take the inner product of this equation with \(\psi_n^0\). Because \(H^0\) is Hermitian, \(\langle\psi_n^0|H^0\psi_n^1\rangle = E_n^0\langle\psi_n^0|\psi_n^1\rangle\), which cancels the matching term on the right. What remains is the central result of first-order perturbation theory:

\[E_n^1 = \langle\psi_n^0|H'|\psi_n^0\rangle .\]

The first-order correction to an energy is the expectation value of the perturbation in the unperturbed state. It is often all that is needed, and it is easy to evaluate. For example, if a box of width \(a\) has its floor raised by \(V_0\) over its left half, every level is raised to first order by \(V_0/2\), because each infinite-well eigenstate spends exactly half its probability in each half. For helium's ground state in lesson 1, taking the electron repulsion as \(H'\) gave a first-order correction of \(\tfrac54 Z \times 13.6\) eV = 34.0 eV, which raised the energy from \(-108.8\) to \(-74.8\) eV.

First-order state

To find the correction to the state, expand \(\psi_n^1\) in the complete set of unperturbed states, \(\psi_n^1 = \sum_{m \ne n} c_m\psi_m^0\). (A component along \(\psi_n^0\) itself can be removed by a change of normalization and phase, so it is set to zero.) Taking the inner product of the first-order equation with \(\psi_m^0\), \(m \ne n\), gives \((E_m^0 - E_n^0)c_m + \langle\psi_m^0|H'|\psi_n^0\rangle = 0\), so

\[\psi_n^1 = \sum_{m \ne n} \frac{\langle\psi_m^0|H'|\psi_n^0\rangle}{E_n^0 - E_m^0}\,\psi_m^0 .\]

The perturbation mixes into \(\psi_n^0\) a little of each other state, with an amplitude equal to the matrix element divided by the energy difference. Nearby states mix most. The formula fails when some \(E_m^0 = E_n^0\) with a nonzero matrix element: this is the degenerate case, treated below.

Second-order energy

Collecting terms of order \(\lambda^2\) and again projecting onto \(\psi_n^0\) gives \(E_n^2 = \langle\psi_n^0|H'|\psi_n^1\rangle\). Substituting the first-order state,

\[E_n^2 = \sum_{m \ne n} \frac{|\langle\psi_m^0|H'|\psi_n^0\rangle|^2}{E_n^0 - E_m^0} .\]

Two features of this formula are worth remembering. For the ground state, every denominator \(E_0^0 - E_m^0\) is negative, so the second-order correction to the ground-state energy is always negative or zero. And each pair of levels pushes the other away: if \(m\) lies above \(n\), its contribution lowers \(E_n\), and the matching term in \(E_m^2\) raises \(E_m\). This level repulsion is a general feature of quantum spectra. The second-order correction matters whenever the first order vanishes by symmetry, as for an atom in an electric field when the state has definite parity: the first-order shift \(\langle\psi|ez|\psi\rangle\) is zero, and the leading effect is the quadratic Stark shift, \(E^2 = -\tfrac12\alpha_{\text{pol}}\mathcal E^2\), which defines the atomic polarizability \(\alpha_{\text{pol}}\).

How good is it? The anharmonic oscillator

Consider the oscillator with a quartic correction, \(H = p^2/2m + \tfrac12 m\omega^2x^2 + \lambda x^4\), in units where \(\hbar = m = \omega = 1\). The ladder operators of PHYS-372 make the matrix elements easy: \(x = (a_+ + a_-)/\sqrt2\), so \(x^4\) connects \(|n\rangle\) to \(|n\rangle\), \(|n \pm 2\rangle\) and \(|n \pm 4\rangle\). For the ground state, \(\langle 0|x^4|0\rangle = 3/4\), so \(E_0^1 = 3\lambda/4\). The second-order sum has two terms, from \(|2\rangle\) with \(\langle 2|x^4|0\rangle = 3/\sqrt2\) and from \(|4\rangle\) with \(\langle 4|x^4|0\rangle = \sqrt6/2\):

\[E_0^2 = \frac{(3/\sqrt2)^2}{0 - 2} + \frac{(\sqrt6/2)^2}{0 - 4} = -\frac94 - \frac38 = -\frac{21}{8} .\]

So \(E_0 \approx \tfrac12 + \tfrac34\lambda - \tfrac{21}{8}\lambda^2\). The program compares this with the exact ground state, found by writing \(H\) as a matrix in the first 30 oscillator states and diagonalizing it with Jacobi rotations.

Perturbation theory against exact diagonalization for the quartic oscillator, and the linear Stark effect in hydrogen
import math

def jacobi_eigenvalues(A, sweeps=60):
    """Eigenvalues of a real symmetric matrix by cyclic Jacobi rotations."""
    n = len(A); A = [row[:] for row in A]
    for _ in range(sweeps):
        off = sum(A[i][j] ** 2 for i in range(n) for j in range(n) if i != j)
        if off < 1e-22: break
        for p in range(n - 1):
            for q in range(p + 1, n):
                if abs(A[p][q]) < 1e-15: continue
                th = 0.5 * math.atan2(2 * A[p][q], A[q][q] - A[p][p])
                c, s = math.cos(th), math.sin(th)
                for k in range(n):
                    akp, akq = A[k][p], A[k][q]
                    A[k][p], A[k][q] = c * akp - s * akq, s * akp + c * akq
                for k in range(n):
                    apk, aqk = A[p][k], A[q][k]
                    A[p][k], A[q][k] = c * apk - s * aqk, s * apk + c * aqk
    return sorted(A[i][i] for i in range(n))

N = 36                                   # oscillator basis states kept (units hbar = m = omega = 1)
X = [[0.0] * N for _ in range(N)]
for n in range(N - 1):
    X[n][n + 1] = X[n + 1][n] = math.sqrt((n + 1) / 2)
mul = lambda A, B: [[sum(A[i][k] * B[k][j] for k in range(N)) for j in range(N)] for i in range(N)]
X2 = mul(X, X); X4 = mul(X2, X2)
print("Anharmonic oscillator H = p^2/2 + x^2/2 + lam x^4, ground-state energy")
print("   lam     exact     1st order  2nd order   error of 2nd order")
for lam in (0.01, 0.05, 0.1, 0.2):
    # keep the top of the truncated basis out of the x^4 matrix, where truncation corrupts it
    M = 30
    H = [[(i + 0.5 if i == j else 0.0) + lam * X4[i][j] for j in range(M)] for i in range(M)]
    E = jacobi_eigenvalues(H)[0]
    e1 = 0.5 + 0.75 * lam
    e2 = e1 - 21 / 8 * lam ** 2
    print(f"  {lam:5.2f}  {E:9.6f}  {e1:9.6f}  {e2:9.6f}   {e2 - E:+.2e}")
print()
# degenerate perturbation theory: linear Stark effect in hydrogen n = 2, basis (2s, 2p0)
a0, F = 5.29177e-11, 1.0e7           # Bohr radius in m, field in V/m
W = -3 * a0 * F                      # <2s| e F z |2p0> in eV, since e*F*z with z in m gives eV
print("Linear Stark effect, hydrogen n = 2, field 1.0e7 V/m (degenerate 2s, 2p0 pair)")
H = [[0.0, W], [W, 0.0]]
for e in jacobi_eigenvalues(H):
    print(f"  shift {e * 1e3:+.4f} meV")
print(f"  splitting 6 e a0 F = {6 * a0 * F * 1e3:.4f} meV; 2p(m = +1) and 2p(m = -1) unshifted")
Output
Anharmonic oscillator H = p^2/2 + x^2/2 + lam x^4, ground-state energy
   lam     exact     1st order  2nd order   error of 2nd order
   0.01   0.507256   0.507500   0.507237   -1.87e-05
   0.05   0.532643   0.537500   0.530937   -1.71e-03
   0.10   0.559146   0.575000   0.548750   -1.04e-02
   0.20   0.602405   0.650000   0.545000   -5.74e-02

Linear Stark effect, hydrogen n = 2, field 1.0e7 V/m (degenerate 2s, 2p0 pair)
  shift -1.5875 meV
  shift +1.5875 meV
  splitting 6 e a0 F = 3.1751 meV; 2p(m = +1) and 2p(m = -1) unshifted

For \(\lambda = 0.01\), second order is within \(2 \times 10^{-5}\) of the exact energy. By \(\lambda = 0.1\) the error has grown to \(10^{-2}\), and at \(\lambda = 0.2\) the second-order result is worse than the first. The series for this problem is in fact divergent for every nonzero \(\lambda\), as Carl Bender and Tai Tsun Wu showed in 1969: the coefficients grow factorially, so adding more terms helps only up to a point. Perturbation series in physics are often asymptotic rather than convergent; used sensibly, keeping only the terms that are still getting smaller, they are nonetheless extremely accurate when the coupling is weak. Quantum electrodynamics, where the expansion parameter is \(\alpha/\pi \approx 0.002\), is the outstanding example.

A graph of the ground-state energy of the quartic oscillator against the coupling lambda from 0 to 0.3. The exact curve rises and bends over. The first-order straight line lies above it. The second-order parabola follows the exact curve closely for small lambda and then falls away below it.
Ground-state energy of \(H = p^2/2 + x^2/2 + \lambda x^4\): exact (numerical diagonalization), first order and second order. The truncated series is excellent for small \(\lambda\) and fails as \(\lambda\) grows

Degenerate perturbation theory

When the unperturbed level is degenerate, say \(H^0\psi_a^0 = E^0\psi_a^0\) and \(H^0\psi_b^0 = E^0\psi_b^0\) with \(\langle\psi_a^0|\psi_b^0\rangle = 0\), the formula for \(\psi^1\) has a zero denominator. The way out is to recognize that any combination \(\alpha\psi_a^0 + \beta\psi_b^0\) is an equally good unperturbed state, and the perturbation selects particular combinations. Projecting the first-order equation onto \(\psi_a^0\) and \(\psi_b^0\) gives a 2 by 2 eigenvalue problem:

\[\begin{pmatrix} W_{aa} & W_{ab} \\ W_{ba} & W_{bb} \end{pmatrix}\begin{pmatrix} \alpha \\ \beta \end{pmatrix} = E^1\begin{pmatrix} \alpha \\ \beta \end{pmatrix}, \qquad W_{ij} = \langle\psi_i^0|H'|\psi_j^0\rangle ,\]
\[E^1_{\pm} = \tfrac12\Big[W_{aa} + W_{bb} \pm \sqrt{(W_{aa} - W_{bb})^2 + 4|W_{ab}|^2}\,\Big] .\]

For an \(n\)-fold degenerate level the same recipe applies with an \(n\) by \(n\) matrix: the first-order energies are the eigenvalues of the perturbation restricted to the degenerate subspace, and its eigenvectors are the correct zeroth-order states, the good states. Often symmetry finds them without any calculation. If some Hermitian operator \(A\) commutes with both \(H^0\) and \(H'\), and the degenerate states have distinct eigenvalues of \(A\), then \(H'\) cannot connect them, the matrix \(W\) is already diagonal in the eigenbasis of \(A\), and ordinary non-degenerate formulas apply within each eigenvalue of \(A\). The labels of \(A\) are then called good quantum numbers. Lesson 7 uses exactly this argument for the fine structure: the spin–orbit term commutes with \(J^2\) and \(J_z\) but not with \(L_z\) and \(S_z\), so \(j\) and \(m_j\) are good quantum numbers and \(m_\ell\) and \(m_s\) are not.

The linear Stark effect

The classic example of degenerate perturbation theory is hydrogen's \(n = 2\) level in an electric field \(\mathcal E\) along \(z\), with \(H' = e\mathcal Ez\). The four spatial states \(2s, 2p_0, 2p_{+1}, 2p_{-1}\) are degenerate. Because \(H'\) commutes with \(L_z\), it connects only states with the same \(m\), and because \(z\) is odd under parity, its diagonal elements vanish. The only nonzero matrix element is \(\langle 2s|e\mathcal Ez|2p_0\rangle = -3e\mathcal Ea_0\), found from the hydrogen wave functions of PHYS-372. The 2 by 2 problem then gives first-order shifts \(\pm3e\mathcal Ea_0\) for the combinations \((2s \mp 2p_0)/\sqrt2\), while the \(m = \pm1\) states are unshifted. The good states are mixtures of different parity with a permanent electric dipole moment of \(3ea_0\). Unlike almost any other atom, hydrogen therefore shows a Stark shift linear in the field, a direct consequence of its accidental \(\ell\)-degeneracy. Johannes Stark discovered the splitting in 1913 and it was among the first successes of wave mechanics in 1926. For a field of \(10^7\) V/m the program gives a splitting of 3.2 meV.

Worked problem

A perturbed infinite well

An infinite well of width \(a\) is perturbed by \(H' = V_0\) for \(0 < x < a/2\) and zero elsewhere. Find the first-order shift of every level and the second-order shift of the ground state, keeping only the \(n = 2\) term.

Show solution
  1. First order: \(E_n^1 = V_0\int_0^{a/2}(2/a)\sin^2(n\pi x/a)\,dx = V_0/2\) for every \(n\).
  2. The matrix element \(\langle 2|H'|1\rangle = (2V_0/a)\int_0^{a/2}\sin(\pi x/a)\sin(2\pi x/a)\,dx = (2V_0/a)(2a/3\pi) = 4V_0/3\pi\).
  3. The energy difference is \(E_1^0 - E_2^0 = -3E_1^0\), with \(E_1^0 = \pi^2\hbar^2/2ma^2\).
  4. Second order from this term: \(E_1^2 \approx -(4V_0/3\pi)^2/(3E_1^0) = -16V_0^2/27\pi^2E_1^0\).

Answer: Every level rises by \(V_0/2\) to first order, and the ground state is pushed down at second order, about \(-0.060\,V_0^2/E_1^0\) from the \(n = 2\) term, as the state shifts its weight into the lower right half.

Common mistakes

  • MistakeUsing the non-degenerate formula for a degenerate level.

    InsteadDiagonalize the perturbation within the degenerate subspace first.

  • MistakeExpecting a first-order Stark shift for an atom in a state of definite parity.

    InsteadThe diagonal element of \(z\) vanishes; the shift is quadratic, unless degeneracy mixes parities as in hydrogen.

  • MistakeThinking the second-order correction can raise the ground state.

    InsteadEvery term has a negative denominator, so it can only lower it.

  • MistakeAdding more and more orders and expecting convergence.

    InsteadMany physical perturbation series are asymptotic; they should be truncated where terms stop shrinking.

  • MistakeForgetting that perturbation theory requires small matrix elements compared with level spacings, not just a small coupling constant.

    InsteadCheck \(|H'_{mn}| \ll |E_n^0 - E_m^0|\) for the states that matter.

Summary and key terms

  • First-order energy: \(E_n^1 = \langle n|H'|n\rangle\).
  • First-order state: \(\psi_n^1 = \sum_{m \ne n} H'_{mn}\psi_m^0/(E_n^0 - E_m^0)\); second-order energy \(E_n^2 = \sum_{m \ne n}|H'_{mn}|^2/(E_n^0 - E_m^0)\).
  • Second-order corrections lower the ground state and push levels apart.
  • For degenerate levels, diagonalize \(H'\) in the degenerate subspace; symmetry operators that commute with \(H'\) supply good quantum numbers.
  • Hydrogen's \(n = 2\) level shows a linear Stark effect of \(\pm3e\mathcal Ea_0\); the quartic oscillator shows that perturbation series can be asymptotic.
Perturbation
A small extra term \(H'\) added to a solvable Hamiltonian \(H^0\).
Good quantum numbers
Labels of states that diagonalize the perturbation in a degenerate subspace.
Level repulsion
The tendency of coupled levels to push each other apart at second order.
Stark effect
The shift and splitting of energy levels in an electric field.
Asymptotic series
A series whose partial sums approach the answer at first but eventually diverge.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Find the first-order shift of the harmonic oscillator level \(n\) for \(H' = \epsilon x^2\) (units \(\hbar = m = \omega = 1\)), and compare with the exact answer.

    Show answer

    \(\epsilon(n + \tfrac12)\); exactly, \(\omega \to \sqrt{1 + 2\epsilon}\), so \(E = (n + \tfrac12)(1 + \epsilon - \epsilon^2/2 + \dots)\).

  2. Why does a perturbation \(H' = \epsilon x\) give no first-order shift for any oscillator level?

    Show answer

    \(\langle n|x|n\rangle = 0\) by parity.

  3. Find the exact energies of \(H = \begin{pmatrix} 0 & \epsilon \\ \epsilon & \Delta\end{pmatrix}\) and expand to order \(\epsilon^2\).

    Show answer

    \(E = \tfrac12[\Delta \pm \sqrt{\Delta^2 + 4\epsilon^2}]\); lower level \(\approx -\epsilon^2/\Delta\), as second-order theory gives.

  4. Using the program, at what \(\lambda\) does the second-order error exceed \(10^{-3}\)?

    Show answer

    Between 0.01 and 0.05, about 0.04.

  5. For hydrogen in a field of \(10^6\) V/m, what is the Stark splitting of \(n = 2\)?

    Show answer

    \(6ea_0\mathcal E = 0.32\) meV.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz