How to proof stirling approximation

In summary, Stirling's approximation is a mathematical formula that approximates the value of the factorial of a number. It is based on the idea that the logarithm of the factorial is approximately equal to the integral of the natural logarithm of x from 1 to n. The wiki page provides formal proofs and error bounds for this approximation. It should be noted that the statement "ln(x!) = xln(x) - x" is not true, but rather an approximation.
  • #1
Another1
40
0
View attachment 8757

i want to know about stirling approximation. why \(\displaystyle lnx! = xlnx - x\)
 

Attachments

  • weweww.png
    weweww.png
    20 KB · Views: 99
Physics news on Phys.org
  • #2
Another said:
i want to know about stirling approximation. why \(\displaystyle 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.
 
  • #3
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.
 

FAQ: How to proof stirling approximation

What is the Stirling approximation?

The Stirling approximation is a mathematical formula used to approximate the factorial of a large number. It was first derived by Scottish mathematician James Stirling in the 18th century.

How is the Stirling approximation derived?

The Stirling approximation is derived using the Euler-Maclaurin formula, which is a method for approximating definite integrals. It involves taking the logarithm of the factorial and then using a series expansion to simplify the expression.

When is the Stirling approximation most accurate?

The Stirling approximation is most accurate when the number being approximated is large. As the number gets larger, the relative error of the approximation decreases. However, for smaller numbers, the approximation may not be as accurate.

What are the limitations of the Stirling approximation?

The Stirling approximation is only accurate for large numbers and may not be as accurate for smaller numbers. Additionally, it is an approximation and not an exact solution, so there will always be some margin of error. It is also not suitable for complex or imaginary numbers.

How is the Stirling approximation used in scientific research?

The Stirling approximation is commonly used in scientific research, particularly in fields such as physics and statistics. It is used to simplify complex mathematical expressions and make calculations easier. It is also used in the analysis of algorithms and in the study of asymptotic behavior.

Back
Top