Let f be a function. Let g be a continuous function.
Consider the following limits:
$\underset{x\rightarrow x_{0}}{lim}f(g(x))$
$\underset{y\rightarrow g(x_{0})}{lim}f(y)$
I want to know if the existence of one of these limits imply the existence of the other.
Moreover, if both of these limits exist will they be necessarily equal ?
My gut-feeling is that I have to reason with the explicit definition of limits, so:
Suppose that $\underset{x\rightarrow x_{0}}{lim}f(g(x))=L_{1}$ then:
$\forall\epsilon_{1}>0,\exists\delta_{1}>0$ such that $|x-x_{0}|<\delta_{1}\rightarrow|f(g(x)-L_{1}|<\epsilon_{1}$
Somehow, from this I have to conclude that $\underset{y\rightarrow g(x_{0})}{lim}f(y)=L_{2}$ that is:
$\forall\epsilon_{2}>0,\exists\delta_{2}>0$ such that $|y-g(x_{0})|<\delta_{2}\rightarrow|f(y)-L_{2}|<\epsilon_{2}$
or the other way around ie existence of $L_{2}$ implies existence of $L_{1}$.
Any suggestions?