I was working on limit substitutions, they make fair sense and are provable when we are dealing with invertible functions. But I was interested in substituting non-invertible functions like $\sin x$, even though the usefulness of that seems limited.
lets say there exist 2 functions $f(x)$ and $g(t)$ such that
$$t=s(x)$$ and $$f(x) = g(t)$$ Then lets say there exists a limit
$$\lim_{x \to a} t=b$$ and we are trying to describe the approach of the following limit in terms of t. $$\lim_{x \to a} f(x) $$ When trying to express the approach of x to a in terms of t, we need to show that x approaches a only when t approaches b. But since $s(x)$ is non invertible, then obviously $\displaystyle \lim_{t \to b} x$ does not exist. And we cannot express the $x \to a$ in terms of $t$. But since we know $f(x)=g(t)$, intuitively the following should be true because we are not involving $x$, there is no need to extract a value of $x$ from $t$.
$$\lim_{t \to b} g(t) = \lim_{x \to a} f(x) $$
I know this is probably wrong, but can someone give a example where this does not work.