asdf1
- 734
- 0
! question...
Why does lnX!=XlnX-X?
Why does lnX!=XlnX-X?
The discussion centers on the Stirling approximation, which states that ln(n!) approximates to n ln(n) - n for large values of n. Participants clarify that this approximation arises from comparing the sum of logarithms with the integral of the logarithmic function, leading to asymptotic convergence as n increases. The conversation also touches on the concepts of absolute and relative error, emphasizing their differences in measurement contexts. The Stirling approximation is validated through graphical representation and Riemann sums, enhancing understanding of its application in mathematical analysis.
PREREQUISITESMathematicians, engineering students, and anyone interested in advanced mathematical concepts, particularly those involving approximations and error analysis.
\log(x!)=\sum_{n=1}^x \log(n) \sim \int_0^x \log(t) dt=x\log(x)-xasdf1 said:?
i am referring to the Stirling approximation(sorry, i forgot to add that at the end of my question)...
i saw that equation in the "advanced engineering mathematics" book by kreyszig as part of the solution to a problem...
but what i wonder is how did the stirling approximation come from?
It is a Riemann sum we partition (0,x) into (we assume here x is a natural number)asdf1 said:Why? That's the part that I don't understand...
like HallsofIvy saidasdf1 said:thanks! It makes a lot more sense now...
but there's still one I don't get:
What's the difference between the absolute and relative error?