I am trying to find the limit as $n \to \infty$ of the function below:
$$f(n) = \frac{\ln(n+1)}{\ln(n)} \frac{\ln(n!)}{\ln((n+1)!)}$$
The textbook only gives me an answer but I don't know how it got to it. I got confused with the factorials within logs.
Edit: I understand that this could be expanded to:
$$f(n) = \frac{\ln(n+1)}{\ln(n)} \frac{\ln(n) + \ln(n-1) + ...}{\ln(n+1) + \ln(n) + \ln(n-1) + ...}$$
I'm confused which terms get reduced to zero as $n \to \infty$ or how to group them.
We have that \begin{align*} f(n) &=\frac{\ln(n+1)}{\ln n} \frac{\ln(n!)}{\ln((n+1)!)}\\ &=\frac{\ln n+\ln(1+1/n)}{\ln n} \frac{\ln((n+1)!)-\ln(n+1)}{\ln((n+1)!)}\\ &=\biggl(1+\frac{\ln(1+1/n)}{\ln n}\biggr)\biggl(1-\frac{\ln(n+1)}{\ln((n+1)!)}\biggr). \end{align*} By Stirling's approximation, $$ \ln n!=n\ln n-n+O(\ln n). $$ Hence, we see that $\ln n!\sim n\ln n$, where $\sim$ means that the ratio of the two sides tends to $1$ as $n\to\infty$. We obtain \begin{align*} \frac{\ln(n+1)}{\ln((n+1)!)} &=\frac{(n+1)\ln(n+1)}{\ln((n+1)!)}\cdot\frac{\ln(n+1)}{(n+1)\ln(n+1)}\\ &=\frac{(n+1)\ln(n+1)}{\ln((n+1)!)}\cdot\frac1{(n+1)}\to0 \end{align*} as $n\to\infty$ since the first term converges to $1$ as $n\to\infty$. So the sequence $f(n)$ converges to $1$ as $n\to\infty$.