MHB How to proof stirling approximation

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: 119
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.
 
Back
Top