Stirling Series
📐 Definition
Section titled “📐 Definition”Stirling’s formula gives an asymptotic approximation for the factorial function as :
Equivalently, using the Gamma function with ,
as with .
⚙️ Key Properties
Section titled “⚙️ Key Properties”Logarithmic Form
Section titled “Logarithmic Form”Taking logarithms yields a particularly useful representation:
This form is central in entropy calculations and information theory.
Refined Asymptotic Expansion
Section titled “Refined Asymptotic Expansion”Stirling’s formula admits a full asymptotic expansion:
The coefficients are expressed in terms of Bernoulli numbers.
Error Bounds
Section titled “Error Bounds”Sharper versions provide explicit bounds on the remainder. For example,
for all positive integers .
Complex-Plane Validity
Section titled “Complex-Plane Validity”For complex arguments, Stirling’s formula holds uniformly in sectors
for any fixed .
This restriction reflects the branch cut of the logarithm.
🎯 Special Values and Accuracy
Section titled “🎯 Special Values and Accuracy”| Exact | Stirling approximation | Relative error | |
|---|---|---|---|
The approximation becomes remarkably accurate even for moderate .
🔗 Related Functions
Section titled “🔗 Related Functions”Usage in Oakfield
Section titled “Usage in Oakfield”Historical Foundations
Section titled “Historical Foundations”-
📜 Original Discovery (18th Century)
James Stirling introduced the approximation in his 1730 work Methodus Differentialis, primarily as a tool for approximating factorials.
-
🔬 Later Refinements
Laplace and Gauss provided rigorous asymptotic justification and extended the approximation to complex arguments, connecting it to integral methods.
-
🌍 Modern Perspective
Today, Stirling’s formula is a cornerstone of asymptotic analysis, probability theory, and mathematical physics, appearing wherever factorial growth must be controlled.
📚 References
Section titled “📚 References”- NIST Digital Library of Mathematical Functions (DLMF), §5.11
- Olver et al., Asymptotics and Special Functions
- Stirling, Methodus Differentialis (1730)