How to proof stirling approximation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
Another1
Messages
39
Reaction score
0
View attachment 8757

i want to know about stirling approximation. why $$lnx! = xlnx - x$$
 

Attachments

  • weweww.png
    weweww.png
    20 KB · Views: 152
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.