The Stirling Approximation: a 5-minute Derivation! @FacultyofKhan
The Stirling Approximation: a 5-minute Derivation!  @FacultyofKhan
Uploaded October 2018 | Updated September 2026, 2 weeks ago
In this quick video, I use the definition of integration/Riemann sums to derive the Stirling Approximation or the Stirling Formula, which is a way to approximate the factorial of a large number.

There are multiple ways to derive the Stirling Formula; I've just shown one of the simple ones here. The drawback is that this is a less powerful derivation; perhaps this could be a hint for a more rigorous proof in a later video???

Special thanks to James Mark Wilson for suggesting this video!

Questions/Requests? Let me know in the comments!

Pre-reqs: Basic Calculus (i.e. you should know what integration means).

Lecture Notes: drive.google.com/open?id=1uMzWmrJXWyeUXUTwBDnmyCwmO6ENRdEW
Patreon: patreon.com/user?u=4354534
Twitter: twitter.com/FacultyOfKhan

Special thanks to my Patrons for supporting me at the $5 level or higher:
- James Mark Wilson
- Yuan Gao
- Marcin Maciejewski
- Sabre
- Jacob Soares
- Yenyo Pal
- Lisa Bouchard
- Bernardo Marques
- Connor Mooneyhan
- Richard McNair
- Guillaume Chereau
- Patapom

ERRATA: At 4:25, evaluating the integral should actually give you NlnN - N + 1, but since N is large, I automatically neglected the '1'.
The Stirling Approximation: a 5-minute Derivation!Introduction to Thermodynamics and Statistical MechanicsIntroduction to Nonlinear DynamicsHow to analyze Systems of Linear ODEs with Eigenvalues/Eigenvectors | Nonlinear DynamicsLinear Stability Analysis | Dynamical Systems 3Complex Integration: The ML Inequality Proof and ExampleDerivation of the Euler-Lagrange Equation | Calculus of VariationsHow to find the Residues of a Complex FunctionConformal Mappings and the Local Inverse | Complex VariablesOld Channel IntroductionProblem 2: Action Potentials, Channel Inactivation and Refractory PeriodWinding Numbers and Meromorphic Functions Explained! | Complex Variables
Faculty of Khan |

The Stirling Approximation: a 5-minute Derivation!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER