Mathematical Methods Handbook

Perturbation methods

Regular and singular perturbation, boundary layers and WKB.

In this chapter 3

Tick a unit to add it to your PDF basket.

  1. Perturbation theory

Perturbation theory

3

Method

Regular perturbation expansions

Adapted

Expands the unknown of a problem carrying a small parameter ϵ\epsilon in powers of ϵ\epsilon and solves the resulting hierarchy order by order: the unit gives the non-degeneracy condition that makes every coefficient computable, the recipe, and the secular terms that destroy the approximation after a time of order 1/ϵ1/\epsilon.

Prerequisites: Taylor's theorem, Implicit and inverse function theorems, Constant-coefficient equations, Variation of parameters, The damped and driven harmonic oscillator, Asymptotic series

Definition(A perturbation family and its regular expansion)AdaptedAdapted from Strogatz (1994), §7.6, Eq. (4), p. 216; Stakgold & Holst (2011), §9.3, Eqs. (9.3.1)-(9.3.2), pp. 584-585

Many problems of physics come as a family P(ϵ)P(\epsilon) indexed by a real parameter ϵ\epsilon, in which the member P(0)P(0) can be solved and the member of interest has ϵ\epsilon small but non-zero. Stakgold and Holst write such a family out for a boundary-value problem; Strogatz writes one for an initial-value problem. In either case the unknown is a function u( ⋅ ;ϵ)u(\,\cdot\,;\epsilon), and the base problem is P(0)P(0) with its known solution u0u_0.

A regular perturbation expansion of order kk is the ansatz

u( ⋅ ;ϵ)  =  u0+ϵ u1+ϵ2u2+⋯+ϵkuk+o(ϵk),u(\,\cdot\,;\epsilon) \;=\; u_0 + \epsilon\,u_1 + \epsilon^{2}u_2 + \cdots + \epsilon^{k}u_k + o(\epsilon^{k}) ,

in which the coefficients u1,u2,…u_1, u_2, \dots do not depend on ϵ\epsilon and are to be found from P(ϵ)P(\epsilon) itself. Strogatz calls the technique regular perturbation theory. Three things are being assumed, and each has to be checked rather than hoped for.

  • The limit is of the same type. Setting ϵ=0\epsilon = 0 in P(ϵ)P(\epsilon) must leave a problem of the same kind — same order of equation, same number of boundary conditions, same number of roots — and not a degenerate one. When it does not, the family is singularly perturbed and this unit's method fails; see Singular perturbations and boundary layers.
  • The limit solution is non-degenerate. The base solution must be isolated in a sense made precise in the next block, so that u0u_0 is the unique starting point of a branch and not one of several merging ones.
  • The expansion is uniform on the region of interest. The error terms must be small uniformly in the independent variable over the whole interval or domain where the answer is wanted. For an initial-value problem posed on 0≤t<∞0 \le t < \infty this is the assumption that fails most often, and the remark below says how.

Nothing in the ansatz requires the series to converge. In many problems the coefficients uju_j grow so fast that the series diverges for every ϵ≠0\epsilon \neq 0 and is useful only as an asymptotic series, truncated at a finite order.

Method(Regular perturbation of a simple root)AdaptedAdapted from Stakgold & Holst (2011), §9.3, pp. 588-589

Let U⊆R2U \subseteq \mathbb{R}^{2} be open, let m≥1m \ge 1, and let F:U→RF : U \to \mathbb{R} be of class CmC^{m}. Suppose (x∗,0)∈U(x_\ast, 0) \in U and

F(x∗,0)=0,∂F∂x(x∗,0)  ≠  0.F(x_\ast, 0) = 0 , \qquad \frac{\partial F}{\partial x}(x_\ast,0) \;\neq\; 0 .

Then:

  1. (Existence of the branch.) There are δ>0\delta > 0 and η>0\eta > 0 and exactly one function x:(−η,η)→(x∗−δ,x∗+δ)x : (-\eta,\eta) \to (x_\ast - \delta, x_\ast + \delta) with x(0)=x∗x(0) = x_\ast and F(x(ϵ),ϵ)=0F(x(\epsilon),\epsilon) = 0 for all ∣ϵ∣<η|\epsilon| < \eta; moreover xx is of class CmC^{m}.
  2. (The expansion exists.) For every k≤mk \le m there are constants c1,…,ckc_1, \dots, c_k with x(ϵ)  =  x∗+c1ϵ+c2ϵ2+⋯+ckϵk+o(ϵk)(ϵ→0),x(\epsilon) \;=\; x_\ast + c_1\epsilon + c_2\epsilon^{2} + \cdots + c_k\epsilon^{k} + o(\epsilon^{k}) \qquad (\epsilon \to 0) , namely cj=x(j)(0)/j!c_j = x^{(j)}(0)/j!.
  3. (The coefficients are computable in order.) Substitute the truncated expansion into FF, expand in powers of ϵ\epsilon by Taylor's theorem about (x∗,0)(x_\ast,0), and set the coefficient of ϵj\epsilon^{j} to zero. For each j≤kj \le k the resulting equation has the form ∂F∂x(x∗,0) cj  +  Rj(c1,…,cj−1)  =  0,\frac{\partial F}{\partial x}(x_\ast,0)\,c_j \;+\; R_j(c_1,\dots,c_{j-1}) \;=\; 0 , where RjR_j depends only on the earlier coefficients and on partial derivatives of FF at (x∗,0)(x_\ast,0). Hence c1,…,ckc_1, \dots, c_k are determined successively and uniquely.

Stakgold and Holst use exactly this device — a scalar equation F(δ,ϵ)=0F(\delta,\epsilon) = 0 with ∂F/∂δ≠0\partial F/\partial\delta \neq 0 at the origin, resolved by the implicit function theorem — to show that a simple eigenvalue of a compact self-adjoint operator moves along a well-defined branch when the operator is perturbed. The statement above is the scalar case on its own, stripped of the operator setting.

Idea of the proofOriginal

Order-by-order bookkeeping looks like an act of faith: one writes down a series whose terms are unknown, substitutes it into the problem, and reads off equations. It works for one reason only. The unknown enters FF at first order through ∂F/∂x\partial F/\partial x, so when the powers of ϵ\epsilon are collected, the new coefficient cjc_j appears in the ϵj\epsilon^{j} equation linearly, multiplied by the single number ∂F/∂x(x∗,0)\partial F/\partial x(x_\ast,0), and everything else in that equation is already known. If that number is not zero, each equation is a one-line division. If it is zero, the ϵj\epsilon^{j} equation says nothing about cjc_j, and the whole scheme collapses at the first order where this happens. Everything else — existence of the branch, smoothness, and the fact that the numbers produced really are the Taylor coefficients of a genuine solution — is the implicit function theorem.

ProofOriginal
  1. The branch. Apply the implicit function theorem to FF at (x∗,0)(x_\ast,0), solving for xx in terms of ϵ\epsilon. The hypothesis ∂F/∂x(x∗,0)≠0\partial F/\partial x(x_\ast,0) \neq 0 is precisely its non-degeneracy condition, and F∈CmF \in C^{m} gives a solution function x(ϵ)x(\epsilon) of class CmC^{m}, unique within a neighbourhood. This proves (1).

  2. The expansion. Since x∈Cmx \in C^{m} on (−η,η)(-\eta,\eta), Taylor's theorem gives, for each k≤mk \le m,

    x(ϵ)=∑j=0kx(j)(0)j! ϵj+o(ϵk),x(\epsilon) = \sum_{j=0}^{k} \frac{x^{(j)}(0)}{j!}\,\epsilon^{j} + o(\epsilon^{k}) ,

    with x(0)(0)=x∗x^{(0)}(0) = x_\ast. This is (2), with cj=x(j)(0)/j!c_j = x^{(j)}(0)/j!.

  3. The shape of the ϵj\epsilon^{j} equation. Write h=x−x∗h = x - x_\ast and expand FF about (x∗,0)(x_\ast,0) by Taylor's theorem in two variables to total order kk:

    F(x∗+h, ϵ)  =  ∑p+q≤kp+q≥11p! q! ∂xp∂ϵqF(x∗,0)  hpϵq  +  o((∣h∣+∣ϵ∣)k),F(x_\ast + h,\ \epsilon) \;=\; \sum_{\substack{p+q \le k \\ p+q \ge 1}} \frac{1}{p!\,q!}\,\partial_x^{p}\partial_\epsilon^{q}F(x_\ast,0)\; h^{p}\epsilon^{q} \;+\; o\bigl((|h|+|\epsilon|)^{k}\bigr) ,

    the constant term being absent because F(x∗,0)=0F(x_\ast,0) = 0. Now put h=c1ϵ+⋯+ckϵk+o(ϵk)h = c_1\epsilon + \cdots + c_k\epsilon^{k} + o(\epsilon^{k}), which is O(ϵ)O(\epsilon), so that hpϵq=O(ϵp+q)h^{p}\epsilon^{q} = O(\epsilon^{p+q}). Collect the coefficient of ϵj\epsilon^{j} for a fixed j≤kj \le k. A term with p+q≤jp + q \le j can contribute, and the coefficient cjc_j can appear in it only through a factor of hh carrying the power ϵj\epsilon^{j}; since h=O(ϵ)h = O(\epsilon), that requires p=1p = 1 and q=0q = 0. Every other contribution to the ϵj\epsilon^{j} coefficient is built from c1,…,cj−1c_1, \dots, c_{j-1} and from derivatives of FF at (x∗,0)(x_\ast,0). Writing those contributions as Rj(c1,…,cj−1)R_j(c_1,\dots,c_{j-1}), the coefficient of ϵj\epsilon^{j} is

    ∂xF(x∗,0) cj+Rj(c1,…,cj−1).\partial_x F(x_\ast,0)\,c_j + R_j(c_1,\dots,c_{j-1}) .
  4. Why that coefficient vanishes. By (1), F(x(ϵ),ϵ)=0F(x(\epsilon),\epsilon) = 0 identically on (−η,η)(-\eta,\eta). Hence the function ϵ↦F(x(ϵ),ϵ)\epsilon \mapsto F(x(\epsilon),\epsilon), which is CmC^{m}, has all derivatives zero at ϵ=0\epsilon = 0 up to order mm, so its Taylor polynomial of order kk is identically zero and every coefficient of ϵj\epsilon^{j}, j≤kj \le k, vanishes.

  5. Solving. Combining steps 3 and 4, ∂xF(x∗,0) cj=−Rj(c1,…,cj−1)\partial_x F(x_\ast,0)\,c_j = -R_j(c_1,\dots,c_{j-1}) for j=1,…,kj = 1,\dots,k. Because ∂xF(x∗,0)≠0\partial_x F(x_\ast,0) \neq 0 — the hypothesis used a second time, now not for existence but for solvability — this determines cjc_j uniquely from its predecessors, by induction on jj. This is (3). □\square

Remark(Where the hypotheses are used, and what fails without them)Original

The condition ∂xF(x∗,0)≠0\partial_x F(x_\ast,0) \neq 0 carries the whole statement, and it does so twice: once in the implicit function theorem, to produce a branch at all, and once at every order, to solve for cjc_j. Both failures are visible in two-line examples.

  • A double root. F(x,ϵ)=x2−ϵF(x,\epsilon) = x^{2} - \epsilon has F(0,0)=0F(0,0) = 0 and ∂xF(0,0)=0\partial_x F(0,0) = 0. The roots are x=±ϵx = \pm\sqrt{\epsilon}: there are two branches for ϵ>0\epsilon > 0 and none for ϵ<0\epsilon < 0, and neither branch has an expansion in powers of ϵ\epsilon, because ϵ\sqrt{\epsilon} is not differentiable at 00. The order-ϵ\epsilon equation of the method confirms the diagnosis without any knowledge of the answer: it reads 0⋅c1=10 \cdot c_1 = 1, which has no solution. The cure is to change the gauge, expanding in powers of ϵ1/2\epsilon^{1/2} instead of ϵ\epsilon.
  • A root that escapes. F(x,ϵ)=ϵx2+x−1F(x,\epsilon) = \epsilon x^{2} + x - 1 loses a root at ϵ=0\epsilon = 0: the quadratic has two roots for ϵ≠0\epsilon \neq 0, the linear limit only one. The surviving branch is regular, x=1−ϵ+2ϵ2+O(ϵ3)x = 1 - \epsilon + 2\epsilon^{2} + O(\epsilon^{3}). The other root is x=−1/ϵ−1+O(ϵ)x = -1/\epsilon - 1 + O(\epsilon) and runs off to infinity as ϵ→0\epsilon \to 0; no expansion in non-negative powers of ϵ\epsilon can reach it. This is the algebraic model of the degeneracy that produces boundary layers in differential equations, where setting ϵ=0\epsilon = 0 lowers the order and a solution is lost; see Singular perturbations and boundary layers.
  • Finite smoothness. F∈CmF \in C^{m} bounds the number of terms. With FF merely C1C^{1} the branch exists and is differentiable, so c1c_1 is meaningful, but c2c_2 need not exist.

Nothing above claims convergence. Even for FF real-analytic, where the branch is analytic and the series converges for small ∣ϵ∣|\epsilon|, the radius of convergence is set by the nearest value of ϵ\epsilon at which two branches collide, which is usually not known in advance. For differential equations convergence is the exception; the expansion is normally an asymptotic series and the honest statement is the o(ϵk)o(\epsilon^{k}) of the theorem, for fixed kk as ϵ→0\epsilon \to 0.

Method(Regular perturbation, order by order)AdaptedAdapted from Strogatz (1994), §7.6, pp. 216-217; Stakgold & Holst (2011), §9.3, Eqs. (9.3.1)-(9.3.5), pp. 584-585
  1. Non-dimensionalise first, then name ϵ\epsilon. Scale the variables so that the small parameter is a dimensionless ratio. Without this step "small" has no meaning and the ordering of terms is arbitrary.
  2. Inspect the limit problem. Set ϵ=0\epsilon = 0 and ask whether what remains is a problem of the same type with a solvable, isolated solution. If the order of the differential equation drops, a boundary condition becomes unenforceable, or roots disappear, stop: the problem is singular, and Singular perturbations and boundary layers is the relevant method.
  3. Insert the ansatz. Write u=u0+ϵu1+ϵ2u2+⋯u = u_0 + \epsilon u_1 + \epsilon^{2}u_2 + \cdots and substitute. Expand every nonlinear function of uu in a Taylor series about u0u_0, and expand every coefficient that depends on ϵ\epsilon as well.
  4. Collect powers of ϵ\epsilon and equate each coefficient to zero. This is legitimate because the equation is to hold for a range of ϵ\epsilon, not one value: a function of ϵ\epsilon that vanishes identically has all Taylor coefficients zero.
  5. Distribute the data. Initial or boundary data that do not depend on ϵ\epsilon are carried entirely by u0u_0; every higher coefficient gets the corresponding homogeneous data. If the data do depend on ϵ\epsilon, expand them too and give the ϵj\epsilon^{j} part to uju_j.
  6. Solve the hierarchy downwards. The O(1)O(1) problem is the base problem. Every later problem has the same linear operator — the linearisation of the base problem about u0u_0 — with a right-hand side assembled from the coefficients already found. One linear solve per order, in order.
  7. Watch for a kernel. If that common operator has a non-trivial kernel, the order-jj problem is solvable only if its right-hand side satisfies a solvability condition (orthogonality to the kernel of the adjoint; see The Fredholm alternative and modified Green's functions). That condition is not an obstacle but the point: it determines a parameter left free at lower order, such as an eigenvalue or a frequency. In initial-value problems on an unbounded interval the same kernel shows up instead as resonant forcing and a secular term; see the next remark.
  8. State the range of validity. Compare the first term dropped with the last term kept. The truncation at order kk is informative only where ∣ϵk+1uk+1∣≪∣ϵkuk∣|\epsilon^{k+1}u_{k+1}| \ll |\epsilon^{k}u_k|, and the coefficients uju_j often grow with the independent variable, which turns this into a restriction on the variable as well as on ϵ\epsilon.
Example(Kepler's equation: the eccentric anomaly to third order)Original

A body on an elliptical orbit of eccentricity ee has eccentric anomaly EE related to the mean anomaly MM (which grows linearly in time) by Kepler's equation

E−esin⁡E  =  M.E - e\sin E \;=\; M .

This is transcendental in EE and has no closed-form inverse, but ee is small for most planets, so expand in it. Take MM fixed and set F(E,e)=E−esin⁡E−MF(E,e) = E - e\sin E - M. At e=0e = 0 the root is E∗=ME_\ast = M, and

∂F∂E(M,0)  =  1−ecos⁡E∣e=0  =  1  ≠  0,\frac{\partial F}{\partial E}(M,0) \;=\; 1 - e\cos E\Big|_{e=0} \;=\; 1 \;\neq\; 0 ,

so the statement above applies: there is a unique smooth branch E(e)E(e) with E(0)=ME(0) = M. (In fact ∂EF=1−ecos⁡E≥1−e>0\partial_E F = 1 - e\cos E \ge 1 - e > 0 for all EE whenever 0≤e<10 \le e < 1, so the root is unique and the branch is global in EE; only the expansion in powers of ee is a local statement.)

Order by order. Write E=M+eE1+e2E2+e3E3+O(e4)E = M + eE_1 + e^{2}E_2 + e^{3}E_3 + O(e^{4}) and expand sin⁡E\sin E about MM:

sin⁡E=sin⁡M+(E−M)cos⁡M−12(E−M)2sin⁡M+O((E−M)3).\sin E = \sin M + (E - M)\cos M - \tfrac12 (E-M)^{2}\sin M + O\bigl((E-M)^{3}\bigr) .

Substituting and collecting powers of ee in E−esin⁡E−M=0E - e\sin E - M = 0:

  • O(e)O(e):   E1−sin⁡M=0\;E_1 - \sin M = 0, so E1=sin⁡ME_1 = \sin M.
  • O(e2)O(e^{2}):   E2−E1cos⁡M=0\;E_2 - E_1\cos M = 0, so E2=sin⁡Mcos⁡M=12sin⁡2ME_2 = \sin M\cos M = \tfrac12\sin 2M.
  • O(e3)O(e^{3}):   E3−(E2cos⁡M−12E12sin⁡M)=0\;E_3 - \bigl(E_2\cos M - \tfrac12 E_1^{2}\sin M\bigr) = 0, so E3=sin⁡Mcos⁡2M−12sin⁡3M=sin⁡M−32sin⁡3ME_3 = \sin M\cos^{2}M - \tfrac12\sin^{3}M = \sin M - \tfrac32\sin^{3}M.

Note the shape promised by part 3 of the statement: at every order the new coefficient appears alone, multiplied by ∂EF(M,0)=1\partial_E F(M,0) = 1, and everything else is already known. Hence

E  =  M+esin⁡M+12e2sin⁡2M+e3(sin⁡M−32sin⁡3M)+O(e4).E \;=\; M + e\sin M + \tfrac12 e^{2}\sin 2M + e^{3}\bigl(\sin M - \tfrac32\sin^{3}M\bigr) + O(e^{4}) .

A number to check. Take M=1M = 1 (radian) and e=0.2e = 0.2, close to Mercury's eccentricity. Solving E−0.2sin⁡E=1E - 0.2\sin E = 1 numerically gives E=1.185324E = 1.185324 to six decimals. The truncations are

order kept value error
00 1.0000001.000000 −1.85×10−1-1.85 \times 10^{-1}
11 1.1682941.168294 −1.70×10−2-1.70 \times 10^{-2}
22 1.1864801.186480 +1.16×10−3+1.16 \times 10^{-3}
33 1.1860621.186062 +7.4×10−4+7.4 \times 10^{-4}

The first two corrections each cut the error by about an order of magnitude, as a series in e=0.2e = 0.2 should. The third does less, because the O(e4)O(e^{4}) coefficient 13sin⁡4M−16sin⁡2M\tfrac13\sin 4M - \tfrac16\sin 2M happens to be large at M=1M = 1; adding it gives 1.1854161.185416, error +9.2×10−5+9.2\times10^{-5}. This is normal behaviour and not a sign of failure: the error after keeping kk terms is O(ek+1)O(e^{k+1}) as e→0e \to 0 for fixed kk, which says nothing about the ordering of individual terms at a fixed ee. (Kepler's equation is the rare case where the convergence question is settled: the series in ee converges for ee below the Laplace limit, about 0.66270.6627.)

Remark(Secular terms: why the expansion expires at t∼1/ϵt \sim 1/\epsilon)AdaptedAdapted from Strogatz (1994), §7.6, Eqs. (15)-(17) and the two objections, pp. 217-218

On a bounded interval of the independent variable, a regular expansion with smooth coefficients is as good as its last term. On an unbounded interval it usually is not, and the reason is visible in the hierarchy of step 6 of the method.

Consider an oscillatory base problem, so that the common linear operator of the hierarchy is d2/dt2+ω02d^{2}/dt^{2} + \omega_0^{2} and the leading solution u0u_0 oscillates at frequency ω0\omega_0. The right-hand side of the order-ϵ\epsilon problem is built out of u0u_0, so it generally contains a component at that same frequency ω0\omega_0. That is resonant forcing of an undamped oscillator, and its response grows linearly: u1u_1 contains a term proportional to tsin⁡ω0tt\sin\omega_0 t or tcos⁡ω0tt\cos\omega_0 t. Strogatz calls such a term, one that grows without bound in tt, a secular term.

A secular term does not mean the calculation is wrong. The bound in the theorem is an estimate at fixed tt as ϵ→0\epsilon \to 0, and it holds. What a secular term destroys is uniformity: the two-term approximation u0+ϵu1u_0 + \epsilon u_1 is a genuine improvement on u0u_0 only while ϵ∣u1∣≪∣u0∣\epsilon|u_1| \ll |u_0|, that is while

ϵt  ≪  1,equivalentlyt  ≪  1/ϵ.\epsilon t \;\ll\; 1 , \qquad\text{equivalently}\qquad t \;\ll\; 1/\epsilon .

Beyond that the "correction" is larger than the thing it corrects, and the formula is worse than useless — it can predict amplitudes the exact solution provably cannot reach, as the next example shows.

Strogatz makes two further observations about what has gone wrong, both worth keeping. First, a secular term is often the first Taylor coefficient of something perfectly bounded: e−ϵt=1−ϵt+O(ϵ2t2)e^{-\epsilon t} = 1 - \epsilon t + O(\epsilon^{2}t^{2}), so a slow exponential decay of amplitude shows up in a truncated ϵ\epsilon-expansion as linear growth, with the wrong sign and the wrong qualitative behaviour. Recovering the decay from the series would need infinitely many terms, which defeats the purpose. Second, a small shift in frequency, ω=ω0+O(ϵ)\omega = \omega_0 + O(\epsilon), also appears as a secular term, because cos⁡(ω0+ϵω1)t=cos⁡ω0t−ϵω1tsin⁡ω0t+⋯\cos(\omega_0 + \epsilon\omega_1)t = \cos\omega_0 t - \epsilon\omega_1 t\sin\omega_0 t + \cdots; the phase error accumulates and becomes an O(1)O(1) error after t∼1/ϵt \sim 1/\epsilon. Both diagnoses say the same thing: the solution has two time scales, a fast one of order 11 and a slow one of order 1/ϵ1/\epsilon, and a series in ϵ\epsilon with coefficients depending on tt alone cannot represent the slow one. The standard repairs — rescaling the frequency before expanding, or treating tt and ϵt\epsilon t as independent variables, which Strogatz calls two-timing (§7.6, p. 218) — build the slow scale into the ansatz from the start. They are not developed here.

Example(A weakly nonlinear oscillator, and the failure of the two-term formula)Original

Take the Duffing equation (Strogatz, §7.6, Eq. (3), p. 215) with a soft start from rest:

x¨+x+ϵx3=0,x(0)=a,x˙(0)=0,0<ϵ≪1.\ddot x + x + \epsilon x^{3} = 0 , \qquad x(0) = a , \quad \dot x(0) = 0 , \qquad 0 < \epsilon \ll 1 .

The hierarchy. Put x=x0+ϵx1+O(ϵ2)x = x_0 + \epsilon x_1 + O(\epsilon^{2}) and expand x3=x03+O(ϵ)x^{3} = x_0^{3} + O(\epsilon). The initial data do not depend on ϵ\epsilon, so by step 5 they go entirely to x0x_0:

O(1):x¨0+x0=0,x0(0)=a, x˙0(0)=0;O(ϵ):x¨1+x1=−x03,x1(0)=0, x˙1(0)=0.O(1): \quad \ddot x_0 + x_0 = 0 , \quad x_0(0) = a, \ \dot x_0(0) = 0 ; \qquad O(\epsilon): \quad \ddot x_1 + x_1 = -x_0^{3} , \quad x_1(0) = 0, \ \dot x_1(0) = 0 .

The base solution is x0=acos⁡tx_0 = a\cos t. For the forcing, use cos⁡3t=34cos⁡t+14cos⁡3t\cos^{3}t = \tfrac34\cos t + \tfrac14\cos 3t:

x¨1+x1  =  −34a3cos⁡t  −  14a3cos⁡3t.\ddot x_1 + x_1 \;=\; -\tfrac34 a^{3}\cos t \;-\; \tfrac14 a^{3}\cos 3t .

The first term on the right is at the natural frequency of the operator on the left — exactly the resonance described in the remark. Solving by variation of parameters (or by the standard resonant trial Ctsin⁡tCt\sin t) and imposing x1(0)=x˙1(0)=0x_1(0) = \dot x_1(0) = 0,

x1(t)  =  −3a38 tsin⁡t  +  a332(cos⁡3t−cos⁡t),x_1(t) \;=\; -\frac{3a^{3}}{8}\,t\sin t \;+\; \frac{a^{3}}{32}\bigl(\cos 3t - \cos t\bigr) ,

so the two-term approximation is

x(t)  ≈  acos⁡t  +  ϵ[−3a38tsin⁡t+a332(cos⁡3t−cos⁡t)].x(t) \;\approx\; a\cos t \;+\; \epsilon\left[-\frac{3a^{3}}{8}t\sin t + \frac{a^{3}}{32}(\cos 3t - \cos t)\right] .

The first bracketed term is secular; the second is a bounded third-harmonic correction, the signature of a nonlinearity.

Numbers. Take a=1a = 1 and ϵ=0.1\epsilon = 0.1. Integrating the equation numerically to twelve-digit tolerance and comparing:

tt numerical x(t)x(t) two-term formula error
11 0.5046620.504662 0.5039650.503965 −7.0×10−4-7.0\times10^{-4}
55 0.4497630.449763 0.4602000.460200 +1.0×10−2+1.0\times10^{-2}
2020 −0.305609-0.305609 −0.280878-0.280878 +2.5×10−2+2.5\times10^{-2}
4040 −0.805957-0.805957 −1.779979-1.779979 −9.7×10−1-9.7\times10^{-1}

At t=1t = 1 the formula is good to four decimals. At t=40t = 40 it is not merely inaccurate but impossible: energy conservation gives

12x˙2+12x2+ϵ4x4  =  12a2+ϵ4a4,\tfrac12\dot x^{2} + \tfrac12 x^{2} + \tfrac{\epsilon}{4}x^{4} \;=\; \tfrac12 a^{2} + \tfrac{\epsilon}{4}a^{4} ,

and since 12x˙2≥0\tfrac12\dot x^{2} \ge 0 while s↦12s+ϵ4s2s \mapsto \tfrac12 s + \tfrac{\epsilon}{4}s^{2} is strictly increasing for s≥0s \ge 0, this forces x(t)2≤a2x(t)^{2} \le a^{2}, that is ∣x(t)∣≤a=1|x(t)| \le a = 1, for all tt. The two-term formula reports −1.78-1.78. The crossover is where the remark predicts it: ϵt=1\epsilon t = 1 at t=10t = 10, and the error has grown to a few per cent by t=20t = 20 and to order one by t=40t = 40, where ϵt=4\epsilon t = 4.

What the secular term was trying to say. Guess instead that the nonlinearity only shifts the frequency, x≈acos⁡ωtx \approx a\cos\omega t with ω=1+38ϵa2\omega = 1 + \tfrac38\epsilon a^{2}. Expanding in ϵ\epsilon at fixed tt reproduces the secular term exactly:

acos⁡[(1+38ϵa2)t]  =  acos⁡t−3a38ϵ tsin⁡t+O(ϵ2t2).a\cos\bigl[(1 + \tfrac38\epsilon a^{2})t\bigr] \;=\; a\cos t - \frac{3a^{3}}{8}\epsilon\,t\sin t + O(\epsilon^{2}t^{2}) .

So the growth was the expansion of a phase, not of an amplitude — the second of the two diagnoses in the remark. The frequency-shifted formula, with ω=1.0375\omega = 1.0375, gives −0.790424-0.790424 at t=40t = 40 against the numerical −0.805957-0.805957, an error of 1.6×10−21.6\times10^{-2} rather than 9.7×10−19.7\times10^{-1}, and it stays bounded for all time. Finding the shift 38ϵa2\tfrac38\epsilon a^{2} without guessing is what the methods named at the end of the remark do.

Application(First-order shifts: eigenvalues, energy levels, orbits)AdaptedAdapted from Stakgold & Holst (2011), §9.3, Eqs. (9.3.23) and (9.3.26)-(9.3.30), pp. 589-590; Riley, Hobson & Bence (2006), §19.2, p. 671

The single most used consequence of this method in physics is the first-order shift of an eigenvalue, and it is a case where step 7 of the method — the solvability condition — does the work.

Stakgold and Holst take the Sturm-Liouville family

−u′′+(1+ϵx2)u=μu,0<x<1,u(0)=u(1)=0.-u'' + (1 + \epsilon x^{2})u = \mu u , \qquad 0 < x < 1 , \qquad u(0) = u(1) = 0 .

At ϵ=0\epsilon = 0 the eigenvalues are simple, μn=n2π2+1\mu_n = n^{2}\pi^{2} + 1, with normalised eigenfunctions en(x)=2sin⁡nπxe_n(x) = \sqrt{2}\sin n\pi x. Differentiating the problem with respect to ϵ\epsilon and setting ϵ=0\epsilon = 0 gives an inhomogeneous problem for ∂ϵu\partial_\epsilon u whose operator is −d2/dx2+1−μn-d^{2}/dx^{2} + 1 - \mu_n, and that operator annihilates ene_n. So the problem is solvable only if its right-hand side is orthogonal to ene_n — and that condition, which at first looks like an obstruction, is what determines the unknown ∂ϵμ(0)\partial_\epsilon\mu(0):

μn(ϵ)  ≈  μn+ϵ∫01x2en2(x) dx.\mu_n(\epsilon) \;\approx\; \mu_n + \epsilon\int_0^{1} x^{2}e_n^{2}(x)\,dx .

The first-order shift is computable without knowing how the eigenfunction moves. For this example ∫01x2⋅2sin⁡2(nπx) dx=13−1/(2n2π2)\int_0^1 x^{2}\cdot 2\sin^{2}(n\pi x)\,dx = \tfrac13 - 1/(2n^{2}\pi^{2}), so

μn(ϵ)  ≈  n2π2+1+ϵ(13−12n2π2).\mu_n(\epsilon) \;\approx\; n^{2}\pi^{2} + 1 + \epsilon\left(\frac13 - \frac{1}{2n^{2}\pi^{2}}\right) .

For n=1n = 1 and ϵ=0.1\epsilon = 0.1 this predicts μ1≈10.897872\mu_1 \approx 10.897872; a finite-difference computation of the eigenvalue gives 10.89786110.897861, an agreement to five decimals, and for ϵ=1\epsilon = 1 the prediction 11.15227711.152277 against the computed 11.15116411.151164 is still good to three decimals.

In quantum mechanics the same formula is the first thing one reaches for. Riley, Hobson and Bence quote it in the form a physicist uses: if a Hamiltonian acquires an extra small term H′H', then to first order the ground state's energy moves by the expectation value ⟨0∣H′∣0⟩\langle 0|H'|0\rangle, evaluated in the unperturbed ground state. That is the display above with ∫01x2en2\int_0^1 x^{2}e_n^{2} read as ⟨n∣x2∣n⟩\langle n | x^{2} | n\rangle and ϵx2\epsilon x^{2} as H′H': Stark and Zeeman shifts, fine structure and the anharmonic corrections to a vibrational spectrum are all computed this way, and the unperturbed eigenfunctions suffice.

Two further standing uses are worth naming. Celestial mechanics is where the method began: the expansion of Kepler's equation in the eccentricity, as in the example above, together with expansions of planetary orbits in the mass ratios, is how ephemerides were computed for two centuries. And in fluid and plasma problems the same scheme appears as a stability calculation — expand about a known equilibrium in the amplitude of a disturbance and read the growth rate off the order-ϵ\epsilon problem — in which the solvability condition of step 7 becomes the dispersion relation.

Method · advanced

Singular perturbations and boundary layers

Adapted

Treats problems in which setting the small parameter to zero lowers the order of the equation, so that a boundary condition can no longer be imposed: the unit proves that the solution of a linear model problem splits into a smooth outer part plus a correction confined to a layer of width ϵ\epsilon, gives the recipe of inner and outer expansions and matching, and shows how dominant balance fixes the width of the layer.

Prerequisites: Regular perturbation expansions, Asymptotic series, Watson's lemma, Constant-coefficient equations, Solving first-order equations

Definition(Singular perturbation, outer region, boundary layer)AdaptedAdapted from Evans (2010), §4.5.1, p. 200; Strogatz (1994), §3.5, A Singular Limit, pp. 68-69

Let P(ϵ)P(\epsilon) be a family of differential equations depending on a parameter ϵ>0\epsilon > 0. The feature that earns the name singular perturbation is a failure of continuity in ϵ\epsilon: however small the parameter is taken, the solution of P(ϵ)P(\epsilon) need not resemble the solution of P(0)P(0). Evans accounts for this by the weight carried by the derivatives of highest order, which are informally the terms that settle how a solution behaves; the perturbations he calls singular are exactly those that attach the factor ϵ\epsilon to a term of order higher than any already present, so that the term governing the perturbed equation is the one that vanishes in the limit.

For a two-point problem on an interval the consequence is concrete. If the equation is of second order for every ϵ>0\epsilon > 0 but of first order at ϵ=0\epsilon = 0, then the limit problem accepts one boundary condition and not two. Strogatz calls such a limit singular, precisely because the data can no longer be imposed, and names the subject that deals with it singular perturbation theory. The method of Regular perturbation expansions does not apply: its first requirement is that P(0)P(0) be a problem of the same type as P(ϵ)P(\epsilon).

What happens instead is that the solution ceases to have a single scale. Fix a point x0x_0 of the closed interval and a positive function δ(ϵ)\delta(\epsilon) with δ(ϵ)→0\delta(\epsilon) \to 0.

  • The outer region is the part of the interval on which x−x0x - x_0 is of order 11. There the solution is smooth and has a regular expansion in powers of ϵ\epsilon, called the outer expansion, whose leading term solves the limit problem P(0)P(0).
  • The inner region, or boundary layer, is the set where x−x0x - x_0 is of order δ(ϵ)\delta(\epsilon). There the right variable is the inner variable X=(x−x0)/δ(ϵ)X = (x - x_0)/\delta(\epsilon), and the expansion of the solution as a function of XX is the inner expansion. The number δ(ϵ)\delta(\epsilon) is the width of the layer.
  • Matching is the requirement that the two expansions describe the same function in the intermediate range δ(ϵ)≪∣x−x0∣≪1\delta(\epsilon) \ll |x - x_0| \ll 1, where both are supposed to hold.

Strogatz's term boundary layer comes from fluid mechanics, where such a region is a thin sheet of fluid next to a solid surface; he also applies it to a thin interval of time at the start of a motion, and we shall do the same. Nothing in the definition requires x0x_0 to be an endpoint: layers can sit at an interior point, or, as in Evans's dye problem, along a curve inside a two-dimensional region.

Method(A linear model problem)Original

Let a>0a > 0 and b,α,βb, \alpha, \beta be real constants, and for ϵ>0\epsilon > 0 consider

ϵy′′+ay′+by  =  0on [0,1],y(0)=α,y(1)=β.\epsilon y'' + a y' + b y \;=\; 0 \quad \text{on } [0,1] , \qquad y(0) = \alpha , \quad y(1) = \beta .

Define the outer solution youty_{\mathrm{out}} as the solution of the limit problem ay′+by=0a y' + by = 0, y(1)=βy(1) = \beta, namely

yout(x)  =  β e(b/a)(1−x),y_{\mathrm{out}}(x) \;=\; \beta\, e^{(b/a)(1-x)} ,

and the composite approximation

ycomp(x)  =  yout(x)  +  (α−yout(0)) e−ax/ϵ.y_{\mathrm{comp}}(x) \;=\; y_{\mathrm{out}}(x) \;+\; \bigl(\alpha - y_{\mathrm{out}}(0)\bigr)\, e^{-ax/\epsilon} .

Then there are numbers ϵ0>0\epsilon_0 > 0 and CC, both depending only on aa, bb, α\alpha, β\beta and not on ϵ\epsilon, such that for every ϵ∈(0,ϵ0)\epsilon \in (0,\epsilon_0) the boundary-value problem has exactly one solution yϵy_\epsilon and

sup⁡0≤x≤1∣yϵ(x)−ycomp(x)∣  ≤  C ϵ.\sup_{0 \le x \le 1} \bigl| y_\epsilon(x) - y_{\mathrm{comp}}(x) \bigr| \;\le\; C\,\epsilon .

The approximation is therefore uniform on the whole interval, including inside the layer. Note what each piece does: youty_{\mathrm{out}} satisfies the condition at x=1x = 1 exactly and the one at x=0x = 0 not at all; the added exponential is of size α−yout(0)\alpha - y_{\mathrm{out}}(0) at x=0x = 0, repairs the condition there, and is smaller than any power of ϵ\epsilon once xx is of order 11.

Idea of the proofOriginal

A constant-coefficient equation can be solved exactly, so the whole phenomenon is visible in the two roots of ϵm2+am+b=0\epsilon m^{2} + am + b = 0. Their product is b/ϵb/\epsilon and their sum is −a/ϵ-a/\epsilon, so one of them must be enormous: as ϵ→0\epsilon \to 0 one root stays near −b/a-b/a, which is the root of the limit equation am+b=0am + b = 0, while the other runs off to −a/ϵ-a/\epsilon. The first gives a smooth function of xx; the second gives e−ax/ϵe^{-ax/\epsilon}, which equals 11 at x=0x = 0 and is beyond-all-orders small as soon as xx exceeds a few multiples of ϵ\epsilon. So the exact solution is a smooth outer part plus a spike at the left end whose only duty is to fix the value at x=0x = 0, and the layer width ϵ\epsilon is not assumed but read off from the lost root.

The proof has only to make this quantitative. Two estimates do it: each root differs from its stated limit by O(ϵ)O(\epsilon), and the coefficients in front of the two exponentials differ from the ones in ycompy_{\mathrm{comp}} by O(ϵ)O(\epsilon). One subtlety is that the fast exponential is em−xe^{m_-x} rather than e−ax/ϵe^{-ax/\epsilon}, and these differ by a factor ecxe^{cx} with cc of order 11 — an O(x)O(x) relative error, not an O(ϵ)O(\epsilon) one. It is harmless because it is multiplied by e−ax/ϵe^{-ax/\epsilon}, and xe−ax/ϵx e^{-ax/\epsilon} never exceeds ϵ/(ea)\epsilon/(ea).

ProofOriginal

Throughout, 0<ϵ<ϵ1:=a2/(8(1+∣b∣))0 < \epsilon < \epsilon_1 := a^{2}/\bigl(8(1+|b|)\bigr), and C1,C2,…C_1, C_2, \dots denote constants built from a,b,α,βa,b,\alpha,\beta alone. A second explicit restriction on ϵ\epsilon is imposed in step 6; the ϵ0\epsilon_0 of the statement is the smaller of the two bounds.

  1. The two roots. The characteristic equation ϵm2+am+b=0\epsilon m^{2} + am + b = 0 has discriminant a2−4ϵba^{2} - 4\epsilon b. Since 4ϵ∣b∣≤4ϵ1(1+∣b∣)=a2/24\epsilon|b| \le 4\epsilon_1(1+|b|) = a^{2}/2, we have

    12a2  ≤  a2−4ϵb  ≤  32a2,\tfrac12 a^{2} \;\le\; a^{2} - 4\epsilon b \;\le\; \tfrac32 a^{2} ,

    so s:=a2−4ϵbs := \sqrt{a^{2}-4\epsilon b} is real and a/2≤s≤2aa/2 \le s \le 2a. The roots m±=(−a±s)/(2ϵ)m_\pm = (-a \pm s)/(2\epsilon) are real and distinct.

  2. The slow root. Rationalising, m+=s2−a22ϵ(s+a)=−4ϵb2ϵ(s+a)=−2bs+am_+ = \dfrac{s^{2}-a^{2}}{2\epsilon(s+a)} = \dfrac{-4\epsilon b}{2\epsilon(s+a)} = \dfrac{-2b}{s+a}. Hence, using a−s=(a2−s2)/(a+s)=4ϵb/(a+s)a - s = (a^{2}-s^{2})/(a+s) = 4\epsilon b/(a+s) and s+a≥as + a \ge a,

    ∣m++ba∣  =  ∣b∣ ∣a−s∣a(s+a)  =  4ϵb2a(s+a)2  ≤  4b2a3 ϵ  =:  K1ϵ.\Bigl| m_+ + \frac{b}{a} \Bigr| \;=\; |b|\,\frac{|a - s|}{a(s+a)} \;=\; \frac{4\epsilon b^{2}}{a(s+a)^{2}} \;\le\; \frac{4b^{2}}{a^{3}}\,\epsilon \;=:\; K_1\epsilon .

    In particular ∣m+∣≤∣b∣/a+K1ϵ1=:K2|m_+| \le |b|/a + K_1\epsilon_1 =: K_2, a bound independent of ϵ\epsilon.

  3. The fast root. From m−=−(a+s)/(2ϵ)m_- = -(a+s)/(2\epsilon) and s≥a/2s \ge a/2 we get m−≤−3a/(4ϵ)<0m_- \le -3a/(4\epsilon) < 0. Also

    m−+aϵ  =  a−s2ϵ  =  2ba+s  =:  c,∣c∣  ≤  2∣b∣a  =:  c0,m_- + \frac{a}{\epsilon} \;=\; \frac{a - s}{2\epsilon} \;=\; \frac{2b}{a+s} \;=:\; c , \qquad |c| \;\le\; \frac{2|b|}{a} \;=:\; c_0 ,

    so that em−x=e−ax/ϵecxe^{m_-x} = e^{-ax/\epsilon}e^{cx} exactly. This is where a>0a > 0 is used: it makes m−m_- negative, so the fast mode decays as xx increases and the layer sits at the left endpoint.

  4. Existence and uniqueness. Because the roots are distinct, every solution is y=Aem+x+Bem−xy = Ae^{m_+x} + Be^{m_-x}. The boundary conditions give the linear system A+B=αA + B = \alpha, Aem++Bem−=βAe^{m_+} + Be^{m_-} = \beta, whose determinant is em−−em+≠0e^{m_-} - e^{m_+} \ne 0 since m−≠m+m_- \ne m_+ and the exponential is injective on R\mathbb{R}. So there is exactly one solution yϵy_\epsilon.

  5. A name for the exponentially small quantity. Put E:=em−≤e−3a/(4ϵ)E := e^{m_-} \le e^{-3a/(4\epsilon)}. For every kk there is a constant with E≤CkϵkE \le C_k\epsilon^{k}, so any term of size O(E)O(E) may be absorbed into the O(ϵ)O(\epsilon) of the conclusion.

  6. The coefficient of the slow mode. Solving the system, A=(β−αE)/(em+−E)A = (\beta - \alpha E)/(e^{m_+} - E). Let A0:=yout(0)=βeb/aA_0 := y_{\mathrm{out}}(0) = \beta e^{b/a}, so that yout(x)=A0e−(b/a)xy_{\mathrm{out}}(x) = A_0e^{-(b/a)x}. First compare AA with βe−m+\beta e^{-m_+}:

    A−βe−m+  =  β−αEem+−E−βem+  =  E(β−αem+)em+(em+−E).A - \beta e^{-m_+} \;=\; \frac{\beta - \alpha E}{e^{m_+}-E} - \frac{\beta}{e^{m_+}} \;=\; \frac{E\bigl(\beta - \alpha e^{m_+}\bigr)}{e^{m_+}\bigl(e^{m_+}-E\bigr)} .

    By step 2, e−K2≤em+≤eK2e^{-K_2} \le e^{m_+} \le e^{K_2}. By step 5, E≤e−3a/(4ϵ)E \le e^{-3a/(4\epsilon)}, and this is at most 12e−K2\tfrac12 e^{-K_2} as soon as ϵ<ϵ2:=3a/(4(K2+ln⁡2))\epsilon < \epsilon_2 := 3a/\bigl(4(K_2+\ln 2)\bigr). Set ϵ0:=min⁡(ϵ1,ϵ2)\epsilon_0 := \min(\epsilon_1,\epsilon_2) and assume ϵ<ϵ0\epsilon < \epsilon_0 from here on. Then ∣em+−E∣≥12e−K2|e^{m_+} - E| \ge \tfrac12 e^{-K_2}, the numerator is at most E(∣β∣+∣α∣eK2)E(|\beta| + |\alpha|e^{K_2}), and ∣A−βe−m+∣≤C3E|A - \beta e^{-m_+}| \le C_3E. Next, by step 2 and ∣eu−ev∣≤emax⁡(u,v)∣u−v∣|e^{u}-e^{v}| \le e^{\max(u,v)}|u-v|,

    ∣βe−m+−A0∣  =  ∣β∣ ∣e−m+−eb/a∣  ≤  ∣β∣eK2K1ϵ.\bigl| \beta e^{-m_+} - A_0 \bigr| \;=\; |\beta|\,\bigl| e^{-m_+} - e^{b/a} \bigr| \;\le\; |\beta|e^{K_2}K_1\epsilon .

    Adding, ∣A−A0∣≤C4ϵ|A - A_0| \le C_4\epsilon. Since A+B=αA + B = \alpha and B0:=α−A0B_0 := \alpha - A_0, also ∣B−B0∣≤C4ϵ|B - B_0| \le C_4\epsilon.

  7. The slow part of the error. For 0≤x≤10 \le x \le 1,

    Aem+x−yout(x)  =  (A−A0)em+x  +  A0(em+x−e−(b/a)x).A e^{m_+x} - y_{\mathrm{out}}(x) \;=\; (A - A_0)e^{m_+x} \;+\; A_0\bigl( e^{m_+x} - e^{-(b/a)x} \bigr) .

    The first term is at most C4ϵ eK2C_4\epsilon\,e^{K_2} in absolute value. For the second, ∣m+x+(b/a)x∣≤K1ϵ|m_+x + (b/a)x| \le K_1\epsilon by step 2 and x≤1x \le 1, so again by ∣eu−ev∣≤emax⁡(u,v)∣u−v∣|e^{u}-e^{v}| \le e^{\max(u,v)}|u-v| the bracket is at most eK2K1ϵe^{K_2}K_1\epsilon. Hence this part of the error is ≤C5ϵ\le C_5\epsilon, uniformly in xx.

  8. The fast part of the error. Using step 3,

    Bem−x−B0e−ax/ϵ  =  e−ax/ϵ[(B−B0)ecx+B0(ecx−1)].B e^{m_-x} - B_0e^{-ax/\epsilon} \;=\; e^{-ax/\epsilon}\Bigl[ (B - B_0)e^{cx} + B_0\bigl(e^{cx}-1\bigr) \Bigr] .

    Since e−ax/ϵ≤1e^{-ax/\epsilon} \le 1 and ∣ecx∣≤ec0|e^{cx}| \le e^{c_0}, the first inner term contributes at most C4ec0ϵC_4e^{c_0}\epsilon. For the second, ∣ecx−1∣≤∣c∣x ec0≤c0ec0x|e^{cx}-1| \le |c|x\,e^{c_0} \le c_0e^{c_0}x, so its contribution is at most

    ∣B0∣c0ec0 sup⁡x≥0x e−ax/ϵ  =  ∣B0∣c0ec0 ϵea,|B_0|c_0e^{c_0}\,\sup_{x \ge 0} x\,e^{-ax/\epsilon} \;=\; |B_0|c_0e^{c_0}\,\frac{\epsilon}{ea} ,

    the supremum being attained at x=ϵ/ax = \epsilon/a. So this part of the error is also ≤C6ϵ\le C_6\epsilon.

  9. Conclusion. Since yϵ=Aem+x+Bem−xy_\epsilon = Ae^{m_+x}+Be^{m_-x} and ycomp=yout+B0e−ax/ϵy_{\mathrm{comp}} = y_{\mathrm{out}} + B_0e^{-ax/\epsilon}, steps 7 and 8 give ∣yϵ−ycomp∣≤(C5+C6)ϵ|y_\epsilon - y_{\mathrm{comp}}| \le (C_5+C_6)\epsilon for every x∈[0,1]x \in [0,1]. Take C=C5+C6C = C_5 + C_6. □\square

Remark(Where the hypotheses are used, and what fails without them)Original
  • Two boundary conditions against a first-order limit. This is the singularity itself, and it is why Regular perturbation expansions cannot be used. A regular expansion y=Y0+ϵY1+⋯y = Y_0 + \epsilon Y_1 + \cdots with coefficients independent of ϵ\epsilon puts aY0′+bY0=0aY_0' + bY_0 = 0 at leading order, a first-order equation; it can meet y(0)=αy(0)=\alpha or y(1)=βy(1)=\beta, not both, and no later term can help, because every YjY_j obeys the same first-order operator with homogeneous data at whichever end was used. The expansion does not fail by being inaccurate; it fails by not existing.
  • a>0a > 0 decides which condition the outer solution keeps. It enters at step 3, where it makes the fast root negative. If a<0a < 0 the fast mode is e∣a∣x/ϵe^{|a|x/\epsilon}, which is negligible except near x=1x = 1: the layer moves to the right endpoint and the outer solution must carry y(0)=αy(0) = \alpha instead. The stated formula is then not merely inaccurate but divergent. Take a=−1a = -1, b=0b = 0, α=1\alpha = 1, β=0\beta = 0. The exact solution of ϵy′′−y′=0\epsilon y'' - y' = 0 with these data is yϵ(x)=(e1/ϵ−ex/ϵ)/(e1/ϵ−1)y_\epsilon(x) = \bigl(e^{1/\epsilon} - e^{x/\epsilon}\bigr)/\bigl(e^{1/\epsilon}-1\bigr), which is close to 11 for xx away from 11 and drops to 00 in a layer of width ϵ\epsilon at x=1x = 1; the formula of the statement would return yout≡0y_{\mathrm{out}} \equiv 0 plus ex/ϵe^{x/\epsilon}, which at x=1x=1 is e1/ϵe^{1/\epsilon}.
  • aa must not vanish, and the width depends on which terms balance. Every bound in steps 2 and 3 is expressed through 1/a1/a and becomes vacuous as aa shrinks. If a=0a = 0 the equation is ϵy′′+by=0\epsilon y'' + by = 0 and the analysis above says nothing, correctly so: for b<0b < 0 the solution has layers of width ϵ1/2\epsilon^{1/2} at both ends, and for b>0b > 0 it oscillates with wavelength of order ϵ1/2\epsilon^{1/2} over the whole interval and the problem is not even uniquely solvable at the values ϵ=b/(n2π2)\epsilon = b/(n^{2}\pi^{2}), n∈Nn \in \mathbb{N}. The lesson is that ϵ\epsilon is the width only when the first-derivative term is present; step 4 of the method below computes the width in general.
  • A coefficient that changes sign. If aa is replaced by a function a(x)a(x) the statement goes through, with e−ax/ϵe^{-ax/\epsilon} replaced by exp⁡(−1ϵ∫0xa(t) dt)\exp\Bigl(-\frac{1}{\epsilon}\int_0^{x} a(t)\,dt\Bigr), as long as a(x)≥a0>0a(x) \ge a_0 > 0 throughout; the worked example below is of this kind. Where aa changes sign the structure is different again: the layer moves into the interior, and whether it exists at all depends on the direction of the sign change.
  • The bound is asymptotic, not a guarantee at a given ϵ\epsilon. The conclusion is CϵC\epsilon with CC unknown, and the example below settles at C≈1.88C \approx 1.88. At ϵ=0.1\epsilon = 0.1 that is an absolute error of 0.130.13 at a point where the solution itself is about 1.51.5. Nothing in the theorem forbids that, and nothing in it says when ϵ\epsilon is small enough.
  • ϵ>0\epsilon > 0. For ϵ<0\epsilon < 0 the fast root is large and positive and the two-point problem is badly behaved: the sign of the small parameter is part of the data, not a detail.
Method(Matched asymptotic expansions)AdaptedAdapted from Evans (2010), §4.5.1, pp. 200, 203-204; Strogatz (1994), §3.5, pp. 64-68

Steps 1 and 4 follow the two cited works: the nondimensionalisation and two-scale diagnosis are Strogatz's, and the choice of rescaled variables that makes every quantity of order one is the step Evans carries out for the dye plume. Steps 2, 3 and 5 to 8 are the standard practice of the subject and are not taken from either work; they are our responsibility.

  1. Nondimensionalise, then identify ϵ\epsilon. Scale the variables so that the small parameter is a dimensionless group. Strogatz's warning is worth repeating. Sending the mass to zero is not a usable limit, because the mass multiplies more than one term and several of them vanish together; only after dividing through by a reference force, and choosing the time scale so that the derivatives are of order one, does a single dimensionless group appear whose smallness means something.
  2. Check that the limit is singular. Set ϵ=0\epsilon = 0. If the order of the equation drops, or a boundary or initial condition becomes unenforceable, continue here; otherwise use Regular perturbation expansions.
  3. Outer expansion. In the region where the independent variable is of order 11, write y∼Y0+ϵY1+⋯y \sim Y_0 + \epsilon Y_1 + \cdots and solve the reduced problem, imposing the condition at the end away from the layer. Which end that is, is fixed by the sign of the coefficient of the highest surviving derivative: the layer sits where the discarded fast mode decays into the interior. If you guess wrong, step 6 will have no solution — that is the diagnostic.
  4. Fix the position and width by dominant balance. Put x=x0+δ(ϵ)Xx = x_0 + \delta(\epsilon)X and rewrite the equation in XX. Choose δ\delta as the largest gauge for which the highest derivative returns at the same order as some other term; at that δ\delta the lost term is back in play. For ϵy′′+ay′\epsilon y'' + ay' this means ϵ/δ2∼1/δ\epsilon/\delta^{2} \sim 1/\delta, so δ=ϵ\delta = \epsilon. For ϵy′′+by\epsilon y'' + by, with no first derivative, it means ϵ/δ2∼1\epsilon/\delta^{2} \sim 1, so δ=ϵ1/2\delta = \epsilon^{1/2}. Evans does exactly this for the dye plume, rescaling the transverse coordinate by ϵ−1/2\epsilon^{-1/2} and the amplitude by ϵ1/2\epsilon^{1/2} so that both become quantities of order one; rescaling the unknown as well as the variable is often necessary, and the right powers are those that leave no large and no vanishing coefficient in the leading inner equation.
  5. Inner expansion. Expand y∼Y0(X)+δ Y1(X)+⋯y \sim \mathcal{Y}_0(X) + \delta\,\mathcal{Y}_1(X) + \cdots and impose the boundary condition at x0x_0. The leading inner equation has constant coefficients in the typical case, because the coefficient functions are frozen at their values at x0x_0, so it can be solved in closed form. It will leave one constant free: the inner problem has lost the boundary condition at the far end.
  6. Match. Require that the two descriptions agree in the overlap. At leading order this is Prandtl's condition lim⁡X→∞Y0(X)  =  lim⁡x→x0Y0(x),\lim_{X \to \infty} \mathcal{Y}_0(X) \;=\; \lim_{x \to x_0} Y_0(x) , and it is exactly what determines the constant left free in step 5. (If the limit on the left does not exist, the width chosen in step 4 is wrong.)
  7. Composite approximation. Add the two and subtract what they share, so that the shared part is not counted twice: ycomp(x)  =  Y0(x)  +  Y0 ⁣(x−x0δ)  −  lim⁡X→∞Y0(X).y_{\mathrm{comp}}(x) \;=\; Y_0(x) \;+\; \mathcal{Y}_0\!\left(\frac{x-x_0}{\delta}\right) \;-\; \lim_{X\to\infty}\mathcal{Y}_0(X) . In the outer region the last two terms cancel to leading order and Y0Y_0 survives; in the layer the first and last cancel and Y0\mathcal{Y}_0 survives.
  8. Check afterwards. Verify that ycompy_{\mathrm{comp}} meets both boundary conditions to the claimed order; that the terms dropped in each region really are smaller there than the ones kept; and that the inner solution settles to its limit over XX of order 11 and not over some larger range, which would mean the width is wrong.
Example(A variable-coefficient problem solved exactly and asymptotically)Original

Take

ϵy′′+(1+x) y′+y  =  0on [0,1],y(0)=0,y(1)=1,\epsilon y'' + (1+x)\,y' + y \;=\; 0 \quad \text{on } [0,1] , \qquad y(0) = 0 , \quad y(1) = 1 ,

with 0<ϵ≪10 < \epsilon \ll 1. Here a(x)=1+x≥1>0a(x) = 1 + x \ge 1 > 0, so by the remark above the layer is at x=0x = 0.

The method. Outer. The reduced equation is (1+x)Y0′+Y0=0(1+x)Y_0' + Y_0 = 0, that is [(1+x)Y0]′=0\bigl[(1+x)Y_0\bigr]' = 0, so Y0=c/(1+x)Y_0 = c/(1+x); the condition at the far end, Y0(1)=1Y_0(1) = 1, gives c=2c = 2 and

Y0(x)  =  21+x.Y_0(x) \;=\; \frac{2}{1+x} .

It fails the condition at x=0x = 0, where it takes the value 22 instead of 00.

Width. With x=δXx = \delta X the equation becomes (ϵ/δ2)Y′′+(1/δ)(1+δX)Y′+Y=0(\epsilon/\delta^{2})\mathcal{Y}'' + (1/\delta)(1+\delta X)\mathcal{Y}' + \mathcal{Y} = 0; the first two coefficients match when δ=ϵ\delta = \epsilon, which is step 4.

Inner. With X=x/ϵX = x/\epsilon and y(x)=Y(X)y(x) = \mathcal{Y}(X), multiplying through by ϵ\epsilon gives exactly

Y′′+Y′+ϵ(XY′+Y)  =  0,\mathcal{Y}'' + \mathcal{Y}' + \epsilon\bigl(X\mathcal{Y}' + \mathcal{Y}\bigr) \;=\; 0 ,

so at leading order Y0′′+Y0′=0\mathcal{Y}_0'' + \mathcal{Y}_0' = 0, whence Y0=A+Be−X\mathcal{Y}_0 = A + Be^{-X}. The boundary condition Y0(0)=0\mathcal{Y}_0(0) = 0 gives B=−AB = -A.

Matching and composite. Step 6 requires lim⁡X→∞Y0=A\lim_{X\to\infty}\mathcal{Y}_0 = A to equal lim⁡x→0Y0=2\lim_{x\to0}Y_0 = 2, so A=2A = 2 and Y0(X)=2(1−e−X)\mathcal{Y}_0(X) = 2\bigl(1-e^{-X}\bigr). The shared limit is 22, so

ycomp(x)  =  21+x  +  2(1−e−x/ϵ)  −  2  =  21+x  −  2e−x/ϵ.y_{\mathrm{comp}}(x) \;=\; \frac{2}{1+x} \;+\; 2\bigl(1-e^{-x/\epsilon}\bigr) \;-\; 2 \;=\; \frac{2}{1+x} \;-\; 2e^{-x/\epsilon} .

It satisfies y(0)=0y(0) = 0 exactly and y(1)=1−2e−1/ϵy(1) = 1 - 2e^{-1/\epsilon}, in error by an amount smaller than every power of ϵ\epsilon.

An exact solution to test it against. This problem can be integrated in closed form, which is why it was chosen. Because (1+x)y′+y=[(1+x)y]′(1+x)y' + y = \bigl[(1+x)y\bigr]', the equation is [ϵy′+(1+x)y]′=0\bigl[\epsilon y' + (1+x)y\bigr]' = 0, so ϵy′+(1+x)y\epsilon y' + (1+x)y is a constant KK. That first-order linear equation, with y(0)=0y(0)=0 and the integrating factor eφ(x)/ϵe^{\varphi(x)/\epsilon} where φ(x)=x+12x2\varphi(x) = x + \tfrac12x^{2}, gives

y(x)  =  Kϵ I(x),I(x)  :=  ∫0xe−(φ(x)−φ(t))/ϵ dt,y(x) \;=\; \frac{K}{\epsilon}\,I(x) , \qquad I(x) \;:=\; \int_0^{x} e^{-(\varphi(x)-\varphi(t))/\epsilon}\,dt ,

and y(1)=1y(1) = 1 fixes K/ϵ=1/I(1)K/\epsilon = 1/I(1), so that yϵ=I(x)/I(1)y_\epsilon = I(x)/I(1) with no unknown constants. (Evaluating II in terms of the imaginary error function is what we used for the numbers below.)

The same formula reproduces both expansions, which is a check on the method rather than on the arithmetic. For xx of order 11 the integrand is concentrated within O(ϵ)O(\epsilon) of the upper limit, where φ(x)−φ(t)≈(1+x)(x−t)\varphi(x)-\varphi(t) \approx (1+x)(x-t); Watson's lemma gives I(x)=ϵ/(1+x)+O(ϵ2)I(x) = \epsilon/(1+x) + O(\epsilon^{2}) and I(1)=ϵ/2+O(ϵ2)I(1) = \epsilon/2 + O(\epsilon^{2}), so yϵ(x)→2/(1+x)y_\epsilon(x) \to 2/(1+x), the outer solution. For x=ϵXx = \epsilon X the exponent is φ(x)−φ(t)=(x−t)+O(ϵ2)\varphi(x)-\varphi(t) = (x-t) + O(\epsilon^{2}), so I(ϵX)=ϵ(1−e−X)+O(ϵ2)I(\epsilon X) = \epsilon(1-e^{-X}) + O(\epsilon^{2}) and yϵ→2(1−e−X)y_\epsilon \to 2(1-e^{-X}), the inner solution.

Numbers at ϵ=0.01\epsilon = 0.01. The layer occupies roughly 0≤x≲0.050 \le x \lesssim 0.05, where the solution climbs from 00 to about 1.91.9; the outer part then decays slowly to 11.

xx exact yϵ(x)y_\epsilon(x) ycomp(x)y_{\mathrm{comp}}(x) ycomp−yϵy_{\mathrm{comp}} - y_\epsilon
0.0050.005 0.7843490.784349 0.7769880.776988 −7.36×10−3-7.36\times10^{-3}
0.020.02 1.7078521.707852 1.6901141.690114 −1.77×10−2-1.77\times10^{-2}
0.050.05 1.9057161.905716 1.8912861.891286 −1.44×10−2-1.44\times10^{-2}
0.100.10 1.8289341.828934 1.8180911.818091 −1.08×10−2-1.08\times10^{-2}
0.250.25 1.6063971.606397 1.6000001.600000 −6.40×10−3-6.40\times10^{-3}
0.500.50 1.3359751.335975 1.3333331.333333 −2.64×10−3-2.64\times10^{-3}
0.750.75 1.1437451.143745 1.1428571.142857 −8.88×10−4-8.88\times10^{-4}

The rate. Scanning the whole interval:

ϵ\epsilon max⁡[0,1]∣ycomp−yϵ∣\max_{[0,1]}\lvert y_{\mathrm{comp}}-y_\epsilon\rvert located at x=x = error/ϵ/\epsilon
0.10.1 1.328×10−11.328\times10^{-1} 0.1700.170 1.331.33
0.010.01 1.801×10−21.801\times10^{-2} 0.02390.0239 1.801.80
0.0010.001 1.881×10−31.881\times10^{-3} 0.002550.00255 1.881.88

The error falls by a factor of ten each time ϵ\epsilon does, and the ratio settles near 1.881.88: the uniform O(ϵ)O(\epsilon) of the model theorem, with an observed constant slightly below 22. The worst point moves towards the origin with ϵ\epsilon, as it must, since the error lives in the layer.

One further number shows that the layer is genuinely of width ϵ\epsilon and not an artefact. Differentiating the exact formula at the origin gives yϵ′(0)=1/I(1)y_\epsilon'(0) = 1/I(1); at ϵ=0.01\epsilon = 0.01 this is 199.4975199.4975, against ycomp′(0)=2/ϵ−2=198y_{\mathrm{comp}}'(0) = 2/\epsilon - 2 = 198, a relative discrepancy of 0.75%0.75\%. A slope of order 1/ϵ1/\epsilon across a rise of order 11 is a layer of width ϵ\epsilon.

Application(Strong damping, fast flow, and why centred differences oscillate)AdaptedAdapted from Strogatz (1994), §3.5, pp. 64-69; Evans (2010), §4.5.1, pp. 200-204; Stakgold & Holst (2011), §6.1 Example 5, p. 353; Stakgold & Holst (2011), §9.4, p. 612 and Remark 1, p. 616

An initial layer: the overdamped limit. Strogatz's bead of mass mm sliding on a hoop of radius rr spinning at rate ω\omega, with damping constant bb, obeys mrϕ¨+bϕ˙=−mgsin⁡ϕ+mrω2sin⁡ϕcos⁡ϕmr\ddot\phi + b\dot\phi = -mg\sin\phi + mr\omega^{2}\sin\phi\cos\phi. Measuring time in units of T=b/mgT = b/mg and dividing by mgmg turns this into

ϵ d2ϕdτ2+dϕdτ  =  f(ϕ),f(ϕ)=sin⁡ϕ (γcos⁡ϕ−1),ϵ=m2grb2,γ=rω2g,\epsilon\,\frac{d^{2}\phi}{d\tau^{2}} + \frac{d\phi}{d\tau} \;=\; f(\phi) , \qquad f(\phi) = \sin\phi\,(\gamma\cos\phi - 1) , \qquad \epsilon = \frac{m^{2}gr}{b^{2}} , \quad \gamma = \frac{r\omega^{2}}{g} ,

so "overdamped" has the precise meaning b2≫m2grb^{2} \gg m^{2}gr. This is step 1 of the method, and it is Strogatz's point that it cannot be skipped: the naive limit m→0m \to 0 removes the gravitational and centrifugal terms along with the inertia.

The limit ϵ=0\epsilon = 0 leaves dϕ/dτ=f(ϕ)d\phi/d\tau = f(\phi), of first order, which cannot accept both the initial position and the initial velocity. The resolution is a layer at τ=0\tau = 0 of width ϵ\epsilon. In the inner variable Θ=τ/ϵ\Theta = \tau/\epsilon, writing Ω=dϕ/dτ\Omega = d\phi/d\tau, the system becomes dϕ/dΘ=ϵΩd\phi/d\Theta = \epsilon\Omega and dΩ/dΘ=f(ϕ)−Ωd\Omega/d\Theta = f(\phi) - \Omega, so at leading order the position is frozen at ϕ0\phi_0 while the velocity relaxes,

Ω(Θ)  =  f(ϕ0)+(Ω0−f(ϕ0))e−Θ.\Omega(\Theta) \;=\; f(\phi_0) + \bigl(\Omega_0 - f(\phi_0)\bigr)e^{-\Theta} .

The velocity therefore forgets its initial value over a time τ∼ϵ\tau \sim \epsilon and arrives at the value the reduced equation demands; after that the slow drift dϕ/dτ=f(ϕ)d\phi/d\tau = f(\phi) is correct. This is precisely Strogatz's phase-plane picture: a trajectory starting off the curve Ω=f(ϕ)\Omega = f(\phi) feels an acceleration of order 1/ϵ1/\epsilon and is thrown onto that curve almost at once, then creeps along it to a fixed point. He calls the transient a boundary layer in time, a thin interval near τ=0\tau = 0. The same calculation is the justification of what is called adiabatic elimination of a fast variable in chemical kinetics and in laser physics.

Fluid mechanics, where the name comes from. Strogatz names the high-Reynolds-number limit of fluid flow as the singular limit that produces the thin layers over an aircraft wing. The structure is the one above: dropping the viscous term lowers the order of the Navier–Stokes equations, so the no-slip condition at the surface can no longer be imposed, and it is restored inside a layer. Step 4 gives the thickness. With UU a free-stream speed, LL a chord length and ν\nu the kinematic viscosity, the balance inside the layer is viscous diffusion across it against advection along it, νU/δ2∼U2/L\nu U/\delta^{2} \sim U^{2}/L, so δ∼νL/U=L Re−1/2\delta \sim \sqrt{\nu L/U} = L\,\mathrm{Re}^{-1/2}. The small parameter is ϵ=1/Re\epsilon = 1/\mathrm{Re} and the width is ϵ1/2\epsilon^{1/2}, not ϵ\epsilon, because the advection that opposes diffusion runs along the wall rather than across it.

Transport with weak diffusion. Stakgold and Holst's diffusion-absorption problem −u′′+q(x)u=f(x)-u'' + q(x)u = f(x) on 0<x<10 < x < 1, with prescribed concentrations at two walls, is their standard illustration: small qq is a regular perturbation, whereas very large qq — the same thing as a small diffusion constant — requires singular perturbation. Take qq constant for the purpose of the scaling and divide by it: the equation becomes ϵu′′−u=−f/q\epsilon u'' - u = -f/q with ϵ=1/q\epsilon = 1/q, which has no first-derivative term, so step 4 predicts layers of width q−1/2q^{-1/2} at both walls, with the interior settled at u≈f/qu \approx f/q. Their Remark 1 on the nonlinear absorption problem −ΔU=−λUp-\Delta U = -\lambda U^{p} on a bounded convex domain gives the corresponding statement independently, for absorption exponents p<1p<1 only: in that range large λ\lambda produces a dead core, a set on which UU vanishes identically, and the core grows until it covers all of the domain apart from a thin collar next to the boundary, whose thickness they give as λ−1/2\lambda^{-1/2}. That the same power comes out of a one-line dominant balance is a useful check that step 4 is doing real work. The restriction on pp is not a technicality, and Stakgold and Holst make the point with the case p=1p = 1 on ∣x∣<a|x| < a, whose solution U=cosh⁡(λx)/cosh⁡(λa)U = \cosh(\sqrt{\lambda}x)/\cosh(\sqrt{\lambda}a) is strictly positive for every λ\lambda: no dead core, and therefore no collar, although UU is still exponentially small away from the walls in a layer of the same width. What the two cases differ in is the Lipschitz behaviour of the absorption term at U=0U = 0, which they identify as the source of the phenomenon: the derivative of UpU^{p} is infinite at U=0+U = 0+ only when p<1p < 1, and it is that infinite slope which lets a solution reach zero at a finite distance instead of merely approaching it.

Evans's example is of the same family but with the layer along a curve rather than at a wall. Dye injected at the origin into a steady plane flow b\mathbf{b} satisfies div⁡(ub)=δ0\operatorname{div}(u\mathbf{b}) = \delta_0, which concentrates it on the streamline through the origin; adding a small diffusion, −ϵΔuϵ+div⁡(uϵb)=δ0-\epsilon\Delta u^{\epsilon} + \operatorname{div}(u^{\epsilon}\mathbf{b}) = \delta_0, spreads it into a plume. Evans estimates the plume's width at time tt along the streamline as O((ϵt)1/2)O\bigl((\epsilon t)^{1/2}\bigr), and hence, the total mass being fixed, its height as O(ϵ−1/2)O(\epsilon^{-1/2}); rescaling the normal coordinate by ϵ−1/2\epsilon^{-1/2} and the density by ϵ1/2\epsilon^{1/2} so that both are of order one turns the elliptic equation into a parabolic one in the inner variables. The width is again ϵ1/2\epsilon^{1/2}, for the reason given above: across the plume the flow has no component to oppose the diffusion.

A numerical consequence. Discretising ϵy′′+ay′=0\epsilon y'' + ay' = 0 with centred differences on a uniform mesh of spacing hh gives (1+P)yj+1−2yj+(1−P)yj−1=0(1+P)y_{j+1} - 2y_j + (1-P)y_{j-1} = 0 with P=ah/(2ϵ)P = ah/(2\epsilon), half the cell Péclet number Pe=ah/ϵ\mathrm{Pe} = ah/\epsilon, whose decaying mode is r=(1−P)/(1+P)r = (1-P)/(1+P) in place of the true e−ah/ϵe^{-ah/\epsilon}. For P>1P > 1, that is for Pe>2\mathrm{Pe} > 2 — any mesh that does not resolve the layer, h>2ϵ/ah > 2\epsilon/a — this is negative, and the computed solution oscillates from node to node instead of decaying. The remedies are the standard ones: upwind the first-derivative term, or refine the mesh inside the layer where the asymptotics say the layer is. The analysis of this unit is what tells one where to refine, and the composite approximation is a good initial guess for the iteration. See Finite-difference approximations, Stability and stiff equations and Advection, diffusion and reaction; the companion technique for problems whose small parameter multiplies the highest derivative but whose solutions oscillate rather than decay is The WKB approximation.

Method

The WKB approximation

Adapted

Builds two approximate solutions of the equation y′′+q(x)y=0y'' + q(x)y = 0 when qq varies slowly, by letting the phase accumulate as ∫q\int\sqrt{q} and the amplitude follow as q−1/4q^{-1/4}; gives the exact residual that measures the error, the precise validity criterion, the connection formulas that carry a solution through a turning point, and the quantization condition they produce.

Prerequisites: Asymptotic series, Structure of linear equations and the Wronskian, Airy functions

Definition(Slowly varying coefficients, the WKB ansatz, turning points)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7, Eq. (25.42), p. 895; Hassani (2013), §14.8, Eq. (14.43), p. 450

The subject is the single equation

d2ydx2+q(x) y  =  0,\frac{d^{2}y}{dx^{2}} + q(x)\,y \;=\; 0 ,

which Hassani writes in exactly this form and Riley, Hobson and Bence write as y′′+k02f(x)y=0y'' + k_0^{2}f(x)y = 0, separating out a large constant wavenumber k0k_0 and setting n(x)=f(x)n(x) = \sqrt{f(x)} by analogy with a refractive index. The two notations are related by q=k02fq = k_0^{2}f, so that q=k0n\sqrt{q} = k_0 n; both are used below, and translations are given where it matters. The function qq may be complex, which is what allows the method to describe an absorbing medium.

When qq is a positive constant the solutions are e±iq xe^{\pm i\sqrt{q}\,x}: a wave of fixed wavenumber q\sqrt{q} and fixed amplitude. The local wavelength of such a wave is 2π/q2\pi/\sqrt{q}, and 1/q1/\sqrt{q} is a wavelength divided by 2π2\pi. Riley, Hobson and Bence call ff slowly varying when it changes little over a range of xx of order k0−1k_0^{-1}, that is over about one wavelength; Hassani puts the same demand on qq and reads it as the change in qq across one wavelength being small compared with ∣q∣|q| itself. The precise inequality is stated below; it is a condition on q′q' relative to q3/2q^{3/2}, not a condition on q′q' alone, so no function is "slowly varying" in the abstract — it is slowly varying where ∣q∣|q| is large enough.

The WKB ansatz is to look for a solution of the form

y(x)  =  A eiφ(x)y(x) \;=\; A\,e^{i\varphi(x)}

with AA constant and φ\varphi a possibly complex phase, and to determine φ\varphi approximately on the assumption that φ′′\varphi'' is small. The letters are those of Wentzel, Kramers and Brillouin, who used the method on wave-mechanical problems in 1926; Riley, Hobson and Bence note that Jeffreys had studied it earlier and Green had used it in the first half of the nineteenth century.

A point x0x_0 with

q(x0)  =  0q(x_0) \;=\; 0

is a turning point. The name comes from the quantum-mechanical case q=2m(E−V)/ℏ2q = 2m(E - V)/\hbar^{2}, where qq vanishes exactly where a classical particle of energy EE would reverse direction. Turning points are where the construction below breaks down, and separate statements — the connection formulas — are needed to carry a solution past one.

Method(The WKB solutions and the exact size of their error)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7.2, Eq. (25.49), p. 898; Hassani (2013), §14.8, Eqs. (14.45)-(14.46), pp. 450-451

Let II be an open interval on which qq is twice continuously differentiable and nowhere zero, fix x0∈Ix_0 \in I, and fix a branch of q\sqrt{q} on II (possible since qq is continuous and non-vanishing). Define the two WKB functions

y±(x)  =  1q(x)1/4 exp⁡(± i∫x0xq(u) du),y_\pm(x) \;=\; \frac{1}{q(x)^{1/4}}\,\exp\left(\pm\,i\int_{x_0}^{x}\sqrt{q(u)}\,du\right) ,

which in the notation of Riley, Hobson and Bence read y±=n−1/2exp⁡(±ik0∫n)y_\pm = n^{-1/2}\exp(\pm ik_0\int n), with the amplitude f−1/4f^{-1/4} that they emphasise is the only change from the pure phase-memory guess. Then:

  1. They are exact solutions of a nearby equation. For every x∈Ix \in I, y±′′+(q−δ) y±  =  0,whereδ(x)  =  516q′(x)2q(x)2−14q′′(x)q(x).y_\pm'' + \bigl(q - \delta\bigr)\,y_\pm \;=\; 0 , \qquad\text{where}\qquad \delta(x) \;=\; \frac{5}{16}\frac{q'(x)^{2}}{q(x)^{2}} - \frac{1}{4}\frac{q''(x)}{q(x)} .
  2. They are independent. The Wronskian of y+y_+ and y−y_- is the non-zero constant −2i-2i.
  3. Validity criterion. y±y_\pm approximate solutions of y′′+qy=0y'' + qy = 0 exactly to the extent that ∣δ∣  ≪  ∣q∣.|\delta| \;\ll\; |q| . Where q′′q'' is negligible beside q′2/qq'^{2}/q this reduces to ∣q′∣≪16/5 ∣q∣3/2|q'| \ll \sqrt{16/5}\,|q|^{3/2}, which up to the numerical constant is Hassani's condition ∣q′/(2q)∣≪∣q∣|q'/(2\sqrt{q})| \ll |q| and, after substituting q=k02n2q = k_0^{2}n^{2}, is exactly the condition ∣k0−1n′∣≪∣n∣2|k_0^{-1}n'| \ll |n|^{2} of Riley, Hobson and Bence.

Part 1 is an identity, not an approximation, and parts 2 and 3 follow from it; the derivation of the form of y±y_\pm is the iteration of the two source texts, reproduced in the proof block.

Idea of the proofOriginal

Two ideas, taken in order.

The first is phase memory, which is Riley, Hobson and Bence's name for it. If qq were constant the phase would advance at the fixed rate q\sqrt{q} per unit length. If qq varies slowly, let the phase advance at the local rate instead and accumulate it: φ=∫xq\varphi = \int^{x}\sqrt{q}. This already captures how a wave stretches and compresses in a varying medium, and it is exact in the limit of no variation.

The second idea is that the leftover error from the first is itself computable, and absorbing it changes the amplitude rather than the phase. Substituting the pure phase-memory guess leaves a residue proportional to q′q'; feeding that residue back into the equation for φ\varphi adds an imaginary piece i4log⁡q\tfrac{i}{4}\log q to the phase, and exp⁡(i⋅i4log⁡q)=q−1/4\exp(i \cdot \tfrac{i}{4}\log q) = q^{-1/4}. So the correction is a real amplitude factor q−1/4q^{-1/4}, which is exactly what conservation of flux demands: the wave slows where qq is small, so it piles up there. One further round of the same iteration would change the phase again, and so on; the point of stopping after two is that the identity in part 1 of the statement then measures precisely what has been left out.

Proof(Construction of the WKB solutions, and the error identity)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7.1-25.7.2, Eqs. (25.45)-(25.49), pp. 896-898; Hassani (2013), §14.8, Eqs. (14.44)-(14.46), pp. 450-451

Step 1: the equation for the phase. Put y=Aeiφy = Ae^{i\varphi}. Then y′=iφ′yy' = i\varphi' y and y′′=(iφ′′−φ′2)yy'' = (i\varphi'' - \varphi'^{2})y, so y′′+qy=0y'' + qy = 0 becomes, after dividing by y≠0y \neq 0,

φ′2−iφ′′−q  =  0.\varphi'^{2} - i\varphi'' - q \;=\; 0 .

This is exact and nonlinear, and has no solution in closed form for general qq. The sign convention matters here and is discussed in the remark below.

Step 2: first iterate. Drop φ′′\varphi'' on the assumption that the phase curves slowly. Then φ′=±q\varphi' = \pm\sqrt{q} and

φ(x)  =  ±∫x0xq(u) du,\varphi(x) \;=\; \pm\int_{x_0}^{x}\sqrt{q(u)}\,du ,

which is the phase-memory solution. It is not exact: differentiating gives φ′′=±q′/(2q)\varphi'' = \pm q'/(2\sqrt{q}), which is small only when ∣q′∣≪∣q∣3/2|q'| \ll |q|^{3/2}, and that is where Hassani's validity condition comes from.

Step 3: second iterate. Put that estimate of φ′′\varphi'' back into the exact equation of step 1, so that φ′2=q+iφ′′≈q±iq′/(2q)\varphi'^{2} = q + i\varphi'' \approx q \pm iq'/(2\sqrt{q}). Take the square root and expand the bracket, which is legitimate because the second term inside it is small by step 2:

φ′  ≈  ±q(1±i q′2 q3/2)1/2  ≈  ±q(1±i q′4 q3/2)  =  ±q+i4q′q.\varphi' \;\approx\; \pm\sqrt{q}\left(1 \pm \frac{i\,q'}{2\,q^{3/2}}\right)^{1/2} \;\approx\; \pm\sqrt{q}\left(1 \pm \frac{i\,q'}{4\,q^{3/2}}\right) \;=\; \pm\sqrt{q} + \frac{i}{4}\frac{q'}{q} .

The two signs multiply to give ++ in the last term, so the amplitude correction is the same for both solutions — a point worth noticing, since it is why both WKB functions carry the same q−1/4q^{-1/4}.

Step 4: integrate and exponentiate. Integrating,

φ(x)  =  ±∫x0xq(u) du+i4log⁡q(x)+const,\varphi(x) \;=\; \pm\int_{x_0}^{x}\sqrt{q(u)}\,du + \frac{i}{4}\log q(x) + \text{const} ,

and since exp⁡(i⋅i4log⁡q)=exp⁡(−14log⁡q)=q−1/4\exp\bigl(i\cdot\tfrac{i}{4}\log q\bigr) = \exp\bigl(-\tfrac14\log q\bigr) = q^{-1/4}, the ansatz y=Aeiφy = Ae^{i\varphi} gives the two functions y±y_\pm of the statement. This is the route of both sources: Riley, Hobson and Bence carry a factor k0k_0 throughout and arrive at n−1/2exp⁡(±ik0∫n)n^{-1/2}\exp(\pm ik_0\int n), Hassani works with qq and arrives at q−1/4exp⁡(±i∫q)q^{-1/4}\exp(\pm i\int\sqrt{q}), and the two agree because n−1/2=(q/k02)−1/4n^{-1/2} = (q/k_0^{2})^{-1/4} differs from q−1/4q^{-1/4} only by the constant k01/2k_0^{1/2}, which is absorbed in AA.

Step 5: the error identity (part 1 of the statement). Nothing above says how good y±y_\pm is, so compute the residual exactly. Write S(x)=∫x0xqS(x) = \int_{x_0}^{x}\sqrt{q}, so S′=qS' = \sqrt{q} and S′′=q′/(2q)S'' = q'/(2\sqrt{q}), and y±=q−1/4e±iSy_\pm = q^{-1/4}e^{\pm iS}. Differentiating twice by the product rule,

y±′′  =  [(q−1/4)′′  ±  2i (q−1/4)′S′  ±  i q−1/4S′′  −  q−1/4(S′)2]e±iS.y_\pm'' \;=\; \Bigl[\bigl(q^{-1/4}\bigr)'' \;\pm\; 2i\,\bigl(q^{-1/4}\bigr)'S' \;\pm\; i\,q^{-1/4}S'' \;-\; q^{-1/4}(S')^{2}\Bigr]e^{\pm iS} .

The last term is −q y±-q\,y_\pm, which cancels +qy±+qy_\pm. Of the three that remain, the two carrying ±i\pm i cancel each other: (q−1/4)′=−14q−5/4q′\bigl(q^{-1/4}\bigr)' = -\tfrac14 q^{-5/4}q', so 2(q−1/4)′S′=−12q−5/4q′⋅q1/2=−12q−3/4q′2(q^{-1/4})'S' = -\tfrac12 q^{-5/4}q'\cdot q^{1/2} = -\tfrac12 q^{-3/4}q', while q−1/4S′′=q−1/4q′/(2q)=12q−3/4q′q^{-1/4}S'' = q^{-1/4}q'/(2\sqrt{q}) = \tfrac12 q^{-3/4}q'. (This cancellation is the content of step 3: the amplitude q−1/4q^{-1/4} was chosen to kill the first-order residue, for either sign.) What is left is

y±′′+q y±  =  (q−1/4)′′ q1/4 y±.y_\pm'' + q\,y_\pm \;=\; \bigl(q^{-1/4}\bigr)''\,q^{1/4}\,y_\pm .

Differentiating q−1/4q^{-1/4} twice gives (q−1/4)′′=516q−9/4q′2−14q−5/4q′′\bigl(q^{-1/4}\bigr)'' = \tfrac{5}{16}q^{-9/4}q'^{2} - \tfrac14 q^{-5/4}q'', so multiplying by q1/4q^{1/4},

y±′′+q y±  =  (516q′2q2−14q′′q)y±  =  δ y±,y_\pm'' + q\,y_\pm \;=\; \left(\frac{5}{16}\frac{q'^{2}}{q^{2}} - \frac{1}{4}\frac{q''}{q}\right)y_\pm \;=\; \delta\,y_\pm ,

which rearranges to y±′′+(q−δ)y±=0y_\pm'' + (q - \delta)y_\pm = 0. Note that δ\delta is the same for both signs, because it came only from the amplitude.

Step 6: independence. y+y−′−y−y+′y_+y_-' - y_-y_+' is computed directly: y+y−=q−1/2y_+y_- = q^{-1/2} and y±′=(−14q−5/4q′±iq−1/4q)e±iSy_\pm' = \bigl(-\tfrac14 q^{-5/4}q' \pm i q^{-1/4}\sqrt{q}\bigr)e^{\pm iS}, so the terms with q′q' cancel in the difference and

W(y+,y−)  =  q−1/2(−iq−iq)  =  −2i,W(y_+,y_-) \;=\; q^{-1/2}\bigl(-i\sqrt{q} - i\sqrt{q}\bigr) \;=\; -2i ,

a non-zero constant, so the two functions are linearly independent. (Constancy is also forced by Structure of linear equations and the Wronskian, since both solve the same second-order equation y′′+(q−δ)y=0y'' + (q-\delta)y = 0, which has no first-derivative term.)

Step 7: the criterion. By step 5, y±y_\pm solves the intended equation with qq replaced by q−δq - \delta. Hence the fractional error made in the coefficient of the equation is exactly ∣δ/q∣|\delta/q|, and y±y_\pm is a good approximation precisely when that is small. Expanding δ\delta, the first term dominates unless q′′q'' is anomalously large, giving 516q′2/q2≪∣q∣\tfrac{5}{16}q'^{2}/q^{2} \ll |q|, that is ∣q′∣≪16/5 ∣q∣3/2|q'| \ll \sqrt{16/5}\,|q|^{3/2}. Substituting q=k02n2q = k_0^{2}n^{2}, so q′=2k02nn′q' = 2k_0^{2}nn' and ∣q∣3/2=k03∣n∣3|q|^{3/2} = k_0^{3}|n|^{3}, this becomes 2k02∣nn′∣≪16/5 k03∣n∣32k_0^{2}|nn'| \ll \sqrt{16/5}\,k_0^{3}|n|^{3}, that is ∣n′∣≪4/5 k0∣n∣2|n'| \ll \sqrt{4/5}\,k_0|n|^{2}, which is the criterion ∣k0−1n′∣≪∣n∣2|k_0^{-1}n'| \ll |n|^{2} quoted by Riley, Hobson and Bence up to the constant. □\square

Remark(Where the hypotheses are used, and two differences between the sources)Original

q≠0q \ne 0 is used twice, and it is the real restriction. The formula contains q−1/4q^{-1/4}, which is undefined at a zero of qq, and it contains q\sqrt{q}, which is not differentiable there. Worse, the criterion itself fails: as q→0q \to 0 with q′q' bounded away from zero, δ∼516q′2/q2\delta \sim \tfrac{5}{16}q'^{2}/q^{2} blows up while qq shrinks, so ∣δ/q∣→∞|\delta/q| \to \infty. The WKB functions are therefore not merely inaccurate near a turning point, they are unbounded where the true solution is perfectly finite. Hassani names both ways the construction can break down — too fast a variation of qq, or a zero of qq inside the region — and says that the zero is the harder of the two to live with, precisely because the usual task is to carry one solution from a region where qq is positive into a region where it is negative. That is what the connection formulas below are for.

Twice-differentiability is used only in the error identity, where q′′q'' appears; the functions y±y_\pm themselves need only q∈C1q \in C^{1}. If qq has an isolated corner, q′′q'' contains a point mass and the identity fails at that one point, but the phase integral ∫q\int\sqrt{q} is unaffected, since its integrand is still continuous. The worked example below is of exactly this kind.

Difference 1: the sign convention in the phase equation. Riley, Hobson and Bence's Eq. (25.47) reads, with their k02n2k_0^{2}n^{2} for qq,

−φ′2+iφ′′+q  =  0,-\varphi'^{2} + i\varphi'' + q \;=\; 0 ,

which is the identity derived in step 1 above. Hassani's Eq. (14.44) is printed as φ′2+iφ′′−q=0\varphi'^{2} + i\varphi'' - q = 0, which differs in the sign of the iφ′′i\varphi'' term. This unit follows Riley, Hobson and Bence. The difference has no effect on the answer: Hassani's own next step inserts φ′′=+q′/(2q)\varphi'' = +q'/(2\sqrt{q}) with the sign that the Riley-Hobson-Bence convention produces, and his Eq. (14.46) is the same two-term solution as theirs. A reader deriving the iteration from his Eq. (14.44) as printed would get the amplitude q+1/4q^{+1/4} instead of q−1/4q^{-1/4}.

Difference 2: how the quantization condition is argued. Both sources reach ∫q dx=(n+12)π\int\sqrt{q}\,dx = (n+\tfrac12)\pi across a well, but by different arguments, and the unit follows the Riley-Hobson-Bence one, given below, because it produces every nn at once. Hassani's Example 14.8.1 equates the two cosine forms continued inward from the two turning points and concludes that their amplitudes are equal. Read literally that is impossible — one cosine's argument increases with xx while the other's decreases, so the two functions cannot agree pointwise — and the correct statement is that they agree up to sign, since an eigenfunction is determined only up to a constant multiple. Taking the two signs in turn gives ∫q=(2k+12)π\int\sqrt{q} = (2k+\tfrac12)\pi and ∫q=(2k+32)π\int\sqrt{q} = (2k+\tfrac32)\pi, whose union is his stated (n+12)π(n+\tfrac12)\pi for n=0,1,2,…n = 0,1,2,\dots

The expansion does not converge. Iterating steps 2-4 further produces more terms, and Arfken, Weber and Harris record the standing fact about the result: the WKB expansion, one of the earliest approximations of quantum mechanics still in use, is an asymptotic series. More terms help for a while and then stop helping; Riley, Hobson and Bence's §25.7.3 makes the same point, adding the practical observation that the validity criterion can always be met in principle by making k0k_0 or ∣z∣|z| large, but that physical parameters cannot be varied at will, so this is often of no use.

Method(Connection formulas at a simple turning point)AdaptedAdapted from Hassani (2013), §14.8, Eqs. (14.47)-(14.48), p. 451; Riley, Hobson & Bence (2006), §25.7, Eqs. (25.52)-(25.53) and pp. 899-900

Let x0x_0 be a turning point with q(x0)=0q(x_0) = 0 and q>0q > 0 to the right of x0x_0, q<0q < 0 to the left, and suppose the validity criterion holds in regions on both sides, away from x0x_0. Suppose further that the solution of interest decays exponentially as one moves left from x0x_0. Then the solution is, to the left of x0x_0,

y(x)  ≈  C(−q(x))1/4 exp⁡(−∫xx0−q(u) du),y(x) \;\approx\; \frac{C}{\bigl(-q(x)\bigr)^{1/4}}\,\exp\left(-\int_{x}^{x_0}\sqrt{-q(u)}\,du\right) ,

and the same solution is, to the right of x0x_0,

y(x)  ≈  2Cq(x)1/4 cos⁡(∫x0xq(u) du  −  π4),y(x) \;\approx\; \frac{2C}{q(x)^{1/4}}\,\cos\left(\int_{x_0}^{x}\sqrt{q(u)}\,du \;-\; \frac{\pi}{4}\right) ,

with one and the same constant CC. These are the formulas Hassani quotes, declining to derive them; reflecting the xx-axis turns these into the mirror-image pair, which applies when the signs of qq on the two sides of the turning point are interchanged.

Two features are the whole content. The factor 22 in the oscillatory amplitude and the phase −π/4-\pi/4 measured from the turning point are not conventions: they are forced, and they are what makes the quantization condition come out with a half-integer.

Riley, Hobson and Bence supply the reason, which is worth recording even though the derivation is not reproduced here. Near a simple turning point, write q(x)≈q′(x0)(x−x0)q(x) \approx q'(x_0)(x - x_0); the equation becomes Stokes' equation d2y/dz2=zyd^{2}y/dz^{2} = zy after the stretch x−x0=μzx - x_0 = \mu z with ∣μ∣=∣q′(x0)∣−1/3|\mu| = |q'(x_0)|^{-1/3}, the sign of μ\mu chosen so that z>0z > 0 lies in the region where q<0q < 0 (in the quantum case ∣μ∣=[ℏ2/2m∣V′(x0)∣]1/3|\mu| = [\hbar^{2}/2m|V'(x_0)|]^{1/3}). Its decaying solution is the Airy function Ai(z)\mathrm{Ai}(z), which is finite at z=0z = 0 where the WKB functions are not. The two WKB functions z−1/4exp⁡(∓23z3/2)z^{-1/4}\exp(\mp\tfrac23 z^{3/2}) are each asymptotic to Ai\mathrm{Ai} in one sector of the complex zz-plane only, and the combination of them that equals Ai\mathrm{Ai} changes across radial lines — the Stokes lines, at arg⁡z=0,2π/3,4π/3\arg z = 0, 2\pi/3, 4\pi/3 for Stokes' equation. The factor 22 and the phase −π/4-\pi/4 are the recorded values of that change: they are read off the two known asymptotic forms of Ai(z)\mathrm{Ai}(z), decaying like 12π−1/2z−1/4e−2z3/2/3\tfrac12\pi^{-1/2}z^{-1/4}e^{-2z^{3/2}/3} for zz real and positive and oscillating like π−1/2(−z)−1/4sin⁡(23(−z)3/2+π4)\pi^{-1/2}(-z)^{-1/4}\sin\bigl(\tfrac23(-z)^{3/2} + \tfrac{\pi}{4}\bigr) for zz real and negative. The general phenomenon — that the constants needed to build a solution change as the argument crosses certain lines in the complex plane — is the Stokes phenomenon.

Method(The quantization condition for a well)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7, pp. 900-901; Hassani (2013), §14.8, Example 14.8.1, pp. 451-452

Let qq be positive on an interval (a,b)(a,b) and negative outside it, with simple turning points at aa and bb, and let the validity criterion hold inside the well away from the two ends. A solution that decays exponentially in both outer regions exists only if

∫abq(x) dx  =  (n+12)π,n=0,1,2,…\int_{a}^{b}\sqrt{q(x)}\,dx \;=\; \left(n + \tfrac12\right)\pi , \qquad n = 0, 1, 2, \dots

For the one-dimensional Schrödinger equation −ℏ22mψ′′+Vψ=Eψ-\tfrac{\hbar^{2}}{2m}\psi'' + V\psi = E\psi, where q=2m(E−V)/ℏ2q = 2m(E-V)/\hbar^{2} and a,ba, b are the classical turning points V(a)=V(b)=EV(a) = V(b) = E, this reads

∫ab2m(E−V(x)) dx  =  (n+12)πℏ,\int_{a}^{b}\sqrt{2m\bigl(E - V(x)\bigr)}\,dx \;=\; \left(n + \tfrac12\right)\pi\hbar ,

the Bohr-Sommerfeld quantization condition of pre-1925 quantum mechanics, in Hassani's words; it is the condition that the classical action across the well be a half-integer number of units of πℏ\pi\hbar.

Why. Apply the connection formulas at each end. At bb the decaying outer solution continues inward as 2Cq1/4cos⁡(∫xbq−π4)\tfrac{2C}{q^{1/4}}\cos\bigl(\int_{x}^{b}\sqrt{q} - \tfrac\pi4\bigr), and at aa as 2Dq1/4cos⁡(∫axq−π4)\tfrac{2D}{q^{1/4}}\cos\bigl(\int_{a}^{x}\sqrt{q} - \tfrac\pi4\bigr). These must be the same solution of a second-order equation, so the two expressions and their derivatives must agree at any interior point. Riley, Hobson and Bence write the two matching equations and observe that requiring them to give a consistent value of the amplitude ratio forces

sin⁡[(∫axq−π4)+(∫xbq−π4)]  =  0,\sin\left[\left(\int_{a}^{x}\sqrt{q} - \frac\pi4\right) + \left(\int_{x}^{b}\sqrt{q} - \frac\pi4\right)\right] \;=\; 0 ,

in which the interior point xx has dropped out because the two integrals add to ∫abq\int_a^b\sqrt{q}. Hence ∫abq−π2=mπ\int_a^b\sqrt{q} - \tfrac\pi2 = m\pi for an integer mm, and since q>0\sqrt q > 0 the left side is positive, giving ∫abq=(n+12)π\int_a^b\sqrt q = (n+\tfrac12)\pi with n=m≥0n = m \ge 0. Their calculation also notes that the terms involving q′q' in the derivative matching cancel on their own, so this particular conclusion does not even need the validity criterion a second time.

Method(Using WKB on a second-order equation)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7, pp. 895-901; Hassani (2013), §14.8, pp. 450-452
  1. Put the equation in the form y′′+q(x)y=0y'' + q(x)y = 0. Divide out the coefficient of y′′y''. If the result y′′+p(x)y′+r(x)y=0y'' + p(x)y' + r(x)y = 0 still has a first-derivative term, remove it by y=wexp⁡(−12∫p)y = w\exp\bigl(-\tfrac12\int p\bigr); then w′′+qw=0w'' + qw = 0 with q=r−12p′−14p2q = r - \tfrac12 p' - \tfrac14 p^{2}.
  2. Locate the turning points, the zeros of qq, and separate the axis into regions where q>0q > 0 (oscillatory) and q<0q < 0 (exponential).
  3. Test the criterion region by region. Compute δ=516q′2/q2−14q′′/q\delta = \tfrac{5}{16}q'^{2}/q^{2} - \tfrac14 q''/q and check ∣δ∣≪∣q∣|\delta| \ll |q|. Record where it fails; it always fails in a neighbourhood of every turning point, and the width of that neighbourhood is the honest measure of how much of the problem WKB cannot see.
  4. Write the solutions. In a region with q>0q > 0 use C±q1/4exp⁡(±i∫q)or1q1/4{cos⁡, sin⁡}(∫q);\frac{C_\pm}{q^{1/4}}\exp\left(\pm i\int\sqrt{q}\right) \quad\text{or}\quad \frac{1}{q^{1/4}}\left\{\cos,\ \sin\right\}\left(\int\sqrt{q}\right) ; in a region with q<0q < 0 use (−q)−1/4exp⁡(±∫−q)(-q)^{-1/4}\exp\bigl(\pm\int\sqrt{-q}\bigr). Choose the decaying combination wherever a boundary condition at infinity requires it.
  5. Join regions with the connection formulas, not by matching the WKB forms directly at the turning point, where both are singular. Keep the factor 22 and the phase −π/4-\pi/4.
  6. Read off the eigenvalue condition. For a well bounded by two turning points this is the quantization condition above; the turning points themselves depend on the eigenvalue, so it is an implicit equation for EE.
  7. Judge the answer by step 3, not by the formula's appearance. The approximation improves as the phase integral across the well grows — in a bound-state problem that means high quantum numbers — and is at its worst for the ground state.
Example(A triangular well: WKB levels against the exact Airy spectrum)Original

Take a particle of mass mm in the one-dimensional potential V(x)=F∣x∣V(x) = F|x| with F>0F > 0: a linear restoring force of constant magnitude, pointing towards the origin. This is the potential of a ball bouncing under gravity, reflected to make it symmetric, and it is a good test because its exact spectrum is known in closed form.

WKB. With q(x)=2m(E−F∣x∣)/ℏ2q(x) = 2m\bigl(E - F|x|\bigr)/\hbar^{2} the turning points are at ±a\pm a with a=E/Fa = E/F, and

∫−aaq dx  =  22mℏ∫0E/F(E−Fx)1/2dx  =  22mℏ⋅2E3/23F  =  42m E3/23ℏF.\int_{-a}^{a}\sqrt{q}\,dx \;=\; \frac{2\sqrt{2m}}{\hbar}\int_{0}^{E/F}\bigl(E - Fx\bigr)^{1/2}dx \;=\; \frac{2\sqrt{2m}}{\hbar}\cdot\frac{2E^{3/2}}{3F} \;=\; \frac{4\sqrt{2m}\,E^{3/2}}{3\hbar F} .

Setting this equal to (n+12)π(n+\tfrac12)\pi and solving for EE,

En  =  [3πℏF(n+12)42m]2/3.E_n \;=\; \left[\frac{3\pi\hbar F\left(n+\tfrac12\right)}{4\sqrt{2m}}\right]^{2/3} .

In units with ℏ=m=F=1\hbar = m = F = 1 this is En=[3π(n+12)/(42)]2/3E_n = \bigl[3\pi(n+\tfrac12)/(4\sqrt{2})\bigr]^{2/3}.

The exact answer. In the same units the equation is ψ′′+2(E−∣x∣)ψ=0\psi'' + 2(E - |x|)\psi = 0. For x>0x > 0 the substitution u=21/3(x−E)u = 2^{1/3}(x - E) turns it into d2ψ/du2=uψd^{2}\psi/du^{2} = u\psi, so the solution decaying as x→+∞x \to +\infty is ψ=Ai(21/3(x−E))\psi = \mathrm{Ai}\bigl(2^{1/3}(x-E)\bigr); see Airy functions. Because VV is even, the eigenfunctions are even or odd, and the matching condition at the origin is ψ′(0)=0\psi'(0) = 0 or ψ(0)=0\psi(0) = 0 respectively. Hence

even n: Ai′(−21/3E)=0,odd n: Ai(−21/3E)=0,\text{even } n: \ \mathrm{Ai}'\bigl(-2^{1/3}E\bigr) = 0 , \qquad\qquad \text{odd } n: \ \mathrm{Ai}\bigl(-2^{1/3}E\bigr) = 0 ,

so E=2−1/3∣ak∣E = 2^{-1/3}|a_k| with aka_k the zeros of Ai′\mathrm{Ai}' and of Ai\mathrm{Ai} in turn.

Comparison (units ℏ=m=F=1\hbar = m = F = 1):

nn WKB EnE_n exact EnE_n relative error, per cent
00 0.8853410.885341 0.8086170.808617 +9.5+9.5
11 1.8415841.841584 1.8557571.855757 −0.76-0.76
22 2.5887542.588754 2.5780962.578096 +0.41+0.41
33 3.2397353.239735 3.2446083.244608 −0.15-0.15
55 4.3789764.378976 4.3816714.381671 −0.06-0.06

The criterion explains the table. Here q=2(E−∣x∣)q = 2(E - |x|), so q′=∓2q' = \mp 2 and q′′=0q'' = 0 away from the origin, giving δ=516⋅4q2=54q2\delta = \tfrac{5}{16}\cdot\tfrac{4}{q^{2}} = \tfrac{5}{4q^{2}}, and the criterion ∣δ∣≪q|\delta| \ll q becomes

q3  ≫  54.q^{3} \;\gg\; \tfrac54 .

The best place in the well is the bottom, x=0x = 0, where q=2Eq = 2E. For n=0n = 0, q(0)=1.771q(0) = 1.771 and ∣δ/q∣=0.225|\delta/q| = 0.225 — a 22 per cent error in the coefficient of the equation at the most favourable point, and the criterion fails outright (∣δ∣>q|\delta| > q) for ∣x∣>0.347|x| > 0.347, which is the outer 61 per cent of the well. A 9.5 per cent error in the level is a mild punishment for that. For n=5n = 5, q(0)=8.758q(0) = 8.758 and ∣δ/q∣=0.0019|\delta/q| = 0.0019, with the criterion failing only in the outer 12 per cent of the well, and the level is right to six parts in ten thousand. This is the behaviour promised in step 7 of the method: WKB is an approximation for the highly excited states that becomes, almost by accident, tolerable for the ground state.

One honest caveat. V=F∣x∣V = F|x| has a corner at the origin, where q′q' jumps and q′′q'' has a point mass, so the error identity does not hold at that single point. It does not matter: q\sqrt{q} is continuous there, so the phase integral and hence the quantization condition are unaffected, and δ\delta is finite everywhere else in the well. A smooth potential with the same shape away from the origin gives the same table to the accuracy shown.

Application(Waves in slowly varying media, and barrier penetration)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.7.1, pp. 895-897; Hassani (2013), §14.8, Example 14.8.1, pp. 451-452

Optics and radio propagation. The reason Riley, Hobson and Bence set the problem up with a refractive index n(x)n(x) is that this is the method's oldest use. A wave in a medium whose properties change over distances long compared with a wavelength keeps a phase that is the accumulated local phase, k0∫nk_0\int n, and an amplitude that scales as n−1/2n^{-1/2}. The condition for this to be valid — that nn change little over a few wavelengths — is comfortably satisfied by visible light in glass and by radio waves in the ionosphere, which is why ray tracing works at all; the places where it fails are precisely the interesting ones, such as the height at which a radio wave is reflected, where the effective qq passes through zero and the turning-point analysis above is needed. Allowing nn to be complex, which costs nothing in the derivation, describes a wave in an absorbing medium: the imaginary part of nn turns the oscillation into a decaying one, and Im∫n\mathrm{Im}\int n is the accumulated attenuation.

Quantum spectra. The quantization condition is how energy levels were estimated before the Schrödinger equation could be solved, and it is still the fastest way to get the level density of a complicated potential. Hassani's reading of it is the physical one: the integral is the classical action accumulated across the classically allowed region, and the half-integer on the right is the accumulated π/4\pi/4 of phase from each of the two turning points. Two checks are standard. For a harmonic oscillator the condition is exact, returning En=(n+12)ℏωE_n = (n+\tfrac12)\hbar\omega including the zero-point energy; and for a well V=V0∣x∣2sV = V_0|x|^{2s} Riley, Hobson and Bence obtain En∝(n+12)2s/(s+1)E_n \propto (n+\tfrac12)^{2s/(s+1)}, which reproduces the equal spacing of the oscillator at s=1s = 1 and the n2n^{2} spacing of a square well in the limit of large ss.

Barrier penetration. The exponential branch of the construction is the other standard use. Where q<0q < 0 the WKB solutions are (−q)−1/4exp⁡(±∫−q)(-q)^{-1/4}\exp\bigl(\pm\int\sqrt{-q}\bigr), so a wave crossing a classically forbidden region between two turning points is attenuated by a factor whose logarithm is ∫−q dx\int\sqrt{-q}\,dx across the barrier. Squaring to get a probability gives a transmission that is exponentially small in 2∫−q2\int\sqrt{-q}. This is the estimate behind the Gamow factor for alpha decay, behind field emission of electrons from a metal surface, and behind the exponential dependence of a scanning tunnelling microscope's current on tip height; in each case the enormous dynamic range of the measured quantity comes from a quantity sitting in an exponent, and WKB is accurate enough for the exponent even where it would be poor for a prefactor.