I have read some of the other claims regarding the fact,
If $f(u(x))$ is continuous, then $$\lim_{x \rightarrow x_0} f(u(x)) = f(\lim_{x \rightarrow x_0} u(x))$$
I am not familiar with real analysis and the proofs do not make sense to me so I would like a more simple explanation.
So far I know that if $f(u(x))$ is continuous, by definition
$$\lim_{x \rightarrow x_0} f(u(x)) = f(u(x_0))$$
So in order for the first equation above to be true I would like to say
$$f(\lim_{x \rightarrow x_0} u(x))=f(u(x_0))$$
but this would only hold when $u(x)$ is continuous.
Therefore, I am thinking that somehow the continuity of $f(u(x))$ implies that $u(x)$ will also be continuous... but I cannot prove that.
May I have some help, please?
$$\space$$ Added:
Thank you for your response, everyone.
What I really am trying to do is to know the condition where
$$\lim_{x \rightarrow x_0} f(u(x)) = f(\lim_{x \rightarrow x_0} u(x))$$
Particularly, why
$$\lim_{x \rightarrow x_0} \ln{u(x)} = \ln{ \lim_{x \rightarrow x_0} u(x)}$$
I did not think that my claim would be incorrect because when I looked it up on google it was the first thing that popped up as if it were true.
It sucks that there are false facts on the internet D:
Continuity of $f(u(x))$ does not imply continuity of $u(x)$. For example, if $u(x)=1$ for $x$ rational and $-1$ for $x$ irrational and $f(x)=x^{2}$ then $f(u(x))$ is continuous but $u$ is 'badly discontinuous'.