On this page
In school you learn that a divergent series is useless: its partial sums never settle. Asymptotic expansions break that rule. Their terms shrink for a while and then grow without limit, yet the first few terms can approximate a function very accurately. If you have used Stirling's formula for n!, you have already met one.
What is an asymptotic expansion?
The precise language comes from the NIST Digital Library of Mathematical Functions, section 2.1. Three symbols do the work, as x approaches some limit:
f(x) = O(φ(x)) means |f(x)/φ(x)| stays bounded.
f(x) = o(φ(x)) means f(x)/φ(x) → 0.
f(x) ~ φ(x) means f(x)/φ(x) → 1.
A series a₀ + a₁/x + a₂/x² + … is an asymptotic expansion of f(x) as x → ∞ when, for every n, stopping after n terms leaves an error of size O(x⁻ⁿ) (DLMF eq. 2.1.13). The DLMF states that the series in this definition may be convergent or divergent.
Why does the series for e^x E₁(x) diverge?
The exponential integral is E₁(x) = ∫ from x to ∞ of e^(−t)/t dt (DLMF eq. 6.2.1). As x → +∞ it has the expansion e^x E₁(x) ~ 1/x − 1!/x² + 2!/x³ − 3!/x⁴ + …, that is, the sum of (−1)ⁿ n!/x^(n+1) (DLMF eq. 2.11.24).
Divide one term by the one before it and you get (n+1)/x. While n + 1 is smaller than x the terms shrink. Once n + 1 passes x they grow, and because n! eventually beats any power of x, they grow without limit. So for every fixed x the series diverges.
What rescues it is an error bound. For real positive x, the DLMF section on E₁ states that the remainder is bounded in magnitude by the first neglected term and has the same sign. Your error is never larger than the next term you did not add.
Where should you stop summing a divergent series?
Stop just before the smallest term. Here is the worked table at x = 10, each term being n!/10^(n+1), written as n: term → partial sum:
0: +0.1 → 0.1
1: −0.01 → 0.09
2: +0.002 → 0.092
3: −0.0006 → 0.0914
4: +0.00024 → 0.09164
5: −0.00012 → 0.09152
6: +0.000072 → 0.091592
7: −0.0000504 → 0.0915416
8: +0.00004032 → 0.09158192
9: −0.000036288 → 0.091545632
10: +0.000036288 → 0.09158192
11: −0.0000399168 → 0.0915420032
12: +0.0000479002 → 0.0915899034
Terms 9 and 10 tie for smallest, so n ≈ x. Stop after n = 9. The next term is +0.000036288, so by the DLMF bound the true value lies between 0.0915456 and 0.0915819, a window of 0.0000363. Go further and the window only widens.
The DLMF gives the same rule for the exponential-integral family of expansions that includes this one: optimum truncation happens roughly where the term number matches |z| (DLMF section 2.11). Its own example at x = 5 finds the 5th and 6th terms smallest; truncating after 5 terms gives 0.17408 against the correct 0.17042.
A three-step stopping rule:
Write the ratio of consecutive terms (here (n+1)/x).
Stop just before the smallest term, where that ratio reaches 1.
Use the first omitted term as your error bar, but only when a proven bound like the one above applies. The DLMF warns that it is unsafe to judge accuracy merely from how fast the terms are falling.
Is Stirling's formula an asymptotic series too?
Yes. Stirling's series is ln Γ(z) ~ (z − ½) ln z − z + ½ ln(2π) + Σ B₂ₖ/(2k(2k−1)z^(2k−1)), where B₂ₖ are Bernoulli numbers (DLMF eq. 5.11.1). In product form, Γ(z) ~ e^(−z) z^z √(2π/z) (1 + 1/(12z) + 1/(288z²) − 139/(51840z³) − …) (DLMF eqs. 5.11.3 and 5.11.4). For real positive z, the DLMF gives the same guarantee for ln Γ(z): the error is smaller than the first term left out.
Since n! = nΓ(n), this becomes n! ≈ √(2πn)(n/e)ⁿ(1 + 1/(12n) + …). Try n = 10. The leading part gives about 3,598,696, roughly 0.8% below 10! = 3,628,800. Multiply by 1 + 1/120 and you get about 3,628,685, within 0.004%. Our guide to Stirling's approximation for n! explains where the leading formula comes from.
How do you practise asymptotic expansions?
Redo the x = 10 table for x = 5 and x = 20, and check that the smallest term sits near n ≈ x each time.
Contrast it with the Taylor polynomial remainder bound, where more terms at a fixed x keep helping.
See another way to tame a divergent series in Grandi's series and Cesàro's 1/2.
If O, o and ~ still feel slippery, the Fermi Concept Library gives every concept in mathematics its own lesson and its place in the map, so you can go back to limits and work forward. To practise, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.



