# L'Hospital's rule for $\lim_{n\rightarrow \infty} (a^n + b^n)^\frac{1}{n}$.

I have recently come across a problem concerning the limit of a sequence given as, $$\lim_{n\rightarrow \infty} (a^n + b^n)^\frac{1}{n}$$

Where $0<a<b$. Solving the limit is not a concern. But applying L'Hospital's rule to this limit is one to me.

On rearranging we get, $b \lim_{n\rightarrow \infty} ((\frac{a}{b}) ^n + 1)^\frac{1}{n}$. The solver had then applied the L'Hospital's rule to evaluate the limit. Here, as $n\rightarrow \infty$, the limit approaches the form $1^0$. I have tried to think about this limit approaching an indeterminate form. It does not. From my knowledge of Cauchy's Mean Value theorem, I say that we cannot apply the rule to determinate forms. But it seems to me that we can because it worked for the solver. I think I am not clear on this. Can somebody help?

• You're right, L'Hôpital's rule doesn't apply here. And the limit is $b$. So what answer does the solver give? Commented Oct 28, 2017 at 15:18
• Note that if $n$ is an integer variable then the L'Hospital's Rule does not apply. Rather one can use Cesaro-Stolz under similar circumstances. For the current limit, neither Cesaro-Stolz nor L'Hospital's Rule is applicable. The answer is arrived at easily as $b$ Commented Oct 28, 2017 at 15:25
• To be more specific the situation is like using L'Hospital's Rule for limit $\lim_{x\to \infty} \dfrac{1}{x}$. Commented Oct 28, 2017 at 15:27
• @ParamanandSingh If L'Hôpital's rule gives an answer when $n$ is considered a continuous variable, the limit when $n$ is an integer variable is the same. (It doesn't work in the other direction, for sure.) Commented Oct 28, 2017 at 15:30
• @MatthewLeingang: agree but when the problem is of sequences I prefer to use the theorems on sequences. Or if one wants to apply L'Hospital's Rule or any other method applicable to continuous variable then it is better to be explicit and mention this. Commented Oct 28, 2017 at 15:34

Why not $$y= (a^n + b^n)^\frac{1}{n}\implies \log(y)=\frac{\log(a^n + b^n)}{n}$$ and then $$\frac{a^n \log (a)+b^n \log (b)}{a^n+b^n}$$ Now, divide everything by $b^n$ since $b>a$ to get the limit of $\log(y)$ and then the limit of $y$.

• Ah! I now realize where I went wrong. I totally overlooked the fact that taking the natural log on both sides has nothing to do with L'Hospital's rule. It was a silly mistake. Thank you.
– R004
Commented Oct 28, 2017 at 16:30

Note that $\log(1+x)\le x$ for $x>-1$. Therefore we have for $a<b$

$$1\le \left(1+\left(\frac ab\right)^n\right)^{1/n}\le e^{\frac1n \left(\frac ab\right)^n}\tag 1$$

whence applying the squeeze theorem to $(1)$ yields the coveted limit

$$\lim_{n\to \infty}\left(1+\left(\frac ab\right)^n\right)^{1/n}=1$$

And we are done!

One can take a different view by an expansion which is $$(1 + x)^{1/n} = 1 + \frac{1}{n} \, \frac{x}{1!} + \frac{1}{n} \, \left( \frac{1}{n} - 1\right) \, \frac{x^{2}}{2!} + \mathcal{O}\left(\frac{1}{n^{3}}\right)$$ for which, $0 < a <b$, $$\left(1 + \left(\frac{a}{b}\right)^{n} \right)^{1/n} = 1 + \frac{1}{n} \, \left(\frac{a}{b}\right)^{n} + \frac{1}{2 \, n} \, \left( \frac{1}{n} - 1\right) \, \left(\frac{a}{b}\right)^{2n} + \mathcal{O}\left(\frac{1}{n^{3}}\right)$$ and \begin{align} \lim_{n \to \infty} (a^n + b^n)^{1/n} &= b \, \lim_{n \to \infty} \left(1 + \left(\frac{a}{b}\right)^{n} \right)^{1/n} = 1. \end{align}

If $a=b$ then $$2^{1/n} = 1 + \frac{1}{n} + \frac{1}{2 \, n} \, \left( \frac{1}{n} - 1\right) + \mathcal{O}\left(\frac{1}{n^{3}}\right)$$ which leads to $$\lim_{n \to \infty} 2^{1/n} = 1.$$