13.3 Stirling's Theorem

The value of n! increases very quickly with n. 30! produces a member requiring 33 figures to write. Stirling gave an approximate formula for n!

 

image

 

Taking log of both sides,

 

image

 

It can be proved in the following way

 

ln n! = ln1 + ln2 + ln3 + … + ln x + … + ln n

 

  ln nn = ln n + ln n + ln n + … + ln n + … + ln n

 

or

 

image

 

The summation can be approximately replaced by the integration

 

 

or

 

 

or

 

ln n

Get Heat and Thermodynamics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.