Mathematical Methods Handbook

Asymptotic expansions of integrals

Asymptotic series and the standard methods for integrals.

In this chapter 7

Tick a unit to add it to your PDF basket.

  1. Asymptotic series and integrals

Asymptotic series and integrals

7

Definition

Asymptotic series

Adapted

Defines the order symbols and Poincare's notion of an asymptotic expansion, shows that such an expansion determines its coefficients but not its function, says which operations on it are legitimate, and gives the optimal-truncation rule that makes a divergent series into a numerical method.

Prerequisites: Convergence tests for series, Power series, Integrating and differentiating series term by term

Definition(Order symbols)Original

Let ff and gg be defined on a neighbourhood of a point x0x_0, which may be +∞+\infty, and suppose gg does not vanish there. All three relations below are statements about the limit x→x0x \to x_0 and about nothing else; none of them says anything at a fixed xx.

  • f(x)=O(g(x))f(x) = O\bigl(g(x)\bigr) means that ∣f/g∣|f/g| is bounded near x0x_0: there are CC and a neighbourhood on which ∣f(x)∣≤C∣g(x)∣|f(x)| \le C|g(x)|.
  • f(x)=o(g(x))f(x) = o\bigl(g(x)\bigr) means f(x)/g(x)→0f(x)/g(x) \to 0 as x→x0x \to x_0.
  • f(x)∼g(x)f(x) \sim g(x) means f(x)/g(x)→1f(x)/g(x) \to 1 as x→x0x \to x_0; equivalently f=g+o(g)f = g + o(g).

A sequence of functions φ0,φ1,φ2,…\varphi_0, \varphi_1, \varphi_2, \dots, none vanishing near x0x_0, is an asymptotic sequence at x0x_0 if

φn+1(x)  =  o(φn(x))(x→x0)for every n.\varphi_{n+1}(x) \;=\; o\bigl(\varphi_n(x)\bigr) \qquad (x \to x_0) \quad\text{for every } n .

The two cases used in this part of the handbook are φn(x)=x−n\varphi_n(x) = x^{-n} as x→+∞x \to +\infty and φn(x)=(x−x0)n\varphi_n(x) = (x - x_0)^{n} as x→x0x \to x_0. Each term of an asymptotic sequence is negligible beside the one before it, and that is the only ordering the symbol ∼\sim will ever rest on.

Definition(Poincare asymptotic expansion)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.6, Eqs. (12.95)-(12.99) and footnotes 4-5, p. 583; Ahlfors (1979), Ch. 5, §2.5, p. 205

Let ff be defined for all large real xx and let a0,a1,a2,…a_0, a_1, a_2, \dots be constants. Write

sN(x)  =  ∑n=0Nanxn,RN(x)  =  f(x)−sN(x).s_N(x) \;=\; \sum_{n=0}^{N} \frac{a_n}{x^{n}} , \qquad R_N(x) \;=\; f(x) - s_N(x) .

We say that ∑n≥0anx−n\sum_{n \ge 0} a_n x^{-n} is an asymptotic expansion of ff as x→+∞x \to +\infty, and write

f(x)  ∼  ∑n=0∞anxn(x→+∞),f(x) \;\sim\; \sum_{n=0}^{\infty} \frac{a_n}{x^{n}} \qquad (x \to +\infty) ,

when

lim⁡x→∞xNRN(x)  =  0for each fixed N.(P)\lim_{x \to \infty} x^{N} R_N(x) \;=\; 0 \qquad \text{for each fixed } N . \tag{P}

Equivalently: RN(x)=o(x−N)R_N(x) = o(x^{-N}) for each NN, so the error made by stopping after the x−Nx^{-N} term is smaller than the last term kept. The sign ∼\sim is not an equality. It is a statement about x→∞x \to \infty at fixed NN, and it carries no information at a fixed xx.

Divergence is normal and is not part of the definition. Nothing in (P) asks the series ∑anx−n\sum a_n x^{-n} to converge, and for the expansions of interest it does not: the coefficients ana_n typically grow like n!n!, so the series diverges for every xx. Arfken calls such a series semiconvergent (Arfken, Weber & Harris (2013), p. 580).

A conflict of definition, and which we follow. Arfken's formal definition of an asymptotic series imposes (P) and a second requirement, that xNRN(x)→∞x^{N}R_N(x) \to \infty as N→∞N \to \infty at fixed xx, which excludes convergent series of inverse powers (Arfken, Weber & Harris (2013), Eqs. (12.97)-(12.98), p. 583); his own footnote records that some authors regard that exclusion as artificial. Ahlfors, characterising the remainder in Stirling's formula, uses the fixed-order limit alone (Ahlfors (1979), p. 205). We follow Ahlfors: in this handbook (P) is the definition, a convergent inverse-power series is allowed to count as its own asymptotic expansion, and when divergence matters we say so. Readers taking a statement from Arfken should keep his extra clause in mind.

More generally, if {φn}\{\varphi_n\} is an asymptotic sequence at x0x_0, then f∼∑anφnf \sim \sum a_n\varphi_n means

f(x)−∑n=0Nanφn(x)  =  o(φN(x))(x→x0)for each N.f(x) - \sum_{n=0}^{N} a_n\varphi_n(x) \;=\; o\bigl(\varphi_N(x)\bigr) \qquad (x \to x_0) \quad \text{for each } N .

Expansions in half-integer powers, and expansions carrying a prefactor such as e−xe^{-x} or exf(t0)e^{x f(t_0)}, are of this kind; see Watson's lemma and Laplace's method.

Definition(What an asymptotic expansion does and does not determine)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.6, p. 584; Riley, Hobson & Bence (2006), §25.7.3, point (iii), pp. 902-903

Let ff and gg be defined for all large xx.

  1. (The coefficients are unique.) If f∼∑n≥0anx−nf \sim \sum_{n\ge0} a_n x^{-n} and also f∼∑n≥0bnx−nf \sim \sum_{n\ge0} b_n x^{-n} as x→+∞x \to +\infty, then an=bna_n = b_n for every nn. A function has at most one asymptotic power-series expansion.
  2. (The function is not.) If f∼∑n≥0anx−nf \sim \sum_{n\ge0} a_n x^{-n} and h(x)=o(x−N)h(x) = o(x^{-N}) for every NN, then f+hf + h has the same expansion. In particular ff and f+e−xf + e^{-x} are indistinguishable at this level of description, so infinitely many functions share one expansion.
  3. (Existence can fail.) Not every function has an asymptotic power series; Arfken's example is exe^{x}.

Riley, Hobson and Bence make the same two-sided point for expansions in the complex plane: at a fixed value of arg⁡z\arg z the expansion is unique, but one expansion can stand for more than one function, and one function can need different expansions in different sectors.

Idea of the proofOriginal

Both halves of the uniqueness statement come from the same observation: condition (P) pins down each coefficient as a limit, and a limit cannot see anything that decays faster than every power. Taking x→∞x \to \infty in f∼a0+a1/x+⋯f \sim a_0 + a_1/x + \cdots gives a0=lim⁡fa_0 = \lim f; subtracting a0a_0, multiplying by xx and taking the limit again gives a1a_1; and so on. That recursion determines the ana_n from ff alone, which is part 1. It also shows what the recursion is blind to: a function hh with xNh(x)→0x^N h(x) \to 0 for every NN contributes zero at every stage, which is part 2. Part 3 is the first step of the recursion failing, since exe^{x} has no finite limit.

ProofOriginal
  1. The coefficients as limits. Suppose f∼∑anx−nf \sim \sum a_n x^{-n}. We show by induction on NN that

    aN  =  lim⁡x→∞xN(f(x)−∑n=0N−1anx−n),a_N \;=\; \lim_{x \to \infty} x^{N}\Bigl( f(x) - \sum_{n=0}^{N-1} a_n x^{-n} \Bigr) ,

    the empty sum being 00. For N=0N = 0: condition (P) with N=0N = 0 says f(x)−a0→0f(x) - a_0 \to 0, so a0=lim⁡f(x)a_0 = \lim f(x), which is the claim. For the step, assume the formula for 0,…,N−10, \dots, N-1. Condition (P) at order NN says xN(f−sN)→0x^{N}\bigl(f - s_N\bigr) \to 0, that is

    xN(f(x)−∑n=0N−1anx−n)  −  aN  ⟶  0,x^{N}\Bigl( f(x) - \sum_{n=0}^{N-1}a_nx^{-n} \Bigr) \;-\; a_N \;\longrightarrow\; 0 ,

    which is the claim at order NN. Each aNa_N is therefore a limit computed from ff and the earlier coefficients, and the earlier coefficients are themselves so computed. If ∑bnx−n\sum b_nx^{-n} is also an asymptotic expansion of ff, the same limits produce the bnb_n; since a limit is unique, bn=anb_n = a_n for all nn by induction. This is part 1.

  2. Adding an invisible function. Let hh satisfy xNh(x)→0x^{N}h(x) \to 0 for every NN. With R~N=(f+h)−sN=RN+h\tilde R_N = (f+h) - s_N = R_N + h we get xNR~N=xNRN+xNh→0+0=0x^{N}\tilde R_N = x^{N}R_N + x^{N}h \to 0 + 0 = 0 for each fixed NN, so f+hf + h satisfies (P) with the same coefficients. The function h(x)=e−xh(x) = e^{-x} qualifies, because xNe−x→0x^{N}e^{-x} \to 0 for every NN. This is part 2.

  3. A function with no expansion. If f∼∑anx−nf \sim \sum a_nx^{-n} then by step 1 the number a0=lim⁡x→∞f(x)a_0 = \lim_{x\to\infty}f(x) exists and is finite. Since ex→∞e^{x} \to \infty, no such a0a_0 exists, so exe^{x} has no asymptotic power-series expansion at +∞+\infty. This is part 3. □\square

Definition(Operations on asymptotic expansions)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.6, p. 584

Let f∼∑n≥0anx−nf \sim \sum_{n\ge0} a_nx^{-n} and g∼∑n≥0bnx−ng \sim \sum_{n\ge0} b_nx^{-n} as x→+∞x \to +\infty.

  1. Linear combinations. αf+βg∼∑n≥0(αan+βbn)x−n\alpha f + \beta g \sim \sum_{n\ge0}(\alpha a_n + \beta b_n)x^{-n} for all constants α,β\alpha,\beta.
  2. Products. fg∼∑n≥0cnx−nfg \sim \sum_{n \ge 0} c_n x^{-n} with cn=∑k=0nakbn−kc_n = \sum_{k=0}^{n} a_k b_{n-k}: the Cauchy product of two asymptotic expansions is the asymptotic expansion of the product.
  3. Integration. If in addition a0=a1=0a_0 = a_1 = 0 and ff is locally integrable on [x1,∞)[x_1,\infty) for some x1x_1, then ∫x∞f(t) dt\int_x^{\infty} f(t)\,dt converges for large xx and ∫x∞f(t) dt  ∼  ∑n≥2ann−1 x−(n−1).\int_x^{\infty} f(t)\,dt \;\sim\; \sum_{n \ge 2} \frac{a_n}{n-1}\, x^{-(n-1)} .
  4. Differentiation is not permitted. From f∼∑anx−nf \sim \sum a_nx^{-n} one may not conclude f′∼−∑n anx−n−1f' \sim -\sum n\,a_nx^{-n-1}. Arfken states this: term-by-term differentiation holds only under special extra conditions. If it is known in advance that f′f' has some asymptotic power-series expansion, then that expansion is the differentiated one.

Arfken states 2 and 3 without the proviso a0=a1=0a_0 = a_1 = 0 in 3; we have added it because without it ∫x∞f\int_x^\infty f need not exist, and we prove the statement in the form given here.

ProofOriginal

Throughout, sNs_N and tNt_N denote the partial sums of the two expansions and RN=f−sNR_N = f - s_N, SN=g−tNS_N = g - t_N, so RN(x)=o(x−N)R_N(x) = o(x^{-N}) and SN(x)=o(x−N)S_N(x) = o(x^{-N}) for each fixed NN.

  1. (αf+βg)−(αsN+βtN)=αRN+βSN=o(x−N)(\alpha f + \beta g) - (\alpha s_N + \beta t_N) = \alpha R_N + \beta S_N = o(x^{-N}), and αsN+βtN\alpha s_N + \beta t_N is the NN-th partial sum of ∑(αan+βbn)x−n\sum(\alpha a_n + \beta b_n)x^{-n}.

  2. Write uN(x)=∑n=0Ncnx−nu_N(x) = \sum_{n=0}^{N}c_nx^{-n} with cnc_n the Cauchy coefficients. Then

    fg−uN  =  (sN+RN)(tN+SN)−uN  =  (sNtN−uN)  +  sNSN+tNRN+RNSN.fg - u_N \;=\; (s_N + R_N)(t_N + S_N) - u_N \;=\; (s_Nt_N - u_N) \;+\; s_NS_N + t_NR_N + R_NS_N .

    The product sNtNs_Nt_N is a finite sum of terms akblx−(k+l)a_kb_lx^{-(k+l)} with k,l≤Nk,l \le N; those with k+l≤Nk+l \le N assemble to exactly uNu_N, so sNtN−uNs_Nt_N - u_N is a finite sum of powers x−mx^{-m} with m>Nm > N, hence O(x−N−1)=o(x−N)O(x^{-N-1}) = o(x^{-N}). Next, sNs_N and tNt_N are bounded for large xx (each tends to a0a_0, resp. b0b_0), so sNSN=o(x−N)s_NS_N = o(x^{-N}) and tNRN=o(x−N)t_NR_N = o(x^{-N}); and RNSN=o(x−N) o(x−N)=o(x−N)R_NS_N = o(x^{-N})\,o(x^{-N}) = o(x^{-N}). Adding the four pieces gives fg−uN=o(x−N)fg - u_N = o(x^{-N}).

  3. Fix N≥2N \ge 2. Because a0=a1=0a_0 = a_1 = 0, the partial sum is sN(t)=∑n=2Nant−ns_N(t) = \sum_{n=2}^{N}a_nt^{-n}, and f(t)=sN(t)+RN(t)f(t) = s_N(t) + R_N(t) with RN(t)=o(t−N)R_N(t) = o(t^{-N}). In particular f(t)=O(t−2)f(t) = O(t^{-2}) for large tt, so ∫x∞f\int_x^{\infty}f converges absolutely. Integrating the partial sum exactly,

    ∫x∞sN(t) dt  =  ∑n=2Nann−1 x−(n−1),\int_x^{\infty} s_N(t)\,dt \;=\; \sum_{n=2}^{N}\frac{a_n}{n-1}\,x^{-(n-1)} ,

    which is the (N−1)(N-1)-st partial sum of the claimed expansion. For the remainder, let ε>0\varepsilon > 0 and choose XX with ∣RN(t)∣≤εt−N|R_N(t)| \le \varepsilon t^{-N} for t≥Xt \ge X (possible since RN(t)=o(t−N)R_N(t) = o(t^{-N}) and N≥2N \ge 2). For x≥Xx \ge X,

    ∣∫x∞RN(t) dt∣  ≤  ε∫x∞t−Ndt  =  εN−1 x−(N−1),\Bigl| \int_x^{\infty} R_N(t)\,dt \Bigr| \;\le\; \varepsilon \int_x^{\infty} t^{-N}dt \;=\; \frac{\varepsilon}{N-1}\,x^{-(N-1)} ,

    so ∫x∞RN=o(x−(N−1))\int_x^{\infty}R_N = o\bigl(x^{-(N-1)}\bigr). Since N≥2N \ge 2 was arbitrary, every order of the claimed expansion is verified.

  4. For the last sentence of part 4, suppose ff is continuously differentiable for large xx and f′∼∑n≥0dnx−nf' \sim \sum_{n\ge0}d_nx^{-n}.

    • d0=0d_0 = 0: by step 1 applied to f′f', d0=lim⁡x→∞f′(x)d_0 = \lim_{x\to\infty}f'(x). If d0≠0d_0 \ne 0 then f(x)=f(x1)+∫x1xf′f(x) = f(x_1) + \int_{x_1}^{x}f' grows like d0xd_0x, contradicting f(x)→a0f(x) \to a_0 finite.
    • d1=0d_1 = 0: with d0=0d_0 = 0, step 1 at order 11 gives xf′(x)→d1xf'(x) \to d_1. If d1≠0d_1 \ne 0 then f′(t)∼d1/tf'(t) \sim d_1/t, so f(x)−f(x1)=∫x1xf′f(x) - f(x_1) = \int_{x_1}^{x}f' grows like d1ln⁡xd_1\ln x, again contradicting convergence of ff.
    • Hence the expansion of f′f' starts at order 22, and part 3 applies to f′f'. Since f(X)→a0f(X) \to a_0, ∫x∞f′(t) dt=a0−f(x)\int_x^{\infty}f'(t)\,dt = a_0 - f(x), so a0−f(x)  ∼  ∑n≥2dnn−1 x−(n−1),that isf(x)  ∼  a0−∑m≥1dm+1m x−m.a_0 - f(x) \;\sim\; \sum_{n\ge2}\frac{d_n}{n-1}\,x^{-(n-1)} , \qquad\text{that is}\qquad f(x) \;\sim\; a_0 - \sum_{m\ge1}\frac{d_{m+1}}{m}\,x^{-m} . By the uniqueness of part 1, am=−dm+1/ma_m = -d_{m+1}/m for m≥1m \ge 1, that is dm+1=−m amd_{m+1} = -m\,a_m: the expansion of f′f' is the term-by-term derivative of that of ff.

    The counterexample showing that the hypothesis "f′f' has an expansion" cannot be dropped is in the remark below. □\square

Remark(Where the hypotheses are used, and the standing counterexamples)Original
  • "For each fixed NN" is the whole content of (P). Every statement above is proved one order at a time, with NN frozen before xx is sent to infinity. Nothing is ever summed over NN, and nothing may be: the series usually diverges.
  • Why differentiation fails. Let f(x)=e−xsin⁡(ex)f(x) = e^{-x}\sin(e^{x}). Since ∣f(x)∣≤e−x|f(x)| \le e^{-x}, part 2 of the uniqueness statement gives f∼∑n≥00⋅x−nf \sim \sum_{n\ge0} 0 \cdot x^{-n}, the zero expansion. But f′(x)  =  −e−xsin⁡(ex)+cos⁡(ex),f'(x) \;=\; -e^{-x}\sin(e^{x}) + \cos(e^{x}) , which oscillates between −1-1 and 11 for arbitrarily large xx and so does not tend to a limit. Thus f′f' has no asymptotic power-series expansion at all, let alone the differentiated one. The hypothesis that fails is smallness of f′f': an asymptotically negligible function may have a large derivative. This is why part 4 is stated conditionally.
  • Why a0=a1=0a_0 = a_1 = 0 is needed for integration. With f(x)=1/xf(x) = 1/x we have f∼x−1f \sim x^{-1}, but ∫x∞dt/t\int_x^{\infty}dt/t diverges. The expansion says nothing about convergence of the integral; that has to be imposed.
  • What the expansion cannot see. Part 2 is not a defect to be repaired but a permanent feature. Exponentially small terms, such as e−xe^{-x} at +∞+\infty or e−1/εe^{-1/\varepsilon} as ε↓0\varepsilon \downarrow 0, are invisible to every order of a power-series expansion, and two physical answers that differ by such a term have identical expansions. Arfken's footnote records that Poincare's definition "allows (or neglects)" exactly these terms, and that sharpening it matters for the theory in the complex plane (Arfken, Weber & Harris (2013), footnote 4, p. 583). In the complex plane the same function may need different expansions in different sectors (Riley, Hobson & Bence (2006), §25.7.3, point (iii), p. 902); the switching is the Stokes phenomenon, and The WKB approximation meets it.
  • An expansion is not a Laurent series. Ahlfors warns against the confusion explicitly: the function whose expansion he computes is not even defined in a neighbourhood of infinity, so it has no Laurent development, and the formal series he writes does not converge (Ahlfors (1979), p. 205). The resemblance of the two notations is an accident of writing powers of 1/x1/x.
Method(Optimal truncation: computing with a divergent series)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.6, pp. 579-581; Riley, Hobson & Bence (2006), §25.7.3, point (ii), p. 902

Given f∼∑n≥0anx−nf \sim \sum_{n \ge 0} a_n x^{-n} and a fixed numerical value of xx:

  1. Form the terms, not the sum. Compute un=anx−nu_n = a_n x^{-n} for n=0,1,2,…n = 0, 1, 2, \dots and tabulate ∣un∣|u_n|. For an expansion with ana_n growing like n!n! the ratio ∣un+1/un∣|u_{n+1}/u_n| grows linearly in nn, so the terms fall, reach a minimum, and then rise without limit.
  2. Find the smallest term. Let n∗(x)n_\ast(x) be the index minimising ∣un∣|u_n|. Riley, Hobson and Bence make the point that n∗n_\ast depends on xx: there is no "number of terms" attached to the series, only one attached to the series and the value of xx.
  3. Stop just before it. Take sn∗−1(x)s_{n_\ast - 1}(x) as the numerical value. Adding further terms makes the answer worse, as Arfken's table shows for exE1(x)e^{x}E_1(x) at x=5x = 5.
  4. Quote the error as the smallest term. The achievable accuracy is of the order of ∣un∗∣|u_{n_\ast}|; for the expansions of this chapter that is roughly e−cxe^{-cx} for some c>0c > 0, so it improves rapidly with xx and cannot be improved at all at fixed xx.
  5. Turn the rule into a theorem when you can. The step above is a rule of thumb unless the remainder has been bounded. When the series alternates and one can prove ∣RN∣≤∣uN+1∣|R_N| \le |u_{N+1}| — the first omitted term — consecutive partial sums bracket the answer, and steps 3 and 4 become rigorous: the value lies between sn∗−1s_{n_\ast-1} and sn∗s_{n_\ast}, and their half-difference is an honest error bar. This happens whenever the remainder is an integral of a function of one sign, as in the example below.
  6. If that is not accurate enough, change the problem, not the truncation. Increase xx (for a sum, by evaluating more terms explicitly first and expanding only the tail; see Euler-Maclaurin summation), or find an expansion in a different variable. Never add more terms.
Example(The Gaussian tail at three standard deviations)Original

Let

Q(x)  =  ∫x∞e−t2/2 dt(x>0),Q(x) \;=\; \int_x^{\infty} e^{-t^{2}/2}\,dt \qquad (x > 0) ,

the unnormalised upper tail of a standard Gaussian. We build its asymptotic expansion, with a rigorous remainder, and then run the optimal-truncation rule at x=3x = 3.

Step 1: integrate by parts, keeping the remainder exact. Write e−t2/2=t−1⋅te−t2/2e^{-t^{2}/2} = t^{-1}\cdot t e^{-t^{2}/2} and note ddt(−e−t2/2)=te−t2/2\frac{d}{dt}\bigl(-e^{-t^{2}/2}\bigr) = te^{-t^{2}/2}. Then

Q(x)  =  [−1te−t2/2]x∞−∫x∞e−t2/2t2 dt  =  e−x2/2x−∫x∞t−2e−t2/2 dt.Q(x) \;=\; \Bigl[-\tfrac{1}{t}e^{-t^{2}/2}\Bigr]_x^{\infty} - \int_x^{\infty} \frac{e^{-t^{2}/2}}{t^{2}}\,dt \;=\; \frac{e^{-x^{2}/2}}{x} - \int_x^{\infty} t^{-2}e^{-t^{2}/2}\,dt .

The same manoeuvre on ∫x∞t−2ke−t2/2dt\int_x^\infty t^{-2k}e^{-t^2/2}dt gives x−2k−1e−x2/2−(2k+1)∫x∞t−2k−2e−t2/2dtx^{-2k-1}e^{-x^{2}/2} - (2k+1)\int_x^{\infty}t^{-2k-2}e^{-t^{2}/2}dt. Iterating NN times,

Q(x)  =  e−x2/2∑n=0N−1(−1)n(2n−1)!!x2n+1  +  RN(x),RN(x)=(−1)N(2N−1)!!∫x∞e−t2/2t2N dt,Q(x) \;=\; e^{-x^{2}/2}\sum_{n=0}^{N-1} \frac{(-1)^{n}(2n-1)!!}{x^{2n+1}} \;+\; R_N(x) , \qquad R_N(x) = (-1)^{N}(2N-1)!!\int_x^{\infty} \frac{e^{-t^{2}/2}}{t^{2N}}\,dt ,

with (−1)!!=1(-1)!! = 1 and (2n−1)!!=1⋅3⋯(2n−1)(2n-1)!! = 1\cdot3\cdots(2n-1).

Step 2: bound the remainder by the first omitted term. Split off one power of tt and use t−2N−1≤x−2N−1t^{-2N-1} \le x^{-2N-1}, valid for every t≥xt \ge x:

1t2N  =  1t2N+1⋅t  ≤  tx2N+1(t≥x),\frac{1}{t^{2N}} \;=\; \frac{1}{t^{2N+1}}\cdot t \;\le\; \frac{t}{x^{2N+1}} \qquad (t \ge x) ,

so that

∣RN(x)∣  ≤  (2N−1)!! x−2N−1∫x∞t e−t2/2 dt  =  (2N−1)!! e−x2/2x2N+1.|R_N(x)| \;\le\; (2N-1)!!\,x^{-2N-1}\int_x^{\infty} t\,e^{-t^{2}/2}\,dt \;=\; (2N-1)!!\,\frac{e^{-x^{2}/2}}{x^{2N+1}} .

The right-hand side is exactly the magnitude of the first omitted term. Two consequences: RN(x)=O(x−2N−1e−x2/2)R_N(x) = O(x^{-2N-1}e^{-x^2/2}), so the series is an asymptotic expansion of ex2/2Q(x)e^{x^{2}/2}Q(x) in the sense of (P) (in the asymptotic sequence φn=x−2n−1\varphi_n = x^{-2n-1}); and, the remainder alternating in sign with NN, consecutive partial sums bracket the answer, so step 5 of the method applies.

Step 3: run the truncation rule at x=3x = 3. The terms are un=(2n−1)!!/32n+1u_n = (2n-1)!!/3^{2n+1}, with ∣un+1/un∣=(2n+1)/9|u_{n+1}/u_n| = (2n+1)/9. This is below 11 for n≤3n \le 3 and equals 11 at n=4n = 4, so the terms fall until n=4n = 4, where u4u_4 and u5u_5 tie, and rise afterwards: n∗=4n_\ast = 4. Writing PN=e−9/2∑n<N(−1)nunP_N = e^{-9/2}\sum_{n<N}(-1)^nu_n for the partial sums and comparing with the value Q(3)=0.00338369257Q(3) = 0.00338369257 obtained by quadrature:

NN first omitted term e−9/2uNe^{-9/2}u_N PNP_N PN−Q(3)P_N - Q(3)
11 4.11×10−44.11\times10^{-4} 0.0037029990.003702999 +3.19×10−4+3.19\times10^{-4}
22 1.37×10−41.37\times10^{-4} 0.0032915550.003291555 −9.21×10−5-9.21\times10^{-5}
33 7.62×10−57.62\times10^{-5} 0.0034287030.003428703 +4.50×10−5+4.50\times10^{-5}
44 5.93×10−55.93\times10^{-5} 0.0033525090.003352509 −3.12×10−5-3.12\times10^{-5}
55 5.93×10−55.93\times10^{-5} 0.0034117710.003411771 +2.81×10−5+2.81\times10^{-5}
66 7.24×10−57.24\times10^{-5} 0.0033525090.003352509 −3.12×10−5-3.12\times10^{-5}
77 1.05×10−41.05\times10^{-4} 0.0034249400.003424940 +4.12×10−5+4.12\times10^{-5}
88 1.74×10−41.74\times10^{-4} 0.0033203180.003320318 −6.34×10−5-6.34\times10^{-5}

Every entry obeys the bracketing: the errors alternate in sign and are smaller in magnitude than the corresponding first omitted term. The best values are P4P_4 and P5P_5, and the rule of step 5 returns

Q(3)  ∈  [ 0.0033525, 0.0034118 ],midpoint 0.0033821,Q(3) \;\in\; [\,0.0033525,\ 0.0034118\,] , \qquad \text{midpoint } 0.0033821 ,

against the true 0.00338370.0033837: a relative error of 4.6×10−44.6\times10^{-4} from five terms of a series that diverges. From N=6N = 6 on the partial sums move away again, exactly as step 3 predicts.

Step 4: the same rule at x=6x = 6. Now ∣un+1/un∣=(2n+1)/36|u_{n+1}/u_n| = (2n+1)/36, so the terms fall until n∗=18n_\ast = 18 and the attainable accuracy is far higher. Truncating at N=18N = 18 gives Q(6)=2.473008486×10−9Q(6) = 2.473008486\times10^{-9} with a relative error of 1.1×10−81.1\times10^{-8} — about eight correct figures. The lesson of the two tables together is the one the definition insists on: the quality of an asymptotic expansion is a statement about xx, not about the number of terms.

Application(Tail probabilities, and the expansions of this part of the handbook)Original

Exceedance probabilities. If XX is standard normal, Pr⁡(X>x)=Q(x)/2π\Pr(X > x) = Q(x)/\sqrt{2\pi}. Engineering and climate work routinely needs this at xx between 33 and 66 — a design wave height, a 5σ5\sigma detection threshold, a once-in-a-century return level — where the convergent Taylor series ∫0xe−t2/2dt=∑n(−1)nx2n+1/(2nn!(2n+1))\int_0^x e^{-t^2/2}dt = \sum_n (-1)^n x^{2n+1}/\bigl(2^n n!(2n+1)\bigr) is numerically hopeless — at x=6x = 6 its largest term is 1.06×1061.06\times10^{6} and the answer it must produce after cancellation is 2.5×10−92.5\times10^{-9}, fifteen digits down — while the expansion above is immediate. The five-term estimate of the example gives Pr⁡(X>3)≈0.0033821/2π=1.3493×10−3\Pr(X>3) \approx 0.0033821/\sqrt{2\pi} = 1.3493\times10^{-3} against the true 1.3499×10−31.3499\times10^{-3}, and the eighteen-term estimate at x=6x=6 gives Pr⁡(X>6)=9.86588×10−10\Pr(X>6) = 9.86588\times10^{-10}, correct to the figures shown. The same series is the standard large-argument representation of the complementary error function; see Error function and incomplete Gamma function and Watson's lemma, where it is derived again in one line.

Where else these series come from. Almost every closed-form answer a physicist uses in a limiting regime is an asymptotic expansion in this sense and not a convergent one:

In all of these the practical questions are the ones this unit answers: how many terms to keep, what error to quote, and what the series cannot tell you however many terms are computed.

Theorem

Euler-Maclaurin summation

Adapted

Turns a sum over integers into an integral plus a short, explicitly bounded series of boundary derivative terms built from the Bernoulli numbers, so that a slowly convergent series can be evaluated to eight figures from a handful of terms.

Prerequisites: Taylor's theorem, Convergence tests for series, Asymptotic series, Fourier series

Definition(Bernoulli numbers and Bernoulli polynomials)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.2, Eqs. (12.28), (12.42), (12.45), (12.47), pp. 560-566; Stein & Shakarchi (2003), Ch. 3, Problem 5, pp. 98-99

The Bernoulli numbers BnB_n and Bernoulli polynomials Bn(x)B_n(x) are the coefficients in the two generating functions

tet−1  =  ∑n=0∞Bn tnn!,t extet−1  =  ∑n=0∞Bn(x) tnn!,\frac{t}{e^{t}-1} \;=\; \sum_{n=0}^{\infty} B_n\,\frac{t^{n}}{n!} , \qquad \frac{t\,e^{xt}}{e^{t}-1} \;=\; \sum_{n=0}^{\infty} B_n(x)\,\frac{t^{n}}{n!} ,

both valid for 0<∣t∣<2π0 < |t| < 2\pi, the radius of convergence being set by the zeros of et−1e^{t}-1 nearest the origin at t=±2πit = \pm 2\pi i. Setting x=0x = 0 in the second gives Bn(0)=BnB_n(0) = B_n. The first few are

B0=1,B1=−12,B2=16,B4=−130,B6=142,B8=−130,B10=566,B_0 = 1,\quad B_1 = -\tfrac12,\quad B_2 = \tfrac16,\quad B_4 = -\tfrac1{30},\quad B_6 = \tfrac1{42},\quad B_8 = -\tfrac1{30},\quad B_{10} = \tfrac5{66},B0(x)=1,B1(x)=x−12,B2(x)=x2−x+16,B3(x)=x3−32x2+12x.B_0(x) = 1,\quad B_1(x) = x - \tfrac12,\quad B_2(x) = x^{2} - x + \tfrac16,\quad B_3(x) = x^{3} - \tfrac32x^{2} + \tfrac12 x .

Three properties are all the proof below needs. Stein and Shakarchi show that they characterise the family.

  • (B1) Derivative. Bn′(x)=n Bn−1(x)B_n'(x) = n\,B_{n-1}(x) for n≥1n \ge 1.
  • (B2) Endpoints. Bn(1)=(−1)nBn(0)B_n(1) = (-1)^{n}B_n(0); hence Bn(1)=Bn(0)=BnB_n(1) = B_n(0) = B_n for every even nn, and Bn(1)=Bn(0)=Bn=0B_n(1) = B_n(0) = B_n = 0 for every odd n≥3n \ge 3. The exception is n=1n = 1: B1(0)=−12B_1(0) = -\tfrac12 and B1(1)=+12B_1(1) = +\tfrac12.
  • (B3) Mean zero. ∫01Bn(x) dx=0\int_0^{1}B_n(x)\,dx = 0 for n≥1n \ge 1. This follows from (B1) and (B2): the integral equals (Bn+1(1)−Bn+1(0))/(n+1)\bigl(B_{n+1}(1)-B_{n+1}(0)\bigr)/(n+1), and n+1≥2n + 1 \ge 2.

For (B1), differentiate the second generating function with respect to xx: the left side becomes tt times itself, which shifts the index by one. For (B2), replace tt by −t-t in the first generating function and use −t/(e−t−1)=tet/(et−1)-t/(e^{-t}-1) = t e^{t}/(e^{t}-1), which is the second one at x=1x = 1.

A warning about conventions. Ahlfors writes the Laurent development of (ez−1)−1(e^{z}-1)^{-1} with coefficients BkB_k that are all positive and carry half our index: his BkB_k is (−1)k−1(-1)^{k-1} times our B2kB_{2k} (Ahlfors (1979), Ch. 5, §1.3, Ex. 4, p. 186). Arfken notes that a third convention, Bn=2(2n)!ζ(2n)/(2π)2nB_n = 2(2n)!\zeta(2n)/(2\pi)^{2n} with halved index and all signs positive, is also in use (Arfken, Weber & Harris (2013), Eq. (12.39), p. 564). Everything in this handbook uses the convention displayed above, in which B1=−1/2B_1 = -1/2 and the signs of B2nB_{2n} alternate. Formulas lifted from a book must be checked against its own definition before being combined with ours. The arithmetic properties of these numbers, and the closed form of ζ(2n)\zeta(2n) they produce, are collected in Riemann zeta function and Bernoulli numbers.

Definition(The periodic Bernoulli functions)Original

For k≥1k \ge 1 let

B~k(x)  =  Bk(x−⌊x⌋)(x∈R),\widetilde B_k(x) \;=\; B_k\bigl(x - \lfloor x \rfloor\bigr) \qquad (x \in \mathbb{R}) ,

the 11-periodic extension of BkB_k restricted to [0,1)[0,1). By (B2), Bk(1)=Bk(0)B_k(1) = B_k(0) for every k≥2k \ge 2, so B~k\widetilde B_k is continuous for k≥2k \ge 2; B~1\widetilde B_1 is the sawtooth x−⌊x⌋−12x - \lfloor x\rfloor - \tfrac12, which jumps at the integers. On [0,1)[0,1) we have B~k=Bk\widetilde B_k = B_k, so B~k(m)=Bk\widetilde B_k(m) = B_k at every integer mm.

Theorem(Euler-Maclaurin summation formula)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.3, Eqs. (12.56)-(12.57), pp. 568-569

Let a<ba < b be integers, let q≥1q \ge 1, and let f∈C2q([a,b])f \in C^{2q}\bigl([a,b]\bigr). Then

∑j=abf(j)  =  ∫abf(x) dx  +  f(a)+f(b)2  +  ∑p=1qB2p(2p)![f(2p−1)(b)−f(2p−1)(a)]  +  Rq,\sum_{j=a}^{b} f(j) \;=\; \int_a^{b} f(x)\,dx \;+\; \frac{f(a)+f(b)}{2} \;+\; \sum_{p=1}^{q} \frac{B_{2p}}{(2p)!}\Bigl[f^{(2p-1)}(b) - f^{(2p-1)}(a)\Bigr] \;+\; R_q ,

with the remainder given exactly by

Rq  =  −1(2q)!∫abB~2q(x) f(2q)(x) dxand∣Rq∣  ≤  ∣B2q∣(2q)!∫ab∣f(2q)(x)∣ dx.R_q \;=\; -\frac{1}{(2q)!}\int_a^{b} \widetilde B_{2q}(x)\,f^{(2q)}(x)\,dx \qquad\text{and}\qquad |R_q| \;\le\; \frac{|B_{2q}|}{(2q)!}\int_a^{b}\bigl|f^{(2q)}(x)\bigr|\,dx .

Only even-index Bernoulli numbers occur: the odd ones from B3B_3 on vanish, and the single surviving odd term, from B1B_1, is the 12(f(a)+f(b))\tfrac12\bigl(f(a)+f(b)\bigr) written separately.

Half-open form. If f∈C2q([a,∞))f \in C^{2q}\bigl([a,\infty)\bigr), if ∫a∞f\int_a^{\infty}f and ∫a∞∣f(2q)∣\int_a^{\infty}|f^{(2q)}| converge, and if f(x)→0f(x) \to 0 and f(2p−1)(x)→0f^{(2p-1)}(x) \to 0 as x→∞x \to \infty for p=1,…,qp = 1,\dots,q, then letting b→∞b \to \infty gives

∑j=a∞f(j)  =  ∫a∞f(x) dx  +  f(a)2  −  ∑p=1qB2p(2p)! f(2p−1)(a)  +  Rq,∣Rq∣≤∣B2q∣(2q)!∫a∞∣f(2q)∣.\sum_{j=a}^{\infty} f(j) \;=\; \int_a^{\infty} f(x)\,dx \;+\; \frac{f(a)}{2} \;-\; \sum_{p=1}^{q} \frac{B_{2p}}{(2p)!}\,f^{(2p-1)}(a) \;+\; R_q , \qquad |R_q| \le \frac{|B_{2q}|}{(2q)!}\int_a^{\infty}\bigl|f^{(2q)}\bigr| .

Arfken writes the formula the other way round, as the integral over [0,n][0,n] expressed through the trapezoidal sum, and reads the pp-sum as the correction to the trapezoidal rule. The two arrangements differ only by moving terms across the equals sign.

Idea of the proofOriginal

Integrating by parts turns ∫01f\int_0^1 f into boundary values minus ∫01f′\int_0^1 f' — and the freedom in choosing the antiderivative of 11 is exactly where the Bernoulli polynomials come in. Take the antiderivative B1(x)=x−12B_1(x) = x - \tfrac12, chosen to be odd about the midpoint; its boundary values ∓12\mp\tfrac12 assemble the trapezoidal average 12(f(0)+f(1))\tfrac12(f(0)+f(1)). Repeat: B1B_1 has antiderivative B2/2B_2/2, whose boundary values are equal by (B2), so the boundary term collapses to B2[f′(1)−f′(0)]/2B_2\bigl[f'(1)-f'(0)\bigr]/2. Repeat again: B2B_2 has antiderivative B3/3B_3/3, which vanishes at both ends, so that step produces no boundary term at all. That alternation — one boundary term, then none, then one, then none — is why only even-index Bernoulli numbers appear, and it lets the two steps be bundled into a single induction from qq to q+1q+1. Finally, the one-interval identity is applied to each of [a,a+1],…,[b−1,b][a,a+1], \dots, [b-1,b] and the results added: the half-weights at interior nodes combine into full weights, the derivative terms telescope to the two endpoints, and the leftover integrals glue into one integral against the periodised Bernoulli function.

ProofAdaptedAdapted from Arfken, Weber & Harris (2013), §12.3, Eqs. (12.48)-(12.57), pp. 567-569

Step 1 (the unit interval, q=1q = 1). Let g∈C2([0,1])g \in C^{2}([0,1]). Since B1′=B0=1B_1' = B_0 = 1 by (B1),

∫01g  =  ∫01g B1′  =  [gB1]01−∫01g′B1  =  12(g(0)+g(1))−∫01g′B1,\int_0^{1} g \;=\; \int_0^{1} g\,B_1' \;=\; \bigl[g B_1\bigr]_0^{1} - \int_0^{1} g'B_1 \;=\; \tfrac12\bigl(g(0)+g(1)\bigr) - \int_0^{1} g'B_1 ,

using B1(1)=12B_1(1) = \tfrac12, B1(0)=−12B_1(0) = -\tfrac12 from (B2). Now B1=B2′/2B_1 = B_2'/2 by (B1), and B2(1)=B2(0)=B2B_2(1) = B_2(0) = B_2 by (B2), so

∫01g′B1  =  12∫01g′B2′  =  12B2[g′(1)−g′(0)]−12∫01g′′B2.\int_0^{1} g'B_1 \;=\; \tfrac12\int_0^{1} g'B_2' \;=\; \tfrac12 B_2\bigl[g'(1)-g'(0)\bigr] - \tfrac12\int_0^{1}g''B_2 .

Combining,

∫01g  =  12(g(0)+g(1))−B22![g′(1)−g′(0)]+12!∫01B2 g′′.(∗1)\int_0^{1} g \;=\; \tfrac12\bigl(g(0)+g(1)\bigr) - \frac{B_2}{2!}\bigl[g'(1)-g'(0)\bigr] + \frac{1}{2!}\int_0^{1}B_2\,g'' . \tag{$\ast_1$}

Step 2 (induction on qq). Suppose that for some q≥1q \ge 1 and all g∈C2q([0,1])g \in C^{2q}([0,1])

∫01g  =  12(g(0)+g(1))−∑p=1qB2p(2p)![g(2p−1)(1)−g(2p−1)(0)]+1(2q)!∫01B2q g(2q).(∗q)\int_0^{1} g \;=\; \tfrac12\bigl(g(0)+g(1)\bigr) - \sum_{p=1}^{q}\frac{B_{2p}}{(2p)!}\bigl[g^{(2p-1)}(1)-g^{(2p-1)}(0)\bigr] + \frac{1}{(2q)!}\int_0^{1}B_{2q}\,g^{(2q)} . \tag{$\ast_q$}

Let g∈C2q+2([0,1])g \in C^{2q+2}([0,1]) and transform the last integral in two integrations by parts. First, B2q=B2q+1′/(2q+1)B_{2q} = B_{2q+1}'/(2q+1) by (B1), and B2q+1(1)=B2q+1(0)=0B_{2q+1}(1) = B_{2q+1}(0) = 0 by (B2) because 2q+1≥32q+1 \ge 3 is odd; so the boundary term vanishes and

1(2q)!∫01B2qg(2q)  =  1(2q+1)!∫01B2q+1′ g(2q)  =  −1(2q+1)!∫01B2q+1 g(2q+1).\frac{1}{(2q)!}\int_0^{1}B_{2q}g^{(2q)} \;=\; \frac{1}{(2q+1)!}\int_0^{1}B_{2q+1}'\,g^{(2q)} \;=\; -\frac{1}{(2q+1)!}\int_0^{1}B_{2q+1}\,g^{(2q+1)} .

Second, B2q+1=B2q+2′/(2q+2)B_{2q+1} = B_{2q+2}'/(2q+2) by (B1), and now B2q+2(1)=B2q+2(0)=B2q+2B_{2q+2}(1) = B_{2q+2}(0) = B_{2q+2} by (B2) because the index is even; so

−1(2q+1)!∫01B2q+1g(2q+1)=−B2q+2(2q+2)![g(2q+1)(1)−g(2q+1)(0)]+1(2q+2)!∫01B2q+2 g(2q+2).-\frac{1}{(2q+1)!}\int_0^{1}B_{2q+1}g^{(2q+1)} = -\frac{B_{2q+2}}{(2q+2)!}\bigl[g^{(2q+1)}(1)-g^{(2q+1)}(0)\bigr] + \frac{1}{(2q+2)!}\int_0^{1}B_{2q+2}\,g^{(2q+2)} .

Substituting into (∗q)(\ast_q) gives (∗q+1)(\ast_{q+1}). With (∗1)(\ast_1) from Step 1, (∗q)(\ast_q) holds for every q≥1q \ge 1.

Step 3 (add the intervals). Fix qq and f∈C2q([a,b])f \in C^{2q}([a,b]). For each integer ν\nu with a≤ν≤b−1a \le \nu \le b-1 apply (∗q)(\ast_q) to g(x)=f(x+ν)g(x) = f(x+\nu), whose derivatives are g(k)(x)=f(k)(x+ν)g^{(k)}(x) = f^{(k)}(x+\nu), and sum over ν\nu:

  • ∑ν∫01f(x+ν) dx=∫abf\sum_{\nu} \int_0^{1} f(x+\nu)\,dx = \int_a^{b} f, by the change of variable x↦x−νx \mapsto x - \nu on each piece.
  • ∑ν12(f(ν)+f(ν+1))=∑j=abf(j)−12(f(a)+f(b))\sum_{\nu} \tfrac12\bigl(f(\nu)+f(\nu+1)\bigr) = \sum_{j=a}^{b}f(j) - \tfrac12\bigl(f(a)+f(b)\bigr): each interior node is counted with weight 12\tfrac12 twice, the two end nodes once.
  • ∑ν[f(2p−1)(ν+1)−f(2p−1)(ν)]=f(2p−1)(b)−f(2p−1)(a)\sum_{\nu}\bigl[f^{(2p-1)}(\nu+1)-f^{(2p-1)}(\nu)\bigr] = f^{(2p-1)}(b)-f^{(2p-1)}(a), a telescoping sum.
  • ∑ν∫01B2q(x)f(2q)(x+ν) dx=∫abB~2q(x)f(2q)(x) dx\sum_{\nu}\int_0^{1}B_{2q}(x)f^{(2q)}(x+\nu)\,dx = \int_a^{b}\widetilde B_{2q}(x)f^{(2q)}(x)\,dx, because on [ν,ν+1)[\nu,\nu+1) the periodised function B~2q\widetilde B_{2q} is B2q(x−ν)B_{2q}(x-\nu).

The result is

∫abf  =  ∑j=abf(j)−12(f(a)+f(b))−∑p=1qB2p(2p)![f(2p−1)(b)−f(2p−1)(a)]+1(2q)!∫abB~2qf(2q),\int_a^{b}f \;=\; \sum_{j=a}^{b}f(j) - \tfrac12\bigl(f(a)+f(b)\bigr) - \sum_{p=1}^{q}\frac{B_{2p}}{(2p)!}\bigl[f^{(2p-1)}(b)-f^{(2p-1)}(a)\bigr] + \frac{1}{(2q)!}\int_a^{b}\widetilde B_{2q}f^{(2q)} ,

and solving for ∑j=abf(j)\sum_{j=a}^{b}f(j) is the statement, with Rq=−1(2q)!∫abB~2qf(2q)R_q = -\frac{1}{(2q)!}\int_a^{b}\widetilde B_{2q}f^{(2q)}.

Step 4 (the bound). By the note below, ∣B~2q(x)∣≤∣B2q∣|\widetilde B_{2q}(x)| \le |B_{2q}| for all xx. Hence

∣Rq∣  ≤  1(2q)!∫ab∣B~2q(x)∣ ∣f(2q)(x)∣ dx  ≤  ∣B2q∣(2q)!∫ab∣f(2q)∣.|R_q| \;\le\; \frac{1}{(2q)!}\int_a^{b}\bigl|\widetilde B_{2q}(x)\bigr|\,\bigl|f^{(2q)}(x)\bigr|\,dx \;\le\; \frac{|B_{2q}|}{(2q)!}\int_a^{b}\bigl|f^{(2q)}\bigr| .

Step 5 (the half-open form). Let b→∞b \to \infty through the integers. The three limits assumed in the statement dispose of f(b)f(b) and of f(2p−1)(b)f^{(2p-1)}(b), the integral ∫abf\int_a^b f converges by assumption, and the remainder converges because ∫a∞∣f(2q)∣\int_a^{\infty}|f^{(2q)}| does, with the same bound. □\square

Note(Why ∣B~2q∣≤∣B2q∣|\widetilde B_{2q}| \le |B_{2q}|)Original

Let k≥1k \ge 1 and let cj=∫01Bk(x)e−2πijxdxc_j = \int_0^{1}B_k(x)e^{-2\pi ijx}dx be the Fourier coefficients of the 11-periodic function B~k\widetilde B_k (see Fourier series). By (B3), c0=0c_0 = 0. For k=1k = 1, integration by parts gives

cj  =  ∫01(x−12)e−2πijxdx  =  −12πij(j≠0).c_j \;=\; \int_0^{1}\bigl(x-\tfrac12\bigr)e^{-2\pi ijx}dx \;=\; -\frac{1}{2\pi i j} \qquad (j \neq 0) .

For k≥2k \ge 2, integrating by parts and using Bk′=kBk−1B_k' = kB_{k-1} together with Bk(1)=Bk(0)B_k(1) = B_k(0) kills the boundary term and leaves cj(Bk)=k2πij cj(Bk−1)c_j(B_k) = \frac{k}{2\pi i j}\,c_j(B_{k-1}). By induction,

cj(Bk)  =  −k!(2πij)k(j≠0, k≥1).c_j(B_k) \;=\; -\frac{k!}{(2\pi i j)^{k}} \qquad (j \neq 0,\ k \ge 1) .

For k≥2k \ge 2 these coefficients are O(∣j∣−2)O(|j|^{-2}), so the Fourier series converges absolutely and uniformly; its sum is continuous and has the same coefficients as the continuous function B~k\widetilde B_k, so the two agree:

B~k(x)  =  −k!∑j≠0e2πijx(2πij)k(k≥2).\widetilde B_k(x) \;=\; -k!\sum_{j \neq 0}\frac{e^{2\pi ijx}}{(2\pi ij)^{k}} \qquad (k \ge 2) .

Taking absolute values with k=2qk = 2q and using ∣(2πij)2q∣=(2π∣j∣)2q|(2\pi ij)^{2q}| = (2\pi|j|)^{2q},

∣B~2q(x)∣  ≤  (2q)!(2π)2q∑j≠01∣j∣2q  =  2 (2q)! ζ(2q)(2π)2q  =  ∣B2q∣,\bigl|\widetilde B_{2q}(x)\bigr| \;\le\; \frac{(2q)!}{(2\pi)^{2q}}\sum_{j\neq0}\frac{1}{|j|^{2q}} \;=\; \frac{2\,(2q)!\,\zeta(2q)}{(2\pi)^{2q}} \;=\; \bigl|B_{2q}\bigr| ,

the last equality being Arfken's closed form B2q=(−1)q+12(2q)!ζ(2q)/(2π)2qB_{2q} = (-1)^{q+1}2(2q)!\zeta(2q)/(2\pi)^{2q} (Arfken, Weber & Harris (2013), Eq. (12.38), p. 564). The bound is attained at x=0x = 0, where B~2q=B2q\widetilde B_{2q} = B_{2q}, so it is sharp.

Remark(Where the hypotheses are used, and why the formula is asymptotic)Original
  • Integer endpoints. Step 3 adds whole unit intervals. With non-integer aa or bb the telescoping fails and extra fractional-interval terms appear; the formula as stated is simply false, as f≡1f \equiv 1 on [0,12][0, \tfrac12] already shows.
  • f∈C2qf \in C^{2q}, and nothing more. The proof integrates by parts 2q2q times and never differentiates beyond that order, so 2q2q continuous derivatives is exactly what is needed for the formula at that qq. A function with few derivatives still gets a valid formula at small qq.
  • The bound needs f(2q)f^{(2q)} integrable, not small. No smallness of the derivatives is assumed anywhere; the quality of the result is decided afterwards, by how large ∫∣f(2q)∣\int|f^{(2q)}| turns out to be.
  • Increasing qq usually makes things worse eventually. Nothing in the theorem says Rq→0R_q \to 0 as q→∞q \to \infty at fixed a,b,fa,b,f, and Arfken records that in applications the remainder integral, though small, generally does not tend to zero (Arfken, Weber & Harris (2013), p. 569). The reason is visible in the bound: ∣B2q∣/(2q)!=2ζ(2q)/(2π)2q|B_{2q}|/(2q)! = 2\zeta(2q)/(2\pi)^{2q} shrinks like (2π)−2q(2\pi)^{-2q}, but ∫∣f(2q)∣\int|f^{(2q)}| normally grows faster, like (2q)!(2q)! divided by a fixed power. The qq-expansion is therefore an asymptotic series in the strict sense, and the optimal-truncation rule of that unit applies: stop at the smallest correction term.
  • When it is exact. If ff is a polynomial of degree dd, then f(2q)≡0f^{(2q)} \equiv 0 for 2q>d2q > d and the formula is an identity with no remainder. Taking f(x)=x2f(x) = x^{2}, a=0a = 0, b=Nb = N, q=1q = 1 gives ∑j=0Nj2=N3/3+N2/2+N/6\sum_{j=0}^{N}j^{2} = N^{3}/3 + N^{2}/2 + N/6, which is N(N+1)(2N+1)/6N(N+1)(2N+1)/6: the classical closed forms for power sums are the degenerate case.
  • What goes wrong with a rapidly oscillating summand. Take f(x)=cos⁡(ωx)f(x) = \cos(\omega x) on [a,b][a,b]. Then ∣f(2p−1)∣≤ω2p−1|f^{(2p-1)}| \le \omega^{2p-1} and ∣B2p∣/(2p)!=2ζ(2p)/(2π)2p|B_{2p}|/(2p)! = 2\zeta(2p)/(2\pi)^{2p}, so a correction term is of size at most (2/ω)(ω/2π)2p(2/\omega)(\omega/2\pi)^{2p} and the remainder bound is of size (b−a) ω (ω/2π)2q(b-a)\,\omega\,(\omega/2\pi)^{2q} at worst. For ω<2π\omega < 2\pi both shrink geometrically and the formula is excellent; for ω>2π\omega > 2\pi both grow with pp and qq from the first term on, and no truncation is useful. The threshold ω=2π\omega = 2\pi is exactly the radius of convergence of the generating function that defines the BnB_n, and it is the statement that the summand must be resolved by the integer grid: one sample per period is not enough. Euler-Maclaurin is a tool for summands that vary slowly from one integer to the next.
Method(Summing a slowly convergent series)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.3, Example 12.3.1 and Table 12.4, pp. 569-570

To evaluate S=∑n=1∞f(n)S = \sum_{n=1}^{\infty} f(n) for a smooth, eventually monotone ff decaying too slowly for direct summation:

  1. Split the series. Choose a cut NN and write S=∑n=1N−1f(n)+∑n=N∞f(n)S = \sum_{n=1}^{N-1}f(n) + \sum_{n=N}^{\infty}f(n). The first part is evaluated exactly, term by term.
  2. Check the limits. Confirm that ∫N∞f\int_N^{\infty}f converges and that ff and the odd derivatives f′,f′′′,…,f(2q−1)f',f''',\dots,f^{(2q-1)} tend to 00 at infinity, so the half-open form applies.
  3. Apply the formula to the tail only. Add ∫N∞f+12f(N)\int_N^{\infty}f + \tfrac12 f(N) and then the corrections −B2pf(2p−1)(N)/(2p)!-B_{2p}f^{(2p-1)}(N)/(2p)! for p=1,2,…p = 1,2,\dots
  4. Bound the error before deciding where to stop. Compute ∣B2q∣(2q)!∫N∞∣f(2q)∣\frac{|B_{2q}|}{(2q)!}\int_N^{\infty}|f^{(2q)}|. If f(2q)f^{(2q)} has constant sign on [N,∞)[N,\infty) — the usual case for a monotone decaying ff — this integral is just ∣f(2q−1)(N)∣|f^{(2q-1)}(N)|, so the bound equals the magnitude of the last correction term retained. The error is then never worse than the last term kept.
  5. Choose NN and qq together. Raising NN costs one evaluation of ff per step and shrinks every correction; raising qq costs one derivative and helps only while the terms are still falling. Arfken's table makes the first point vividly: moving the cut from N=1N = 1 to N=4N = 4 took his estimate of ζ(3)\zeta(3) from 1.16671.1667 to 1.2020571.202057 against a true value of 1.2020571.202057, that is from one correct figure to seven.
  6. Stop when the terms stop falling. The corrections form an asymptotic series in 1/N1/N; truncate at the smallest one, as in Asymptotic series.
Example(ζ(3/2)\zeta(3/2) to eight figures from four terms and three corrections)Original

The series ∑n≥1n−3/2\sum_{n\ge1}n^{-3/2} converges, but hopelessly slowly: its tail beyond NN is about 2N−1/22N^{-1/2}, so eight-figure accuracy by direct summation would need some 4×10164\times10^{16} terms. Euler-Maclaurin does it with seven numbers.

Set-up. Take f(x)=x−sf(x) = x^{-s} with s=32s = \tfrac32, and cut at N=5N = 5. All the derivatives are available in closed form:

f(k)(x)  =  (−1)k (s)k x−s−k,(s)k:=s(s+1)⋯(s+k−1),f^{(k)}(x) \;=\; (-1)^{k}\,(s)_k\,x^{-s-k} , \qquad (s)_k := s(s+1)\cdots(s+k-1) ,

so ff and every derivative tend to 00 at infinity and ∫5∞x−3/2dx=2⋅5−1/2\int_5^{\infty}x^{-3/2}dx = 2\cdot5^{-1/2} converges: step 2 of the method is satisfied for every qq. The half-open formula gives, for the tail,

∑n=5∞n−s  =  N1−ss−1  +  N−s2  +  ∑p=1qB2p(2p)! (s)2p−1 N−s−2p+1  +  Rq,\sum_{n=5}^{\infty} n^{-s} \;=\; \frac{N^{1-s}}{s-1} \;+\; \frac{N^{-s}}{2} \;+\; \sum_{p=1}^{q}\frac{B_{2p}}{(2p)!}\,(s)_{2p-1}\,N^{-s-2p+1} \;+\; R_q ,

the sign of the correction terms having flipped because f(2p−1)(N)=−(s)2p−1N−s−2p+1f^{(2p-1)}(N) = -(s)_{2p-1}N^{-s-2p+1} is negative.

The error bound. Since f(2q)(x)=(s)2qx−s−2q>0f^{(2q)}(x) = (s)_{2q}x^{-s-2q} > 0 keeps one sign,

∫N∞∣f(2q)∣  =  (s)2qs+2q−1 N−s−2q+1  =  (s)2q−1N−s−2q+1,\int_N^{\infty}\bigl|f^{(2q)}\bigr| \;=\; \frac{(s)_{2q}}{s+2q-1}\,N^{-s-2q+1} \;=\; (s)_{2q-1}N^{-s-2q+1} ,

so ∣Rq∣≤∣B2q∣(2q)!(s)2q−1N−s−2q+1|R_q| \le \frac{|B_{2q}|}{(2q)!}(s)_{2q-1}N^{-s-2q+1}, which is exactly the magnitude of the p=qp = q correction term. This is the situation described in step 4: the error is bounded by the last term kept.

The arithmetic. With s=3/2s = 3/2, N=5N = 5, and B2=1/6B_2 = 1/6, B4=−1/30B_4 = -1/30, B6=1/42B_6 = 1/42:

contribution value
∑n=14n−3/2\sum_{n=1}^{4} n^{-3/2} 1.671003480321.67100348032
∫5∞x−3/2dx=2/5\int_5^{\infty}x^{-3/2}dx = 2/\sqrt5 0.894427191000.89442719100
12⋅5−3/2\tfrac12\cdot 5^{-3/2} 0.044721359550.04472135955
p=1p=1: B22! s 5−5/2=s12⋅55/2\dfrac{B_2}{2!}\,s\,5^{-5/2} = \dfrac{s}{12\cdot 5^{5/2}} +0.00223606798+0.00223606798
p=2p=2: −(s)3720⋅59/2-\dfrac{(s)_3}{720\cdot 5^{9/2}} −0.00001304373-0.00001304373
p=3p=3: +(s)530240⋅513/2+\dfrac{(s)_5}{30240\cdot 5^{13/2}} +0.00000030746+0.00000030746

Running totals: after the first three rows, 2.610152030872.61015203087; after p=1p=1, 2.612388098852.61238809885; after p=2p=2, 2.612375055122.61237505512; after p=3p=3,

ζ(3/2)  ≈  2.61237536258,∣R3∣  ≤  3.1×10−7.\zeta(3/2) \;\approx\; 2.61237536258 , \qquad |R_3| \;\le\; 3.1\times10^{-7} .

The true value is ζ(3/2)=2.61237534869\zeta(3/2) = 2.61237534869, so the actual error is +1.4×10−8+1.4\times10^{-8}, comfortably inside the guaranteed bound and about an order of magnitude better than it. The corrections are still falling at p=3p = 3 — the ratio of successive ones is about 1/401/40 here — so a fourth would help; that is the optimal-truncation test of step 6, applied in the direction of "keep going".

Reading the table. The whole calculation used four exact terms of the series, one elementary integral, and three derivative corrections at the single point x=5x = 5. Against 4×10164\times10^{16} terms of direct summation, that is the point of the formula.

Application(Bose-Einstein condensation, lattice sums and Romberg extrapolation)Original

The condensation temperature of an ideal Bose gas. For a non-interacting gas of bosons of mass mm in a box, the number of particles in excited states at temperature TT and zero chemical potential is obtained by summing the Bose occupation numbers over momentum states. Replacing the sum by an integral — the leading Euler-Maclaurin term, legitimate because the level spacing is tiny compared with kBTk_BT — gives the density

nexc  =  gλT3 ζ(3/2),λT=h2πmkBT,n_{\text{exc}} \;=\; \frac{g}{\lambda_T^{3}}\,\zeta(3/2) , \qquad \lambda_T = \frac{h}{\sqrt{2\pi m k_B T}} ,

with gg the spin degeneracy. The gas cannot hold more than this in excited states, so condensation begins when nλT3=g ζ(3/2)n\lambda_T^{3} = g\,\zeta(3/2), that is at

Tc  =  2πℏ2mkB(ng ζ(3/2))2/3.T_c \;=\; \frac{2\pi\hbar^{2}}{m k_B}\left(\frac{n}{g\,\zeta(3/2)}\right)^{2/3} .

The number computed in the example is the one that appears here. For spin-polarised 87Rb{}^{87}\mathrm{Rb} (m=1.4432×10−25 kgm = 1.4432\times10^{-25}\,\mathrm{kg}, g=1g = 1) at a typical trapped density n=1×1014 cm−3=1×1020 m−3n = 1\times10^{14}\,\mathrm{cm^{-3}} = 1\times10^{20}\,\mathrm{m^{-3}},

Tc  =  3.98×10−7 K  ≈  398 nK,T_c \;=\; 3.98\times10^{-7}\,\mathrm{K} \;\approx\; 398\ \mathrm{nK} ,

in the few-hundred-nanokelvin range where these experiments are done. The corrections in the example matter too: for a gas in a finite box the discreteness of the levels is exactly the difference between the sum and the integral, and the 12f(N)\tfrac12 f(N) and derivative terms are the leading finite-size shifts of TcT_c.

Lattice sums. The same split — exact summation over a core of near neighbours, Euler-Maclaurin for the tail — is the standard way to evaluate slowly convergent lattice sums in solid-state physics, such as Madelung constants and dispersion-energy sums ∑∣R∣−6\sum |\mathbf{R}|^{-6} over a Bravais lattice, where direct summation converges far too slowly to be useful.

Quadrature. Read in Arfken's direction, the formula says that the trapezoidal rule's error on a smooth integrand is a series in even powers of the step hh with coefficients built from boundary derivatives (Arfken, Weber & Harris (2013), Eq. (12.57), p. 569). Two consequences are standard in numerical analysis: the error expansion in h2h^{2} is what Richardson extrapolation eliminates order by order, giving the Romberg scheme (Numerical quadrature); and for a periodic integrand integrated over a whole period, every boundary derivative term cancels, so the trapezoidal rule converges faster than any power of hh — the reason spectral methods use equally spaced quadrature on periodic domains (Spectral methods).

Stirling's series. Applying the formula to f(x)=ln⁡xf(x) = \ln x turns ln⁡n!=∑j=1nln⁡j\ln n! = \sum_{j=1}^{n}\ln j into nln⁡n−nn\ln n - n plus boundary terms and an asymptotic series in 1/n1/n with Bernoulli coefficients; see Stirling's formula, where the constant 12ln⁡(2π)\tfrac12\ln(2\pi) that Euler-Maclaurin leaves undetermined is pinned down by other means.

Theorem

Watson's lemma

Adapted

Shows that the large-parameter behaviour of a Laplace-type integral is fixed entirely by the behaviour of its integrand at the endpoint, so that expanding the integrand near the origin and replacing each power by a Gamma function produces, term for term, a valid asymptotic expansion.

Prerequisites: Asymptotic series, The Gamma function, Power series

Definition(Laplace-type integral and its abscissa of convergence)AdaptedAdapted from Arfken, Weber & Harris (2013), §20.7, Eqs. (20.126)-(20.127), p. 1008; Riley, Hobson & Bence (2006), §13.2, Eq. (13.53), p. 453

A Laplace-type integral is

F(x)  =  ∫0∞e−xtf(t) dt,F(x) \;=\; \int_0^{\infty} e^{-xt} f(t)\,dt ,

with xx a large positive parameter and ff measurable and locally integrable on (0,∞)(0,\infty). Arfken and Riley, Hobson and Bence call FF the Laplace transform of ff; see The Laplace transform.

The function ff is of exponential order if there are constants M≥0M \ge 0, c∈Rc \in \mathbb{R} and T>0T > 0 with

∣f(t)∣  ≤  Mect(t≥T).|f(t)| \;\le\; M e^{ct} \qquad (t \ge T) .

Arfken states this condition in the equivalent form ∣e−ctf(t)∣≤M|e^{-ct}f(t)| \le M and notes that it guarantees convergence for x>cx > c; his standing counterexample is f(t)=et2f(t) = e^{t^{2}}, which satisfies no such bound and has no transform at all. Riley, Hobson and Bence put the same fact as the existence of an abscissa s0s_0 with convergence for x>s0x > s_0 and divergence below it.

The one explicit transform used below is that of a power (Arfken, Weber & Harris (2013), Eq. (20.136), p. 1009):

∫0∞e−xt tμ−1 dt  =  Γ(μ)xμ(x>0, μ>0),\int_0^{\infty} e^{-xt}\,t^{\mu-1}\,dt \;=\; \frac{\Gamma(\mu)}{x^{\mu}} \qquad (x > 0,\ \mu > 0) ,

which is the substitution u=xtu = xt in Euler's integral for Γ\Gamma (The Gamma function). Arfken writes it as L{tn}=Γ(n+1)/sn+1\mathcal{L}\{t^{n}\} = \Gamma(n+1)/s^{n+1} and records that the integral diverges at the origin once the exponent reaches −1-1; that is the restriction μ>0\mu > 0.

Theorem(Watson's lemma)Original

Let λ>0\lambda > 0, let ff be measurable and locally integrable on (0,∞)(0,\infty), and suppose:

  • (W1) Exponential order. There are M≥0M \ge 0, c∈Rc \in \mathbb{R} and T>0T > 0 with ∣f(t)∣≤Mect|f(t)| \le Me^{ct} for t≥Tt \ge T.
  • (W2) An asymptotic expansion at the origin. There are constants a0,a1,a2,…a_0, a_1, a_2, \dots and a δ∈(0,T]\delta \in (0,T] such that for every N≥1N \ge 1 there is a constant CNC_N with ∣f(t)−∑n=0N−1an t n+λ−1∣  ≤  CN t N+λ−1(0<t≤δ).\Bigl| f(t) - \sum_{n=0}^{N-1} a_n\,t^{\,n+\lambda-1} \Bigr| \;\le\; C_N\,t^{\,N+\lambda-1} \qquad (0 < t \le \delta) .

Then F(x)=∫0∞e−xtf(t) dtF(x) = \int_0^{\infty}e^{-xt}f(t)\,dt converges absolutely for every x>cx > c, and

F(x)  ∼  ∑n=0∞an Γ(n+λ)x n+λ(x→+∞),F(x) \;\sim\; \sum_{n=0}^{\infty} a_n\,\frac{\Gamma(n+\lambda)}{x^{\,n+\lambda}} \qquad (x \to +\infty) ,

in the sense of Asymptotic series: for every N≥1N \ge 1 there are KNK_N and xNx_N with

∣F(x)−∑n=0N−1anΓ(n+λ)x n+λ∣  ≤  KNx N+λ(x≥xN).\Bigl| F(x) - \sum_{n=0}^{N-1} a_n\frac{\Gamma(n+\lambda)}{x^{\,n+\lambda}} \Bigr| \;\le\; \frac{K_N}{x^{\,N+\lambda}} \qquad (x \ge x_N) .

In words: expand the integrand near the endpoint and integrate the expansion term by term against e−xte^{-xt} over the whole half-line. No convergence of ∑nantn+λ−1\sum_n a_nt^{n+\lambda-1} is assumed, and none is used.

Idea of the proofOriginal

Because e−xte^{-xt} decays on the scale t∼1/xt \sim 1/x, the integral is deaf to everything except an ever-shrinking neighbourhood of t=0t = 0. Two estimates make this precise and together they are the whole proof. First, whatever happens beyond a fixed δ>0\delta > 0 contributes at most O(e−δx)O(e^{-\delta x}), which is smaller than every power of 1/x1/x and so cannot disturb any order of the expansion. Second, on (0,δ](0,\delta] the integrand may be replaced by the first NN terms of its expansion at the cost of a remainder bounded by CNtN+λ−1C_Nt^{N+\lambda-1}, and that remainder integrates against e−xte^{-xt} to exactly CNΓ(N+λ)x−(N+λ)C_N\Gamma(N+\lambda)x^{-(N+\lambda)} — one order beyond the last term kept. The individual powers then integrate to Gamma functions, up to another exponentially small correction from extending the range from δ\delta to ∞\infty. Nothing is ever summed over nn; the argument is run once for each fixed NN, which is precisely what the Poincare definition asks for.

ProofOriginal

Throughout fix N≥1N \ge 1, write μn=n+λ\mu_n = n+\lambda, and assume x≥x0:=max⁡(c+1,2)x \ge x_0 := \max(c+1, 2).

Step 0 (convergence). Taking N=1N = 1 in (W2) gives ∣f(t)∣≤∣a0∣tλ−1+C1tλ|f(t)| \le |a_0|t^{\lambda-1} + C_1t^{\lambda} on (0,δ](0,\delta], and λ>0\lambda > 0 makes both powers integrable at the origin; ff is locally integrable on [δ,T][\delta,T]; and (W1) gives ∫T∞e−xt∣f∣≤M∫T∞e−(x−c)tdt<∞\int_T^{\infty}e^{-xt}|f| \le M\int_T^{\infty}e^{-(x-c)t}dt < \infty for x>cx > c. So F(x)F(x) converges absolutely for x>cx > c.

Step 1 (everything past δ\delta is beyond all orders). Split at TT and use δ≤T\delta \le T:

∫δTe−xt∣f(t)∣ dt  ≤  e−xδ∫δT∣f∣  =  A e−xδ,\int_{\delta}^{T} e^{-xt}|f(t)|\,dt \;\le\; e^{-x\delta}\int_{\delta}^{T}|f| \;=\; A\,e^{-x\delta} ,∫T∞e−xt∣f(t)∣ dt  ≤  M∫T∞e−(x−c)tdt  =  Me−(x−c)Tx−c  ≤  MecTe−xT  ≤  MecTe−xδ,\int_{T}^{\infty} e^{-xt}|f(t)|\,dt \;\le\; M\int_T^{\infty}e^{-(x-c)t}dt \;=\; \frac{M e^{-(x-c)T}}{x-c} \;\le\; M e^{cT}e^{-xT} \;\le\; Me^{cT}e^{-x\delta} ,

the last two steps using x−c≥1x - c \ge 1 and T≥δT \ge \delta. Hence

∣∫δ∞e−xtf(t) dt∣  ≤  B e−xδ,B:=A+MecT.\Bigl| \int_{\delta}^{\infty} e^{-xt}f(t)\,dt \Bigr| \;\le\; B\,e^{-x\delta} , \qquad B := A + Me^{cT} .

Since xKe−xδ→0x^{K}e^{-x\delta} \to 0 for every KK, this term is O(x−K)O(x^{-K}) for every KK, and in particular O(x−(N+λ))O(x^{-(N+\lambda)}).

Step 2 (the monomials, with the range extended). For μ>0\mu > 0 the substitution u=xtu = xt gives ∫0∞e−xttμ−1dt=Γ(μ)x−μ\int_0^{\infty}e^{-xt}t^{\mu-1}dt = \Gamma(\mu)x^{-\mu}. The piece we must discard is small: for x≥2x \ge 2,

∫δ∞e−xttμ−1dt  =  ∫δ∞e−xt/2 e−xt/2tμ−1dt  ≤  e−xδ/2∫0∞e−xt/2tμ−1dt  =  e−xδ/2 Γ(μ)(2x)μ,\int_{\delta}^{\infty}e^{-xt}t^{\mu-1}dt \;=\; \int_{\delta}^{\infty}e^{-xt/2}\,e^{-xt/2}t^{\mu-1}dt \;\le\; e^{-x\delta/2}\int_0^{\infty}e^{-xt/2}t^{\mu-1}dt \;=\; e^{-x\delta/2}\,\Gamma(\mu)\Bigl(\frac{2}{x}\Bigr)^{\mu} ,

using e−xt/2≤e−xδ/2e^{-xt/2} \le e^{-x\delta/2} on [δ,∞)[\delta,\infty). Therefore, for each nn,

∫0δe−xttμn−1dt  =  Γ(μn)xμn  +  En(x),∣En(x)∣≤Γ(μn)2μne−xδ/2x−μn,\int_0^{\delta} e^{-xt}t^{\mu_n-1}dt \;=\; \frac{\Gamma(\mu_n)}{x^{\mu_n}} \;+\; E_n(x) , \qquad |E_n(x)| \le \Gamma(\mu_n)2^{\mu_n}e^{-x\delta/2}x^{-\mu_n} ,

and En(x)E_n(x), like Step 1, is O(x−K)O(x^{-K}) for every KK.

Step 3 (the remainder of the expansion). Put rN(t)=f(t)−∑n=0N−1antμn−1r_N(t) = f(t) - \sum_{n=0}^{N-1}a_nt^{\mu_n-1}. By (W2), ∣rN(t)∣≤CNtN+λ−1|r_N(t)| \le C_Nt^{N+\lambda-1} on (0,δ](0,\delta], so

∣∫0δe−xtrN(t) dt∣  ≤  CN∫0δe−xttN+λ−1dt  ≤  CN∫0∞e−xttN+λ−1dt  =  CN Γ(N+λ)x N+λ.\Bigl|\int_0^{\delta} e^{-xt}r_N(t)\,dt\Bigr| \;\le\; C_N\int_0^{\delta}e^{-xt}t^{N+\lambda-1}dt \;\le\; C_N\int_0^{\infty}e^{-xt}t^{N+\lambda-1}dt \;=\; \frac{C_N\,\Gamma(N+\lambda)}{x^{\,N+\lambda}} .

This is the only step that uses (W2), and it is where the order of the final error is set.

Step 4 (assemble). Writing F(x)=∫0δ+∫δ∞F(x) = \int_0^{\delta} + \int_{\delta}^{\infty} and, inside the first integral, f=∑n<Nantμn−1+rNf = \sum_{n<N}a_nt^{\mu_n-1} + r_N,

F(x)  =  ∑n=0N−1an(Γ(μn)xμn+En(x))  +  ∫0δe−xtrN(t) dt  +  ∫δ∞e−xtf(t) dt.F(x) \;=\; \sum_{n=0}^{N-1} a_n\Bigl(\frac{\Gamma(\mu_n)}{x^{\mu_n}} + E_n(x)\Bigr) \;+\; \int_0^{\delta}e^{-xt}r_N(t)\,dt \;+\; \int_{\delta}^{\infty}e^{-xt}f(t)\,dt .

By Steps 1-3 the three error contributions are respectively O(x−K)O(x^{-K}) for every KK, at most CNΓ(N+λ)x−(N+λ)C_N\Gamma(N+\lambda)x^{-(N+\lambda)}, and O(x−K)O(x^{-K}) for every KK. Hence

∣F(x)−∑n=0N−1anΓ(μn)xμn∣  ≤  KNx N+λ\Bigl| F(x) - \sum_{n=0}^{N-1} a_n\frac{\Gamma(\mu_n)}{x^{\mu_n}} \Bigr| \;\le\; \frac{K_N}{x^{\,N+\lambda}}

for all xx beyond some xNx_N, with KNK_N built from CNΓ(N+λ)C_N\Gamma(N+\lambda) and the (exponentially small) constants of Steps 1 and 2. As NN was arbitrary, this is the assertion. □\square

Remark(Where the hypotheses are used, and what each one rules out)Original
  • λ>0\lambda > 0 is needed in Steps 2 and 3, where Γ(μ)\Gamma(\mu) is finite only for μ>0\mu > 0. If f(t)∼a0/tf(t) \sim a_0/t at the origin, F(x)F(x) does not exist for any xx: Arfken makes the same point for integer powers, noting that ∫0∞e−sttndt\int_0^{\infty}e^{-st}t^{n}dt diverges at the origin once n≤−1n \le -1 (Arfken, Weber & Harris (2013), p. 1008). The lemma never repairs a divergent integral; it describes one that converges.
  • (W1) is used only in Step 1, to make the far field exponentially small. Dropping it costs everything: for f(t)=et2f(t) = e^{t^{2}} there is no xx for which F(x)F(x) exists (Arfken, Weber & Harris (2013), p. 1008). Note how weak the hypothesis is, though: ff may grow like ecte^{ct} with cc as large as one likes, since the conclusion is a statement about x→∞x \to \infty.
  • (W2) is used only in Step 3. It is an asymptotic hypothesis, not a convergence hypothesis: the series ∑antn+λ−1\sum a_nt^{n+\lambda-1} may diverge for every t>0t > 0, and Step 3 never adds up more than NN of its terms. Replacing (W2) by "ff is analytic near 00" would be a strictly stronger and quite unnecessary assumption.
  • Only the germ of ff at 00 is seen. Alter ff on [δ,∞)[\delta,\infty), keeping (W1): by Step 1 the value of FF changes by O(e−δx)O(e^{-\delta x}), so the whole expansion is unchanged. This is the non-uniqueness built into every asymptotic expansion (Asymptotic series): one expansion, many functions. A corollary worth stating is that no amount of work with the expansion can recover ff away from the origin, or detect a term such as e−δxe^{-\delta x} in FF.
  • The direction matters. The lemma is Abelian: small-tt information about ff yields large-xx information about FF. The converse inference — large-xx behaviour of FF forcing small-tt behaviour of ff — is a Tauberian statement and is false without further hypotheses, again because FF cannot distinguish ff from ff plus something supported away from the origin.
  • General exponents. Nothing in the proof uses that the exponents advance by 11. If (W2) holds in the form ∣f(t)−∑n<Nantαn−1∣≤CNtαN−1\bigl|f(t) - \sum_{n<N}a_nt^{\alpha_n-1}\bigr| \le C_Nt^{\alpha_N-1} with 0<α0<α1<⋯→∞0 < \alpha_0 < \alpha_1 < \cdots \to \infty, the identical argument gives F(x)∼∑nanΓ(αn)x−αnF(x) \sim \sum_n a_n\Gamma(\alpha_n)x^{-\alpha_n}. Expansions in powers of t1/2t^{1/2} or t1/3t^{1/3}, which arise whenever a change of variable has a square-root or cube-root branch, are covered by this.
Method(Using the lemma)Original

Given an integral depending on a large parameter xx:

  1. Bring it to Laplace form. Substitute so that the exponent is −xt-xt with tt running over [0,∞)[0,\infty) (or [0,δ][0,\delta], which by Step 1 of the proof is the same thing up to exponentially small terms), and so that the decay starts at t=0t = 0. If the exponent is xϕ(t)x\phi(t) with ϕ\phi decreasing and ϕ′(0)≠0\phi'(0) \ne 0, the substitution u=ϕ(0)−ϕ(t)u = \phi(0)-\phi(t) does it; if ϕ′\phi' vanishes at the maximum, the right tool is Laplace's method instead.
  2. Check (W1). Verify that the surviving ff grows at most exponentially. Usually it is bounded or algebraically growing, and this is immediate.
  3. Expand ff about t=0t = 0. Pull out the leading power: write f(t)=tλ−1h(t)f(t) = t^{\lambda-1}h(t) with λ>0\lambda > 0 and hh smooth (or analytic) at 00, and expand hh in a Taylor or binomial series. Then an=h(n)(0)/n!a_n = h^{(n)}(0)/n!, and Taylor's theorem with remainder (Taylor's theorem) supplies the constants CNC_N of (W2) at once.
  4. Substitute Gamma functions. Replace each antn+λ−1a_nt^{n+\lambda-1} by anΓ(n+λ)x−(n+λ)a_n\Gamma(n+\lambda)x^{-(n+\lambda)}. Nothing else changes.
  5. Restore any prefactor removed in step 1, such as exϕ(0)e^{x\phi(0)} or a Jacobian constant.
  6. Truncate optimally. The result is an asymptotic series and normally divergent; stop at the smallest term and quote that term as the error (Asymptotic series).
Example(An integral with a half-integer exponent)Original

Take

F(x)  =  ∫0∞e−xtt(1+t) dt(x>0).F(x) \;=\; \int_0^{\infty} \frac{e^{-xt}}{\sqrt{t(1+t)}}\,dt \qquad (x > 0) .

Step 1: hypotheses. Here f(t)=t−1/2(1+t)−1/2f(t) = t^{-1/2}(1+t)^{-1/2} is positive, locally integrable on (0,∞)(0,\infty), and bounded by 11 for t≥1t \ge 1, so (W1) holds with M=1M = 1, c=0c = 0, T=1T = 1. The integral converges for every x>0x > 0.

Step 2: expand at the origin. With λ=12\lambda = \tfrac12, write f(t)=tλ−1h(t)f(t) = t^{\lambda-1}h(t) with h(t)=(1+t)−1/2h(t) = (1+t)^{-1/2}. The binomial series gives

h(t)  =  ∑n≥0(−1/2n)tn,(−1/2n)  =  (−1)n(2n−1)!!2n n!,h(t) \;=\; \sum_{n\ge0}\binom{-1/2}{n}t^{n} , \qquad \binom{-1/2}{n} \;=\; \frac{(-1)^{n}(2n-1)!!}{2^{n}\,n!} ,

convergent for ∣t∣<1|t| < 1; truncating it is Taylor's theorem with remainder, which supplies (W2) on (0,12](0,\tfrac12] with explicit CNC_N. So an=(−1/2n)a_n = \binom{-1/2}{n}.

Step 3: Gamma functions. Using Γ(n+12)=(2n−1)!!π/2n\Gamma(n+\tfrac12) = (2n-1)!!\sqrt{\pi}/2^{n},

an Γ(n+12)  =  (−1)n [(2n−1)!!]2π4n n!,a_n\,\Gamma\bigl(n+\tfrac12\bigr) \;=\; (-1)^{n}\,\frac{\bigl[(2n-1)!!\bigr]^{2}\sqrt{\pi}}{4^{n}\,n!} ,

so Watson's lemma gives

F(x)  ∼  πx  ∑n=0∞(−1)n[(2n−1)!!]24n n!  xn  =  πx(1−14x+932x2−75128x3+⋯ ).F(x) \;\sim\; \sqrt{\frac{\pi}{x}}\;\sum_{n=0}^{\infty} \frac{(-1)^{n}\bigl[(2n-1)!!\bigr]^{2}}{4^{n}\,n!\;x^{n}} \;=\; \sqrt{\frac{\pi}{x}}\Bigl(1 - \frac{1}{4x} + \frac{9}{32x^{2}} - \frac{75}{128x^{3}} + \cdots\Bigr) .

Step 4: an exact value to check against. Substituting t=sinh⁡2vt = \sinh^{2}v, so that t(1+t)=sinh⁡vcosh⁡v\sqrt{t(1+t)} = \sinh v\cosh v and dt=2sinh⁡vcosh⁡v dvdt = 2\sinh v\cosh v\,dv,

F(x)  =  2∫0∞e−xsinh⁡2v dv  =  ex/2∫0∞e−(x/2)cosh⁡w dw  =  ex/2K0 ⁣(x2),F(x) \;=\; 2\int_0^{\infty} e^{-x\sinh^{2}v}\,dv \;=\; e^{x/2}\int_0^{\infty} e^{-(x/2)\cosh w}\,dw \;=\; e^{x/2}K_0\!\left(\frac{x}{2}\right) ,

using sinh⁡2v=(cosh⁡2v−1)/2\sinh^{2}v = (\cosh 2v - 1)/2, the substitution w=2vw = 2v, and the integral representation of the modified Bessel function (Modified Bessel functions). At x=8x = 8 this gives

F(8)  =  e4K0(4)  =  0.609297669257,F(8) \;=\; e^{4}K_0(4) \;=\; 0.609297669257 ,

which agrees with direct numerical quadrature to all figures shown.

Step 5: the series at x=8x = 8. The terms are un=π/8 [(2n−1)!!]2/(4nn! 8n)u_n = \sqrt{\pi/8}\,[(2n-1)!!]^{2}/(4^{n}n!\,8^{n}), with ratio ∣un+1/un∣=(2n+1)2/(32(n+1))|u_{n+1}/u_n| = (2n+1)^{2}/\bigl(32(n+1)\bigr); this is below 11 until n=8n = 8, so the smallest term is u8u_8 and the optimal truncation keeps n=0,…,7n = 0,\dots,7.

NN ∑n<N(−1)nun\sum_{n<N}(-1)^nu_n error
11 0.6266570690.626657069 +1.74×10−2+1.74\times10^{-2}
22 0.6070740350.607074035 −2.22×10−3-2.22\times10^{-3}
33 0.6098278990.609827899 +5.30×10−4+5.30\times10^{-4}
44 0.6091107470.609110747 −1.87×10−4-1.87\times10^{-4}
55 0.6093852820.609385282 +8.76×10−5+8.76\times10^{-5}
66 0.6092462990.609246299 −5.14×10−5-5.14\times10^{-5}
77 0.6093338870.609333887 +3.62×10−5+3.62\times10^{-5}
88 0.6092678050.609267805 −2.99×10−5-2.99\times10^{-5}
99 0.6093258850.609325885 +2.82×10−5+2.82\times10^{-5}
1010 0.6092676030.609267603 −3.01×10−5-3.01\times10^{-5}

The errors alternate in sign and shrink until N=9N = 9, then start to grow: the signature of a divergent asymptotic series. Averaging the two best partial sums,

12(0.609267805+0.609325885)  =  0.609296845,\tfrac12\bigl(0.609267805 + 0.609325885\bigr) \;=\; 0.609296845 ,

against the true 0.6092976690.609297669: a relative error of 1.4×10−61.4\times10^{-6} from nine terms of a series that converges for no value of xx.

Application(Large-argument expansions of special functions, and early-time response)Original

The complementary error function. Watson's lemma is the standard machine for turning an integral representation into a large-argument expansion. Take erfc(x)=2π∫x∞e−s2ds\mathrm{erfc}(x) = \frac{2}{\sqrt{\pi}}\int_x^{\infty}e^{-s^{2}}ds for x>0x > 0 and substitute s2=x2(1+u)s^{2} = x^{2}(1+u), so that s ds=12x2dus\,ds = \tfrac12x^{2}du and s=x1+us = x\sqrt{1+u}:

erfc(x)  =  2π∫0∞e−x2(1+u) x2 du2x1+u  =  x e−x2π∫0∞e−x2u (1+u)−1/2 du.\mathrm{erfc}(x) \;=\; \frac{2}{\sqrt{\pi}}\int_0^{\infty} e^{-x^{2}(1+u)}\,\frac{x^{2}\,du}{2x\sqrt{1+u}} \;=\; \frac{x\,e^{-x^{2}}}{\sqrt{\pi}}\int_0^{\infty} e^{-x^{2}u}\,(1+u)^{-1/2}\,du .

This is a Laplace-type integral with large parameter X=x2X = x^{2}, with λ=1\lambda = 1 and an=(−1/2n)a_n = \binom{-1/2}{n}. Watson's lemma replaces unu^{n} by n! X−n−1n!\,X^{-n-1}, and restoring the prefactor,

erfc(x)  ∼  e−x2xπ∑n=0∞(−1/2n)n!x2n  =  e−x2xπ(1−12x2+34x4−158x6+⋯ ).\mathrm{erfc}(x) \;\sim\; \frac{e^{-x^{2}}}{x\sqrt{\pi}}\sum_{n=0}^{\infty}\binom{-1/2}{n}\frac{n!}{x^{2n}} \;=\; \frac{e^{-x^{2}}}{x\sqrt{\pi}}\left(1 - \frac{1}{2x^{2}} + \frac{3}{4x^{4}} - \frac{15}{8x^{6}} + \cdots\right) .

The coefficients are (−1)n(2n−1)!!/2n(-1)^{n}(2n-1)!!/2^{n}, which is exactly the series Arfken records for 1−erf(x)1 - \mathrm{erf}(x) (Arfken, Weber & Harris (2013), Exercise 12.6.3, p. 584) — a check on the whole calculation. Numerically at x=3x = 3, where erfc(3)=2.20904970×10−5\mathrm{erfc}(3) = 2.20904970\times10^{-5}: the terms of the bracket fall until n=9n = 9 (the ratio of consecutive ones is (2n+1)/(2x2)=(2n+1)/18(2n+1)/(2x^{2}) = (2n+1)/18), and truncating after six of them gives 2.208627×10−52.208627\times10^{-5}, a relative error of 1.9×10−41.9\times10^{-4}. See Error function and incomplete Gamma function.

The same route, with the same three lines, produces the large-argument expansions of the incomplete Gamma function, of the exponential integral, and — after the substitution of the example above — of K0K_0 and the other modified Bessel functions (Asymptotic forms of Bessel functions).

Early-time response from a transform. In linear-response problems one often knows a material function only through its short-time behaviour. If the creep compliance of a viscoelastic solid behaves as J(t)=J0+J1t1/2+J2t+O(t3/2)J(t) = J_0 + J_1t^{1/2} + J_2t + O(t^{3/2}) as t↓0t \downarrow 0 — the half-power being the signature of diffusive relaxation — then Watson's lemma applied to Jˉ(s)=∫0∞e−stJ(t) dt\bar J(s) = \int_0^{\infty}e^{-st}J(t)\,dt gives, with no further information about the material,

sJˉ(s)  =  J0+π2 J1s1/2+J2s+O(s−3/2)(s→∞),s\bar J(s) \;=\; J_0 + \frac{\sqrt{\pi}}{2}\,\frac{J_1}{s^{1/2}} + \frac{J_2}{s} + O\bigl(s^{-3/2}\bigr) \qquad (s \to \infty) ,

using Γ(3/2)=π/2\Gamma(3/2) = \sqrt{\pi}/2. Since the high-frequency modulus is 1/(sJˉ(s))1/\bigl(s\bar J(s)\bigr) at s=iωs = i\omega, the measured high-frequency behaviour determines J0,J1,J2J_0, J_1, J_2 and conversely. The same correspondence — small tt in the solution, large ss in the transform — is what makes Laplace-transform solutions of diffusion problems (The Laplace transform, Causal Green's functions for initial-value problems) easy to read at early times and hard to read at late ones; the late-time end is the Tauberian direction that the remark above warns about.

Method

Laplace's method

Adapted

Gives the leading large-parameter behaviour of an integral of the form ∫g exf\int g\,e^{xf} whose exponent has a single non-degenerate interior maximum, by showing that the integral is controlled by a shrinking neighbourhood of that maximum on which the exponent is a Gaussian.

Prerequisites: Watson's lemma, Gaussian integrals, Taylor's theorem, Asymptotic series

Definition(The set-up)Original

Throughout, −∞≤a<b≤+∞-\infty \le a < b \le +\infty and

I(x)  =  ∫abg(t) e xf(t) dt,I(x) \;=\; \int_a^{b} g(t)\,e^{\,x f(t)}\,dt ,

with f:(a,b)→Rf : (a,b) \to \mathbb{R} real-valued, g:(a,b)→Cg : (a,b) \to \mathbb{C}, and x→+∞x \to +\infty. The exponent is real, so exfe^{xf} is positive and the large-xx competition is purely one of size: the integrand is largest where ff is largest, and raising xx sharpens that preference without moving it.

A point t0∈(a,b)t_0 \in (a,b) is an interior non-degenerate maximum of ff if ff is twice continuously differentiable near t0t_0 with

f′(t0)=0,f′′(t0)<0.f'(t_0) = 0 , \qquad f''(t_0) < 0 .

We write A=∣f′′(t0)∣=−f′′(t0)>0A = |f''(t_0)| = -f''(t_0) > 0 for the curvature of the exponent at the top.

Evans states the method for the equivalent form e−k/εe^{-k/\varepsilon} with ε↓0\varepsilon \downarrow 0, which is the same thing with x=1/εx = 1/\varepsilon and f=−kf = -k. The name under which the method travels is not uniform. Hassani develops it in the complex plane, where method of steepest descent means the deformation of a contour so that it crosses a saddle point of ff along the direction in which Re⁡f\operatorname{Re}f falls fastest. Grimmett and Stirzaker attach the same name, "Laplace's method of steepest descent", to the real-axis statement itself — their Exercise 5.9.6 is about ∫0∞efn(x)dx\int_0^{\infty}e^{f_n(x)}dx for a real differentiable fnf_n, with no contour anywhere in sight. So the two names overlap, and the real case treated here is the one in which no contour has to be moved; The method of steepest descents takes up the complex case.

Method(Laplace's method, leading order)AdaptedAdapted from Hassani (2013), §12.5, Eq. (12.34), p. 385, and Eq. (12.36), p. 387; Grimmett & Stirzaker (2020), Exercise 5.9.6, p. 216

Let t0∈(a,b)t_0 \in (a,b) and suppose:

  • (L1) ff is of class C2C^{2} on a neighbourhood of t0t_0, with f′(t0)=0f'(t_0) = 0 and A:=−f′′(t0)>0A := -f''(t_0) > 0;
  • (L2) gg is continuous at t0t_0, and g(t0)≠0g(t_0) \ne 0;
  • (L3) t0t_0 is the strict global maximum of ff with a gap: for every δ>0\delta > 0, sup⁡{ f(t)  :  t∈(a,b), ∣t−t0∣≥δ }  <  f(t0);\sup\bigl\{\,f(t) \;:\; t \in (a,b),\ |t - t_0| \ge \delta \,\bigr\} \;<\; f(t_0) ;
  • (L4) ∫ab∣g(t)∣ e x0f(t) dt<∞\int_a^{b}|g(t)|\,e^{\,x_0f(t)}\,dt < \infty for some x0>0x_0 > 0.

Then

  I(x)  =  ∫abg(t)e xf(t)dt  ∼  g(t0) e xf(t0) 2πx A(x→+∞).  \boxed{\; I(x) \;=\; \int_a^{b} g(t)e^{\,xf(t)}dt \;\sim\; g(t_0)\,e^{\,xf(t_0)}\,\sqrt{\frac{2\pi}{x\,A}} \qquad (x \to +\infty) . \;}

This is Hassani's steepest-descent formula (12.34) in the case of a real maximum on the real axis, with ∣f′′(z0)∣|f''(z_0)| our AA and his phase θ1\theta_1 equal to 00. That phase records the direction in which the contour leaves the saddle: Hassani writes 12f′′(z0)=r2eiθ2\tfrac12f''(z_0) = r_2e^{i\theta_2} and fixes θ1\theta_1 by 2θ1+θ2∈{π,3π}2\theta_1 + \theta_2 \in \{\pi, 3\pi\} together with the convention 0≤θ1<π0 \le \theta_1 < \pi. Here f′′(t0)=−A<0f''(t_0) = -A < 0, so θ2=π\theta_2 = \pi and the two candidate directions are θ1=0\theta_1 = 0 and θ1=π\theta_1 = \pi; the convention excludes the second, which is why θ1=0\theta_1 = 0 — at a real maximum the descent direction is along the real axis, taken in the direction of increasing tt. The formula is also the precise form of the replacement Grimmett and Stirzaker state "under mild conditions", conditions (L1)-(L4) being one sufficient set.

The correction series. When ff and gg are smooth near t0t_0, the leading term is the first of an asymptotic expansion in integer powers of 1/x1/x,

I(x)  ∼  e xf(t0)2πxA  (c0+c1x+c2x2+⋯ ),c0=g(t0),I(x) \;\sim\; e^{\,xf(t_0)}\sqrt{\frac{2\pi}{xA}}\;\Bigl( c_0 + \frac{c_1}{x} + \frac{c_2}{x^{2}} + \cdots \Bigr) , \qquad c_0 = g(t_0) ,

which is Hassani's series in half-integer powers of the large parameter, specialised to the real axis. The pointer there should be to his corrected form (12.36), p. 387: Hassani first writes the expansion as (12.33), p. 385, then observes on p. 386 that "that infinite sum is in reality inconsistent", because only the first power of tt was kept in the expansion of z(t)z(t) inside g(z) dzg(z)\,dz, and restores consistency by expanding z(t)z(t) as well. The powers α−k−1/2\alpha^{-k-1/2} with coefficients Γ(k+12)\Gamma(k+\tfrac12) are the same in both, so the structure claimed here is unaffected; only the coefficients change. The remark below says where the expansion comes from.

Idea of the proofOriginal

Write the integrand as exf(t0)e^{xf(t_0)} times ex(f(t)−f(t0))e^{x(f(t)-f(t_0))}. The second factor is 11 at t0t_0 and strictly less than 11 elsewhere, and raising xx pushes it towards zero everywhere except at t0t_0. Two things follow. Away from t0t_0 the integrand is smaller than its peak value by a factor e−xηe^{-x\eta} for some fixed η>0\eta > 0, so that region contributes exponentially little. Near t0t_0 Taylor's theorem says f(t)−f(t0)≈−12A(t−t0)2f(t) - f(t_0) \approx -\tfrac12A(t-t_0)^{2}, so the integrand is a Gaussian of width 1/xA1/\sqrt{xA}; as xx grows the Gaussian narrows, the window over which gg is sampled shrinks onto t0t_0, and gg may be replaced by the constant g(t0)g(t_0). What remains is g(t0)exf(t0)∫e−xAu2/2du=g(t0)exf(t0)2π/(xA)g(t_0)e^{xf(t_0)}\int e^{-xA u^{2}/2}du = g(t_0)e^{xf(t_0)}\sqrt{2\pi/(xA)}. The proof is this picture with ε\varepsilon's: a tolerance ε\varepsilon is fixed, a δ\delta is chosen within which gg varies by less than ε\varepsilon and f′′f'' by less than ε\varepsilon, the integral is squeezed between two Gaussians of curvature A±εA \pm \varepsilon, and ε\varepsilon is then sent to zero after xx.

ProofOriginal

Set J(x)=x1/2e−xf(t0)I(x)J(x) = x^{1/2}e^{-xf(t_0)}I(x); the claim is J(x)→g(t0)2π/AJ(x) \to g(t_0)\sqrt{2\pi/A}.

Step 1 (choose δ\delta for a given tolerance). Let 0<ε<A/20 < \varepsilon < A/2. By (L1) f′′f'' is continuous at t0t_0, so there is δ1>0\delta_1 > 0 with ∣f′′(τ)+A∣≤ε|f''(\tau) + A| \le \varepsilon for ∣τ−t0∣≤δ1|\tau - t_0| \le \delta_1. For such tt, Taylor's theorem with the Lagrange remainder (Taylor's theorem) and f′(t0)=0f'(t_0) = 0 give f(t)−f(t0)=12f′′(τ)(t−t0)2f(t) - f(t_0) = \tfrac12f''(\tau)(t-t_0)^{2} for some τ\tau between t0t_0 and tt, whence

−12(A+ε)(t−t0)2  ≤  f(t)−f(t0)  ≤  −12(A−ε)(t−t0)2.(1)-\tfrac12(A+\varepsilon)(t-t_0)^{2} \;\le\; f(t) - f(t_0) \;\le\; -\tfrac12(A-\varepsilon)(t-t_0)^{2} . \tag{1}

By (L2) there is δ2>0\delta_2 > 0 with ∣g(t)−g(t0)∣≤ε|g(t) - g(t_0)| \le \varepsilon for ∣t−t0∣≤δ2|t-t_0| \le \delta_2. Put δ=min⁡(δ1,δ2)\delta = \min(\delta_1,\delta_2), small enough that [t0−δ,t0+δ]⊂(a,b)[t_0-\delta, t_0+\delta] \subset (a,b).

Step 2 (the outside is exponentially small). By (L3) there is η>0\eta > 0 with f(t)≤f(t0)−ηf(t) \le f(t_0) - \eta for tt in the outer set O={t∈(a,b):∣t−t0∣≥δ}O = \{t \in (a,b): |t-t_0| \ge \delta\}. For x≥x0x \ge x_0, split the exponent as xf=x0f+(x−x0)fxf = x_0f + (x-x_0)f and bound the second factor on OO:

∫O∣g∣exf dt  ≤  e(x−x0)(f(t0)−η)∫ab∣g∣ex0f dt  =  K ex(f(t0)−η),\int_O |g|e^{xf}\,dt \;\le\; e^{(x-x_0)(f(t_0)-\eta)}\int_a^{b}|g|e^{x_0f}\,dt \;=\; K\,e^{x(f(t_0)-\eta)} ,

where K=e−x0(f(t0)−η)∫∣g∣ex0fK = e^{-x_0(f(t_0)-\eta)}\int|g|e^{x_0f} is finite by (L4). Hence

x1/2e−xf(t0)∫O∣g∣exf  ≤  K x1/2e−xη  →x→∞  0.(2)x^{1/2}e^{-xf(t_0)}\int_O|g|e^{xf} \;\le\; K\,x^{1/2}e^{-x\eta} \;\xrightarrow[x\to\infty]{}\; 0 . \tag{2}

This is the only place (L3) and (L4) are used, and it is where the hypothesis that t0t_0 is the global maximum earns its keep.

Step 3 (the Gaussian comparison). For C>0C > 0 let Gδ(C)=∫−δδe−xCu2/2duG_\delta(C) = \int_{-\delta}^{\delta}e^{-xCu^{2}/2}du. Extending to the whole line costs little:

0  ≤  2πxC−Gδ(C)  =  2∫δ∞e−xCu2/2du  ≤  2xCδ e−xCδ2/2,0 \;\le\; \sqrt{\frac{2\pi}{xC}} - G_\delta(C) \;=\; 2\int_{\delta}^{\infty}e^{-xCu^{2}/2}du \;\le\; \frac{2}{xC\delta}\,e^{-xC\delta^{2}/2} ,

using e−xCu2/2≤(u/δ)e−xCu2/2e^{-xCu^2/2} \le (u/\delta)e^{-xCu^2/2} on [δ,∞)[\delta,\infty) and integrating exactly. Therefore

x1/2Gδ(C)  →x→∞  2πC,andGδ(C)≤2πxC,(3)x^{1/2}G_\delta(C) \;\xrightarrow[x\to\infty]{}\; \sqrt{\frac{2\pi}{C}} , \qquad\text{and}\qquad G_\delta(C) \le \sqrt{\frac{2\pi}{xC}} , \tag{3}

the Gaussian integral being the one evaluated in Gaussian integrals.

Step 4 (the inside). Write u=t−t0u = t - t_0 and P(x)=∫−δδex(f(t0+u)−f(t0))duP(x) = \int_{-\delta}^{\delta}e^{x(f(t_0+u)-f(t_0))}du, a positive quantity. The two-sided Taylor bound (1) gives at once

Gδ(A+ε)  ≤  P(x)  ≤  Gδ(A−ε).(4)G_\delta(A+\varepsilon) \;\le\; P(x) \;\le\; G_\delta(A-\varepsilon) . \tag{4}

Splitting g=g(t0)+(g−g(t0))g = g(t_0) + \bigl(g - g(t_0)\bigr) on [t0−δ,t0+δ][t_0-\delta,t_0+\delta] and using ∣g−g(t0)∣≤ε|g - g(t_0)| \le \varepsilon there,

∣e−xf(t0)∫∣t−t0∣≤δg exf dt  −  g(t0)P(x)∣  ≤  ε P(x).(5)\Bigl| e^{-xf(t_0)}\int_{|t-t_0|\le\delta} g\,e^{xf}\,dt \;-\; g(t_0)P(x) \Bigr| \;\le\; \varepsilon\,P(x) . \tag{5}

Step 5 (combine and let ε→0\varepsilon \to 0). Adding (2) and (5) and multiplying by x1/2x^{1/2},

∣J(x)−g(t0) x1/2P(x)∣  ≤  ε x1/2P(x)  +  Kx1/2e−xη.\bigl| J(x) - g(t_0)\,x^{1/2}P(x) \bigr| \;\le\; \varepsilon\,x^{1/2}P(x) \;+\; Kx^{1/2}e^{-x\eta} .

By (3) and (4), x1/2P(x)x^{1/2}P(x) lies between x1/2Gδ(A+ε)x^{1/2}G_\delta(A+\varepsilon) and x1/2Gδ(A−ε)x^{1/2}G_\delta(A-\varepsilon), hence

2πA+ε  ≤  lim inf⁡x→∞x1/2P(x)  ≤  lim sup⁡x→∞x1/2P(x)  ≤  2πA−ε.\sqrt{\frac{2\pi}{A+\varepsilon}} \;\le\; \liminf_{x\to\infty} x^{1/2}P(x) \;\le\; \limsup_{x\to\infty}x^{1/2}P(x) \;\le\; \sqrt{\frac{2\pi}{A-\varepsilon}} .

Consequently

lim sup⁡x→∞∣J(x)−g(t0)2πA∣  ≤  ∣g(t0)∣(2πA−ε−2πA+ε)  +  ε2πA−ε.\limsup_{x\to\infty}\Bigl| J(x) - g(t_0)\sqrt{\tfrac{2\pi}{A}} \Bigr| \;\le\; |g(t_0)|\left(\sqrt{\tfrac{2\pi}{A-\varepsilon}} - \sqrt{\tfrac{2\pi}{A+\varepsilon}}\right) \;+\; \varepsilon\sqrt{\tfrac{2\pi}{A-\varepsilon}} .

The right-hand side is a fixed number depending only on ε\varepsilon (and on AA, g(t0)g(t_0)), and it tends to 00 as ε↓0\varepsilon \downarrow 0. Since the left-hand side does not depend on ε\varepsilon at all, it is zero. That is J(x)→g(t0)2π/AJ(x) \to g(t_0)\sqrt{2\pi/A}, which is the assertion. □\square

Remark(Where the hypotheses are used, and what each failure does to the answer)Original

Each hypothesis controls one feature of the answer, and dropping it changes the answer in a specific, computable way rather than merely breaking the proof.

  • (L1), f′′(t0)≠0f''(t_0) \ne 0, fixes the power of xx. If f′′(t0)=0f''(t_0) = 0 and the first non-vanishing derivative is of order 2m2m, the local shape is f(t0)−γ(t−t0)2mf(t_0) - \gamma(t-t_0)^{2m} and the width of the peak is x−1/(2m)x^{-1/(2m)}, not x−1/2x^{-1/2}. For instance ∫−∞∞e−xt4dt  =  12Γ(14) x−1/4,\int_{-\infty}^{\infty} e^{-xt^{4}}dt \;=\; \tfrac12\Gamma(\tfrac14)\,x^{-1/4} , obtained from u=xt4u = xt^{4}. The general degenerate leading term is g(t0)exf(t0)1mΓ ⁣(12m)(γx)−1/(2m)g(t_0)e^{xf(t_0)}\frac{1}{m}\Gamma\!\left(\frac{1}{2m}\right)(\gamma x)^{-1/(2m)}, with γ=∣f(2m)(t0)∣/(2m)!\gamma = |f^{(2m)}(t_0)|/(2m)!; the Gaussian is replaced by a different one-dimensional integral, and the Gamma function appears for the same reason as in Watson's lemma.
  • An interior maximum, as opposed to an endpoint one, fixes the constant. If the maximum sits at t0=at_0 = a with f′(a)=0f'(a) = 0, only half the Gaussian lies in the range and the leading term is halved. If instead f′(a)<0f'(a) < 0, so that ff simply decreases from the endpoint, the peak is one-sided and exponential rather than Gaussian, and integration by parts (or Watson's lemma with λ=1\lambda = 1) gives ∫abg exf dt  ∼  g(a) exf(a)x ∣f′(a)∣,\int_a^{b}g\,e^{xf}\,dt \;\sim\; \frac{g(a)\,e^{xf(a)}}{x\,|f'(a)|} , with x−1x^{-1} in place of x−1/2x^{-1/2}. Endpoint and interior contributions must both be examined before one is discarded.
  • (L2), g(t0)≠0g(t_0) \ne 0, is what makes the leading term leading. If g(t0)=0g(t_0) = 0 the formula gives 00, correctly but uselessly: the proof then yields only I(x)=o(exf(t0)x−1/2)I(x) = o\bigl(e^{xf(t_0)}x^{-1/2}\bigr), and one must go to the next term of the correction series. If gg vanishes to order kk at t0t_0, which Gaussian moment survives decides the order. For even kk the moment ∫uke−xAu2/2du\int u^{k}e^{-xAu^{2}/2}du is a positive multiple of x−(k+1)/2x^{-(k+1)/2} and that is the true order of e−xf(t0)I(x)e^{-xf(t_0)}I(x); for odd kk that moment vanishes by symmetry, the next term of the expansion takes over, and the order drops to x−(k+2)/2x^{-(k+2)/2}. It can be smaller still — zero — when the symmetry is exact: for f(t)=−t2/2f(t) = -t^{2}/2 on R\mathbb{R} and gg odd, every moment vanishes and I(x)=0I(x) = 0 identically.
  • (L3) is global, and no local hypothesis can replace it. The condition compares f(t0)f(t_0) with ff everywhere else, with a gap. Without it a distant region can dominate: f(t)=−t2f(t) = -t^{2} on (−∞,∞)(-\infty,\infty) has a fine maximum at 00, but take instead a continuous ff that equals −t2-t^{2} on (−∞,10](-\infty,10] and then climbs, with f(t)→+∞f(t) \to +\infty as t→+∞t \to +\infty. It still has a local maximum at 00 satisfying (L1), and (L2) still holds there with g≡1g \equiv 1, but it has no global maximum, so (L3) fails — and so does (L4): I(x)=+∞I(x) = +\infty for every x>0x > 0. If two separated points share the maximum value, each contributes its own Gaussian and the two contributions are added — with their relative phase, if gg is complex.
  • (L4) is the hypothesis that the integral exists at all, for at least one xx; once it holds at x0x_0 it holds for every x≥x0x \ge x_0, since f≤f(t0)f \le f(t_0).
  • Where the correction series comes from. Substitute s=f(t0)−f(t)s = f(t_0) - f(t) separately on each side of t0t_0. Near t0t_0 this is a two-to-one change of variable with t−t0=±2s/A (1+O(s ))t - t_0 = \pm\sqrt{2s/A}\,\bigl(1 + O(\sqrt{s}\,)\bigr), and it converts the integral into I(x)  =  exf(t0)∫0σe−xs Φ(s) ds  +  (exponentially small),Φ(s)=g(t+(s))∣f′(t+(s))∣+g(t−(s))∣f′(t−(s))∣,I(x) \;=\; e^{xf(t_0)}\int_0^{\sigma} e^{-xs}\,\Phi(s)\,ds \;+\; (\text{exponentially small}) , \qquad \Phi(s) = \frac{g(t_+(s))}{|f'(t_+(s))|} + \frac{g(t_-(s))}{|f'(t_-(s))|} , where t±(s)t_\pm(s) are the two solutions. Each branch on its own contributes every power s−1/2,s0,s1/2,s1,…s^{-1/2}, s^{0}, s^{1/2}, s^{1}, \dots. But Φ\Phi is the sum over the two branches, and t+−t0t_+ - t_0 and t−−t0t_- - t_0 differ precisely in the sign of s\sqrt{s}, so when ff and gg are smooth the terms carrying an odd power of s\sqrt{s} — those coming from the odd Taylor coefficients of gg and of the map s↦ts \mapsto t — cancel between the branches and only the powers s n−1/2s^{\,n-1/2}, n≥0n \ge 0, survive, beginning with 2/A g(t0)s−1/2\sqrt{2/A}\,g(t_0)s^{-1/2}. That is exactly the shape (W2) of Watson's lemma requires with λ=12\lambda = \tfrac12, and the lemma then returns a series in x−n−1/2x^{-n-1/2} — integer powers of 1/x1/x relative to the leading x−1/2x^{-1/2}. This is why Watson's lemma is listed as the prerequisite of this unit: Laplace's method is Watson's lemma plus a change of variable.
Note(Evans's ratio form: no smoothness needed)AdaptedAdapted from Evans (2010), §4.5.2, Lemma (Asymptotics) and its proof, p. 206

Many applications want not the integral itself but a weighted average against the same exponential, and for those much less is needed. Evans states and proves the following. Let k,l:R→Rk, l : \mathbb{R} \to \mathbb{R} be continuous, with ll growing at most linearly and kk growing at least quadratically, and suppose kk attains its minimum over R\mathbb{R} at a unique point y0y_0. Then

lim⁡ε→0  ∫−∞∞l(y) e−k(y)/ε dy∫−∞∞e−k(y)/ε dy  =  l(y0).\lim_{\varepsilon \to 0} \;\frac{\displaystyle\int_{-\infty}^{\infty} l(y)\,e^{-k(y)/\varepsilon}\,dy}{\displaystyle\int_{-\infty}^{\infty} e^{-k(y)/\varepsilon}\,dy} \;=\; l(y_0) .

There is no hypothesis of differentiability, let alone of non-degeneracy, on kk — the price being that nothing is claimed about the size of either integral, only about their ratio. Evans's proof is worth remembering as the probabilistic reading of this whole unit: the normalised integrand

με(y)  =  e(k(y0)−k(y))/ε∫e(k(y0)−k(z))/ε dz\mu_{\varepsilon}(y) \;=\; \frac{e^{(k(y_0)-k(y))/\varepsilon}}{\int e^{(k(y_0)-k(z))/\varepsilon}\,dz}

is a probability density on R\mathbb{R} which tends to 00 exponentially fast at every y≠y0y \ne y_0, so the family {με}\{\mu_\varepsilon\} concentrates all its mass at y0y_0 and the average of any continuous ll against it tends to l(y0)l(y_0). Laplace's method is concentration of measure; the statement proved above adds the extra information, bought with (L1), of how fast the mass concentrates and how large the integrals are.

Method(Carrying out Laplace's method)AdaptedAdapted from Riley, Hobson & Bence (2006), pp. 637-638; Hassani (2013), §12.5, Eqs. (12.30)-(12.34), pp. 384-385
  1. Put the integral in the form ∫g exf\int g\,e^{xf} with a single large parameter xx multiplying a fixed real function ff, and with any xx-dependence of the prefactor removed. An integrand such as txh(t)t^{x}h(t) becomes h(t)exln⁡th(t)e^{x\ln t}: all of the xx-dependence must be moved into the exponent before the exponent is maximised.
  2. Locate the maximum. Solve f′(t)=0f'(t) = 0 and compare the values of ff at the roots and at the endpoints. Keep the global maximum; if several points tie, treat each and add.
  3. Check the three things that change the answer: that the maximum is interior (otherwise halve, or use the endpoint formula of the remark), that f′′(t0)<0f''(t_0) < 0 (otherwise the power of xx changes), and that g(t0)≠0g(t_0) \ne 0.
  4. Shift and expand. Put t=t0+ut = t_0 + u and expand the exponent, f(t0+u)=f(t0)−12Au2+16f′′′(t0)u3+⋯f(t_0+u) = f(t_0) - \tfrac12Au^{2} + \tfrac16f'''(t_0)u^{3} + \cdots. This is the step Riley, Hobson and Bence carry out explicitly when they set x=n+yx = n+y in the Gamma integral.
  5. Extend the limits to ±∞\pm\infty and integrate. The added region is exponentially small (Step 2 of the proof), and Hassani makes the same remark about extending the range. The leading result is I(x)  ≈  g(t0) exf(t0)2πxA,A=−f′′(t0).I(x) \;\approx\; g(t_0)\,e^{xf(t_0)}\sqrt{\frac{2\pi}{xA}} , \qquad A = -f''(t_0) .
  6. If a correction is wanted, keep the cubic and quartic terms of the exponent and the linear and quadratic terms of gg. The whole exponent is xfxf, so the factor left over beside the Gaussian carries the large parameter too: exp⁡{x(16f′′′u3+124f′′′′u4)}  =  1+x6f′′′u3+x24f′′′′u4+x272(f′′′)2u6+⋯ .\exp\Bigl\{x\bigl(\tfrac16f'''u^{3} + \tfrac1{24}f''''u^{4}\bigr)\Bigr\} \;=\; 1 + \frac{x}{6}f'''u^{3} + \frac{x}{24}f''''u^{4} + \frac{x^{2}}{72}(f''')^{2}u^{6} + \cdots . Integrate term by term against the Gaussian using ∫−∞∞u2me−Axu2/2du=(2m−1)!! (Ax)−m2π/(Ax)\int_{-\infty}^{\infty}u^{2m}e^{-Axu^{2}/2}du = (2m-1)!!\,(Ax)^{-m}\sqrt{2\pi/(Ax)}. Odd powers integrate to zero, killing the u3u^{3} term; the surviving u4u^{4} and u6u^{6} terms contribute x⋅x−2x\cdot x^{-2} and x2⋅x−3x^{2}\cdot x^{-3} relative to the leading Gaussian, so both land at relative order 1/x1/x and the first correction is of that order. (Dropping the xx from the exponential here is the standard slip: it would make the u4u^{4} term look like a relative x−2x^{-2} and lose half of the genuine first correction.)
  7. Sanity-check the scaling. The answer must be exf(t0)e^{xf(t_0)} times x−1/2x^{-1/2} times something independent of xx; if a stray power of xx survives, some xx-dependence was left outside the exponent at step 1.
Example(The central Beta integral)Original

Let

I(x)  =  ∫01[t(1−t)]x dt  =  B(x+1, x+1)  =  Γ(x+1)2Γ(2x+2)(x>0).I(x) \;=\; \int_0^{1} \bigl[t(1-t)\bigr]^{x}\,dt \;=\; B(x+1,\,x+1) \;=\; \frac{\Gamma(x+1)^{2}}{\Gamma(2x+2)} \qquad (x > 0) .

This is the normalising constant of a symmetric Beta distribution and the continuous analogue of the central binomial coefficient; the closed form gives exact values to check against.

Step 1: all the xx-dependence into the exponent. [t(1−t)]x=exf(t)\bigl[t(1-t)\bigr]^{x} = e^{xf(t)} with

f(t)  =  ln⁡t+ln⁡(1−t),g(t)≡1on (0,1).f(t) \;=\; \ln t + \ln(1-t) , \qquad g(t) \equiv 1 \quad\text{on } (0,1) .

Step 2: the maximum. f′(t)=1/t−1/(1−t)=0f'(t) = 1/t - 1/(1-t) = 0 gives t0=12t_0 = \tfrac12, and

f(12)=−2ln⁡2,f′′(t)=−1t2−1(1−t)2,f′′(12)=−8,so A=8.f(\tfrac12) = -2\ln 2 , \qquad f''(t) = -\frac{1}{t^{2}} - \frac{1}{(1-t)^{2}} , \qquad f''(\tfrac12) = -8 , \quad\text{so } A = 8 .

Step 3: the hypotheses. ff is smooth on (0,1)(0,1), strictly increasing on (0,12)(0,\tfrac12) and strictly decreasing on (12,1)(\tfrac12,1), and f(t)→−∞f(t) \to -\infty at both ends, so t0=12t_0 = \tfrac12 is the strict global maximum with a gap: (L3) holds. g≡1g \equiv 1 gives (L2), and (L4) holds with x0=1x_0 = 1 since ∫01t(1−t)dt=16<∞\int_0^1 t(1-t)dt = \tfrac16 < \infty. (L1) is Step 2.

Step 4: the leading term.

I(x)  ∼  1⋅e−2xln⁡22π8x  =  14x⋅12πx.I(x) \;\sim\; 1 \cdot e^{-2x\ln 2}\sqrt{\frac{2\pi}{8x}} \;=\; \frac{1}{4^{x}}\cdot\frac{1}{2}\sqrt{\frac{\pi}{x}} .

Step 5: the first correction. With u=t−12u = t - \tfrac12 one has t(1−t)=14(1−4u2)t(1-t) = \tfrac14(1-4u^{2}), so the exponent is exactly

f(t)−f(t0)  =  ln⁡(1−4u2)  =  −4u2−8u4−643u6−⋯(∣u∣<12).f(t) - f(t_0) \;=\; \ln\bigl(1-4u^{2}\bigr) \;=\; -4u^{2} - 8u^{4} - \tfrac{64}{3}u^{6} - \cdots \qquad (|u| < \tfrac12) .

Keeping the quartic term as a factor, exln⁡(1−4u2)=e−4xu2(1−8xu4+O(xu6,x2u8))e^{x\ln(1-4u^2)} = e^{-4xu^{2}}\bigl(1 - 8xu^{4} + O(x u^{6}, x^{2}u^{8})\bigr), and with ∫−∞∞e−4xu2du=12π/x\int_{-\infty}^{\infty}e^{-4xu^{2}}du = \tfrac12\sqrt{\pi/x} and ∫−∞∞u4e−4xu2du=364x2⋅12π/x\int_{-\infty}^{\infty}u^{4}e^{-4xu^{2}}du = \frac{3}{64x^{2}}\cdot\tfrac12\sqrt{\pi/x},

I(x)  =  14x⋅12πx  (1−38x+O(x−2)).I(x) \;=\; \frac{1}{4^{x}}\cdot\frac{1}{2}\sqrt{\frac{\pi}{x}}\;\left(1 - \frac{3}{8x} + O(x^{-2})\right) .

Step 6: the numbers. Exact values from Γ(x+1)2/Γ(2x+2)\Gamma(x+1)^{2}/\Gamma(2x+2):

xx exact B(x+1,x+1)B(x+1,x+1) leading term relative error with 1−38x1-\tfrac{3}{8x} relative error
1010 2.57740196×10−72.57740196\times10^{-7} 2.67266808×10−72.67266808\times10^{-7} +3.70%+3.70\% 2.57244303×10−72.57244303\times10^{-7} −0.192%-0.192\%
2525 1.55112326×10−161.55112326\times10^{-16} 1.57425526×10−161.57425526\times10^{-16} +1.49%+1.49\% 1.55064143×10−161.55064143\times10^{-16} −0.031%-0.031\%
100100 5.49442959×10−625.49442959\times10^{-62} 5.51500370×10−625.51500370\times10^{-62} +0.374%+0.374\% 5.49432243×10−625.49432243\times10^{-62} −0.0020%-0.0020\%

At x=10x = 10, for instance, the leading term alone is 2.67266808×10−72.67266808\times10^{-7} against the exact 2.57740196×10−72.57740196\times10^{-7}. The relative error of the leading term falls as 0.375/x0.375/x — exactly the coefficient 3/83/8 predicted in Step 5 — and including that one correction improves each row by roughly a further factor xx, as an expansion in 1/x1/x should.

Application(Vanishing viscosity, Bayesian asymptotics and the saddle point of statistical mechanics)Original

The vanishing-viscosity limit of Burgers' equation. The Cole-Hopf formula solves the viscous conservation law utε+uεuxε=εuxxεu^{\varepsilon}_t + u^{\varepsilon}u^{\varepsilon}_x = \varepsilon u^{\varepsilon}_{xx} explicitly as a ratio of two integrals,

uε(x,t)  =  ∫Rx−yt e−K(x,y,t)/(2ε) dy∫Re−K(x,y,t)/(2ε) dy,K(x,y,t)=∣x−y∣22t+h(y),u^{\varepsilon}(x,t) \;=\; \frac{\int_{\mathbb{R}}\frac{x-y}{t}\,e^{-K(x,y,t)/(2\varepsilon)}\,dy}{\int_{\mathbb{R}} e^{-K(x,y,t)/(2\varepsilon)}\,dy} , \qquad K(x,y,t) = \frac{|x-y|^{2}}{2t} + h(y) ,

with hh an antiderivative of the initial datum. This is precisely the ratio Evans's lemma evaluates, with l(y)=(x−y)/tl(y) = (x-y)/t growing linearly and KK growing quadratically in yy. Whenever y↦K(x,y,t)y \mapsto K(x,y,t) has a unique minimiser y(x,t)y(x,t) — which Evans shows holds for all but countably many xx at each fixed t>0t > 0 — the limit is (x−y(x,t))/t\bigl(x - y(x,t)\bigr)/t. That expression is the Lax-Oleinik formula, and it picks out exactly the entropy solution — the unique admissible one — of the inviscid law (Evans (2010), §4.5.2, Example 2 and Eq. (26), pp. 205-206). Laplace's method is therefore the mechanism by which an artificial viscosity selects the physically correct shock (Conservation laws and shocks). Note which version of the method is needed: the exponent KK is only continuous, not smooth, at the points where the minimiser jumps, so the ratio form of the note is doing the work and the non-degeneracy hypothesis (L1) would be false.

Bayesian asymptotics and the normal approximation. With nn independent observations, a posterior density is proportional to π(θ) enℓn(θ)\pi(\theta)\,e^{n\ell_n(\theta)}, where ℓn\ell_n is the average log-likelihood (Maximum likelihood). Applying the theorem with x=nx = n, f=ℓnf = \ell_n and g=πg = \pi about the maximum-likelihood estimate θ^\hat\theta gives the model evidence

∫π(θ) enℓn(θ) dθ  ∼  π(θ^) enℓn(θ^)2πn ∣ℓn′′(θ^)∣,\int \pi(\theta)\,e^{n\ell_n(\theta)}\,d\theta \;\sim\; \pi(\hat\theta)\,e^{n\ell_n(\hat\theta)}\sqrt{\frac{2\pi}{n\,|\ell_n''(\hat\theta)|}} ,

and, applied to numerator and denominator at once, the statement that the posterior itself is asymptotically Gaussian with variance 1/(n∣ℓn′′(θ^)∣)1/\bigl(n|\ell_n''(\hat\theta)|\bigr) — the observed-information formula. Taking logarithms of the evidence and keeping the terms that grow with nn produces the −12log⁡n-\tfrac12\log n per parameter of the Bayesian information criterion. See Bayesian inference.

The saddle point in statistical mechanics. A partition function written as an integral over an extensive variable, Z(N)=∫eNs(m)dmZ(N) = \int e^{N s(m)}dm with ss an entropy per particle, is evaluated by this method with x=Nx = N: the free energy per particle is max⁡ms(m)\max_m s(m) and the corrections are O(log⁡N/N)O(\log N/N), which is the statement that the thermodynamic limit exists and that fluctuations about the most probable state are Gaussian of width N−1/2N^{-1/2}. Two separated maxima with equal ss is a first-order phase transition, and the remark above says what then happens to the formula: the two contributions add. The large-deviation rate function of Large deviations and Cramer's theorem is the same object seen from probability theory, and the complex-plane version needed when the exponent is not real is The method of steepest descents.

Method

The method of stationary phase

Adapted

Gives the large-parameter behaviour of an oscillatory integral ∫g eiλf\int g\,e^{i\lambda f}: each interior point where the phase is stationary and its second derivative is non-zero contributes a term of size λ−1/2\lambda^{-1/2} carrying a fixed ±π/4\pm\pi/4 twist, each endpoint contributes a term of size λ−1\lambda^{-1}, and everywhere else the oscillation cancels to all orders.

Prerequisites: Laplace's method, Asymptotic series, Gaussian integrals, Cauchy's theorem

Definition(Oscillatory integrals, stationary points, degeneracy)AdaptedAdapted from Evans (2010), §4.5.3, Eq. (40) and (52)-(53), pp. 209, 214

Fix a real-valued phase ff and an amplitude gg, both defined on an interval [a,b]⊆R[a,b]\subseteq\mathbb{R}, and a large real parameter λ>0\lambda>0. The object of study is the oscillatory integral

I(λ)  =  ∫abg(t) eiλf(t) dt.I(\lambda) \;=\; \int_a^b g(t)\,e^{i\lambda f(t)}\,dt .

A point cc with

f′(c)  =  0f'(c) \;=\; 0

is a stationary point (or critical point) of the phase; it is non-degenerate when f′′(c)≠0f''(c)\neq0, and degenerate otherwise.

In nn dimensions the same integral is written, as Evans (Evans (2010), §4.5.3, Eq. (40), p. 209) does, with a small parameter ε\varepsilon in place of a large one:

Iε  =  ∫Rna(y) eiϕ(y)/ε dy,I_\varepsilon \;=\; \int_{\mathbb{R}^n} a(y)\,e^{i\phi(y)/\varepsilon}\,dy ,

with a∈Cc∞(Rn)a\in C_c^\infty(\mathbb{R}^n), ϕ\phi smooth and real. The two notations are related by ε=1/λ\varepsilon = 1/\lambda, and both appear below. The stationary set is now {Dϕ=0}\{D\phi=0\}, and a stationary point yky_k is non-degenerate when the Hessian D2ϕ(yk)D^2\phi(y_k) is non-singular. For a non-singular real symmetric matrix AA, its signature

sgn⁡A  =  (number of positive eigenvalues)−(number of negative eigenvalues)\operatorname{sgn}A \;=\; (\text{number of positive eigenvalues}) - (\text{number of negative eigenvalues})

records how many of the nn directions curve upwards and how many downwards; in one dimension sgn⁡f′′(c)\operatorname{sgn}f''(c) is +1+1 at a minimum of the phase and −1-1 at a maximum.

Two features distinguish this from Laplace's method. The integrand here has modulus ∣g∣\lvert g\rvert everywhere, so nothing is exponentially small and nothing is exponentially large: the whole interval looks equally important to the eye. What makes most of it irrelevant is cancellation. And the answer decays only like a power of λ\lambda, not exponentially. Evans (Evans (2010), §4.5.3b, p. 208) describes the method as the variant of Laplace's method got by replacing the −1-1 in the exponent by ii, and the formulas below bear that out, with one extra ingredient: a fixed phase shift of ±π/4\pm\pi/4 that has no counterpart in the real case.

Method(Stationary phase)AdaptedAdapted from Evans (2010), §4.5.3, Lemma 1 p. 209, Lemma 2 (41) p. 210, Eq. (54) p. 215; Riley, Hobson & Bence (2006), §25.8.3, Eq. (25.73), p. 916

1. The model integral (Fresnel). For σ∈{+1,−1}\sigma\in\{+1,-1\} and λ>0\lambda>0,

∫−∞∞eiσλu2/2 du  =  2πλ  eiσπ/4,\int_{-\infty}^{\infty} e^{i\sigma\lambda u^{2}/2}\,du \;=\; \sqrt{\frac{2\pi}{\lambda}}\;e^{i\sigma\pi/4},

the integral being understood as the limit of ∫−RR\int_{-R}^{R} as R→∞R\to\infty.

2. No stationary point. Let g∈Cc∞((a,b))g\in C_c^\infty((a,b)) and let ff be smooth with f′≠0f'\neq0 on the support of gg. Then for every m∈Nm\in\mathbb{N},

∫abg(t) eiλf(t) dt  =  O(λ−m)(λ→∞).\int_a^b g(t)\,e^{i\lambda f(t)}\,dt \;=\; O(\lambda^{-m}) \qquad (\lambda\to\infty).

3. One non-degenerate stationary point. Let ff be smooth and real on [a,b][a,b], let g∈Cc∞((a,b))g\in C_c^\infty((a,b)), and suppose f′f' vanishes at exactly one point cc of the support of gg, with f′′(c)≠0f''(c)\neq0. Put σ=sgn⁡f′′(c)\sigma=\operatorname{sgn}f''(c). Then

∫abg(t) eiλf(t) dt  =  2πλ ∣f′′(c)∣  e iλf(c) + iσπ/4  [ g(c)+O(λ−1) ].\int_a^b g(t)\,e^{i\lambda f(t)}\,dt \;=\; \sqrt{\frac{2\pi}{\lambda\,\lvert f''(c)\rvert}}\; e^{\,i\lambda f(c)\,+\,i\sigma\pi/4}\;\bigl[\,g(c) + O(\lambda^{-1})\,\bigr] .

4. Endpoints. Let f,g∈C3([a,b])f,g\in C^{3}([a,b]) with f′≠0f'\neq0 on all of [a,b][a,b]. Then

∫abg(t) eiλf(t) dt  =  1iλ[g(b)f′(b)eiλf(b)−g(a)f′(a)eiλf(a)]  +  O(λ−2).\int_a^b g(t)\,e^{i\lambda f(t)}\,dt \;=\; \frac{1}{i\lambda}\left[\frac{g(b)}{f'(b)}e^{i\lambda f(b)} - \frac{g(a)}{f'(a)}e^{i\lambda f(a)}\right] \;+\; O(\lambda^{-2}) .

5. The general case. Let ff and gg be smooth on [a,b][a,b] with ff real. If ff has finitely many stationary points c1,…,cNc_1,\dots,c_N, all in the open interval (a,b)(a,b) and all non-degenerate, and if f′(a)≠0f'(a)\neq0 and f′(b)≠0f'(b)\neq0, then the leading behaviour is the sum of one term of part 3 for each ckc_k, of size λ−1/2\lambda^{-1/2}, plus the two endpoint terms of part 4, of size λ−1\lambda^{-1}:

∫abg eiλf dt  =  ∑k=1N2πλ∣f′′(ck)∣ g(ck) e iλf(ck)+iσkπ/4  +  1iλ[gf′eiλf]ab  +  O(λ−3/2),\int_a^b g\,e^{i\lambda f}\,dt \;=\; \sum_{k=1}^{N} \sqrt{\frac{2\pi}{\lambda\lvert f''(c_k)\rvert}}\,g(c_k)\,e^{\,i\lambda f(c_k)+i\sigma_k\pi/4} \;+\; \frac{1}{i\lambda}\left[\frac{g}{f'}e^{i\lambda f}\right]_a^b \;+\; O(\lambda^{-3/2}) ,

with σk=sgn⁡f′′(ck)\sigma_k=\operatorname{sgn}f''(c_k).

6. In nn dimensions. Evans (Evans (2010), §4.5.3, Eq. (54), p. 215) states, for a∈Cc∞(Rn)a\in C^\infty_c(\mathbb{R}^n), ϕ\phi smooth, DϕD\phi vanishing on the support of aa only at y1,…,yNy_1,\dots,y_N and every D2ϕ(yk)D^2\phi(y_k) non-singular,

∫Rna(y) eiϕ(y)/ε dy  =  (2πε)n/2∑k=1Neiϕ(yk)/ε∣det⁡D2ϕ(yk)∣1/2 e iπsgn⁡(D2ϕ(yk))/4 [a(yk)+O(ε)]\int_{\mathbb{R}^n} a(y)\,e^{i\phi(y)/\varepsilon}\,dy \;=\; (2\pi\varepsilon)^{n/2}\sum_{k=1}^{N} \frac{e^{i\phi(y_k)/\varepsilon}}{\lvert\det D^2\phi(y_k)\rvert^{1/2}}\, e^{\,i\pi\operatorname{sgn}(D^2\phi(y_k))/4}\,\bigl[a(y_k)+O(\varepsilon)\bigr]

as ε→0\varepsilon\to0. He presents this as an informal assembly of his Lemmas 1-3 by a partition of unity rather than as a theorem with a proof. Part 3 is the case n=1n=1, ε=1/λ\varepsilon=1/\lambda, in which sgn⁡D2ϕ\operatorname{sgn}D^2\phi is ±1\pm1 and the signature factor becomes e±iπ/4e^{\pm i\pi/4}.

Idea of the proofOriginal

Away from a stationary point the integrand turns through a full cycle in a tt-interval of length about 2π/(λ∣f′∣)2\pi/(\lambda\lvert f'\rvert), so neighbouring cycles cancel in pairs and only the mismatch between them survives; each integration by parts makes that mismatch smaller by a factor λ−1\lambda^{-1}, and with no boundary to stop the process the contribution is smaller than every power of 1/λ1/\lambda. At a stationary point the phase is flat to first order, so the integrand stays nearly constant over an interval of length about λ−1/2\lambda^{-1/2} — the width at which 12λ∣f′′∣(t−c)2\tfrac12\lambda\lvert f''\rvert(t-c)^2 first reaches order one — and that whole interval adds up in phase. This is why the answer is of size λ−1/2\lambda^{-1/2}: one stationary interval of width λ−1/2\lambda^{-1/2}, counted without cancellation.

Three steps turn this picture into a formula. Cut the integral into a piece near cc and a piece away from it, and dispose of the second by the integration by parts just described. In the first piece change the variable so that the phase becomes exactly quadratic — possible because f′′(c)≠0f''(c)\neq0, which is the one-dimensional Morse lemma. What is left is the Fresnel integral, the oscillatory twin of the Gaussian, and it is evaluated by rotating the contour through π/4\pi/4 onto a ray where it is a Gaussian. That rotation is the source of the eiσπ/4e^{i\sigma\pi/4}: it is not a property of ff or gg at all, only of the sign of the curvature of the phase.

At an endpoint the cancellation argument still works but the integration by parts leaves a boundary term, and that term, of size λ−1\lambda^{-1}, is all that an endpoint ever contributes.

Proof(Part 1: the Fresnel integral)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.8.3, Eqs. (25.67)-(25.69), pp. 912-913

Take σ=+1\sigma=+1; the case σ=−1\sigma=-1 follows by conjugating. Rescaling u=2/λ su=\sqrt{2/\lambda}\,s reduces the claim to ∫−∞∞eis2ds=π eiπ/4\int_{-\infty}^{\infty}e^{is^{2}}ds = \sqrt{\pi}\,e^{i\pi/4}.

Consider e−z2e^{-z^{2}}, which is entire, and the closed contour made of the segment [0,R][0,R] of the real axis, the circular arc z=Reiθz=Re^{i\theta} with 0≤θ≤π/40\le\theta\le\pi/4, and the segment of the ray arg⁡z=π/4\arg z=\pi/4 back to the origin. By Cauchy's theorem the integral around it vanishes.

On the arc, ∣e−z2∣=e−R2cos⁡2θ\lvert e^{-z^{2}}\rvert = e^{-R^{2}\cos2\theta}, and cos⁡2θ≥1−4θ/π\cos2\theta\ge 1-4\theta/\pi for 0≤θ≤π/40\le\theta\le\pi/4 (both sides agree at the two ends and the left side is concave there), so

∣∫arce−z2dz∣  ≤  R∫0π/4e−R2(1−4θ/π) dθ  =  π4R(1−e−R2)  →R→∞  0.\left\lvert\int_{\text{arc}}e^{-z^{2}}dz\right\rvert \;\le\; R\int_0^{\pi/4}e^{-R^{2}(1-4\theta/\pi)}\,d\theta \;=\; \frac{\pi}{4R}\bigl(1-e^{-R^{2}}\bigr)\;\xrightarrow[R\to\infty]{}\;0 .

Letting R→∞R\to\infty in the vanishing contour integral therefore gives ∫0∞e−z2dz\int_0^{\infty}e^{-z^{2}}dz along the real axis equal to the same integral along the ray. Parametrising the ray by z=seiπ/4z=se^{i\pi/4}, so that z2=is2z^{2}=is^{2} and dz=eiπ/4dsdz=e^{i\pi/4}ds, and using ∫0∞e−z2dz=π/2\int_0^\infty e^{-z^2}dz=\sqrt\pi/2 from Gaussian integrals,

π2  =  eiπ/4∫0∞e−is2 ds.\frac{\sqrt{\pi}}{2} \;=\; e^{i\pi/4}\int_0^{\infty}e^{-is^{2}}\,ds .

Conjugating and doubling (the integrand is even) gives ∫−∞∞eis2ds=πeiπ/4\int_{-\infty}^{\infty}e^{is^{2}}ds=\sqrt{\pi}e^{i\pi/4}, which is Riley, Hobson and Bence's (Riley, Hobson & Bence (2006), §25.8.3, Eq. (25.68), p. 913) identity; they read off from it the values C(∞)=S(∞)=12C(\infty)=S(\infty)=\tfrac12 of the Fresnel integrals. Restoring the scaling, ∫eiλu2/2du=2π/λ eiπ/4\int e^{i\lambda u^{2}/2}du=\sqrt{2\pi/\lambda}\,e^{i\pi/4}. □\square

Proof(Parts 2 and 4: integration by parts)AdaptedAdapted from Evans (2010), §4.5.3, Lemma 1, p. 209

Both rest on the single identity

eiλf(t)  =  1iλf′(t) ddt eiλf(t),e^{i\lambda f(t)} \;=\; \frac{1}{i\lambda f'(t)}\,\frac{d}{dt}\,e^{i\lambda f(t)} ,

legitimate exactly where f′≠0f'\neq0 — this is the step that uses the absence of a stationary point, and the only one.

Part 4. With f′≠0f'\neq0 on [a,b][a,b], insert the identity and integrate by parts once:

∫abg eiλf dt  =  1iλ[gf′ eiλf]ab  −  1iλ∫ab(gf′)′eiλf dt.\int_a^b g\,e^{i\lambda f}\,dt \;=\; \frac{1}{i\lambda}\left[\frac{g}{f'}\,e^{i\lambda f}\right]_a^b \;-\;\frac{1}{i\lambda}\int_a^b \left(\frac{g}{f'}\right)' e^{i\lambda f}\,dt .

The new amplitude g1=(g/f′)′g_1=(g/f')' is continuous, because f′f' does not vanish on the compact interval and is therefore bounded away from zero there; so ∣∫abg1eiλfdt∣≤∫ab∣g1∣ dt\lvert\int_a^b g_1e^{i\lambda f}dt\rvert\le\int_a^b\lvert g_1\rvert\,dt, a constant, and the remainder is already O(λ−1)O(\lambda^{-1}). To reach the O(λ−2)O(\lambda^{-2}) claimed, integrate by parts once more, which needs g1∈C1g_1\in C^{1} and hence f,g∈C3f,g\in C^{3}:

−1iλ∫abg1eiλf dt=−1(iλ)2[g1f′eiλf]ab+1(iλ)2∫ab(g1f′)′eiλf dt=O(λ−2).-\frac{1}{i\lambda}\int_a^b g_1 e^{i\lambda f}\,dt = -\frac{1}{(i\lambda)^{2}}\left[\frac{g_1}{f'}e^{i\lambda f}\right]_a^b + \frac{1}{(i\lambda)^{2}}\int_a^b\left(\frac{g_1}{f'}\right)' e^{i\lambda f}\,dt = O(\lambda^{-2}) .

Under the weaker hypothesis f,g∈C2f,g\in C^{2} the same first step gives the boundary term plus o(λ−1)o(\lambda^{-1}), the remainder tending to zero by the Riemann-Lebesgue lemma applied to the continuous amplitude g1g_1 rather than by a second integration by parts.

Part 2. Now gg has compact support inside (a,b)(a,b), so the boundary term vanishes identically and the same step gives

∫g eiλf dt  =  −1iλ∫g1 eiλf dt,g1=(gf′)′,\int g\,e^{i\lambda f}\,dt \;=\; -\frac{1}{i\lambda}\int g_1\,e^{i\lambda f}\,dt , \qquad g_1 = \left(\frac{g}{f'}\right)' ,

with g1g_1 again smooth and compactly supported in the set where f′≠0f'\neq0. Repeating mm times produces (−iλ)−m∫gmeiλfdt(-i\lambda)^{-m}\int g_m e^{i\lambda f}dt with gmg_m smooth and compactly supported, and the last integral is bounded independently of λ\lambda. This is Evans's (Evans (2010), §4.5.3, Lemma 1, p. 209) Lemma 1, which he states for a linear phase p⋅yp\cdot y with p≠0p\neq0 and proves by differentiating mm times along the coordinate in which pp does not vanish; the version here is the same computation with a variable f′f' in the denominator. □\square

Proof(Part 3: the stationary contribution)AdaptedAdapted from Evans (2010), §4.5.3, Lemma 3(ii) pp. 212-214, Lemma 2 p. 210, Eq. (54) p. 215

Write σ=sgn⁡f′′(c)\sigma=\operatorname{sgn}f''(c) and μ=∣f′′(c)∣>0\mu=\lvert f''(c)\rvert>0.

Step 1: localise. Choose δ>0\delta>0 so small that f′f' has no zero other than cc in [c−δ,c+δ][c-\delta,c+\delta] and f′′f'' keeps its sign there, and a cut-off χ∈Cc∞((c−δ,c+δ))\chi\in C^\infty_c((c-\delta,c+\delta)) with χ≡1\chi\equiv1 on [c−δ/2,c+δ/2][c-\delta/2,c+\delta/2]. Split g=χg+(1−χ)gg=\chi g+(1-\chi)g. The amplitude (1−χ)g(1-\chi)g is smooth, compactly supported in (a,b)(a,b), and supported where f′≠0f'\neq0, so by part 2 its integral is O(λ−m)O(\lambda^{-m}) for every mm. Only ∫χg eiλf\int \chi g\,e^{i\lambda f} remains.

Step 2: make the phase exactly quadratic. Taylor's theorem with integral remainder gives, for tt near cc and using f′(c)=0f'(c)=0,

f(t)−f(c)  =  12(t−c)2h(t),h(t)=2∫01(1−s) f′′(c+s(t−c)) ds,f(t)-f(c) \;=\; \tfrac12 (t-c)^{2}h(t), \qquad h(t)=2\int_0^1 (1-s)\,f''\bigl(c+s(t-c)\bigr)\,ds ,

with hh smooth and h(c)=f′′(c)h(c)=f''(c). Shrinking δ\delta if necessary, σh>0\sigma h>0 on [c−δ,c+δ][c-\delta,c+\delta]. Define

u(t)  =  (t−c)σh(t).u(t) \;=\; (t-c)\sqrt{\sigma h(t)} .

Since σh\sigma h is smooth and strictly positive, its square root is smooth, so uu is smooth, u(c)=0u(c)=0 and u′(c)=μ≠0u'(c)=\sqrt{\mu}\neq0. By the inverse function theorem uu is a diffeomorphism of a neighbourhood of cc onto a neighbourhood of 00, and by construction

f(t)  =  f(c)+σ2 u(t)2.f(t) \;=\; f(c) + \tfrac{\sigma}{2}\,u(t)^{2} .

This is the one-dimensional case of the Morse lemma, Evans's (Evans (2010), §4.5.3, Lemma 3(ii), pp. 212-214) Lemma 3(ii), whose hypothesis det⁡D2ϕ(0)≠0\det D^2\phi(0)\neq0 is here exactly f′′(c)≠0f''(c)\neq0; in one variable the induction over coordinates that he needs collapses to the explicit formula above. Changing the variable,

∫χg eiλf dt  =  eiλf(c)∫RG(u) eiσλu2/2 du,G(u)=χ(t(u)) g(t(u)) t′(u),\int \chi g\,e^{i\lambda f}\,dt \;=\; e^{i\lambda f(c)}\int_{\mathbb{R}} G(u)\,e^{i\sigma\lambda u^{2}/2}\,du , \qquad G(u) = \chi(t(u))\,g(t(u))\,t'(u) ,

with GG smooth and compactly supported and

G(0)  =  g(c)u′(c)  =  g(c)μ.G(0) \;=\; \frac{g(c)}{u'(c)} \;=\; \frac{g(c)}{\sqrt{\mu}} .

Step 3: separate the value at the stationary point. Fix ζ∈Cc∞(R)\zeta\in C_c^\infty(\mathbb{R}) with ζ≡1\zeta\equiv1 near 00 and write

∫G eiσλu2/2du  =  G(0)∫Reiσλu2/2du  −  G(0)∫(1−ζ) eiσλu2/2du  +  ∫(G−G(0)ζ)eiσλu2/2du.\int G\,e^{i\sigma\lambda u^{2}/2}du \;=\; G(0)\int_{\mathbb{R}} e^{i\sigma\lambda u^{2}/2}du \;-\; G(0)\int (1-\zeta)\,e^{i\sigma\lambda u^{2}/2}du \;+\; \int \bigl(G-G(0)\zeta\bigr)e^{i\sigma\lambda u^{2}/2}du .

The first integral is part 1. For the second, the phase σu2/2\sigma u^{2}/2 has derivative σu≠0\sigma u\neq0 on the support of 1−ζ1-\zeta; integrating by parts as in part 2, with no boundary term because (1−ζ)/u(1-\zeta)/u vanishes at infinity, and noting that each step improves the decay of the amplitude by two powers of uu, gives O(λ−m)O(\lambda^{-m}) for every mm.

Step 4: the remainder. The function G−G(0)ζG-G(0)\zeta is smooth, compactly supported and vanishes at u=0u=0, so G(u)−G(0)ζ(u)=u H(u)G(u)-G(0)\zeta(u) = u\,H(u) with HH smooth and compactly supported. Using u eiσλu2/2=σiλddueiσλu2/2u\,e^{i\sigma\lambda u^{2}/2} = \frac{\sigma}{i\lambda}\frac{d}{du}e^{i\sigma\lambda u^{2}/2} and integrating by parts (no boundary term, HH having compact support),

∫u H(u) eiσλu2/2du  =  −σiλ∫H′(u) eiσλu2/2 du.\int u\,H(u)\,e^{i\sigma\lambda u^{2}/2}du \;=\; -\frac{\sigma}{i\lambda}\int H'(u)\,e^{i\sigma\lambda u^{2}/2}\,du .

The integral on the right is of the same shape as the one we started with, with amplitude H′H' and phase σu2/2\sigma u^2/2; it is O(1)O(1) at once, which already gives an absolute error O(λ−1)O(\lambda^{-1}) — a relative error O(λ−1/2)O(\lambda^{-1/2}) at this stage, the leading term being of size λ−1/2\lambda^{-1/2}. Feeding it back through steps 3-4 once more shows it is in fact O(λ−1/2)O(\lambda^{-1/2}), so the remainder is O(λ−3/2)O(\lambda^{-3/2}) — the relative error O(λ−1)O(\lambda^{-1}) asserted in part 3 and in Evans's (Evans (2010), §4.5.3, Eq. (54), p. 215) formula (54).

Step 5: collect. Combining steps 1-4,

∫abg eiλf dt  =  eiλf(c) g(c)μ 2πλ eiσπ/4+O(λ−3/2),\int_a^b g\,e^{i\lambda f}\,dt \;=\; e^{i\lambda f(c)}\,\frac{g(c)}{\sqrt{\mu}}\,\sqrt{\frac{2\pi}{\lambda}}\,e^{i\sigma\pi/4} + O(\lambda^{-3/2}) ,

which is part 3. Part 5 follows by applying step 1 with one cut-off per stationary point, part 4 to what is left over (whose support now reaches the endpoints, so the boundary term survives), and adding. □\square

Remark(Where the hypotheses are used)Original
  • ff real is what makes this a different method. The whole argument uses ∣eiλf∣=1\lvert e^{i\lambda f}\rvert=1: there is no large or small factor to exploit, only cancellation. If ff has an imaginary part the integrand has peaks and troughs, and the right tool is Laplace's method or, in the complex plane, The method of steepest descents. The two are not merely analogous: the steepest-descents formula contains the stationary-phase formula as the case where the saddle sits on a level line, and Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.3, p. 917) verify that their two formulas, (25.66) and (25.73), coincide.
  • f′≠0f'\neq0 is used exactly once, in the identity eiλf=(iλf′)−1(eiλf)′e^{i\lambda f}=(i\lambda f')^{-1}(e^{i\lambda f})', and everything in parts 2 and 4 follows from it. Where f′f' vanishes the factor 1/f′1/f' blows up, which is the analytic signature of the fact that a stationary point contributes more than every endpoint.
  • f′′(c)≠0f''(c)\neq0 fixes both the power and the phase. It is the hypothesis behind the change of variable in step 2 — without it σh\sqrt{\sigma h} is not smooth and uu is not a diffeomorphism. If f′′(c)=0f''(c)=0 but f′′′(c)≠0f'''(c)\neq0, the phase is cubic and the stationary interval has width λ−1/3\lambda^{-1/3} instead of λ−1/2\lambda^{-1/2}, so the contribution is of size λ−1/3\lambda^{-1/3} and is given by an Airy function rather than by a Fresnel integral; see Airy functions. The transition between the two, as two stationary points merge, is where a uniform approximation is needed and the formula of part 3 fails: it predicts a contribution that blows up as f′′(c)→0f''(c)\to0.
  • Smoothness of gg controls the size of what is left over, not the leading term. For part 2 we need to differentiate the amplitude mm times, so g∈Cmg\in C^m buys O(λ−m)O(\lambda^{-m}) and no more. A jump in gg acts like an endpoint: g=χ[0,1]g=\chi_{[0,1]} in part 4 produces λ−1\lambda^{-1} terms at 00 and 11 even though the phase is perfectly smooth there.
  • Compact support in (a,b)(a,b) is what removes the endpoint terms in parts 2 and 3, and nothing else. Part 5 is the honest statement for an integral over a finite interval: the endpoints always contribute at order λ−1\lambda^{-1}, one order below the stationary points, so they matter whenever two-term accuracy is wanted, and they are the entire answer when there is no stationary point at all.
  • Non-degeneracy is also what makes the count finite. If f′f' vanished on a whole subinterval, that subinterval would contribute at order 11: the integral ∫01eiλ⋅0dt=1\int_0^1 e^{i\lambda\cdot0}dt=1 does not decay. The hypothesis of finitely many non-degenerate stationary points in part 5 rules this out, and Evans (Evans (2010), §4.5.3, (52)-(53), p. 214) imposes it in the same two pieces, (52) and (53).
  • The error estimate is not uniform in the data. The constant hidden in O(λ−3/2)O(\lambda^{-3/2}) depends on bounds for f′′′,f′′′′f''',f'''' and for the derivatives of gg near cc, and on how far f′′(c)f''(c) is from zero. Two stationary points a distance dd apart may be treated separately only when λd2∣f′′∣≫1\lambda d^{2}\lvert f''\rvert\gg1, which is the condition Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.3, pp. 918-919) express by saying that the first Cornu spiral must have wound up before the second begins.
Method(Applying the method)Original
  1. Put the integral in the standard form ∫abg(t)eiλf(t)dt\int_a^b g(t)e^{i\lambda f(t)}dt with ff real and λ\lambda the large parameter. A real integrand ∫gcos⁡(λf)\int g\cos(\lambda f) is the real part of this, so work with the complex form and take real parts at the end. If the large parameter sits inside the integrand in some other way, rescale the variable first until it appears as an overall factor in the exponent, as Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, p. 911) do with s=x1/2ts=x^{1/2}t for the Airy integral.
  2. Solve f′(t)=0f'(t)=0 and keep the roots lying in (a,b)(a,b). Discard complex roots: they belong to The method of steepest descents.
  3. Check non-degeneracy by computing f′′f'' at each root. If some f′′(ck)=0f''(c_k)=0, or if two roots are closer than λ−1/2\lambda^{-1/2}, stop: the formula below does not apply and a uniform (Airy-type) approximation is needed.
  4. Write down one term per stationary point, 2πλ∣f′′(ck)∣  g(ck)  exp⁡[iλf(ck)+iπ4sgn⁡f′′(ck)],\sqrt{\frac{2\pi}{\lambda\lvert f''(c_k)\rvert}}\;g(c_k)\;\exp\Bigl[i\lambda f(c_k)+i\tfrac{\pi}{4}\operatorname{sgn}f''(c_k)\Bigr] , remembering that the sign of the π/4\pi/4 follows the sign of the curvature of the phase, not the sign of anything else.
  5. Add the endpoint terms 1iλ[gf′eiλf]ab\dfrac{1}{i\lambda}\Bigl[\dfrac{g}{f'}e^{i\lambda f}\Bigr]_a^b if the interval is finite and gg does not vanish there, and one such term at every jump of gg or of f′f'. They are one power of λ\lambda smaller than the stationary terms and are the whole answer when there is no stationary point.
  6. Sanity-check the result. The leading term must have modulus ∣g(c)∣2π/(λ∣f′′(c)∣)\lvert g(c)\rvert\sqrt{2\pi/(\lambda\lvert f''(c)\rvert)}, which has the dimensions of gg times the dimensions of tt; if the original integral is real, the stationary terms must combine into something real, which for two stationary points related by a symmetry means their phases are negatives of each other. Finally compare against a numerical quadrature at one moderate λ\lambda: the stationary terms on their own carry a relative error falling like λ−1/2\lambda^{-1/2}, and once the endpoint terms are added the relative error should fall like λ−1\lambda^{-1}, as part 5 asserts.
Example(An integral with one interior stationary point and two endpoints)Original

Take

I(λ)  =  ∫02exp⁡[iλ(13t3−t)] dt,I(\lambda) \;=\; \int_0^2 \exp\Bigl[i\lambda\Bigl(\tfrac{1}{3}t^{3}-t\Bigr)\Bigr]\,dt ,

so g≡1g\equiv1 and f(t)=13t3−tf(t)=\tfrac13 t^{3}-t.

Stationary points. f′(t)=t2−1f'(t)=t^{2}-1 vanishes at t=±1t=\pm1, and only t=c=1t=c=1 lies in (0,2)(0,2). There f(1)=13−1=−23f(1)=\tfrac13-1=-\tfrac23 and f′′(1)=2t∣t=1=2f''(1)=2t\big\vert_{t=1}=2, which is non-zero, so the point is non-degenerate and σ=+1\sigma=+1.

The stationary term. By step 4 of the method,

S(λ)  =  2π2λ  e i(−2λ/3+π/4)  =  πλ  e i(π/4−2λ/3).S(\lambda) \;=\; \sqrt{\frac{2\pi}{2\lambda}}\;e^{\,i(-2\lambda/3+\pi/4)} \;=\; \sqrt{\frac{\pi}{\lambda}}\;e^{\,i(\pi/4-2\lambda/3)} .

The endpoint terms. f′(0)=−1f'(0)=-1, f(0)=0f(0)=0, f′(2)=3f'(2)=3, f(2)=83−2=23f(2)=\tfrac83-2=\tfrac23, so

E(λ)  =  1iλ[eiλf(2)f′(2)−eiλf(0)f′(0)]  =  1iλ[e 2iλ/33+1].E(\lambda) \;=\; \frac{1}{i\lambda}\left[\frac{e^{i\lambda f(2)}}{f'(2)}-\frac{e^{i\lambda f(0)}}{f'(0)}\right] \;=\; \frac{1}{i\lambda}\left[\frac{e^{\,2i\lambda/3}}{3}+1\right] .

The number. At λ=100\lambda=100,

S(100)=π/100  e i(π/4−200/3)=−0.176492923−0.016314861 i,S(100) = \sqrt{\pi/100}\;e^{\,i(\pi/4-200/3)} = -0.176492923 - 0.016314861\,i ,

since π/4−200/3=−65.88127\pi/4-200/3 = -65.88127, which is 3.2337703.233770 modulo 2π2\pi, and

E(100)=1100 i[e 200i/33+1]=−0.002130060−0.007436027 i,E(100) = \frac{1}{100\,i}\left[\frac{e^{\,200i/3}}{3}+1\right] = -0.002130060 - 0.007436027\,i ,

so the prediction is

  I(100)  ≈  S(100)+E(100)  =  −0.178622983  −  0.023750888 i  \boxed{\;I(100)\;\approx\;S(100)+E(100)\;=\;-0.178622983 \;-\; 0.023750888\,i\;}

Numerical quadrature of the original integral, split at t=1t=1 so that the oscillation is resolved on each side, gives

I(100)  =  −0.178593013  −  0.023923248 i,I(100) \;=\; -0.178593013 \;-\; 0.023923248\,i ,

so the two-term prediction is correct to 1.7×10−41.7\times10^{-4} in absolute terms and to 0.097%0.097\% relative to ∣I(100)∣=0.18019\lvert I(100)\rvert=0.18019. That is consistent with the predicted remainder O(λ−3/2)=O(10−3)O(\lambda^{-3/2})=O(10^{-3}).

What each piece is worth. The stationary term alone misses by 7.9×10−37.9\times10^{-3}, forty-five times the error of the two-term answer: at λ=100\lambda=100 the endpoints are not a refinement one can skip. Their ratio to the stationary term is of order λ−1/2=0.1\lambda^{-1/2}=0.1, exactly as the orders in part 5 predict, and at λ=104\lambda=10^{4} it would be 0.010.01.

ApplicationOriginal

Group velocity of a dispersive wave train. A one-dimensional linear wave problem with dispersion relation ω(k)\omega(k) has solutions

u(x,t)  =  ∫−∞∞A(k) e i(kx−ω(k)t) dk.u(x,t) \;=\; \int_{-\infty}^{\infty} A(k)\,e^{\,i(kx-\omega(k)t)}\,dk .

Fix a ray x/t=Vx/t=V and let t→∞t\to\infty. Then u=∫A(k)eit φ(k)dku = \int A(k)e^{it\,\varphi(k)}dk with φ(k)=kV−ω(k)\varphi(k)=kV-\omega(k), so the large parameter is the elapsed time and the stationary points are the wavenumbers with

ω′(k)  =  V.\omega'(k) \;=\; V .

Part 3 then says u∼2π/(t∣ω′′(kV)∣) A(kV)ei(kVx−ω(kV)t)∓iπ/4u\sim\sqrt{2\pi/(t\lvert\omega''(k_V)\rvert)}\,A(k_V)e^{i(k_Vx-\omega(k_V)t)\mp i\pi/4}: an observer travelling at speed VV sees, after a long time, only the wavenumber whose group velocity is VV, with an amplitude decaying like t−1/2t^{-1/2} because the energy originally present spreads over a region growing like tt. The t−1/2t^{-1/2}, the selection rule ω′(k)=V\omega'(k)=V and the π/4\pi/4 are all read straight off the formula, and the degenerate case ω′′(kV)=0\omega''(k_V)=0 — where the rule selects a band of wavenumbers rather than one, the decay slows to t−1/3t^{-1/3} and the Airy function appears — is exactly the failure described in the remark above.

High-frequency limit of the wave equation, and geometric optics. Evans (Evans (2010), §4.5.3, pp. 207-216) uses stationary phase to justify what the geometric-optics ansatz uε=aεeipε/εu^\varepsilon=a^\varepsilon e^{ip^\varepsilon/\varepsilon} only suggests. Solving utt=Δuu_{tt}=\Delta u with rapidly oscillating data gε(x)=a(x)eip(x)/εg^\varepsilon(x)=a(x)e^{ip(x)/\varepsilon} by the Fourier representation and applying his formula (54) to the resulting double integral, he finds that the stationary set is precisely the ray geometry: the stationary conditions reproduce the characteristics of the Hamilton-Jacobi equation pt±∣Dp∣=0p_t\pm\lvert Dp\rvert=0 for the phase. The amplitude of the answer carries ∣det⁡Dy,z2ϕ∣−1/2\lvert\det D^2_{y,z}\phi\rvert^{-1/2}, which on the stationary set equals ∏i=1n−1∣1−tκi∣−1/2\prod_{i=1}^{n-1}\lvert 1-t\kappa_i\rvert^{-1/2}, since his (56), Evans (Evans (2010), §4.5.3, Eq. (56), p. 216), gives det⁡Dy,z2ϕ+=(−1)n∏i=1n−1(1−tκi)\det D^2_{y,z}\phi_+=(-1)^n\prod_{i=1}^{n-1}(1-t\kappa_i), where κ1,…,κn−1\kappa_1,\dots,\kappa_{n-1} are the principal curvatures of the surface on which the initial phase is constant — so the approximation blows up exactly at the focal times t=1/κit=1/\kappa_i, where neighbouring rays cross and the stationary point becomes degenerate. Stationary phase thus produces both geometrical optics and its caustics, which the formal ansatz cannot see.

Diffraction and the Cornu spiral. In Fresnel diffraction the field at a point behind an edge is ∫eiπu2/2du\int e^{i\pi u^{2}/2}du over the unobstructed aperture, and the amplitude-phase diagram that Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.3, pp. 914-915) draw — the Cornu spiral — is the graph of the partial integrals. Their picture is the method made visible: the tightly wound ends of the spiral are the regions of rapid phase variation, which cancel, and the straight central stretch is the stationary region, which does not. The oscillations of intensity in the illuminated region and the smooth decay in the geometrical shadow are the two ends of that spiral.

Asymptotics of special functions. The integral representations of the Bessel and Airy functions are oscillatory integrals with a parameter, and stationary phase gives their large-argument behaviour directly: for Jn(x)=1π∫0πcos⁡(nθ−xsin⁡θ) dθJ_n(x)=\frac1\pi\int_0^\pi\cos(n\theta-x\sin\theta)\,d\theta with x→∞x\to\infty at fixed nn, the phase xsin⁡θ−nθx\sin\theta-n\theta has (for x>nx>n) exactly one stationary point in (0,π)(0,\pi), at cos⁡θ=n/x\cos\theta=n/x; writing the cosine as 12(ei(nθ−xsin⁡θ)+e−i(nθ−xsin⁡θ))\tfrac12(e^{i(n\theta-x\sin\theta)}+e^{-i(n\theta-x\sin\theta)}) turns that one point into a conjugate pair of contributions, which combine into the familiar 2/(πx)cos⁡(x−nπ/2−π/4)\sqrt{2/(\pi x)}\cos(x-n\pi/2-\pi/4) of Asymptotic forms of Bessel functions — the π/4\pi/4 being the signature factor of this unit. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.3, worked example, pp. 919-920) carry out the companion calculation for Ai(x)\mathrm{Ai}(x) with x<0x<0, where the two real stationary points at ±−x\pm\sqrt{-x} give the oscillatory branch π−1/2(−x)−1/4sin⁡(23(−x)3/2+π4)\pi^{-1/2}(-x)^{-1/4}\sin\bigl(\tfrac23(-x)^{3/2}+\tfrac\pi4\bigr), in contrast with the single complex saddle that governs x>0x>0 and that belongs to The method of steepest descents.

Why path integrals produce classical mechanics. The stationary points of the action are the classical trajectories, and the weight eiS/ℏe^{iS/\hbar} is an oscillatory integrand with λ=1/ℏ\lambda=1/\hbar. The formal application of part 6 to the path integral — one term per classical path, with amplitude ∣det⁡δ2S∣−1/2\lvert\det\delta^2S\rvert^{-1/2} and a phase π/4\pi/4 times the signature of the second variation — is the semiclassical (WKB) approximation, with the signature appearing as the Maslov index. The second variation and its degeneracies are the subject of The second variation and Legendre's condition and Conjugate points and Jacobi's condition, and the one-dimensional case is The WKB approximation.

Method

The method of steepest descents

Adapted

Evaluates ∫Cg(z)eλf(z)dz\int_C g(z)e^{\lambda f(z)}dz for large λ\lambda by deforming the contour onto a path through a saddle point of ff on which the imaginary part of ff is frozen, so that the oscillation disappears and the integral becomes a real Gaussian; gives the leading-order formula g(z0)eλf(z0)eiθ2π/(λ∣f′′(z0)∣)g(z_0)e^{\lambda f(z_0)}e^{i\theta}\sqrt{2\pi/(\lambda|f''(z_0)|)} and the rule that fixes the direction θ\theta.

Prerequisites: Laplace's method, Cauchy's theorem, Taylor series of analytic functions, Gaussian integrals

Definition(Saddle points, level lines, steepest paths, valleys)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.8.1, Eqs. (25.58)-(25.63), pp. 905-908; Arfken, Weber & Harris (2013), §12.7, Eqs. (12.100)-(12.103), pp. 586-587; Hassani (2013), §12.5, Eqs. (12.23)-(12.28), pp. 382-383

Let ff and gg be analytic in a region containing a contour CC, let λ>0\lambda>0 be a large real parameter, and consider

I(λ)  =  ∫Cg(z) eλf(z) dz.I(\lambda) \;=\; \int_{C} g(z)\,e^{\lambda f(z)}\,dz .

Hassani (Hassani (2013), §12.5, p. 382) notes that a complex λ\lambda may always be made real and positive by absorbing its phase into ff; Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, p. 585) and Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8, p. 905) instead absorb λ\lambda into ff altogether and write the integrand as g efg\,e^{f}. We keep λ\lambda visible, since it is the quantity the expansion is in.

Write

f(z)  =  φ(x,y)+i ψ(x,y),z=x+iy,f(z) \;=\; \varphi(x,y) + i\,\psi(x,y) , \qquad z = x+iy ,

so that ∣eλf∣=eλφ\lvert e^{\lambda f}\rvert = e^{\lambda\varphi} and arg⁡eλf=λψ\arg e^{\lambda f} = \lambda\psi. Since ff is analytic, φ\varphi and ψ\psi are harmonic and conjugate, so:

  • The curves φ=const\varphi=\text{const}, on which the modulus of the integrand is constant, are the level lines. The curves ψ=const\psi=\text{const}, on which its phase is constant, are the lines of steepest descent or ascent. Because ∇φ⊥∇ψ\nabla\varphi\perp\nabla\psi, the two families cross at right angles, and the direction in which ∣eλf∣\lvert e^{\lambda f}\rvert changes fastest is the direction in which the phase does not change at all. That coincidence is the whole point of the method.
  • φ\varphi has no interior maximum or minimum where ff is analytic: at one, φxx\varphi_{xx} and φyy\varphi_{yy} would have the same sign, contradicting φxx+φyy=0\varphi_{xx}+\varphi_{yy}=0. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, p. 586, Exercise 12.7.1) call the corresponding statement for ∣F∣\lvert F\rvert Jensen's theorem.

A point z0z_0 with

f′(z0)  =  0f'(z_0) \;=\; 0

is a saddle point of ff. There ∇φ=∇ψ=0\nabla\varphi=\nabla\psi=0: both the modulus and the phase of the integrand are stationary. Writing

f′′(z0)  =  A eiα,A=∣f′′(z0)∣>0,z−z0=ρ eiθ,f''(z_0) \;=\; A\,e^{i\alpha}, \qquad A=\lvert f''(z_0)\rvert>0 , \qquad z-z_0 = \rho\,e^{i\theta} ,

the Taylor expansion f(z)=f(z0)+12f′′(z0)(z−z0)2+O(ρ3)f(z)=f(z_0)+\tfrac12 f''(z_0)(z-z_0)^2+O(\rho^3) gives

φ−φ(z0)=12Aρ2cos⁡(2θ+α)+O(ρ3),ψ−ψ(z0)=12Aρ2sin⁡(2θ+α)+O(ρ3).\varphi - \varphi(z_0) = \tfrac12 A\rho^{2}\cos(2\theta+\alpha)+O(\rho^{3}) , \qquad \psi - \psi(z_0) = \tfrac12 A\rho^{2}\sin(2\theta+\alpha)+O(\rho^{3}) .

Hence, to second order:

  • the level lines through z0z_0 are the two perpendicular lines made up of the four directions with cos⁡(2θ+α)=0\cos(2\theta+\alpha)=0;
  • the lines of constant phase are the two perpendicular lines made up of the four directions with sin⁡(2θ+α)=0\sin(2\theta+\alpha)=0, bisecting the level lines at π/4\pi/4;
  • of the latter, the pair with cos⁡(2θ+α)=−1\cos(2\theta+\alpha)=-1, that is
θ  =  π−α2orθ  =  π−α2+π,\theta \;=\; \frac{\pi-\alpha}{2} \quad\text{or}\quad \theta \;=\; \frac{\pi-\alpha}{2}+\pi ,

are the directions in which ∣eλf∣\lvert e^{\lambda f}\rvert falls off fastest. These two are antiparallel, so together they form a single smooth curve through z0z_0: the line of steepest descents. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.1, p. 908) point out that the plural is deliberate — the modulus decreases on both sides of the saddle.

A valley is a region in which φ→−∞\varphi\to-\infty, so that the integrand tends to zero; the level lines through the saddles divide the plane into valleys and the hills between them. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, pp. 908-909) call these regions sectors; earlier, in §25.8.1 (Riley, Hobson & Bence (2006), §25.8.1, p. 907), the same authors observe that a steepest path cannot close on itself, since φ\varphi decreases monotonically along it until it meets a singularity of ff.

Method(The saddle-point formula)AdaptedAdapted from Hassani (2013), §12.5, Eq. (12.34), p. 385; Arfken, Weber & Harris (2013), §12.7, Eqs. (12.106) and (12.108), pp. 588-589; Riley, Hobson & Bence (2006), §25.8.2, Eq. (25.66) p. 909 and the sign rule p. 910

Let ff and gg be analytic in a region containing the contour CC, let z0z_0 be a saddle point of ff with f′′(z0)=Aeiαf''(z_0)=Ae^{i\alpha} and A≠0A\neq0, and suppose that

  1. CC may be deformed, without crossing a singularity of ff or gg and without changing its endpoints or the valleys in which they lie, into a contour C0C_0 that crosses z0z_0 along the line of steepest descents;
  2. gg is continuous and non-zero at z0z_0 and varies slowly compared with eλfe^{\lambda f} near z0z_0;
  3. the contribution to ∫C0\int_{C_0} from outside any fixed neighbourhood of z0z_0 is exponentially smaller than the contribution from inside it.

Then, as λ→+∞\lambda\to+\infty,

∫Cg(z) eλf(z) dz  ∼  g(z0) eλf(z0)  eiθ  2πλ A,\int_{C} g(z)\,e^{\lambda f(z)}\,dz \;\sim\; g(z_0)\,e^{\lambda f(z_0)}\;e^{i\theta}\;\sqrt{\frac{2\pi}{\lambda\,A}} ,

where θ\theta is the direction, in the sense of traversal of C0C_0, in which the deformed contour passes through z0z_0:

θ  =  π−α2orπ−α2+π,\theta \;=\; \frac{\pi-\alpha}{2} \quad\text{or}\quad \frac{\pi-\alpha}{2}+\pi ,

the choice being fixed by the orientation of CC. If several saddle points must be crossed, the contributions are added.

The three books state this identically up to bookkeeping. Hassani (Hassani (2013), §12.5, Eq. (12.34), p. 385) writes I(α)≈eαf(z0)2π/α eiθ1g(z0)∣f′′(z0)∣−1/2I(\alpha)\approx e^{\alpha f(z_0)}\sqrt{2\pi/\alpha}\,e^{i\theta_1}g(z_0)\lvert f''(z_0)\rvert^{-1/2} with the large parameter α\alpha explicit, as here. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Eqs. (12.106), (12.108), pp. 588-589) absorb λ\lambda into their exponent ww and write g(z0)F(z0)eiθ2π/∣w′′(z0)∣g(z_0)F(z_0)e^{i\theta}\sqrt{2\pi/\lvert w''(z_0)\rvert} with θ=−12arg⁡w′′+(π2\theta=-\tfrac12\arg w''+(\tfrac\pi2 or 3π2)\tfrac{3\pi}{2}), which is the same pair of directions. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, Eq. (25.66) p. 909, sign rule p. 910) write ±2π/A g(z0)ef0ei(π−α)/2\pm\sqrt{2\pi/A}\,g(z_0)e^{f_0}e^{i(\pi-\alpha)/2} and resolve the sign, on the following page, by the rule that it is ++ when the direction of traversal satisfies −π2<θ≤π2-\tfrac\pi2<\theta\le\tfrac\pi2; since −ei(π−α)/2=ei[(π−α)/2+π]-e^{i(\pi-\alpha)/2}=e^{i[(\pi-\alpha)/2+\pi]}, their ±\pm is exactly the choice between the two values of θ\theta above.

Note(Three conventions for one sign)AdaptedAdapted from Hassani (2013), §12.5, Eq. (12.31), p. 384; Riley, Hobson & Bence (2006), §25.8.2, pp. 909-910; Arfken, Weber & Harris (2013), §12.7, Eq. (12.106), p. 588

The two admissible directions differ by π\pi and hence by an overall minus sign in the answer, so a convention is needed and the books choose differently.

  • Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, pp. 909-910) keep the factor ei(π−α)/2e^{i(\pi-\alpha)/2} and attach ±\pm in front, taking ++ when the traversal direction θ\theta lies in (−π2,π2](-\tfrac\pi2,\tfrac\pi2] — in their words, when the path crosses the saddle in the direction of increasing real part.
  • Hassani (Hassani (2013), §12.5, Eq. (12.31), p. 384) fixes 0≤θ1<π0\le\theta_1<\pi and orients the real parameter tt accordingly, so that no ±\pm appears in his formula; the price is that the orientation of the contour must be checked against his choice, and reversed with a minus sign if it disagrees.
  • Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Eq. (12.106), p. 588) list both values of θ\theta and say only that the choice is settled by the sense of traversal at z0z_0, and that nothing but the sign depends on it.

This unit follows the third: θ\theta is the traversal direction, and no separate sign appears. Whichever convention is used, the orientation of the original contour is what decides, and getting it wrong changes the sign of the answer — in the worked example below it would flip the sign of a cosine.

Idea of the proofOriginal

Two obstacles stand between ∫g eλfdz\int g\,e^{\lambda f}dz and Laplace's method. The exponent is complex, so the integrand oscillates and the contributions cancel rather than concentrate; and even its modulus eλφe^{\lambda\varphi} has no peak, because a harmonic function has no interior maximum. Cauchy's theorem removes both at once. The contour may be moved, and we move it to a curve on which Im⁡f\operatorname{Im}f is constant. On such a curve the oscillating factor is a single constant phase that comes outside the integral, and what remains is a real integral with a genuine maximum of eλφe^{\lambda\varphi}.

Where can that maximum be? Only at a point where the curve of constant phase has a critical point of φ\varphi along it, and the no-maximum theorem forces that point to be a saddle: f′(z0)=0f'(z_0)=0. Near it ff is quadratic, so on the steepest path the integrand is a Gaussian in the arclength, of width λ−1/2\lambda^{-1/2}, and Laplace's method finishes the job. The two factors in the answer are then visible in advance: eλf(z0)e^{\lambda f(z_0)} is the height of the pass, and 2π/(λA)\sqrt{2\pi/(\lambda A)} is the width of the Gaussian, with A=∣f′′(z0)∣A=\lvert f''(z_0)\rvert measuring how sharply the ground falls away. The one quantity the local picture cannot supply is the direction eiθe^{i\theta} in which the path crosses: that depends on where the contour came from and where it is going.

Proof(Derivation of the formula)AdaptedAdapted from Riley, Hobson & Bence (2006), §25.8.2, Eqs. (25.64)-(25.66), pp. 909-910; Hassani (2013), §12.5, Eqs. (12.29)-(12.34), pp. 384-385; Arfken, Weber & Harris (2013), §12.7, Eqs. (12.104)-(12.108), pp. 588-589

Step 1: move the contour. geλfg e^{\lambda f} is analytic in the region between CC and C0C_0, so by Cauchy's theorem the two integrals agree, provided the deformation sweeps no singularity and the endpoints are held fixed. When the endpoints are at infinity, it is enough that they stay inside the same valleys throughout, since the integrand is exponentially small there and the joining arcs contribute nothing in the limit. This is hypothesis 1, and it is a global condition: the local analysis below says nothing about whether it holds.

Step 2: freeze the phase. On C0C_0, Im⁡f=ψ(z0)\operatorname{Im}f=\psi(z_0) is constant by construction, and φ≤φ(z0)\varphi\le\varphi(z_0) with equality only at z0z_0, so

λ(f(z)−f(z0))  =  −λ s(z),s(z)≥0 real.\lambda\bigl(f(z)-f(z_0)\bigr) \;=\; -\lambda\,s(z) , \qquad s(z)\ge0 \ \text{real}.

Put s=τ2s = \tau^{2} with τ\tau real, negative before the saddle and positive after it. The integral becomes

∫C0g eλf dz  =  eλf(z0)∫−∞∞g(z(τ)) dzdτ e−λτ2 dτ,\int_{C_0} g\,e^{\lambda f}\,dz \;=\; e^{\lambda f(z_0)}\int_{-\infty}^{\infty} g(z(\tau))\,\frac{dz}{d\tau}\,e^{-\lambda\tau^{2}}\,d\tau ,

an integral of exactly the shape treated in Laplace's method, with a maximum of the exponent at the interior point τ=0\tau=0.

Step 3: the local change of variable. Near z0z_0, f(z)−f(z0)=12Aeiα(z−z0)2+O((z−z0)3)f(z)-f(z_0)=\tfrac12Ae^{i\alpha}(z-z_0)^{2}+O((z-z_0)^{3}). Dropping the cubic remainder and writing z−z0=ρeiθz-z_0=\rho e^{i\theta} with θ\theta the steepest-descent direction, so that ei(2θ+α)=−1e^{i(2\theta+\alpha)}=-1,

λ(f(z)−f(z0))  =  −12λAρ2  =  −λτ2,τ=A2  ρ,dz=eiθ dρ=eiθ2A  dτ.\lambda\bigl(f(z)-f(z_0)\bigr) \;=\; -\tfrac12\lambda A\rho^{2} \;=\; -\lambda\tau^{2} , \qquad \tau = \sqrt{\tfrac{A}{2}}\;\rho , \qquad dz = e^{i\theta}\,d\rho = e^{i\theta}\sqrt{\tfrac{2}{A}}\;d\tau .

This is Riley, Hobson and Bence's (Riley, Hobson & Bence (2006), §25.8.2, Eq. (25.65), p. 909) substitution, written there as dz=±2/A ei(π−α)/2dsdz=\pm\sqrt{2/A}\,e^{i(\pi-\alpha)/2}ds; the sign they carry is our choice of which of the two antiparallel directions θ\theta names, and it is fixed by the orientation of CC because τ\tau must increase along the contour.

Step 4: evaluate. By hypothesis 2, gg may be replaced by g(z0)g(z_0) over the width ρ∼(λA)−1/2\rho\sim(\lambda A)^{-1/2} of the Gaussian. Counting powers crudely this costs O(λ−1/2)O(\lambda^{-1/2}) relative to the leading term, but the bound is not sharp. Expanding g(z(τ)) dz/dτg(z(\tau))\,dz/d\tau in powers of τ\tau, the term of first order is odd in τ\tau and integrates to zero against e−λτ2e^{-\lambda\tau^{2}}, so the first surviving correction is the quadratic one and the true relative error is O(λ−1)O(\lambda^{-1}). This is why Hassani's (Hassani (2013), §12.5, Eq. (12.33), p. 385) expansion runs in the Gaussian moments λ−k−1/2\lambda^{-k-1/2}, with nothing in between. By hypothesis 3 the limits may be extended to ±∞\pm\infty, the added tails being exponentially small. With ∫−∞∞e−λτ2dτ=π/λ\int_{-\infty}^{\infty}e^{-\lambda\tau^{2}}d\tau=\sqrt{\pi/\lambda} from Gaussian integrals,

∫Cg eλf dz  ∼  g(z0) eλf(z0) eiθ2A πλ  =  g(z0) eλf(z0) eiθ2πλA.\int_{C} g\,e^{\lambda f}\,dz \;\sim\; g(z_0)\,e^{\lambda f(z_0)}\,e^{i\theta}\sqrt{\frac{2}{A}}\,\sqrt{\frac{\pi}{\lambda}} \;=\; g(z_0)\,e^{\lambda f(z_0)}\,e^{i\theta}\sqrt{\frac{2\pi}{\lambda A}} .

Step 5: several saddles. If the deformation of step 1 can only be carried out through a chain of saddles joined by valleys, step 2 applies on each stretch separately and the results add; the error in neglecting the overlap is exponentially small provided the saddles are well separated. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, p. 589) close their treatment by warning that hypothesis 3 — that the saddle neighbourhood really does dominate — has to be verified case by case, and Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, p. 909) say the same of the multi-saddle case. □\square

Remark(Where the hypotheses are used)Original
  • Analyticity is used only in step 1, and it is used globally. Everything else is Laplace's method on a curve. But step 1 is where the method can silently fail: if the deformation from CC to C0C_0 crosses a pole of gg or a branch cut of ff, the answer acquires a residue or a cut integral that the saddle-point formula knows nothing about. The deformation must also respect the valleys containing the ends of CC; a path that would end on a hill is not a legitimate deformation however much better its saddle looks.
  • f′′(z0)≠0f''(z_0)\neq0 sets the width and the direction. If f′′(z0)=0f''(z_0)=0 as well, two saddles have coalesced; the local exponent is cubic, the width of the pass is λ−1/3\lambda^{-1/3} rather than λ−1/2\lambda^{-1/2}, and the answer involves an Airy function (Airy functions) instead of a Gaussian. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.1, p. 907) note that the Taylor expansion must then be carried to the first non-vanishing term. The same failure appears as an infinity in the formula above, since A→0A\to0.
  • "gg slowly varying" is a real restriction, not a formality. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, p. 909) require that gg have no zeros or singularities near the saddle and that rapidly varying factors be moved into the exponent, usually as a logarithm. A factor zνz^{\nu} with ν\nu comparable to λ\lambda moves the saddle, and treating it as a constant prefactor gives the wrong answer; written as eνln⁡ze^{\nu\ln z} it correctly shifts ff. A zero of gg at z0z_0 makes the leading term vanish and the true leading behaviour is O(λ−3/2)O(\lambda^{-3/2}), from the next term of the expansion.
  • The contribution of the rest of the contour is assumed, not proved. Hypothesis 3 is what makes the extension of the integration limits to ±∞\pm\infty harmless, and it is the hypothesis most often left unchecked. It holds automatically when φ\varphi decreases to −∞-\infty along C0C_0 on both sides, since the discarded tails are then smaller than eλφ(z0)−λδe^{\lambda\varphi(z_0)-\lambda\delta} for some δ>0\delta>0.
  • With several saddles, the largest Re⁡f(z0)\operatorname{Re}f(z_0) wins — but only among those the contour actually crosses. A saddle with a bigger Re⁡f\operatorname{Re}f that is not on any admissible deformation contributes nothing at all; the worked example below has one such, and if it contributed the integral would be exponentially large instead of exponentially small. When the deformation does cross two saddles of equal Re⁡f\operatorname{Re}f, their contributions interfere and the answer oscillates in λ\lambda. Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, p. 912) discuss the other reason to prefer one saddle over another: a nearby second saddle spoils the quadratic approximation even when it is subdominant.
  • The formula is the first term of a series, and the series is asymptotic. Hassani (Hassani (2013), §12.5, Eq. (12.33), p. 385) continues the expansion by developing gg in a Taylor series about z0z_0 and integrating term by term against the Gaussian moments ∫e−λτ2τ2kdτ=λ−k−1/2Γ(k+12)\int e^{-\lambda\tau^{2}}\tau^{2k}d\tau=\lambda^{-k-1/2}\Gamma(k+\tfrac12). In that calculation the change of variable of step 3 is used in its quadratic form, so his higher coefficients account for the variation of gg; the contributions of the cubic and higher terms of ff enter the same orders and must be expanded as well, as is done explicitly for the Gamma integral in Stirling's formula. The resulting series is asymptotic, not convergent (Asymptotic series).
  • The real-axis case is Laplace's method and the level-line case is stationary phase. If CC already passes through z0z_0 along the steepest path — as it does for the Gamma integral — no deformation is needed and the method reduces to Laplace's method. If instead the contour is taken along a level line, where the modulus rather than the phase is constant, the same final formula is obtained by a different route: that is The method of stationary phase, and Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.3, p. 917) verify that their two formulas agree.
Method(Carrying out a saddle-point calculation)Original
  1. Get the integral into the form ∫Cg(z)eλf(z)dz\int_C g(z)e^{\lambda f(z)}dz, with λ\lambda large and real and with every rapidly varying factor inside the exponent. Powers such as zνz^{\nu} with large ν\nu, and factorials, belong in ff as logarithms; only genuinely slowly varying factors stay in gg. If the large parameter is buried, rescale the variable first to expose it, as Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, p. 911) do with s=x1/2ts=x^{1/2}t for the Airy integral.
  2. Find the saddles by solving f′(z)=0f'(z)=0, and compute f(z0)f(z_0) and f′′(z0)=Aeiαf''(z_0)=Ae^{i\alpha} at each.
  3. Map the landscape. Determine the valleys, that is the sectors at infinity in which Re⁡f→−∞\operatorname{Re}f\to-\infty, and locate the endpoints of CC in them. Then decide which chain of saddles joins the starting valley to the finishing valley. This is the step that decides the answer, and it is not local: a saddle with a larger Re⁡f\operatorname{Re}f that lies on no admissible chain does not contribute.
  4. Fix the direction. At each saddle on the chain, the steepest-descent line runs along θ=(π−α)/2\theta=(\pi-\alpha)/2 and θ=(π−α)/2+π\theta=(\pi-\alpha)/2+\pi; take θ\theta to be whichever of the two points along the direction of traversal, which is determined by which valley the path is coming from.
  5. Write down one term per saddle, g(z0)eλf(z0)eiθ2π/(λA)g(z_0)e^{\lambda f(z_0)}e^{i\theta}\sqrt{2\pi/(\lambda A)}, and add them.
  6. Check. Compare Re⁡f\operatorname{Re}f at the saddles used with any crude bound on the integral: a prediction that grows faster than the bound means the wrong chain was chosen. If the original integral is real, the sum must come out real, which for a conjugate pair of saddles means the two terms are conjugate — a sensitive test of the directions chosen in step 4. Finally evaluate the integral numerically at one moderate λ\lambda; for analytic ff and gg at a non-degenerate saddle the correction to each saddle's term is O(λ−1)O(\lambda^{-1}) relative to it, there being no half-integer order between.
Example(A quartic phase with two contributing saddles)Original

Take g≡1g\equiv1 and

I(λ)  =  ∫−∞∞exp⁡[λ(i t−14t4)] dt,f(z)=iz−14z4.I(\lambda) \;=\; \int_{-\infty}^{\infty} \exp\Bigl[\lambda\Bigl(i\,t-\tfrac14 t^{4}\Bigr)\Bigr]\,dt , \qquad f(z) = i z-\tfrac14 z^{4} .

On the real axis the integrand has modulus e−λt4/4e^{-\lambda t^{4}/4}, so the integral converges absolutely and satisfies the crude bound

∣I(λ)∣  ≤  ∫−∞∞e−λt4/4 dt  =  12 Γ(14) (4/λ)1/4,\lvert I(\lambda)\rvert \;\le\; \int_{-\infty}^{\infty} e^{-\lambda t^{4}/4}\,dt \;=\; \tfrac12\,\Gamma(\tfrac14)\,(4/\lambda)^{1/4} ,

which we will use in step 6. Replacing tt by −t-t and conjugating leaves the integrand unchanged, so I(λ)I(\lambda) is real.

Saddles. f′(z)=i−z3=0f'(z)=i-z^{3}=0 gives z3=iz^{3}=i, so

z1=eiπ/6,z2=ei5π/6,z3=ei3π/2=−i.z_1 = e^{i\pi/6},\qquad z_2 = e^{i5\pi/6},\qquad z_3 = e^{i3\pi/2}=-i .

At a saddle z4=z⋅z3=izz^{4}=z\cdot z^{3}=iz, so f(zk)=izk−14izk=34izkf(z_k)=iz_k-\tfrac14 iz_k=\tfrac34 i z_k, which saves all the arithmetic:

f(z1)=34ei2π/3=−38+338i,f(z2)=34ei4π/3=−38−338i,f(z3)=34.f(z_1) = \tfrac34 e^{i2\pi/3} = -\tfrac38+\tfrac{3\sqrt3}{8}i , \qquad f(z_2) = \tfrac34 e^{i4\pi/3} = -\tfrac38-\tfrac{3\sqrt3}{8}i , \qquad f(z_3) = \tfrac34 .

Also f′′(z)=−3z2f''(z)=-3z^{2}, so

f′′(z1)=−3eiπ/3=3ei4π/3,f′′(z2)=−3ei5π/3=3ei2π/3,f''(z_1) = -3e^{i\pi/3} = 3e^{i4\pi/3}, \qquad f''(z_2) = -3e^{i5\pi/3} = 3e^{i2\pi/3},

giving A=3A=3 at both, with α=4π/3\alpha=4\pi/3 at z1z_1 and α=2π/3\alpha=2\pi/3 at z2z_2.

The landscape. For large ∣z∣\lvert z\rvert the quartic dominates and Re⁡f≈−14∣z∣4cos⁡4θ\operatorname{Re}f\approx-\tfrac14\lvert z\rvert^{4}\cos4\theta, so the valleys are the four sectors with cos⁡4θ>0\cos4\theta>0, centred on θ=0, π/2, π, 3π/2\theta=0,\ \pi/2,\ \pi,\ 3\pi/2; call them V0,V1,V2,V3V_0,V_1,V_2,V_3. The contour runs from −∞-\infty, in V2V_2, to +∞+\infty, in V0V_0.

The steepest path through z3=−iz_3=-i is the imaginary axis: on z=iτz=i\tau the exponent f=−τ−14τ4f=-\tau-\tfrac14\tau^{4} is real with a maximum at τ=−1\tau=-1, so that path descends from z3z_3 into V3V_3 one way and into V1V_1 the other. It therefore joins V3V_3 to V1V_1 and cannot be part of any path from V2V_2 to V0V_0. The chain that is available is

V2  ⟶  z2  ⟶  V1  ⟶  z1  ⟶  V0,V_2 \;\longrightarrow\; z_2 \;\longrightarrow\; V_1 \;\longrightarrow\; z_1 \;\longrightarrow\; V_0 ,

so z1z_1 and z2z_2 contribute and z3z_3 does not. The bound above confirms this: Re⁡f(z3)=3/4>0\operatorname{Re}f(z_3)=3/4>0, so a contribution from z3z_3 would be of size e3λ/4e^{3\lambda/4}, impossible for a quantity bounded by O(λ−1/4)O(\lambda^{-1/4}).

Directions. At each saddle θ=(π−α)/2\theta=(\pi-\alpha)/2 or that plus π\pi:

  • at z2z_2 (reached first, coming from the lower left and leaving to the upper right): θ2=(π−2π/3)/2=π/6\theta_2 = (\pi-2\pi/3)/2 = \pi/6;
  • at z1z_1 (reached second, coming from the upper left and leaving to the lower right): θ1=(π−4π/3)/2=−π/6\theta_1 = (\pi-4\pi/3)/2 = -\pi/6.

Both point into the right half plane, consistent with a contour traversed from left to right, which is Riley, Hobson and Bence's (Riley, Hobson & Bence (2006), §25.8.2, p. 910) rule of thumb.

Assembling. With A=3A=3 and g≡1g\equiv1,

I(λ)  ∼  2π3λ[eλ(−3/8−33i/8)eiπ/6+eλ(−3/8+33i/8)e−iπ/6].I(\lambda) \;\sim\; \sqrt{\frac{2\pi}{3\lambda}}\left[ e^{\lambda(-3/8-3\sqrt3 i/8)}e^{i\pi/6} + e^{\lambda(-3/8+3\sqrt3 i/8)}e^{-i\pi/6}\right] .

The two terms are complex conjugates, so the sum is real, as it must be:

  I(λ)  ∼  22π3λ  e−3λ/8 cos⁡ ⁣(338λ−π6)  \boxed{\;I(\lambda)\;\sim\;2\sqrt{\frac{2\pi}{3\lambda}}\;e^{-3\lambda/8}\, \cos\!\left(\frac{3\sqrt3}{8}\lambda-\frac{\pi}{6}\right)\;}

The number. At λ=20\lambda=20: e−3λ/8=e−7.5e^{-3\lambda/8}=e^{-7.5}, 22π/60=0.64720862\sqrt{2\pi/60}=0.6472086, 338⋅20=12.99038\tfrac{3\sqrt3}{8}\cdot20=12.99038, so the argument of the cosine is 12.4667812.46678 and the cosine is 0.99504520.9950452. The prediction is

I(20)  ≈  3.561873×10−4.I(20) \;\approx\; 3.561873\times10^{-4} .

Numerical quadrature of the original real integral gives

I(20)  =  3.541078×10−4,I(20) \;=\; 3.541078\times10^{-4} ,

a relative error of 0.59%0.59\%. At λ=40\lambda=40 the prediction is 1.326920×10−71.326920\times10^{-7} against the exact 1.325479×10−71.325479\times10^{-7}, a relative error of 0.11%0.11\%. The O(λ−1)O(\lambda^{-1}) accuracy the method claims is accuracy relative to each saddle's own contribution, and not relative to their sum: the error of the sum, measured against the exact value, is +5.9×10−3+5.9\times10^{-3} at λ=20\lambda=20, +1.1×10−3+1.1\times10^{-3} at 4040, −9.3×10−4-9.3\times10^{-4} at 6060 and −4.3×10−3-4.3\times10^{-3} at 240240, so it does not fall like λ−1\lambda^{-1} at all. The reason is that the first correction shifts the argument of the cosine as well as the amplitude, and a shift of size λ−1\lambda^{-1} in the argument costs little near a maximum of the cosine and arbitrarily much, in relative terms, near a zero of it, where the sum itself is small.

What the example shows. The answer is exponentially small, of size e−3λ/8e^{-3\lambda/8}, even though the integrand has modulus 11 at t=0t=0: the smallness is pure cancellation, and no amount of care on the real axis would reveal it. It is also oscillatory in λ\lambda, and the oscillation comes from the imaginary parts of ff at the two saddles — a single saddle can never produce it. Finally, had the directions been taken as θ1=5π/6\theta_1=5\pi/6 and θ2=7π/6\theta_2=7\pi/6, the result would have been the same cosine with the opposite sign, and at λ=20\lambda=20 the prediction would have been wrong not by 0.59%0.59\% but by 200%200\%.

ApplicationOriginal

Stirling's formula and the Gamma function. The oldest and still the most used application is Γ(λ+1)=∫0∞e−ttλdt\Gamma(\lambda+1)=\int_0^\infty e^{-t}t^{\lambda}dt. Writing tλ=eλln⁡tt^{\lambda}=e^{\lambda\ln t} — step 1 of the method, moving the rapidly varying factor into the exponent — and rescaling t=λut=\lambda u puts the integral in standard form with a saddle at u=1u=1 on the real axis, where the contour already runs along the steepest path, so θ=0\theta=0 and the formula gives 2πλ λλe−λ\sqrt{2\pi\lambda}\,\lambda^{\lambda}e^{-\lambda} at once. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Example 12.7.1, p. 589) and Hassani (Hassani (2013), §12.5, Example 12.5.1, p. 385) both present exactly this calculation, and Arfken remarks that the method is probably the easiest route to the leading term. The corrections, and the extension to complex argument, are the subject of Stirling's formula.

Asymptotics of Bessel, Hankel and Airy functions. Every special function with a contour-integral representation yields its large-argument behaviour this way, and the structure of the answer is read off the saddle geometry. Hassani (Hassani (2013), §12.5, Example 12.5.2, p. 386) applies the formula to Hν(1)(λ)=1iπ∫Ce(λ/2)(z−1/z)z−ν−1dzH^{(1)}_\nu(\lambda)=\frac{1}{i\pi}\int_C e^{(\lambda/2)(z-1/z)}z^{-\nu-1}dz, where f′=0f'=0 gives z0=±iz_0=\pm i and the contour selects z0=+iz_0=+i, with f(i)=if(i)=i producing the travelling-wave factor eiλe^{i\lambda} and θ1=3π/4\theta_1=3\pi/4 producing the phase −π/4-\pi/4 that appears in every Bessel asymptotic formula (Asymptotic forms of Bessel functions, Integral representations of Bessel functions). Riley, Hobson and Bence (Riley, Hobson & Bence (2006), §25.8.2, pp. 911-912) do the same for Ai(x)\mathrm{Ai}(x) with x>0x>0: the saddles sit at t=±it=\pm i after rescaling, the one at +i+i is chosen, and the result (2πx1/4)−1e−2x3/2/3(2\sqrt\pi x^{1/4})^{-1}e^{-2x^{3/2}/3} is the decaying branch that identifies the function. The oscillatory branch, for x<0x<0, comes from two real stationary points and belongs to The method of stationary phase; the fact that the same function is governed by different saddles in different sectors of the complex plane is the Stokes phenomenon of The WKB approximation.

Statistical mechanics: the partition function and the equivalence of ensembles. Hassani (Hassani (2013), §12.5, p. 382) introduces the method precisely as Debye's technique for the contour integral that represents the partition function. The canonical pattern is that the microcanonical density of states is recovered from the canonical partition function by an inverse Laplace transform,

Ω(E)  =  12πi∫c−i∞c+i∞Z(β) eβE dβ  =  12πi∫e N[ βϵ−β ⁣f(β) ] dβ,\Omega(E) \;=\; \frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty} Z(\beta)\,e^{\beta E}\,d\beta \;=\; \frac{1}{2\pi i}\int e^{\,N[\,\beta\epsilon-\beta\! f(\beta)\,]}\,d\beta ,

with NN the particle number playing the role of λ\lambda. The saddle-point condition is the thermodynamic relation that fixes the temperature given the energy per particle, the exponent at the saddle is NN times the entropy, and the Gaussian width gives the O(N−1/2)O(N^{-1/2}) relative fluctuations. That the two ensembles agree to leading order, and differ by a factor 2πN σ2\sqrt{2\pi N\,\sigma^2} in the prefactor, is the saddle-point formula. The same calculation in probabilistic language is the Legendre transform at the heart of Large deviations and Cramer's theorem, and the Gaussian correction is the local central limit refinement of The central limit theorem.

Inverting Laplace transforms. The Bromwich integral f(t)=12πi∫c−i∞c+i∞fˉ(s)estdsf(t)=\frac{1}{2\pi i}\int_{c-i\infty}^{c+i\infty}\bar f(s)e^{st}ds is in standard form with λ=t\lambda=t, and the long-time behaviour of ff follows from the saddle of st+ln⁡fˉ(s)st+\ln\bar f(s) — or, when fˉ\bar f has a branch point, from the steepest path wrapped around the cut. Diffusion fronts, dispersive pulse arrivals and the late-time tails of Green functions are all computed this way; see The Laplace transform and Integrals around branch cuts.

Numerical mathematics: quadrature along the steepest path. The formula's own construction suggests an algorithm. Deforming an oscillatory integral onto the steepest-descent contour and then applying Gauss-Hermite quadrature turns a problem whose cost grows with λ\lambda into one whose cost falls with λ\lambda, because the integrand becomes a smooth Gaussian bump of width λ−1/2\lambda^{-1/2} with no oscillation at all. This is the basis of numerical steepest descent for highly oscillatory integrals, and it is the practical counterpart of Numerical quadrature failing on ∫eiλf\int e^{i\lambda f} for large λ\lambda. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Example 12.7.2, p. 590) make the point in miniature: for H(t)=∫e−t(z2−1/4)cos⁡(tz)(1+z2)−1dzH(t)=\int e^{-t(z^{2}-1/4)}\cos(tz)(1+z^{2})^{-1}dz at t=100t=100 the integrand on the real axis oscillates so fast that ordinary quadrature is painful, while the saddle at z0=i/2z_0=i/2 gives 0.236330.23633 against the exact 0.232840.23284 with no numerical work at all.

Example

Stirling's formula

Adapted

Derives Γ(x+1)∼2πx xxe−x\Gamma(x+1)\sim\sqrt{2\pi x}\,x^{x}e^{-x} from the Euler integral by Laplace's method, carries the expansion of the exponent far enough to produce the first correction 1+1/(12x)1+1/(12x), records the full Stirling series in Bernoulli numbers together with its range of validity and its divergence, and tests the result on a binomial coefficient.

Prerequisites: Laplace's method, Asymptotic series, The Gamma function

Definition(Stirling's formula, Stirling's series, and the notation)AdaptedAdapted from Arfken, Weber & Harris (2013), §13.4, Eqs. (13.60) and Ex. 13.4.1, pp. 624-625; Ahlfors (1979), §2.5, Eqs. (37)-(38), p. 204

Throughout, Γ\Gamma is the Euler integral of The Gamma function,

Γ(x+1)  =  ∫0∞txe−t dt(x>−1),\Gamma(x+1) \;=\; \int_0^\infty t^{x}e^{-t}\,dt \qquad (x>-1),

so that Γ(n+1)=n!\Gamma(n+1)=n! for non-negative integers nn. The symbol a(x)∼b(x)a(x)\sim b(x) means a/b→1a/b\to1; it says nothing about a−ba-b, which here grows without bound.

Stirling's formula is the leading-order statement Γ(x+1)∼2πx xxe−x\Gamma(x+1)\sim\sqrt{2\pi x}\,x^{x}e^{-x}. Stirling's series is the asymptotic expansion of which it is the first term. The series is normally written for the logarithm, where the coefficients are simplest,

ln⁡Γ(z+1)  ∼  12ln⁡(2π)+(z+12)ln⁡z−z  +  ∑n≥1B2n2n(2n−1) z2n−1,\ln\Gamma(z+1) \;\sim\; \tfrac12\ln(2\pi) + \Bigl(z+\tfrac12\Bigr)\ln z - z \;+\; \sum_{n\ge1}\frac{B_{2n}}{2n(2n-1)\,z^{2n-1}} ,

with the Bernoulli numbers B2=16B_2=\tfrac16, B4=−130B_4=-\tfrac1{30}, B6=142B_6=\tfrac1{42} of Riemann zeta function and Bernoulli numbers. Ahlfors (Ahlfors (1979), §2.5, Eqs. (40)-(41), p. 205) writes the same coefficients as Cν=(−1)ν−1Bν/[(2ν−1)2ν]C_\nu=(-1)^{\nu-1}B_\nu/[(2\nu-1)2\nu] in the older numbering, in which B1=16B_1=\tfrac16 and B2=130B_2=\tfrac1{30} are positive and carry half the index; both conventions give 112z\tfrac1{12z} for the first term, and this unit uses the modern one throughout.

The word series is a courtesy: as Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, p. 623) point out, the Bernoulli numbers grow so fast that the sum diverges for every zz. It is an asymptotic series in the sense of Asymptotic series, useful when truncated and useless when summed.

Example(Stirling's formula and its first corrections)AdaptedAdapted from Arfken, Weber & Harris (2013), §12.7 Example 12.7.1 p. 589, §13.4 Eqs. (13.60) and Ex. 13.4.1, pp. 624-625; Ahlfors (1979), §2.5, Eqs. (36)-(38), pp. 203-204; Grimmett & Stirzaker (2020), §5.9, Eqs. (6)-(7), p. 214

1. Leading order. As x→+∞x\to+\infty through real values,

Γ(x+1)  ∼  2πx  xxe−x,equivalentlyn!  ∼  2πn  nne−n.\Gamma(x+1) \;\sim\; \sqrt{2\pi x}\;x^{x}e^{-x} , \qquad\text{equivalently}\qquad n! \;\sim\; \sqrt{2\pi n}\;n^{n}e^{-n} .

Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §5.9, Eqs. (6)-(7), p. 214) state the second form, attributing it in a footnote to de Moivre, and the equivalent Γ(t)∼tt−1/2e−t2π\Gamma(t)\sim t^{t-1/2}e^{-t}\sqrt{2\pi} for the Gamma function itself.

2. First correction. More precisely,

Γ(x+1)  =  2πx  xxe−x[ 1+112x+O ⁣(1x2)],\Gamma(x+1) \;=\; \sqrt{2\pi x}\;x^{x}e^{-x}\left[\,1+\frac{1}{12x}+O\!\left(\frac{1}{x^{2}}\right)\right] ,

and Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, Exercise 13.4.1, p. 625) continue the bracket as 1+112z+1288z2−13951840z3+⋯1+\dfrac{1}{12z}+\dfrac{1}{288z^{2}}-\dfrac{139}{51840z^{3}}+\cdots.

3. The logarithmic series. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, Eq. (13.60), p. 624) give

ln⁡Γ(z+1)  =  12ln⁡(2π)+(z+12)ln⁡z−z+112z−1360z3+11260z5−⋯ ,\ln\Gamma(z+1) \;=\; \tfrac12\ln(2\pi) + \Bigl(z+\tfrac12\Bigr)\ln z - z + \frac{1}{12z} - \frac{1}{360z^{3}} + \frac{1}{1260z^{5}} - \cdots ,

and state that truncating the series costs an error smaller in modulus than the first term left out.

4. Range of validity, with an exact remainder. Ahlfors (Ahlfors (1979), §2.5, Eqs. (36)-(38), pp. 203-204) proves the exact identity

log⁡Γ(z)  =  12log⁡2π−z+(z−12)log⁡z+J(z),J(z)=1π∫0∞zη2+z2 log⁡11−e−2πη dη,\log\Gamma(z) \;=\; \tfrac12\log 2\pi - z + \Bigl(z-\tfrac12\Bigr)\log z + J(z) , \qquad J(z) = \frac{1}{\pi}\int_0^\infty \frac{z}{\eta^{2}+z^{2}}\,\log\frac{1}{1-e^{-2\pi\eta}}\,d\eta ,

valid in the right half plane, with J(z)→0J(z)\to0 as z→∞z\to\infty in any half plane Re⁡z≥c>0\operatorname{Re}z\ge c>0, and shows that expanding the integrand in powers of 1/z1/z generates the series of part 3. Since ln⁡Γ(z+1)=ln⁡z+ln⁡Γ(z)\ln\Gamma(z+1)=\ln z+\ln\Gamma(z), parts 3 and 4 are the same statement. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Exercise 12.7.3, p. 591) likewise record that the leading term holds for complex argument provided the real part is large and positive.

Idea of the proofOriginal

Two things have to happen before Laplace's method can be used, and they are the whole derivation. The integrand txe−tt^{x}e^{-t} has its maximum at t=xt=x, which runs away as xx grows, so the first move is to rescale, t=xut=xu, which pins the maximum at u=1u=1 for every xx. The second move is to recognise that uxu^{x} is not a slowly varying prefactor but a rapidly varying one, and to put it where it belongs, in the exponent, as exln⁡ue^{x\ln u}. After both moves the integral reads xx+1e−x∫0∞e−xφ(u)dux^{x+1}e^{-x}\int_0^\infty e^{-x\varphi(u)}du with φ(u)=u−1−ln⁡u\varphi(u)=u-1-\ln u, a fixed function, independent of xx, with a single non-degenerate minimum at u=1u=1 where φ=0\varphi=0 and φ′′=1\varphi''=1. Laplace's method then returns 2π/x\sqrt{2\pi/x}, and the three factors multiply to Stirling's formula.

The correction comes from the same picture pushed one step. The Gaussian that dominates has width v∼x−1/2v\sim x^{-1/2} about the minimum, so in the expansion φ=12v2−13v3+14v4−⋯\varphi=\tfrac12v^{2}-\tfrac13v^{3}+\tfrac14v^{4}-\cdots the cubic term contributes xv3∼x−1/2x v^{3}\sim x^{-1/2} and the quartic xv4∼x−1xv^{4}\sim x^{-1}. Expanding the exponential of these small quantities and integrating against the Gaussian, the cubic term dies by symmetry at first order but survives squared, at the same order x−1x^{-1} as the quartic. Two contributions, −34x−1-\tfrac34 x^{-1} from the quartic and +56x−1+\tfrac56 x^{-1} from the squared cubic, leave +112x−1+\tfrac1{12}x^{-1}. The famous 1/121/12 is that near-cancellation.

One thing the local analysis cannot produce is 2π\sqrt{2\pi} itself — it comes from the Gaussian integral, that is from the global normalisation, which is why every proof of Stirling's formula has to pass through some identity that knows about π\pi.

Proof(Derivation by Laplace's method)AdaptedAdapted from Grimmett & Stirzaker (2020), §5.9, Exercise 5.9.6, p. 216; Arfken, Weber & Harris (2013), §12.7, Example 12.7.1, p. 589; Hassani (2013), §12.5, Example 12.5.1, p. 385

Let x>0x>0 be real.

Step 1: rescale so the maximum stands still. Substituting t=xut=xu in the Euler integral, with dt=x dudt=x\,du,

Γ(x+1)  =  ∫0∞txe−t dt  =  xx+1∫0∞uxe−xu du.\Gamma(x+1) \;=\; \int_0^\infty t^{x}e^{-t}\,dt \;=\; x^{x+1}\int_0^\infty u^{x}e^{-xu}\,du .

Step 2: put the rapidly varying factor in the exponent. Writing ux=exln⁡uu^{x}=e^{x\ln u} and factoring out the value of the exponent at the maximum,

Γ(x+1)  =  xx+1∫0∞e−x(u−ln⁡u) du  =  xx+1e−x∫0∞e−xφ(u) du,φ(u)=u−1−ln⁡u.\Gamma(x+1) \;=\; x^{x+1}\int_0^\infty e^{-x(u-\ln u)}\,du \;=\; x^{x+1}e^{-x}\int_0^\infty e^{-x\varphi(u)}\,du , \qquad \varphi(u) = u-1-\ln u .

This is the step that The method of steepest descents insists on: a factor varying as fast as exln⁡ue^{x\ln u} may not be treated as a slowly varying prefactor, because it moves the maximum. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Example 12.7.1, p. 589) and Hassani (Hassani (2013), §12.5, Example 12.5.1, p. 385) make the same two moves, Hassani keeping xx inside the exponent as ln⁡u−u/x\ln u-u/x with the saddle at u=xu=x, which is the same calculation before rescaling.

Step 3: check the hypotheses of Laplace's method. On (0,∞)(0,\infty),

φ′(u)=1−1u,φ′′(u)=1u2,\varphi'(u) = 1-\frac1u , \qquad \varphi''(u) = \frac{1}{u^{2}} ,

so φ\varphi has exactly one stationary point, at u=1u=1; there φ(1)=0\varphi(1)=0 and φ′′(1)=1>0\varphi''(1)=1>0, so it is a non-degenerate interior minimum; and φ>0\varphi>0 elsewhere, with φ(u)→+∞\varphi(u)\to+\infty at both ends (−ln⁡u-\ln u at 00, uu at ∞\infty). These are exactly the hypotheses of Laplace's method, which therefore gives

∫0∞e−xφ(u) du  ∼  2πx φ′′(1)  =  2πx.\int_0^\infty e^{-x\varphi(u)}\,du \;\sim\; \sqrt{\frac{2\pi}{x\,\varphi''(1)}} \;=\; \sqrt{\frac{2\pi}{x}} .

Step 4: leading order. Combining steps 2 and 3,

Γ(x+1)  ∼  xx+1e−x2πx  =  2πx  xxe−x,\Gamma(x+1) \;\sim\; x^{x+1}e^{-x}\sqrt{\frac{2\pi}{x}} \;=\; \sqrt{2\pi x}\;x^{x}e^{-x} ,

which is part 1. This is the computation Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §5.9, Exercise 5.9.6, p. 216) set as an exercise, with the maximum of fn(u)=nln⁡u−uf_n(u)=n\ln u-u at u=nu=n before rescaling.

Step 5: the first correction. Put u=1+vu=1+v, so that φ(1+v)=v−ln⁡(1+v)\varphi(1+v)=v-\ln(1+v) and, for ∣v∣<1\lvert v\rvert<1,

φ(1+v)  =  v22−v33+v44−⋯ .\varphi(1+v) \;=\; \frac{v^{2}}{2}-\frac{v^{3}}{3}+\frac{v^{4}}{4}-\cdots .

Hence

∫0∞e−xφ du  =  ∫−1∞e−xv2/2 exp⁡ ⁣[x(v33−v44+⋯ )]dv.\int_0^\infty e^{-x\varphi}\,du \;=\; \int_{-1}^{\infty} e^{-xv^{2}/2}\,\exp\!\left[x\left(\frac{v^{3}}{3}-\frac{v^{4}}{4}+\cdots\right)\right]dv .

By the localisation that underlies Laplace's method, only ∣v∣≲x−1/2+δ\lvert v\rvert\lesssim x^{-1/2+\delta} matters: outside that range the Gaussian factor is smaller than any power of 1/x1/x, so the lower limit may be moved from −1-1 to −∞-\infty at an exponentially small cost, and inside it the bracket is small and its exponential may be expanded. Counting powers with v∼x−1/2v\sim x^{-1/2}: the term xv3xv^{3} is of order x−1/2x^{-1/2}, the terms xv4xv^{4} and (xv3)2(xv^{3})^{2} are of order x−1x^{-1}, and everything else is smaller. Keeping these,

exp⁡ ⁣[x(v33−v44+⋯ )]  =  1+xv33−xv44+x2v618+⋯ .\exp\!\left[x\left(\frac{v^{3}}{3}-\frac{v^{4}}{4}+\cdots\right)\right] \;=\; 1+\frac{x v^{3}}{3}-\frac{x v^{4}}{4}+\frac{x^{2}v^{6}}{18}+\cdots .

Step 6: integrate term by term. The Gaussian moments are ∫−∞∞e−xv2/2v2kdv=2π/x (2k−1)!! x−k\int_{-\infty}^{\infty}e^{-xv^{2}/2}v^{2k}dv=\sqrt{2\pi/x}\,(2k-1)!!\,x^{-k} and the odd moments vanish, so ⟨v3⟩=0\langle v^{3}\rangle=0, ⟨v4⟩=3x−2\langle v^{4}\rangle=3x^{-2} and ⟨v6⟩=15x−3\langle v^{6}\rangle=15x^{-3}, each relative to 2π/x\sqrt{2\pi/x}. Therefore

∫0∞e−xφ du  =  2πx[1−x4⋅3x2+x218⋅15x3+O(x−2)]  =  2πx[1−34x+56x+O(x−2)],\int_0^\infty e^{-x\varphi}\,du \;=\; \sqrt{\frac{2\pi}{x}}\left[1 - \frac{x}{4}\cdot\frac{3}{x^{2}} + \frac{x^{2}}{18}\cdot\frac{15}{x^{3}} + O(x^{-2})\right] \;=\; \sqrt{\frac{2\pi}{x}}\left[1 - \frac{3}{4x} + \frac{5}{6x} + O(x^{-2})\right] ,

and −34+56=−912+1012=112-\tfrac34+\tfrac56=-\tfrac9{12}+\tfrac{10}{12}=\tfrac1{12}, so the bracket is 1+112x+O(x−2)1+\dfrac{1}{12x}+O(x^{-2}). Multiplying by xx+1e−xx^{x+1}e^{-x} gives part 2. The vanishing of the odd moments also explains why the next correction is O(x−2)O(x^{-2}) and not O(x−3/2)O(x^{-3/2}): every term of half-integer order carries an odd power of vv.

Step 7: the series and the constant. Repeating steps 5 and 6 to higher order reproduces 1288z2\tfrac1{288z^{2}} and the later coefficients, but the labour grows quickly, and Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, p. 622) recommend obtaining the full series instead from the Euler-Maclaurin formula of Euler-Maclaurin summation, applied to ∫0∞(z+t)−2dt\int_0^\infty(z+t)^{-2}dt and integrated twice; that route produces (13.57) and (13.58) with two unknown constants of integration, which are then fixed at C1=0C_1=0 and C2=12ln⁡2πC_2=\tfrac12\ln2\pi by requiring consistency with the Legendre duplication formula. Ahlfors (Ahlfors (1979), §2.5, pp. 203-204) fixes the same two constants differently, the first from Γ(z+1)=zΓ(z)\Gamma(z+1)=z\Gamma(z) and the second from the reflection formula Γ(z)Γ(1−z)=π/sin⁡πz\Gamma(z)\Gamma(1-z)=\pi/\sin\pi z at z=12+iyz=\tfrac12+iy. □\square

Remark(Where the hypotheses are used, and what the derivation does not prove)Original
  • Rescaling is not cosmetic. Laplace's method requires the maximum to sit at a fixed interior point while the large parameter grows; in the unrescaled integral the maximum is at t=xt=x and the width of the peak is x\sqrt{x}, so there is no small parameter at all. Step 1 is what creates one.
  • φ′′(1)=1≠0\varphi''(1)=1\neq0 is what makes the answer 2π/x\sqrt{2\pi/x} rather than something else. A degenerate minimum would give a different power of xx and a different constant, as in the Airy-type cases of The method of stationary phase. Here non-degeneracy is automatic, since φ′′(u)=u−2\varphi''(u)=u^{-2} never vanishes.
  • The uniqueness of the minimum and the growth of φ\varphi at both ends are what let the tails be discarded. φ(u)→∞\varphi(u)\to\infty as u→0+u\to0^+ only logarithmically, so the contribution from near t=0t=0 is O(x−x)O(x^{-x}) rather than merely exponentially small; it is still negligible, but the estimate is worth making rather than assuming.
  • Step 5 is formal where it rearranges an asymptotic expansion, and the justification is borrowed. Expanding ex(v3/3−⋯ )e^{x(v^3/3-\cdots)} and integrating term by term over all of R\mathbb{R} is not a convergent manipulation; it is legitimate as an asymptotic statement because of the localisation argument quoted at the start of the step, which is the same one that proves Laplace's method and is proved in Laplace's method and Watson's lemma. Carrying it to all orders produces a divergent series, so no amount of care turns the derivation into an exact identity; for that one needs the remainder formula of Ahlfors (Ahlfors (1979), §2.5, Eq. (36), p. 203).
  • The constant 2π\sqrt{2\pi} is global, not local. Here it enters through the Gaussian integral. Every other derivation must import it from somewhere equally non-local: Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, p. 624) take it from the Legendre duplication formula, Ahlfors (Ahlfors (1979), §2.5, p. 204) from the reflection formula, and Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §5.9, p. 215) and Folland (Folland (1999), §10.3, Exercise 21, p. 327) from the normalisation of the standard normal distribution via the central limit theorem. An elementary argument comparing ln⁡n!\ln n! with ∫ln⁡\int\ln gives n!∼Cnn+1/2e−nn!\sim Cn^{n+1/2}e^{-n} easily and stops there, unable to evaluate CC.
  • Real x→+∞x\to+\infty is what the derivation above covers; the complex statement needs the contour. Nothing in steps 1-6 is complex, so they establish the formula for large positive real argument only. Its extension to Re⁡z≥c>0\operatorname{Re}z\ge c>0 is Ahlfors's (Ahlfors (1979), §2.5, pp. 203-204) theorem, with the bound on J(z)J(z) obtained by splitting the defining integral at η=∣z∣/2\eta=\lvert z\rvert/2; the saddle-point derivation extends the same way, as Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §12.7, Exercise 12.7.3, p. 591) indicate. The formula fails near the negative real axis for the obvious reason that Γ\Gamma has poles there.
  • The series diverges, so "more terms" is not always "more accuracy". The term B2n/[2n(2n−1)z2n−1]B_{2n}/[2n(2n-1)z^{2n-1}] eventually grows for fixed zz, because ∣B2n∣\lvert B_{2n}\rvert grows faster than any power. The best accuracy attainable at a given zz is reached at the smallest term, and is roughly its size; see the optimal-truncation discussion in Asymptotic series. At z=10z=10 the smallest term is far below machine precision, which is why Stirling's series is the standard way to compute ln⁡Γ\ln\Gamma for large arguments; at z=1z=1 it is useless after two terms.
Method(Using Stirling's formula in practice)Original
  1. Work with logarithms. n!n! overflows for nn beyond a few hundred while ln⁡n!\ln n! does not, and almost every use of the formula is inside a ratio or an exponent anyway. Use ln⁡Γ(x+1)  ≈  12ln⁡(2πx)+xln⁡x−x+112x−1360x3.\ln\Gamma(x+1) \;\approx\; \tfrac12\ln(2\pi x) + x\ln x - x + \frac{1}{12x}-\frac{1}{360x^{3}} .
  2. Shift the argument up before applying it. The error falls like a power of 1/x1/x, so for small xx apply the recurrence Γ(x+1)=x Γ(x)\Gamma(x+1)=x\,\Gamma(x) a few times to move the argument to x+mx+m with mm around 1010, evaluate the series there, and divide back out. This is how library implementations of ln⁡Γ\ln\Gamma are organised.
  3. Cancel before approximating. In a ratio such as (2nn)\binom{2n}{n} or n!/[(n−k)! k!]n!/[(n-k)!\,k!], assemble the logarithms first and let the xln⁡xx\ln x terms cancel algebraically; approximating each factorial separately and then dividing loses most of the accuracy to subtractive cancellation between large numbers.
  4. Decide the number of terms from the target accuracy. The relative error of the mm-term truncation is about the size of the first omitted term. One term gives ≈1/(12x)\approx1/(12x), two give ≈1/(288x2)\approx1/(288x^{2}): for three significant figures, one term suffices from x≈100x\approx100, two from x≈6x\approx6.
  5. Keep track of which form is being used. Γ(x+1)\Gamma(x+1), Γ(x)\Gamma(x) and x!x! differ by factors of xx, and the exponents x+12x+\tfrac12 and x−12x-\tfrac12 are easy to interchange by accident. The safest check is the leading behaviour of the logarithm, ln⁡Γ(x+1)−ln⁡Γ(x)=ln⁡x\ln\Gamma(x+1)-\ln\Gamma(x)=\ln x.
  6. Verify once numerically at a moderate argument, where the exact value is still computable, before trusting the formula at the argument of interest.
Example(Accuracy at small arguments, and a central binomial coefficient)Original

Part A: how good is it already at x=5x=5 and x=10x=10? Writing Sm(x)S_m(x) for the mm-term truncation of the product form of part 2, direct computation gives

xx Γ(x+1)\Gamma(x+1) S1/ΓS_1/\Gamma S2/ΓS_2/\Gamma S3/ΓS_3/\Gamma
55 120120 0.9834930.983493 0.9998850.999885 1.0000211.000021
1010 36288003628800 0.9917040.991704 0.9999680.999968 1.0000031.000003

One term is within 1.7%1.7\% at x=5x=5 and 0.83%0.83\% at x=10x=10; two terms bring this to 1.2×10−41.2\times10^{-4} and 3.2×10−53.2\times10^{-5}; three terms to 2.1×10−52.1\times10^{-5} and 2.7×10−62.7\times10^{-6}. The one- and two-term truncations fall short of Γ\Gamma and the three-term truncation overshoots it, so the error changes sign between the second and the third term — a reminder that the truncations of an asymptotic series do not bracket the answer in any regular way. Arfken, Weber and Harris (Arfken, Weber & Harris (2013), §13.4, Table 13.1, p. 625) tabulate the first two of these columns for s=1,…,10s=1,\dots,10; our values agree with theirs everywhere except at s=10s=10, where they print 0.999980.99998 for the two-term ratio and we compute 0.99996820.9999682, which rounds to 0.999970.99997.

Part B: the number of ways to split 100100 objects into two equal halves. The exact value is

(10050)  =  100 891 344 545 564 193 334 812 497 256  ≈  1.008913445×1029,\binom{100}{50} \;=\; 100\,891\,344\,545\,564\,193\,334\,812\,497\,256 \;\approx\; 1.008913445\times10^{29} ,

a number large enough that computing the three factorials separately is not an option in floating point. Following step 3 of the method, approximate the ratio rather than its parts. With n=50n=50 and the two-term form Γ(m+1)=2πm mme−m(1+112m+1288m2+⋯ )\Gamma(m+1)=\sqrt{2\pi m}\,m^{m}e^{-m}\bigl(1+\tfrac1{12m}+\tfrac1{288m^{2}}+\cdots\bigr),

(2nn)=(2n)!(n!)2=4πn (2n)2ne−2n2πn  n2ne−2n⋅1+124n+11152n2+⋯(1+112n+1288n2+⋯ )2.\binom{2n}{n} = \frac{(2n)!}{(n!)^{2}} = \frac{\sqrt{4\pi n}\,(2n)^{2n}e^{-2n}}{2\pi n\;n^{2n}e^{-2n}}\cdot \frac{1+\frac{1}{24n}+\frac{1}{1152n^{2}}+\cdots}{\left(1+\frac{1}{12n}+\frac{1}{288n^{2}}+\cdots\right)^{2}} .

The algebraic part collapses to 4n/πn4^{n}/\sqrt{\pi n}. For the correction, the denominator squares to 1+16n+172n21+\tfrac1{6n}+\tfrac1{72n^{2}} to this order, whose reciprocal is 1−16n+172n21-\tfrac1{6n}+\tfrac1{72n^{2}}; multiplying by the numerator,

(1+124n+11152n2)(1−16n+172n2)=1−18n+1128n2+O(n−3),\left(1+\frac{1}{24n}+\frac{1}{1152n^{2}}\right)\left(1-\frac{1}{6n}+\frac{1}{72n^{2}}\right) = 1 - \frac{1}{8n} + \frac{1}{128n^{2}} + O(n^{-3}) ,

since 124−16=−18\tfrac1{24}-\tfrac16=-\tfrac18 and 11152+172−1144=1+16−81152=91152=1128\tfrac1{1152}+\tfrac1{72}-\tfrac1{144}=\tfrac{1+16-8}{1152}=\tfrac{9}{1152}=\tfrac1{128}. Hence

(2nn)  =  4nπn[1−18n+1128n2+O(n−3)].\binom{2n}{n} \;=\; \frac{4^{n}}{\sqrt{\pi n}}\left[1-\frac{1}{8n}+\frac{1}{128n^{2}}+O(n^{-3})\right] .

At n=50n=50: 450=1.2676506×10304^{50}=1.2676506\times10^{30} and 50π=12.533141\sqrt{50\pi}=12.533141, so the leading term is 1.011438842×10291.011438842\times10^{29}, high by 0.250%0.250\%. The bracket is 1−1400=0.99751-\tfrac1{400}=0.9975, giving

  (10050)  ≈  1.008910245×1029  \boxed{\;\binom{100}{50} \;\approx\; 1.008910245\times10^{29}\;}

against the exact 1.008913445×10291.008913445\times10^{29}: a relative error of 3.2×10−63.2\times10^{-6}, or about eight correct significant figures from a formula with two terms. Including the third term, +1128⋅2500+\tfrac1{128\cdot2500}, gives 1.008913406×10291.008913406\times10^{29}, with relative error 3.9×10−83.9\times10^{-8}.

What the numbers show. The successive relative errors 2.5×10−32.5\times10^{-3}, 3.2×10−63.2\times10^{-6}, 3.9×10−83.9\times10^{-8} fall by factors of about 790790 and 8181: each new term is smaller than the last by a factor of order nn, which is what an asymptotic series does while it is still far from its optimal truncation. At n=1n=1 the same three approximations give 2.2572.257, 1.9751.975 and 1.9921.992 for (21)=2\binom{2}{1}=2, so even there the first correction is worth having, but the series has stopped being a reliable source of further digits.

ApplicationOriginal

Statistical mechanics: entropy and the counting of microstates. Boltzmann's S=kBln⁡WS=k_B\ln W requires the logarithm of a multinomial coefficient, and Stirling's formula in the crudest form ln⁡N!≈Nln⁡N−N\ln N!\approx N\ln N-N is what turns it into a usable function of the occupation numbers. For W=N!/∏ini!W=N!/\prod_i n_i! with ni=Npin_i=Np_i,

SkB  =  ln⁡W  ≈  −N∑ipiln⁡pi,\frac{S}{k_B} \;=\; \ln W \;\approx\; -N\sum_i p_i\ln p_i ,

the Gibbs entropy: the Nln⁡NN\ln N terms cancel exactly, which is why the crude form suffices and why the answer is extensive. The same cancellation makes the 12ln⁡(2πN)\tfrac12\ln(2\pi N) corrections subextensive, of relative order ln⁡N/N\ln N/N, and therefore invisible in the thermodynamic limit — but they are precisely what is kept in the fluctuation theory. The N!N! of indistinguishability in the ideal-gas partition function enters the Sackur-Tetrode entropy the same way, and the resolution of the Gibbs paradox depends on treating it with Stirling rather than dropping it.

Random walks and the recurrence of diffusion. Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §3.10, Eq. (20), p. 86) apply the formula to the symmetric simple random walk: the probability of being back at the origin after 2k2k steps is u2k=(2kk)2−2ku_{2k}=\binom{2k}{k}2^{-2k}, and the central binomial asymptotics computed in the example above give

u2k  ∼  1πk.u_{2k} \;\sim\; \frac{1}{\sqrt{\pi k}} .

Since ∑kk−1/2\sum_k k^{-1/2} diverges, the walk returns to the origin infinitely often: the recurrence of the one-dimensional walk is a corollary of Stirling's formula. In two dimensions the same computation gives u2k∼1/(πk)u_{2k}\sim1/(\pi k), still divergent, and in three u2k∼c k−3/2u_{2k}\sim c\,k^{-3/2}, convergent — which is Pólya's theorem, and the reason a diffusing particle in space escapes. See Random walks.

The de Moivre-Laplace theorem and the central limit theorem. Historically the formula was invented for this: to find the limiting shape of (nk)2−n\binom{n}{k}2^{-n}. Writing k=n/2+yn/2k=n/2+y\sqrt{n}/2 and applying the two-term formula to all three factorials gives the Gaussian 2/(πn) e−y2/2\sqrt{2/(\pi n)}\,e^{-y^{2}/2} directly, constant included. The logic also runs backwards, and both Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §5.9, pp. 214-215 and Problem 5.12.26, p. 403) and Folland (Folland (1999), §10.3, Exercise 21, p. 327) derive Stirling's formula from the central limit theorem — Grimmett and Stirzaker by Fourier inversion of the characteristic function of a standardised Gamma variable at the single point x=0x=0, and again from a Poisson sum, and Folland from the expectation of the positive part of a standardised Poisson sum. The constant 2π\sqrt{2\pi} is in all cases the normalisation of the normal density. See The central limit theorem.

Information theory and large deviations. With k=pnk=pn, the same two-term computation gives

(npn)  ∼  2 nH(p)2πn p(1−p),H(p)=−plog⁡2p−(1−p)log⁡2(1−p),\binom{n}{pn} \;\sim\; \frac{2^{\,nH(p)}}{\sqrt{2\pi n\,p(1-p)}} , \qquad H(p) = -p\log_2 p-(1-p)\log_2(1-p) ,

so the number of binary strings of length nn with a prescribed fraction of ones is 2nH(p)2^{nH(p)} up to a factor O(n−1/2)O(n^{-1/2}). This is the counting estimate behind the source-coding theorem, behind the typical-set argument, and behind the rate function of Large deviations and Cramer's theorem, where the exponent nHnH is the leading term and the Stirling prefactor supplies the polynomial correction that distinguishes a local from a global limit theorem.

Normalising approximate identities and special-function ratios. Ratios of factorials appear wherever a family of functions has to be normalised. Stakgold and Holst (Stakgold & Holst (2011), §2.2, Exercise 2.2.7(a), p. 122) use k!∼kke−k2πkk!\sim k^{k}e^{-k}\sqrt{2\pi k} to show that Ik=22k+1(k!)2/(2k+1)!I_k=2^{2k+1}(k!)^{2}/(2k+1)! satisfies k Ik→π\sqrt{k}\,I_k\to\sqrt\pi, which is exactly the statement that the Landau kernels (1−x2)k/Ik(1-x^{2})^{k}/I_k form a delta family — the first step of their proof of the Weierstrass approximation theorem. The same ratio, with Γ(k+12)/Γ(k+1)∼k−1/2\Gamma(k+\tfrac12)/\Gamma(k+1)\sim k^{-1/2}, controls the normalisation of Legendre and Gegenbauer polynomials and the large-order behaviour of Bessel coefficients in Asymptotic forms of Bessel functions.