How to proof stirling approximation

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views · last reply
Another1
Messages
39
Reaction score
0
View attachment 8757

i want to know about stirling approximation. why $$lnx! = xlnx - x$$
 
Attachments
  • Textbook page, Chapter 16 Statistical thermodynamics 1: the concepts, page P.562, showing ln W = ln(N!/(n0! n1! n2! ...)) expanded to ln N! minus the sum of ln n_i!, then Stirling's approximation ln x! ≈ x ln x − x and ln W = N ln N − sum of n_i ln n_i.
    weweww.png
    20 KB · Views: 164
Physics news on Phys.org
Another said:
i want to know about stirling approximation. why $$lnx! = xlnx - x$$

Hi Another!

Wiki explains Stirling's approximation.

We can see that it's true because:
$$\ln n! = \sum_{k=1}^n \ln k \approx \int_1^n \ln x\,dx = (x\ln x - x)\Big|_1^n = n\ln n - n + 1$$
The wiki page has formal proofs and bounds on the error.
 
First, do you understand that "Stirling's Approximation" is an approximation. There is NO proof that "ln(x!)= xln(x)- x" because that is NOT true- they are approximately equal, not equal.