TITLE: Is it equation true - limit
QUESTION [5 upvotes]: Is it true that :
$\lim_{ x\to\infty }  \left( 1+\frac{f \left( x \right) }{x} \right) ^x = \exp \left(  \lim_{ x\to\infty } f \left( x \right)   \right)$ ?
Assumption is that limit of $\lim_{ x\to\infty } f(x)$ exists.

REPLY [2 votes]: \begin{eqnarray}
\lim_{x\to\infty}\left(1+\frac{f(x)}x\right)^x
&=&\lim_{x\to\infty}\exp \left(x\log \left(1+\frac{f(x)}x \right) \right)=\exp \left(\lim_{x\to\infty}x\log \left(1+\frac{f(x)}x\right)\right)\\ \ \\
&=&\exp \left(\lim_{x\to\infty}x \left(\frac{f(x)}x+o\left(\frac1{x^2}\right)\right)\right)
=\exp \left(\lim_{x\to\infty}f(x)+o\left(\frac1{x}\right)\right)\\ \ \\
&=&\exp \left(\lim_{x\to\infty}f(x)\right).
\end{eqnarray}
The limit exchange in the second equality is justified by the fact that the exponential is continuous and that the expression inside converges.