Proving Stirling's Formula for Scientists

  • Thread starter Thread starter Treadstone 71
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary

Homework Help Overview

The discussion revolves around proving a limit related to Stirling's formula, specifically showing that \(\frac{(n!)^{1/n}}{n}\) approaches \(\frac{1}{e}\) as \(n\) approaches infinity. The subject area includes factorials and asymptotic analysis.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the validity of Stirling's formula in the context of limits and approximations. Some question whether the approximations hold true as \(n\) approaches infinity. Others discuss alternative methods to demonstrate the limit without invoking Stirling's formula, including elementary approaches and the use of the squeeze theorem.

Discussion Status

The discussion is active, with participants sharing various insights and approaches. Some have provided guidance on how to tackle the limit, while others are exploring different interpretations and methods. There is a mix of agreement and differing opinions on the use of Stirling's formula and its implications.

Contextual Notes

Some participants note constraints related to the assignment's requirements, indicating that Stirling's formula has not yet been covered in their coursework. This has led to discussions about finding alternative proofs or methods to demonstrate the limit in question.

Treadstone 71
Messages
275
Reaction score
0
How do I show that [tex]\frac{(n!)^{1/n}}{n}\rightarrow \frac{1}{e}[/tex]?
 
Last edited by a moderator:
Physics news on Phys.org
Stirling's formula is almost always a good idea when dealing with factorials and asymptotics.
 
I looked through Stirling's formula, and it only gives approximations. I'm not sure those approximations are valid at limits, as when I plug it in the original equation, I get 0 as the limit instead of 1/e.
 
Yes, but (good) approximations have bounds, or some other theoretical fact for using them rigorously. For example, consider the inequalities near the bottom of mathworld's page.

And, I think, you have the theorem that (n!) / (Stirling's formula) --> 1 as n --> infinity.


By the way, could you show your work? I think you made a mistake in your arithmetic... it seems to work for me.
 
The mathworld page is a little unclear on what the double ~ means. To bolster Hurkyl's "I think", I will say they are most definitely meaning they are asymptotic, you have:

[tex]\lim_{n\rightarrow\infty}\frac{n!}{n^{n+1/2}e^{-n}\sqrt{2\pi}}=1[/tex]
 
I re-checked my arithmetic and it works. However, I don't think I can use Stirling's formula, since we have not seen it yet. This is supposed to be an analysis 2 assignment. Is there some other way to show that

[tex]\frac{n!}{n^n}\rightarrow 0[/tex]

or

[tex]\frac{(n!)^{1/n}}{n}\rightarrow \frac{1}{e}[/tex]
 
The first one is fairly easy. It's just

[tex] \frac{n!}{n^n} = \frac{1}{n} \frac{2}{n} \cdots \frac{n}{n}[/tex]

which can be grouped in a convenient fashion.

(This is analysis -- you don't need to be careful and precise -- you just need to make sure your errors go to zero!)
 
Treadstone 71 said:
[tex]\frac{n!}{n^n}\rightarrow 0[/tex]

This can be done in an very elementary way, what have you tried?

My first thought for the second without invoking stirlings is to essentially mimic the proof of stirlings, it's not terribly hard (rough details on the mathworld page).
 
I got the first part. The second part, instead of showing that it converges to 1/e, what if I want to show that it converges to a number <1? Again, without evoking Stirling's.
 
  • #10
You should be able to get <=1 by using your proof of the first result.
 
  • #11
I got it. I was hoping to use some kind of squeeze theorem to get it to 1/e. Thanks for the help.
 
  • #12
the variable e or exponential function can be found by lim (n --> infinity)1/n! Therefore n!/n, with the same limit, will give you 1/e. Its a rather simple Power Function.

Sorry about the lack of nice mathematical appeartance.. I don't know how to do that...
 
  • #13
kahless2005 said:
the variable e or exponential function can be found by lim (n --> infinity)1/n!

Are you referring to the infinite series

[tex]\sum_{n=0}^{\infty}\frac{1}{n!}=e[/tex]

I don't see how that will help, but I can't think of what else you could mean.

If you click on the above, you can see how it was made. There's a latex tutorial around somewhere as well.
 
  • #14
Hurkyl said:
[tex]\boxed{\mbox{This is analysis -- you don't need to be careful and precise -- you just need to make sure your errors go to zero!}}[/tex]​

Nice :smile:
 
  • #16
A direct proof of your limit...

Treadstone 71 said:
How do I show that [tex]\frac{(n!)^{1/n}}{n}\rightarrow \frac{1}{e}[/tex]?

I WILL GIVE A DIRECT PROOF (without using Stirling's Formula):

Let the limit be denoted Y so that

[tex]Y= \lim_{n\rightarrow\infty} \frac{(n!)^{\frac{1}{n}}}{n} = \lim_{n\rightarrow\infty} e^{\displaystyle{\log \left( \frac{(n!)^{\frac{1}{n}}}{n}\right)}} = \lim_{n\rightarrow\infty} e^{\displaystyle{\frac{1}{n}\log \left( \frac{n!}{n^n}\right)}} = \lim_{n\rightarrow\infty} e^{\displaystyle{\frac{1}{n}\log \left( \prod_{k=1}^{n} \frac{k}{n}\right)}} = \lim_{n\rightarrow\infty} e^{\displaystyle{\frac{1}{n}\sum_{k=1}^{n}\log \left( \frac{k}{n}\right)}}[/tex]
[tex]\mbox{ } = e^{\displaystyle{\lim_{n\rightarrow\infty}\frac{1}{n}\sum_{k=1}^{n}\log \left( \frac{k}{n}\right)}} = e^{\displaystyle{\lim_{r\rightarrow 0^+} \int_{r}^{1} \log (x)\,dx}} ,[/tex]

where the limit was passed through to the argument of the exponential function by reason of continuity and the sum was seen to be a Riemann sum of the form [itex]\lim_{n\rightarrow\infty} \frac{1}{n}\sum_{k=1}^{n}f \left( \frac{k}{n}\right) = \int_{0}^{1}f(x)\, dx,[/itex] which is improper integral in this case becase of the discontinuity of log(x) at x=0; the limit becomes

[tex]Y =\displaystyle{ e^{\displaystyle{\lim_{r\rightarrow 0^+} \int_{r}^{1} \log (x)\, dx }}= e^{\displaystyle{\lim_{r\rightarrow 0^+} \left[ x(\log (x)-1)\right]_{x=r}^{1}}} = e^{\displaystyle{\lim_{r\rightarrow 0^+} \left[ -1-r(\log (r)-1)\right]}} = e^{-1}e^{\displaystyle{\lim_{r\rightarrow 0^+} \frac{1-\log r}{r^{-1}}}} =^{H} e^{-1}e^{\displaystyle{\lim_{r\rightarrow 0^+} \frac{-r^{-1}}{-r^{-2}}}} =e^{-1}e^{\displaystyle{\lim_{r\rightarrow 0^+} r}} = e^{-1}}[/tex]

where [tex]=^{H}[/tex] denoted the use of l'Hospital's rule and whereby we may conclude that

[tex]\boxed{ \lim_{n\rightarrow\infty} \frac{(n!)^{1/n}}{n}= \frac{1}{e}}[/tex]​
 
Last edited:
  • #17
Thanks. It will take me some time to digest that.
 
  • #18
Very nice ben!
 

Similar threads

Replies
17
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K