Skip to main content

Variational Principle and WKB

The variational principle and WKB approximation are complementary tools for problems that are not exactly solvable. Variational methods estimate low-energy bound states by trying plausible wave functions. WKB estimates wave behavior when the de Broglie wavelength changes slowly compared with the scale of the potential.

Sakurai introduces WKB among elementary solutions of the Schrodinger equation and uses variational ideas in approximation methods. Ballentine gives a substantial variational-method treatment in the bound-state chapter and discusses semiclassical limits separately. The Gottfried-named notes include WKB and perturbative comparisons in approximation methods. Schiff's classic presentation is especially close to the traditional one-dimensional WKB connection-formula style.

Definitions

For a normalized trial state α\vert \alpha\rangle, the variational energy is

E[α]=αHααα.E[\alpha]={\langle \alpha|H|\alpha\rangle\over \langle \alpha|\alpha\rangle}.

If E0E_0 is the exact ground-state energy, the variational principle states

E[α]E0.E[\alpha]\geq E_0.

A trial family α(λ)\vert \alpha(\lambda)\rangle depends on one or more variational parameters λ\lambda. The best estimate inside that family is found by minimizing

dE(λ)dλ=0{dE(\lambda)\over d\lambda}=0

or by solving the corresponding multivariable gradient equations.

The WKB approximation starts from the one-dimensional time-independent Schrodinger equation

22md2ψdx2+V(x)ψ=Eψ.-{\hbar^2\over 2m}{d^2\psi\over dx^2}+V(x)\psi=E\psi.

Define the local classical momentum

p(x)=2m(EV(x)).p(x)=\sqrt{2m(E-V(x))}.

In a classically allowed region E>V(x)E\gt V(x), WKB gives

ψ(x)Cp(x)exp(±ixp(x)dx).\psi(x)\approx {C\over \sqrt{p(x)}} \exp\left(\pm {i\over\hbar}\int^x p(x')\,dx'\right).

In a forbidden region E<V(x)E\lt V(x), define

κ(x)=2m(V(x)E).\kappa(x)=\sqrt{2m(V(x)-E)}.

Then

ψ(x)Cκ(x)exp(±1xκ(x)dx).\psi(x)\approx {C\over \sqrt{\kappa(x)}} \exp\left(\pm {1\over\hbar}\int^x \kappa(x')\,dx'\right).

Key results

The variational principle proof is short. Expand a normalized trial state in exact energy eigenstates:

α=ncnn.|\alpha\rangle=\sum_n c_n|n\rangle.

Then

H=ncn2En.\langle H\rangle=\sum_n |c_n|^2E_n.

Since EnE0E_n\geq E_0 for every nn,

HE0ncn2=E0.\langle H\rangle\geq E_0\sum_n |c_n|^2=E_0.

This is why a bad trial state still gives an upper bound for the ground energy, assuming the Hamiltonian is bounded below and the trial state is in the domain of HH.

For one-dimensional bound states with two classical turning points x1,x2x_1,x_2, WKB quantization gives

x1x2p(x)dx=(n+12)π.\int_{x_1}^{x_2}p(x)\,dx=\left(n+{1\over2}\right)\pi\hbar.

The half-integer shift is the Maslov correction from the turning points. For tunneling through a barrier between x1x_1 and x2x_2, the leading exponential factor is

Texp[2x1x22m(V(x)E)dx].T\sim \exp\left[-{2\over\hbar}\int_{x_1}^{x_2}\sqrt{2m(V(x)-E)}\,dx\right].

Variational methods are global and energy-focused; WKB is local and phase-focused. Ballentine's treatment highlights variational control for bound-state estimates, while Sakurai's path from WKB to propagators helps connect semiclassical phases with action.

Visual

WKB regions for a barrier

V(x)
^
| forbidden
| _________
| / \
|____________/ \____________
| allowed E allowed
+----x1-----------------x2-----------> x

allowed: oscillatory phase exp(+- i integral p dx / hbar)
forbidden: exponential decay/growth exp(+- integral kappa dx / hbar)
MethodInputOutputReliability check
Variationaltrial wave functionupper bound to E0E_0improve trial family and compare
WKB bound statesslowly varying p(x)p(x)approximate quantizationfails near turning points without connection formulas
WKB tunnelingforbidden-region actionexponential transmission scalebest when action is large vs \hbar
Perturbationsmall operator changeseries correctionsfails near degeneracy or large coupling

Worked example 1: Variational estimate for hydrogen ground energy

Problem. Use the trial wave function

ψα(r)=(α3π)1/2eαr\psi_\alpha(r)=\left({\alpha^3\over \pi}\right)^{1/2}e^{-\alpha r}

for hydrogen. Find the minimizing α\alpha and energy.

Method.

  1. For this normalized trial state, the needed expectation values are
T=2α22μ,1r=α.\langle T\rangle={\hbar^2\alpha^2\over 2\mu}, \qquad \left\langle {1\over r}\right\rangle=\alpha.
  1. The energy functional is
E(α)=2α22μe24πϵ0α.E(\alpha)={\hbar^2\alpha^2\over 2\mu} -{e^2\over 4\pi\epsilon_0}\alpha.
  1. Differentiate:
dEdα=2αμe24πϵ0.{dE\over d\alpha}={\hbar^2\alpha\over\mu} -{e^2\over 4\pi\epsilon_0}.
  1. Set to zero:
α=μe24πϵ02=1a0.\alpha={\mu e^2\over 4\pi\epsilon_0\hbar^2}={1\over a_0}.
  1. Substitute back:
Emin=22μa02e24πϵ0a0=22μa02.E_{\min}={\hbar^2\over 2\mu a_0^2} -{e^2\over 4\pi\epsilon_0a_0} =-{\hbar^2\over 2\mu a_0^2}.
  1. This equals
13.6eV-{13.6\,\mathrm{eV}}

for hydrogen to standard precision.

Checked answer. The chosen trial family contains the exact ground-state shape, so the variational estimate reaches the exact nonrelativistic ground energy.

Worked example 2: WKB quantization of the harmonic oscillator

Problem. Use WKB quantization for

V(x)=12mω2x2.V(x)={1\over2}m\omega^2x^2.

Find the approximate energies.

Method.

  1. Turning points satisfy
E=12mω2x02,E={1\over2}m\omega^2x_0^2,

so

x0=2Emω2.x_0=\sqrt{2E\over m\omega^2}.
  1. The WKB condition is
x0x02m(E12mω2x2)dx=(n+12)π.\int_{-x_0}^{x_0}\sqrt{2m\left(E-{1\over2}m\omega^2x^2\right)}\,dx =\left(n+{1\over2}\right)\pi\hbar.
  1. The integral is the area of an ellipse in phase space divided by two in the usual xx-pp projection:
x0x0p(x)dx=πEω.\int_{-x_0}^{x_0}p(x)\,dx={\pi E\over \omega}.
  1. Therefore
πEω=(n+12)π.{\pi E\over \omega}=\left(n+{1\over2}\right)\pi\hbar.
  1. Solve:
En=ω(n+12).E_n=\hbar\omega\left(n+{1\over2}\right).

Checked answer. WKB gives the exact oscillator spectrum because the quadratic potential is unusually friendly to the semiclassical quantization rule.

Code

import numpy as np

def variational_hydrogen(alpha, hbar=1.0, mu=1.0, k=1.0):
return hbar**2 * alpha**2 / (2 * mu) - k * alpha

alphas = np.linspace(0.1, 2.0, 200)
energies = variational_hydrogen(alphas)
best = np.argmin(energies)

print("best alpha:", alphas[best])
print("best energy:", energies[best])

Common pitfalls

  • Forgetting that the variational estimate is an upper bound only for the ground state, not automatically for excited states without extra orthogonality constraints.
  • Minimizing an unnormalized expectation ψHψ\langle\psi\vert H\vert \psi\rangle without dividing by ψψ\langle\psi\vert \psi\rangle.
  • Choosing a trial wave function outside the Hamiltonian's domain.
  • Trusting WKB at a turning point without connection formulas. The naive amplitude diverges as p(x)0p(x)\to0.
  • Treating the WKB exponential prefactor as more reliable than the action exponent when the barrier is thick.
  • Ignoring symmetry in trial functions. A trial state with the wrong parity cannot approximate the intended state well.
  • Mixing variational and perturbative logic. Variational estimates do not require a small parameter, but they depend strongly on trial-family quality.

Variational work is only as good as the trial family. A one-parameter exponential works beautifully for hydrogen because it has the exact functional shape available. The same one-parameter family would be poor for a double well because it cannot represent two separated lobes or tunneling splitting. Before differentiating, inspect whether the trial function has the right symmetry, boundary behavior, number of nodes, and asymptotic decay. These qualitative features often matter more than adding another parameter blindly.

For excited states, the simple ground-state upper-bound statement needs refinement. If a trial state is constrained to be orthogonal to all lower exact states, a similar variational bound applies to the corresponding excited energy. In practical calculations, one often chooses trial functions with different parity or angular momentum so orthogonality follows from symmetry. This is another reason symmetry labels are not bookkeeping decoration; they make variational estimates meaningful for more than just the ground state.

WKB should be read as an expansion in slowly varying phase. The approximation is good when the local wavelength changes little over one wavelength. It is bad near turning points because p(x)p(x) vanishes and the naive amplitude 1/p(x)1/\sqrt{p(x)} diverges. Connection formulas repair this by matching WKB waves to Airy-function behavior near the turning point. Schiff-style treatments often dwell on these connection formulas because they are essential for reliable one-dimensional spectra and tunneling factors.

The two methods can also check each other. Variational estimates give upper bounds for bound-state energies, while WKB often gives accurate high-quantum-number spectra and tunneling exponents. If both methods are applicable and disagree strongly, examine whether the trial family is too restrictive or whether the WKB action is too small for semiclassical reasoning. Ballentine's separation of variational and classical-limit topics helps keep these domains distinct.

For multidimensional systems, variational thinking often generalizes more directly than elementary WKB. A trial wave function can include correlations, anisotropic widths, or basis expansions, and the same Rayleigh quotient applies. WKB in several dimensions requires more geometric machinery because classical trajectories, caustics, and phases replace a single one-dimensional action integral. This is why introductory courses usually teach WKB in one dimension but use variational estimates broadly.

Numerically, variational methods become the Rayleigh-Ritz method: choose a finite basis, build the Hamiltonian matrix, and diagonalize it. The lowest eigenvalue in the chosen subspace is an upper bound to the true ground energy. Enlarging the basis can only improve or leave unchanged that variational estimate. This connects hand trial functions to practical computational quantum mechanics.

Connections