I am solving an exercise and can't advance in the following induction:
$$n\log n - n + 1 \leq \log n!.$$
If necessary, i put the complete question.
- Update
Calculate $$\lim_{n\to \infty}\frac{n!e^{n}}{n^{n}}$$ following the steps bellow:
A. Show that: $$\int_{1}^{n}\log x\,\mathrm{d}x = n\log n - n + 1 = A_{n}.$$ B. If $B_{n}$ is the right Riemann sum of the function $\log x$ relative to the partition $\lbrace 1, \ldots, n\rbrace$ of the interval $[1, n]$, show that: $$A_{n} \leq B_{n} = \sum_{k = 2}^{n}\log k = \log n!.$$
C.
D.
E.
F.
The steps C, D, E and F are not relevant for my doubt.
Base case $n=1 \implies 1\log1-1+1 \leq \log (1!) \implies 0 \leq 0$
Base case $n=2 \implies 2\log2-2+1 \leq \log (2!) \implies \log 2 \leq 1$
We assume this proposition to be true $$ \text {(P) }n\log n - n + 1 \leq \log n!$$ We try to prove that
$$(n+1)\log( n+1) - (n+1)+1 \leq \log ((n+1)!)$$ $$(n+1)\log( n+1) - n \leq \log(n+1)+\log (n!)$$ Substract $\log (n+1)$
$$n\log( n+1) - n \leq \log (n)!$$ $$n(\log n( 1+ \frac 1 n)) - n \leq \log (n!)$$ $$n\log(n)+\log( 1+ \frac 1 n)^n - n \leq \log (n!)$$
Note that $\log( 1+ \frac 1 n)^n\leq \log e=1$ And $$n\log(n)+\log( 1+ \frac 1 n)^n - n \leq n\log(n)+1 - n \leq \log (n!)$$ So P is true for $n=1,2$ and we proved by induction that if P is true for n then it's also true for $n+1$ So we can conclude that P is true for any $n \in \mathbb{N} (n\ne 0)$