Limit of $\frac{\log(n!)}{n\log(n)}$ as $n\to\infty$.

I can't seem to find a good way to solve this.

I tried using L'Hopitals, but the derivative of $\log(n!)$ is really ugly. I know that the answer is 1, but I do not know why the answer is one.

Any simple way to go about this?


Solution 1:

The numerator is

$$ \log(n!) = \log 1 + \log 2 + \log 3 + \cdots + \log n $$

The terms have an obvious upper bound: $\log n$. Thus,

$$ \log(n!) \leq \log n + \log n + \log n + \cdots + \log n = n \log n $$

Thus, $\log(n!) / (n \log n) \leq 1$, always.

Half of the terms have an obvious lower bound: $\log (n/2)$.

$$ \log(n!) \geq (n/2) \log(n/2) $$

Thus,

$$\lim \frac{\log n!}{n \log n} \geq \lim \frac{(n/2) \log(n/2)}{n \log n} = \frac{1}{2} $$

But we also know that three quarters of the terms have the lower bound $\log(n/4)$, so

$$\lim \frac{\log n!}{n \log n} \geq \lim \frac{(3n/4) \log(n/ 4)}{n \log n} = \frac{3}{4} $$

And so forth: we can show that the limit is bigger than every number less than 1.

And so we apply the ancient principle of exhaustion! If the limit is bigger than every number less than 1, then the limit can't be smaller than 1. But we know the limit can't be bigger than 1 either. Therefore, it must be 1!

Solution 2:

From the Taylor series of $e^x$, we have $$e^x = 1 + \sum_{k=1}^{\infty} \dfrac{x^n}{n!}$$ From this we get that, $e^x \geq \dfrac{x^n}{n!}$, for $x \in \mathbb{R}^+$ and $n \in \mathbb{Z}^+$.

Setting $x=n$ we get that $$e^n \geq \dfrac{n^n}{n!} \implies n! \geq \left(\dfrac{n}e \right)^n$$ Hence, we have $$\log(n!) \geq n \log n - n$$ Also, note that $$\log(n!) = \sum_{k=1}^n \log(k) \leq \sum_{k=1}^n \log(n) = n \log(n)$$ We hence have $$n \log(n) - n \leq \log(n!) \leq n \log(n)$$ Now you should be able to finish it off from here.

Solution 3:

First, use that $n^n > n!$ for all $n > 1$, thus $n \log(n) > \log(n!)$ and so $1 > \dfrac{\log(n!)}{n \log(n)}$. Now, from a basic theorem of Stirling's approximation, we have $n \log(n) - n < \log(n!)$, so we have $1 - \dfrac{1}{\log(n)} < \dfrac{\log(n!)}{n \log(n)}$. Combining these, we have $1 - \dfrac{1}{\log(n)} < \dfrac{\log(n!)}{n \log(n)} < 1$. It is easy to see that $\lim_{n \rightarrow \infty} 1 - \dfrac{1}{\log(n)} = 1$ and trivial that $\lim_{n \rightarrow \infty}1 = 1$, so by the squeeze theorem, $\lim_{n \rightarrow \infty} \dfrac{\log(n!)}{n \log(n)} = 1$.

To prove that $n^n > n!$, it suffices to compare the terms of their product expansions (i.e. $n^n = n \cdot n \cdot n \cdots n$ ($n$ times) and $n! = 1 \cdot 2 \cdot 3 \cdots n$.).

Solution 4:

By Stolz Cezaro

$$ \lim_n \frac{\log(n!)}{n\log(n)} = \lim_n \frac{\log(n+1)}{(n+1)\log(n+1)-n\log(n)} = \lim_n \frac{\log(n+1)}{\log(n+1)+n\log(\frac{n+1}{n})}\\= \lim_n \frac{\log(n+1)}{\log(n+1)+\log(\frac{n+1}{n})^n}= \lim_n \frac{1}{1+\frac{\log(\frac{n+1}{n})^n}{\log(n+1)}}=1 $$ the last equality following from $\lim_n \log\left(\frac{n+1}{n}\right)^n=e$

Solution 5:

There are $n!$ ways of showing that $\frac{\ln(n!)}{n \ln n} \to 1$; here is one of them.

We start with $\ln(n!) = \sum_{k=1}^n \ln k$ and estimate $\ln k$.

$(x+1)\ln(x+1)-x \ln x = x(\ln(x+1)-\ln(x))+\ln(x+1) =x\ln(1+1/x)+\ln(x+1) $ so $ (x+1)\ln(x+1)-x \ln x -\ln(x+1)=x\ln(1+1/x)$.

Using $0 < \ln(1+z) < z$ for $0 < z < 1$, $0 < (x+1)\ln(x+1)-x \ln x -\ln(x+1) < 1$. This is just an approximate form of $\int \ln x\,dx = x \ln x - x$ or $\ln x = (x \ln x)' - 1$.

Summing for $x$ from 1 to $n-1$, $0 < \sum_{x=1}^{n-1} \big((x+1)\ln(x+1)-x \ln x -\ln(x+1)\big) < n-1 $ or, since the left part of the sum is telescoping and the right part gives $\ln(n!)$, $0 < n \ln n -\ln(n!) < n-1 < n$.

Dividing by $n \ln n$, $0 < 1-\frac{\ln(n!)}{n \ln n} < \frac{1}{\ln n}$, and this gives it to us.