WKB approximation (source code)

= WKB approximation
{c}
{wiki}

= Liouville–Green approximation
{c}
{synonym}

The <WKB approximation> separates rapid phase variation from a slowly varying amplitude in a <linear ordinary differential equation>. For
$$
\varepsilon^2y''+q(x)y=0,\qquad0<\varepsilon\ll1,
$$
on an interval with smooth $q>0$, its leading oscillatory form is
$$
y(x)\approx q(x)^{-1/4}\left[C_+e^{i\varepsilon^{-1}\int^x\sqrt q\,ds}+C_-e^{-i\varepsilon^{-1}\int^x\sqrt q\,ds}\right].
$$
Substitution of $y=Ae^{iS/\varepsilon}$ gives $S'^2=q$ at leading order and $2S'A'+S''A=0$ at the next order, hence $A\propto q^{-1/4}$. This is the mathematical origin of the <flux-normalized WKB amplitude>.

Where $q<0$, the leading branches instead grow and decay exponentially, with $|q|^{-1/4}$ amplitude and exponents $\pm\varepsilon^{-1}\int\sqrt{|q|}\,dx$. A <wave turning point> at $q=0$ makes this formula singular and requires an <Airy turning-point connection formula> for a simple zero. Slow variation and an error estimate are essential; the displayed expression is not an exact solution for arbitrary $q$. The real exponential version has a rigorous error-control theorem.<NIST Digital Library of Mathematical Functions>[section2.7(iii), equations2.7.20–2.7.25]{ref}