Laplace's Method for Integrals

Reach for almost any integral in physics that carries a large parameter — an action in units of ℏ\hbar, a temperature written as an inverse β\beta, a particle number NN — and it tends to arrive in the shape I(λ)=∫g(x) eλf(x) dxI(\lambda)=\int g(x)\,e^{\lambda f(x)}\,\mathrm{d}x with ff real and λ\lambda large. Such integrals rarely have closed forms, yet are almost always dominated by one point: as λ\lambda climbs, the weight eλf(x)e^{\lambda f(x)} towers wherever ff is largest and collapses to nothing everywhere else, so the whole integral is decided in a shrinking neighbourhood of the maximum. Laplace's method is the disciplined way to cash this in — locate the dominant maximum x0x_0, expand the exponent to second order, recognise the resulting Gaussian bump, and integrate it exactly. The payoff is a formula of striking economy — area equals peak value times peak height times an effective width ∼λ−1/2\sim\lambda^{-1/2} — plus a systematic ladder of corrections in powers of 1/λ1/\lambda built from the higher derivatives of ff and gg. That ladder does not converge; it is asymptotic in Poincaré's sense, superb when truncated near its optimal order and divergent if pushed past it. The method is also the gateway to a whole family: rotate the exponent to imaginary values and it becomes the method of stationary phase; lift the contour into the complex plane and deform it across a saddle and it becomes the method of steepest descent, of which the real-axis Laplace case is the parent. Underneath statistical mechanics, the central limit theorem, semiclassical quantum mechanics, and the asymptotics of every special function, the same Gaussian-peak idea is quietly doing the work.

Key takeaways
  • Laplace's method gives the leading large-λ\lambda asymptotics of I(λ)=∫abg(x) eλf(x) dxI(\lambda)=\int_a^b g(x)\,e^{\lambda f(x)}\,\mathrm{d}x when the real exponent ff has a sharp interior maximum at x0x_0.
  • Near the maximum the exponent is quadratic, f(x)≈f(x0)−12∣f′′(x0)∣(x−x0)2f(x)\approx f(x_0)-\tfrac12|f''(x_0)|(x-x_0)^2, so the integrand is a Gaussian of width ∼λ−1/2\sim\lambda^{-1/2}.
  • The leading result is I(λ)∼g(x0) eλf(x0)2π/(λ∣f′′(x0)∣)I(\lambda)\sim g(x_0)\,e^{\lambda f(x_0)}\sqrt{2\pi/(\lambda|f''(x_0)|)} — peak value, peak height, and effective width multiplied together.
  • Endpoint maxima give λ−1\lambda^{-1} scaling (Watson's lemma), a vanishing f′′f'' gives λ−1/(2p)\lambda^{-1/(2p)}; the correction series in 1/λ1/\lambda is asymptotic and generally divergent.
  • Worked out for the gamma function it delivers Stirling's formula, Γ(z+1)∼2πz zze−z(1+112z+⋯ )\Gamma(z+1)\sim\sqrt{2\pi z}\,z^z e^{-z}(1+\tfrac{1}{12z}+\cdots), accurate to 0.003% at z=10z=10.
  • Key idea: for large λ\lambda the weight eλf(x)e^{\lambda f(x)} is a Gaussian peak of width ∼1/λ∣f′′(x0)∣\sim 1/\sqrt{\lambda|f''(x_0)|} at the maximum x0x_0; replace the integrand by that Gaussian and integrate exactly.
The core insight

For large λ\lambda the weight eλf(x)e^{\lambda f(x)} is a Gaussian peak of width ∼1/λ∣f′′(x0)∣\sim 1/\sqrt{\lambda|f''(x_0)|} centred at the maximum x0x_0; replace the integrand by that Gaussian and integrate exactly.

Where this lives today

Laplace's method is not a museum piece; it is the everyday reflex for extracting numbers from stubborn integrals, and it sits at the base of several live research frontiers. In quantum field theory, path integrals with a large action are evaluated by saddle-point expansion about classical instanton solutions, and the Gaussian fluctuation determinant around the saddle — a descendant of the 2π/∣f′′∣\sqrt{2\pi/|f''|} factor — sets tunnelling rates and vacuum decay probabilities. In statistics and machine learning the "Laplace approximation" is a workhorse for Bayesian inference: a posterior is approximated by a Gaussian at its mode, turning the intractable evidence integral into a Hessian determinant — the engine behind Gaussian-process and neural-network uncertainty estimates. Large-deviation theory, quantifying the exponentially small probabilities of rare events from finance to statistical physics, is at heart a saddle-point analysis of a generating function whose rate function is a Legendre transform. And the asymptotics of the special functions — Bessel, Airy, parabolic-cylinder — are still delivered to arbitrary order by equation (5) and its steepest-descent generalisation. An open direction is resurgence and Borel–Écalle summation, which reconnects the divergent tail of the series to the exponentially small non-perturbative contributions of subdominant saddles.

The physical picture

Watch eλf(x)e^{\lambda f(x)} grow with λ\lambda. The maximum rises exponentially faster than any neighbouring value, so a broad hump at λ=1\lambda=1 becomes a needle at λ=100\lambda=100. Its height is eλf(x0)e^{\lambda f(x_0)}, and how fast it falls away is set by the curvature f′′(x0)f''(x_0): a sharply curved peak is narrow, a flat one wide. The area under a spike is height times width times a shape factor, and for a Gaussian that factor is 2π\sqrt{2\pi} — the entire leading formula in disguise. The first figure makes the collapse visible: three height-normalised weights whose half-widths shrink exactly as 1/λ1/\sqrt{\lambda}.

Figure
As λ grows the weight e^(λf) collapses to a needle at the maximum x₀. The three curves are height-normalised so only their widths differ, and the half-width shrinks as 1/√λ — the λ = 16 peak is 4× narrower than the λ = 1 peak, so only an O(1/√λ) neighbourhood of x₀ survives
The exponential weight becomes a Gaussian spike of width ∝ 1/√(λ|f″|) x x₀ — the global maximum of f half-width ∝ 1/√λ λ = 16 (narrowest) λ = 4 λ = 1 (widest)

Why replace the true bump by a Gaussian at all? Because the region that matters is only ∼λ−1/2\sim\lambda^{-1/2} wide, and over that shrinking window the higher Taylor terms of ff are self-defeatingly small: a cubic contribution scales as λ⋅(λ−1/2)3=λ−1/2→0\lambda\cdot(\lambda^{-1/2})^3=\lambda^{-1/2}\to0, a quartic as λ−1\lambda^{-1}, and only the quadratic term stays O(1)O(1). That is why the Gaussian is not an approximation of convenience but the honest leading behaviour, and why the corrections organise into powers of 1/λ1/\lambda. The second figure shows the machine on the gamma-function integral, where the payoff is a real number: 10!10! recovered to a fraction of a percent from a single Gaussian.

Figure
Laplace's method applied to the gamma integral for z = 10. The reduced integrand e^(z(ln s − s + 1)) is a sharp peak at s = 1 (solid blue); its quadratic Gaussian approximation e^(−z(s−1)²/2) is almost indistinguishable (dashed amber). Integrating the Gaussian gives Γ(11) ≈ 3.599×10⁶, and the +1/(12z) correction gives 3.6287×10⁶, versus the exact 10! = 3 628 800 — an error of 0.003%
The punchline: one Gaussian recovers 10! = 3 628 800 to 0.003% peak = e^(z f(s₀)) 0 0.5 1.0 1.5 2.0 reduced variable s = t/z (peak s₀ = 1) integrand (normalised) true integrand e^(z(ln s − s + 1)) Gaussian e^(−z(s−1)²/2) leading: 3.599×10⁶ (−0.83%) +1/(12z): 3.6287×10⁶ (−0.003%) exact: 3 628 800

The core equations

Everything begins with a single archetype: a real exponent multiplied by a large parameter, weighted by a slowly varying amplitude. The behaviour as λ→+∞\lambda\to+\infty is decided by where ff is largest, not by the fine detail of gg.

I(λ)=∫abg(x) eλf(x) dx,λ→+∞(1)I(\lambda)=\int_a^b g(x)\,e^{\lambda f(x)}\,\mathrm{d}x,\qquad \lambda\to+\infty \qquad (1)

where: λ\lambda — large positive parameter setting the sharpness of the peak; f(x)f(x) — real exponent, the "phase", whose maximum dominates; g(x)g(x) — slowly varying amplitude or prefactor; x0x_0 — location of the global maximum of ff on [a,b][a,b]. For an interior maximum with f′(x0)=0f'(x_0)=0 and f′′(x0)<0f''(x_0)<0, the quadratic expansion turns the integrand into a Gaussian, and the answer is the product of three transparent factors: peak height, amplitude, and width.

I(λ)∼g(x0) eλf(x0)2πλ ∣f′′(x0)∣(2)I(\lambda)\sim g(x_0)\,e^{\lambda f(x_0)}\sqrt{\dfrac{2\pi}{\lambda\,|f''(x_0)|}} \qquad (2)

where: eλf(x0)e^{\lambda f(x_0)} — peak height; g(x0)g(x_0) — amplitude at the peak; 2π/(λ∣f′′(x0)∣)\sqrt{2\pi/(\lambda|f''(x_0)|)} — effective width times 2π\sqrt{2\pi}; ∣f′′(x0)∣=−f′′(x0)|f''(x_0)|=-f''(x_0) since the curvature is negative. A sharper peak (larger ∣f′′∣|f''|) is narrower and contributes less. The engine behind both the leading term and all corrections is the Taylor expansion of the exponent: the linear term is absent because x0x_0 is stationary, the quadratic term builds the Gaussian, and the cubic and quartic terms feed the 1/λ1/\lambda series.

f(x)=f(x0)+12f′′(x0)(x−x0)2+16f′′′(x0)(x−x0)3+124f(4)(x0)(x−x0)4+⋯(3)f(x)=f(x_0)+\tfrac12 f''(x_0)(x-x_0)^2+\tfrac16 f'''(x_0)(x-x_0)^3+\tfrac1{24}f^{(4)}(x_0)(x-x_0)^4+\cdots \qquad (3)

where: f′′(x0)<0f''(x_0)<0 — curvature that fixes the width; f′′′(x0),f(4)(x0)f'''(x_0),f^{(4)}(x_0) — higher derivatives that generate the corrections, each weighted by an extra half-power of the small width λ−1/2\lambda^{-1/2}. To turn those Taylor terms into numbers we need the moments of a Gaussian against t2nt^{2n}. Only even powers survive — odd powers integrate to zero by symmetry, which is why the first correction is O(1/λ)O(1/\lambda) and not O(λ−1/2)O(\lambda^{-1/2}).

∫−∞∞t2n e−a2t2 dt=(2n−1)!!an2πa(4)\int_{-\infty}^{\infty} t^{2n}\,e^{-\frac{a}{2}t^{2}}\,\mathrm{d}t=\dfrac{(2n-1)!!}{a^{n}}\sqrt{\dfrac{2\pi}{a}} \qquad (4)

where: a=λ∣f′′(x0)∣a=\lambda|f''(x_0)| — the inverse variance; (2n−1)!!=1⋅3⋅5⋯(2n−1)(2n-1)!!=1\cdot3\cdot5\cdots(2n-1) — the double factorial; odd moments vanish. The normalised averages are ⟨t2⟩=1/a\langle t^2\rangle=1/a, ⟨t4⟩=3/a2\langle t^4\rangle=3/a^2, ⟨t6⟩=15/a3\langle t^6\rangle=15/a^3. Assembling those moments term by term promotes the leading formula to a full asymptotic expansion — a power series in 1/λ1/\lambda multiplying the Gaussian.

I(λ)∼g(x0) eλf(x0)2πλ∣f′′(x0)∣[1+c1λ+c2λ2+⋯ ](5)I(\lambda)\sim g(x_0)\,e^{\lambda f(x_0)}\sqrt{\dfrac{2\pi}{\lambda|f''(x_0)|}}\left[1+\dfrac{c_1}{\lambda}+\dfrac{c_2}{\lambda^2}+\cdots\right] \qquad (5)

where: c1,c2,…c_1,c_2,\dots — pure numbers built from the derivatives of ff and gg at x0x_0. The series is asymptotic, not convergent: it is meant to be truncated, and its accuracy at fixed truncation improves as λ\lambda grows. The first coefficient is worth memorising, since it fixes the leading fractional error of the bare Laplace estimate. Working carefully with the signs — recall f′′(x0)<0f''(x_0)<0 — the moments of equation (4) combine into a compact expression.

c1=f(4)8 (f′′)2−5 (f′′′)224 (f′′)3−g′′2 g f′′+g′ f′′′2 g (f′′)2∣x0(6)c_1=\dfrac{f^{(4)}}{8\,(f'')^{2}}-\dfrac{5\,(f''')^{2}}{24\,(f'')^{3}}-\dfrac{g''}{2\,g\,f''}+\dfrac{g'\,f'''}{2\,g\,(f'')^{2}}\Bigg|_{x_0} \qquad (6)

where: all quantities are evaluated at x0x_0, with f′′<0f''<0; for constant amplitude g≡1g\equiv1 only the first two terms survive. Because (f′′)3<0(f'')^3<0 the middle term is positive, delivering the gamma integral's +1/(12z)+1/(12z) — a sign that is essential and easy to get backwards. The single most important instance is the gamma function, whose integral representation is tailor-made for the method and yields Stirling's formula in three lines.

Γ(z+1)∼2πz  zz e−z(1+112z+⋯ )(z→∞)(7)\Gamma(z+1)\sim \sqrt{2\pi z}\;z^{z}\,e^{-z}\left(1+\dfrac{1}{12z}+\cdots\right)\quad (z\to\infty) \qquad (7)

where: Γ(z+1)=∫0∞tze−t dt\Gamma(z+1)=\int_0^\infty t^{z}e^{-t}\,\mathrm{d}t equals n!n! at integer z=nz=n. The bracket is equation (5) for f(s)=ln⁡s−sf(s)=\ln s-s, and the 1/(12z)1/(12z) is exactly c1/λc_1/\lambda with λ=z\lambda=z.

Derivation ALeading-order Laplace formula from scratch

The goal is to derive the λ−1/2\lambda^{-1/2} result rigorously for an interior nondegenerate maximum while tracking honestly what is thrown away, so that "replace the integrand by a Gaussian" becomes a controlled limit rather than a hopeful gesture. Assume f∈C2f\in C^2 has a unique global maximum at an interior point x0x_0 with f′′(x0)<0f''(x_0)<0, and gg is continuous with g(x0)≠0g(x_0)\neq0.

Step 1. Factor out the peak value, I(λ)=eλf(x0)∫abg(x) eλ[f(x)−f(x0)] dxI(\lambda)=e^{\lambda f(x_0)}\int_a^b g(x)\,e^{\lambda[f(x)-f(x_0)]}\,\mathrm{d}x. Outside any fixed neighbourhood ∣x−x0∣>δ|x-x_0|>\delta we have f(x)−f(x0)≤−η<0f(x)-f(x_0)\le-\eta<0, so that region contributes at most O(e−λη)O(e^{-\lambda\eta}). Why: this quarantines the answer into an arbitrarily small window around x0x_0, and the discarded tails are exponentially smaller than any power of 1/λ1/\lambda.

Step 2. Rescale to the natural width with x=x0+t/λx=x_0+t/\sqrt{\lambda}, giving λ[f(x)−f(x0)]=12f′′(x0)t2+O(λ−1/2t3)\lambda[f(x)-f(x_0)]=\tfrac12 f''(x_0)t^2+O(\lambda^{-1/2}t^3) and dx=dt/λ\mathrm{d}x=\mathrm{d}t/\sqrt{\lambda}. Why: this is the only scaling that keeps the quadratic term finite while sending every higher term to zero — what makes λ−1/2\lambda^{-1/2} "the" width.

Step 3. Take the limit: the cubic remainder vanishes pointwise and g(x0+t/λ)→g(x0)g(x_0+t/\sqrt\lambda)\to g(x_0), so dominated convergence gives I(λ)∼λ−1/2eλf(x0)g(x0)∫−∞∞e12f′′(x0)t2 dtI(\lambda)\sim \lambda^{-1/2}e^{\lambda f(x_0)}g(x_0)\int_{-\infty}^{\infty} e^{\frac12 f''(x_0)t^2}\,\mathrm{d}t. Why: with the tails already negligible, extending the limits to ±∞\pm\infty is free, and freezing gg at its peak value is legitimate because gg is slowly varying over the shrinking window.

Step 4. Evaluate the Gaussian, ∫−∞∞e−12∣f′′(x0)∣t2 dt=2π/∣f′′(x0)∣\int_{-\infty}^{\infty} e^{-\frac12|f''(x_0)|t^2}\,\mathrm{d}t=\sqrt{2\pi/|f''(x_0)|}, and reassemble to reach I(λ)∼g(x0) eλf(x0)2π/(λ∣f′′(x0)∣)I(\lambda)\sim g(x_0)\,e^{\lambda f(x_0)}\sqrt{2\pi/(\lambda|f''(x_0)|)}. Why: the λ−1/2\lambda^{-1/2} from the rescaling times the 2π/∣f′′∣\sqrt{2\pi/|f''|} from the integral is the whole formula — three physical factors, one line. *For f(s)=ln⁡s−sf(s)=\ln s-s with λ=z\lambda=z, x0=1x_0=1, ∣f′′∣=1|f''|=1, the formula reproduces Γ(z+1)∼2πz zze−z\Gamma(z+1)\sim\sqrt{2\pi z}\,z^z e^{-z} — Stirling's formula.*

Go deeper · Derivation B · 1 minEndpoint maximum and the crossover to Watson's lemma
Derivation BEndpoint maximum and the crossover to Watson's lemma

The goal is to show what changes when the maximum sits at a boundary with nonzero slope rather than at an interior stationary point: the Gaussian gives way to a one-sided exponential, and the scaling drops from λ−1/2\lambda^{-1/2} to λ−1\lambda^{-1} — precisely the regime Watson's lemma governs. Let the maximum lie at the left endpoint x=ax=a with f′(a)<0f'(a)<0 so that ff decreases across [a,b][a,b], and g(a)≠0g(a)\neq0.

Step 1. Because aa is not stationary, the linear term now leads: f(x)≈f(a)+f′(a)(x−a)f(x)\approx f(a)+f'(a)(x-a) with f′(a)<0f'(a)<0. Why: at an ordinary endpoint the derivative does not vanish, so the exponent falls off linearly, and that slope — not a curvature — sets the decay.

Step 2. Substitute u=λ∣f′(a)∣(x−a)u=\lambda|f'(a)|(x-a), so the natural width is ∼1/λ\sim1/\lambda rather than 1/λ1/\sqrt\lambda. Why: a linear exponent decays over a window λ\sqrt\lambda times narrower than a quadratic one, which is the whole origin of the λ−1\lambda^{-1} law.

Step 3. Integrate the one-sided exponential, I(λ)∼g(a)eλf(a)∫0∞λ−1∣f′(a)∣−1e−u du=g(a)eλf(a)/(λ∣f′(a)∣)I(\lambda)\sim g(a)e^{\lambda f(a)}\int_0^{\infty}\lambda^{-1}|f'(a)|^{-1}e^{-u}\,\mathrm{d}u=g(a)e^{\lambda f(a)}/(\lambda|f'(a)|). Why: only half a peak lies inside the domain, and ∫0∞e−u du=1\int_0^\infty e^{-u}\,\mathrm{d}u=1, leaving the leading term Watson's lemma reproduces. *This result is identical to Watson's lemma applied to ∫0∞g(t) e−λt dt∼g(0)/λ\int_0^\infty g(t)\,e^{-\lambda t}\,\mathrm{d}t\sim g(0)/\lambda after the change of variable t=f(a)−f(x)t=f(a)-f(x).*

Go deeper · Derivation C · 1 minFirst correction in 1/λ for a simple model
Derivation CFirst correction in 1/λ for a simple model

The goal is to compute the subleading term explicitly, exposing how the higher Taylor coefficients of ff feed the asymptotic series and pinning down the sign that is so easy to mishandle. Take g≡1g\equiv1 and shift the interior maximum to x0=0x_0=0 with f(0)=0f(0)=0 and f′(0)=0f'(0)=0; write a=∣f′′(0)∣>0a=|f''(0)|>0, b=f′′′(0)b=f'''(0), c=f(4)(0)c=f^{(4)}(0), so that f(x)=−a2x2+b6x3+c24x4+⋯f(x)=-\tfrac{a}{2}x^2+\tfrac{b}{6}x^3+\tfrac{c}{24}x^4+\cdots.

Step 1. Scale x=t/λx=t/\sqrt\lambda so that λf(x)=−a2t2+b6λt3+c24λt4+⋯\lambda f(x)=-\tfrac{a}{2}t^2+\tfrac{b}{6\sqrt\lambda}t^3+\tfrac{c}{24\lambda}t^4+\cdots. Why: the substitution sorts the Taylor terms by powers of λ−1/2\lambda^{-1/2} — the cubic carries λ−1/2\lambda^{-1/2}, the quartic λ−1\lambda^{-1} — so every contribution's order is read off at a glance.

Step 2. Expand the non-Gaussian part of the exponential, exp⁡(b6λt3+c24λt4)=1+c24λt4+b272λt6+⋯\exp(\tfrac{b}{6\sqrt\lambda}t^3+\tfrac{c}{24\lambda}t^4)=1+\tfrac{c}{24\lambda}t^4+\tfrac{b^2}{72\lambda}t^6+\cdots. Why: the bare cubic t3t^3 is odd and integrates to zero, so the survivors are the quartic t4t^4 and the cubic-squared t6t^6, both at O(1/λ)O(1/\lambda) — this is why f′′′f''' enters only through (f′′′)2(f''')^2.

Step 3. Take Gaussian averages with ⟨t4⟩=3/a2\langle t^4\rangle=3/a^2 and ⟨t6⟩=15/a3\langle t^6\rangle=15/a^3, giving the 1/λ1/\lambda bracket c243a2+b27215a3=c8a2+5b224a3\tfrac{c}{24}\tfrac{3}{a^2}+\tfrac{b^2}{72}\tfrac{15}{a^3}=\tfrac{c}{8a^2}+\tfrac{5b^2}{24a^3}. Why: both surviving terms carry a plus sign — the exact point where careless algebra flips a sign.

Step 4. Assemble the boxed result, I(λ)∼2π/(λa)[1+1λ(c8a2+5b224a3)+O(λ−2)]I(\lambda)\sim\sqrt{2\pi/(\lambda a)}\left[1+\tfrac{1}{\lambda}\left(\tfrac{c}{8a^2}+\tfrac{5b^2}{24a^3}\right)+O(\lambda^{-2})\right]. Why: this is equation (5) with c1=c/(8a2)+5b2/(24a3)c_1=c/(8a^2)+5b^2/(24a^3), the g≡1g\equiv1 case of equation (6). *For f=ln⁡s−sf=\ln s-s about s=1s=1 one has a=1a=1, b=f′′′(1)=2b=f'''(1)=2, c=f(4)(1)=−6c=f^{(4)}(1)=-6, so c1=−6/8+5⋅4/24=−0.75+0.833=+1/12c_1=-6/8+5\cdot4/24=-0.75+0.833=+1/12 — exactly Stirling's Γ(z+1)∼2πz zze−z(1+1/12z+⋯ )\Gamma(z+1)\sim\sqrt{2\pi z}\,z^z e^{-z}(1+1/12z+\cdots).*

Limiting cases

The power of λ\lambda in the prefactor is dictated entirely by the local geometry of the maximum — whether it is interior or at an edge, whether the curvature is finite or vanishing, whether the amplitude survives at the peak.

CaseResultMeaning
Interior nondegenerate maximumI∼g(x0) eλf(x0)2πλ ∣f′′(x0)∣I\sim g(x_0)\,e^{\lambda f(x_0)}\sqrt{\dfrac{2\pi}{\lambda\,\vert f''(x_0)\vert }}f′(x0)=0f'(x_0)=0, f′′(x0)<0f''(x_0)<0, g(x0)≠0g(x_0)\neq0. The generic case; the prefactor scales as λ−1/2\lambda^{-1/2}.
Endpoint maximum (simple slope)I∼g(a) eλf(a) 1λ ∣f′(a)∣I\sim g(a)\,e^{\lambda f(a)}\,\dfrac{1}{\lambda\,\vert f'(a)\vert }Maximum at x=ax=a with f′(a)<0f'(a)<0 on [a,b][a,b]. Half a peak and a linear exponent give λ−1\lambda^{-1} scaling — the Watson's-lemma regime.
Degenerate maximum, f′′=0f''=0I∼g(x0) eλf(x0) 1p Γ ⁣(12p)((2p)!λ ∣f(2p)(x0)∣)1/2pI\sim g(x_0)\,e^{\lambda f(x_0)}\,\dfrac{1}{p}\,\Gamma\!\left(\tfrac{1}{2p}\right)\left(\dfrac{(2p)!}{\lambda\,\vert f^{(2p)}(x_0)\vert }\right)^{1/2p}Lowest nonvanishing derivative is order 2p≥42p\ge4 and negative. The peak is flatter, so it is wider: scaling becomes λ−1/(2p)\lambda^{-1/(2p)}.
Vanishing prefactor, g(x0)=0g(x_0)=0I∼g′′(x0)2 eλf(x0)1λ∣f′′(x0)∣(2πλ∣f′′(x0)∣)1/2I\sim \dfrac{g''(x_0)}{2}\,e^{\lambda f(x_0)}\dfrac{1}{\lambda\vert f''(x_0)\vert }\left(\dfrac{2\pi}{\lambda\vert f''(x_0)\vert }\right)^{1/2}If g(x0)=g′(x0)=0g(x_0)=g'(x_0)=0 the first surviving Gaussian moment is the second, giving an extra 1/λ1/\lambda suppression.

Worked examples

1 · Stirling's formula, with the factorial 10! recovered to numbers (fully worked)

Apply Laplace's method to Γ(z+1)=∫0∞tze−t dt\Gamma(z+1)=\int_0^\infty t^z e^{-t}\,\mathrm{d}t, obtain Stirling's formula, and test it on z=10z=10 against the exact 10!=3 628 80010!=3\,628\,800.

Step 1. Put the integrand into Laplace form. Scale t=zst=zs so that tze−t=zzezln⁡se−zst^z e^{-t}=z^z e^{z\ln s}e^{-zs} and dt=z ds\mathrm{d}t=z\,\mathrm{d}s, giving Γ(z+1)=zz+1∫0∞ez(ln⁡s−s) ds\Gamma(z+1)=z^{z+1}\int_0^\infty e^{z(\ln s-s)}\,\mathrm{d}s. The large parameter is λ=z\lambda=z and the exponent is f(s)=ln⁡s−sf(s)=\ln s-s.

Step 2. Locate and characterise the maximum. f′(s)=1/s−1=0f'(s)=1/s-1=0 gives the interior maximum s0=1s_0=1, with f(1)=−1f(1)=-1 and f′′(s)=−1/s2f''(s)=-1/s^2, so f′′(1)=−1f''(1)=-1 and ∣f′′(1)∣=1|f''(1)|=1. The maximum is interior and nondegenerate — equation (2) applies.

Step 3. Assemble the leading term. With g≡1g\equiv1, I∼ezf(1)2π/(z∣f′′∣)=e−z2π/zI\sim e^{z f(1)}\sqrt{2\pi/(z|f''|)}=e^{-z}\sqrt{2\pi/z}, so Γ(z+1)∼zz+1e−z2π/z=2πz zze−z\Gamma(z+1)\sim z^{z+1}e^{-z}\sqrt{2\pi/z}=\mathbf{\sqrt{2\pi z}\,z^z e^{-z}}. This is Stirling's formula.

Step 4. Add the first correction. From equation (6) with g≡1g\equiv1, f′′′(1)=2f'''(1)=2, f(4)(1)=−6f^{(4)}(1)=-6: c1=−68−5⋅424⋅(−1)=−0.75+0.833=+112c_1=\dfrac{-6}{8}-\dfrac{5\cdot4}{24\cdot(-1)}=-0.75+0.833=\mathbf{+\tfrac{1}{12}}, so Γ(z+1)∼2πz zze−z(1+112z+⋯ )\Gamma(z+1)\sim\sqrt{2\pi z}\,z^z e^{-z}(1+\tfrac{1}{12z}+\cdots).

Step 5. Put in numbers at z=10z=10. The leading term gives 20π (10/e)10=3.599×106\sqrt{20\pi}\,(10/e)^{10}=\mathbf{3.599\times10^6}, which is 0.83%0.83\% below the exact 10!10!; multiplying by 1+1/1201+1/120 gives 3.6287×106\mathbf{3.6287\times10^6}, now within 0.003%\mathbf{0.003\%} of 3 628 8003\,628\,800. One Gaussian plus one correction reproduces a seven-digit factorial to three decimal places.

2 · The modified Bessel function I₀(λ) at large argument (fully worked)

Use Laplace's method on the integral representation I0(λ)=12π∫−ππeλcos⁡θ dθI_0(\lambda)=\dfrac{1}{2\pi}\int_{-\pi}^{\pi} e^{\lambda\cos\theta}\,\mathrm{d}\theta to find its large-λ\lambda asymptotics, and test at λ=5\lambda=5 against the exact I0(5)=27.2399I_0(5)=27.2399.

Step 1. Identify the exponent and its maximum. Here f(θ)=cos⁡θf(\theta)=\cos\theta, maximal at the interior point θ0=0\theta_0=0 with f(0)=1f(0)=1, f′(0)=0f'(0)=0, and f′′(0)=−1f''(0)=-1, so ∣f′′∣=1|f''|=1. The prefactor is g≡1/(2π)g\equiv1/(2\pi).

Step 2. Apply the leading formula. Equation (2) gives ∫−ππeλcos⁡θ dθ∼eλ2π/λ\int_{-\pi}^{\pi}e^{\lambda\cos\theta}\,\mathrm{d}\theta\sim e^{\lambda}\sqrt{2\pi/\lambda}, so I0(λ)∼12πeλ2π/λ=eλ2πλI_0(\lambda)\sim \dfrac{1}{2\pi}e^{\lambda}\sqrt{2\pi/\lambda}=\mathbf{\dfrac{e^{\lambda}}{\sqrt{2\pi\lambda}}} — the standard asymptotic of I0I_0.

Step 3. Compute the correction. Expanding cos⁡θ=1−θ2/2+θ4/24−⋯\cos\theta=1-\theta^2/2+\theta^4/24-\cdots gives a=1a=1, b=f′′′(0)=0b=f'''(0)=0, c=f(4)(0)=+1c=f^{(4)}(0)=+1, so c1=c/(8a2)+5b2/(24a3)=18c_1=c/(8a^2)+5b^2/(24a^3)=\mathbf{\tfrac18}, and I0(λ)∼eλ2πλ(1+18λ+⋯ )I_0(\lambda)\sim \dfrac{e^{\lambda}}{\sqrt{2\pi\lambda}}\left(1+\dfrac{1}{8\lambda}+\cdots\right).

Step 4. Put in numbers at λ=5\lambda=5. The leading term is e5/10π=26.48e^5/\sqrt{10\pi}=\mathbf{26.48}, 2.8%2.8\% below the exact 27.239927.2399; times 1+1/401+1/40 gives 27.14\mathbf{27.14} (0.36%0.36\% low), and the next term 9/(128λ2)9/(128\lambda^2) brings it to 27.2227.22 (0.09%0.09\%). The successive partial sums close in on the true value — the signature of a good asymptotic series at moderate λ\lambda.

Physics of the portrait

Laplace's method is the mathematical distillate of a physical instinct: in a system with an overwhelmingly large parameter, the whole answer is carried by the most probable configuration plus Gaussian jitter around it — and it traces to a single figure who was as much a physicist of the heavens as a mathematician of chance.

Origins · 1 minPierre-Simon Laplace and how this was discovered
PL
Pierre-Simon Laplace
1749–1827 · celestial mechanics, probability theory, and the birth of asymptotic analysis

Pierre-Simon Laplace, the "Newton of France", spent his life showing that the visible order of the world was the overwhelmingly probable outcome of underlying law. In a 1774 memoir on the probability of causes he faced integrals ∫eλf(x) dx\int e^{\lambda f(x)}\,\mathrm{d}x with λ\lambda large, arising when many independent observations are combined, and introduced the device that now bears his name: expand the exponent about its maximum, keep the quadratic term, integrate the resulting Gaussian. In the monumental Théorie analytique des probabilités of 1812 it became a systematic tool for the asymptotics of the theory of errors — the same analysis that underlies the central limit theorem he did so much to establish. The method was not born in a vacuum: Stirling and de Moivre had already found, around 1730, that n!≈2πn (n/e)nn!\approx\sqrt{2\pi n}\,(n/e)^n, the prototype result his technique reproduces in a few strokes. Its later life was richer still. Peter Debye lifted the idea into the complex plane as the method of steepest descent in 1909; G. N. Watson gave the rigorous endpoint lemma in 1918; and in the twentieth century the same Gaussian-peak philosophy became the saddle-point evaluation of partition functions and the stationary-phase backbone of semiclassical quantum mechanics. What Laplace built to tame the arithmetic of chance turned out to be the universal grammar of "large parameter, sharp peak".

History
1730
— Stirling and de Moivre establish n! ≈ √(2πn)(n/e)ⁿ, the prototype asymptotic
1774
— Laplace approximates large-parameter integrals by expanding about the maximum
1812
— Laplace's Théorie analytique des probabilités systematises the method
1909
— Debye recasts the idea in the complex plane as the method of steepest descent
1918
— Watson's lemma gives the rigorous endpoint and Laplace-transform version

Going further

Texts. Bender & Orszag, Advanced Mathematical Methods for Scientists and Engineers, §6.3–6.4 (the definitive treatment of Laplace's method and its corrections) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 12 (asymptotic series) · Stone & Goldbart, Mathematics for Physics, ch. on asymptotic expansions · Hassani, Mathematical Physics, ch. on asymptotic methods · Byron & Fuller, Mathematics of Classical and Quantum Physics, on integral asymptotics · Olver, Asymptotics and Special Functions (rigorous error bounds). Key numerical checks: (1) the Gaussian moment identity ∫t2ne−at2/2 dt=(2n−1)!! a−n2π/a\int t^{2n}e^{-at^2/2}\,\mathrm{d}t=(2n-1)!!\,a^{-n}\sqrt{2\pi/a}; (2) Stirling with c1=+1/12c_1=+1/12 — the sign is positive because the middle term of equation (6) has (f′′)3<0(f'')^3<0 — reproducing 10!10! to 0.003%0.003\% at z=10z=10; (3) the endpoint scaling ∼1/λ\sim1/\lambda consistent with Watson's lemma; (4) the Bessel asymptotic I0(λ)∼eλ/2πλ (1+1/8λ)I_0(\lambda)\sim e^\lambda/\sqrt{2\pi\lambda}\,(1+1/8\lambda), giving 27.1427.14 versus the exact 27.239927.2399 at λ=5\lambda=5.

Builds on: Order Symbols and Gauge Functions · Asymptotic Series and Poincaré Expansions · Regular Perturbation Theory. Leads to: Watson's Lemma · Method of Steepest Descent and Saddle Points · Method of Stationary Phase · WKB Approximation.

Ask the tutor: Bring me any integral with a large parameter — a partition function, a Bessel or gamma asymptotic, a tunnelling amplitude — and we will find its dominant peak and read off the leading behaviour together.

When exactly is Laplace's method the right tool, as opposed to steepest descent or stationary phase?

Use Laplace's method when the exponent λf(x)\lambda f(x) is real and has a genuine maximum on a real interval, with λ→+∞\lambda\to+\infty. If the exponent is purely imaginary, eiλϕ(x)e^{i\lambda\phi(x)}, the integrand oscillates rather than peaks and you need the method of stationary phase, whose dominant points are where ϕ′=0\phi'=0 and which carries a phase e±iπ/4e^{\pm i\pi/4}. If the exponent is complex, or the real maximum is inaccessible on the given contour, you deform the contour through a saddle point of ff — the method of steepest descent, of which Laplace's real-axis case is the special instance. In short: real peak is Laplace; oscillation is stationary phase; complex contour is steepest descent.

Why is the correction series divergent, and how can a divergent series be useful?

The coefficients cnc_n are built from ever-higher Gaussian moments, which grow factorially, so cn/λnc_n/\lambda^n eventually increases without bound no matter how large λ\lambda is. The series is asymptotic in Poincaré's sense: for a fixed truncation order NN, the error is of order the first omitted term and shrinks like λ−(N+1)\lambda^{-(N+1)} as λ→∞\lambda\to\infty. In practice you truncate near the optimal order, roughly where consecutive terms stop shrinking (n∼λn\sim\lambda), and there the accuracy is exponentially good; summing past that point only makes things worse. To go further you need resummation — Borel summation reconstructs a function whose asymptotic expansion is the given series, with resurgence tying the ambiguities to exponentially small contributions from other saddles.

How do I know I have found the global maximum and not just a local one?

This is the assumption most often violated in practice, and getting it wrong produces answers that are not merely inaccurate but exponentially wrong. The safeguard is to evaluate ff at every candidate — all interior stationary points and both endpoints — and compare the values of ff itself, not of f′′f'' or gg, because the leading exponential eλfe^{\lambda f} swamps everything else. The largest value of ff wins outright; a competitor lower by a finite gap Δ\Delta is suppressed by e−λΔe^{-\lambda\Delta}, and only exactly tied maxima are summed together. When ff depends on parameters, watch for a value where a subdominant maximum overtakes the leading one — a Stokes phenomenon, a discontinuous change in which saddle dominates.

Where does the √(2π) actually come from — is it fundamental or a coincidence?

It is the area under a unit Gaussian, ∫−∞∞e−t2/2 dt=2π\int_{-\infty}^\infty e^{-t^2/2}\,\mathrm{d}t=\sqrt{2\pi}, and it is as fundamental as the Gaussian's role as the universal shape of a smooth peak. Any function with a smooth interior maximum looks locally like an inverted parabola in its exponent, and exponentiating an inverted parabola gives a Gaussian; the constant 2π\sqrt{2\pi} is the once-and-for-all price of that shape. This is why the same 2π\sqrt{2\pi} turns up in Stirling's formula, in the normal distribution, and in the fluctuation determinant of a path integral — all the same integral in different clothes. Change the curvature and you rescale the width by 1/∣f′′∣1/\sqrt{|f''|}, but the 2π\sqrt{2\pi} is invariant.

What happens if the second derivative vanishes at the maximum?

Then the peak is flatter than a parabola and the standard formula breaks down, because its width estimate 1/λ∣f′′∣1/\sqrt{\lambda|f''|} diverges. You must keep the lowest nonvanishing derivative, say f(2p)(x0)<0f^{(2p)}(x_0)<0 with 2p≥42p\ge4, so that locally f(x)−f(x0)≈f(2p)(x0)(x−x0)2p/(2p)!f(x)-f(x_0)\approx f^{(2p)}(x_0)(x-x_0)^{2p}/(2p)!. The integral becomes a generalised Gaussian ∫e−βu2p du\int e^{-\beta u^{2p}}\,\mathrm{d}u that evaluates to a gamma function, and the scaling softens from λ−1/2\lambda^{-1/2} to λ−1/(2p)\lambda^{-1/(2p)} — a flatter peak is wider and contributes more. In the complex-plane version this higher-order critical point is exactly what produces Airy-function (rather than Gaussian) behaviour near a coalescence of saddles.

Does the prefactor g(x) ever change the leading power of λ?

Only in the exceptional case that gg vanishes at the maximum. Generically g(x0)≠0g(x_0)\neq0, so freezing gg at its peak value is exact to leading order and the amplitude sets only the overall constant, not the power of λ\lambda. But if g(x0)=0g(x_0)=0 the leading Gaussian contribution disappears and the first surviving term comes from g′′(x0)g''(x_0) times the second moment ⟨t2⟩=1/(λ∣f′′∣)\langle t^2\rangle=1/(\lambda|f''|), costing an extra factor of 1/λ1/\lambda; a nonzero g′(x0)g'(x_0) contributes only an odd moment that vanishes, so you still land on the g′′g'' term. The rule of thumb: a nonzero amplitude shifts the constant, a vanishing one demotes the leading power.

Before this

Where this leads