Is ${\lim\limits_{x \to 0}} \frac{f(x^2+1)}{x^2+2} = {\lim\limits_{t \to 1}} \frac{f(t)}{2}$ always true?
My math teachers were arguing today if the statement is always true. One teacher gave a counterexample of where $f(x) = \sqrt{x-1}$. Eventually, they said that it came down to different textbook definitions of continuity and limits. Is there any other reasoning to prove this to be true or false?
Your limit approach is off.
$$\lim_{x \to 0} \frac{f(x^2+1)}{x^2+2} \neq \lim_{t \to 1} \frac{f(t)}{2} $$
Rather
$$\lim_{x \to 0} \frac{f(x^2+1)}{x^2+2} = \lim_{t \to 1^+} \frac{f(t)}{2} $$
Since as $x\to 0$, $(x^2+1) \to 1$, but also $x^2+1 > 1$ for all $x\neq 0$.
It doesn't make sense to write
$$ \lim_{t \to 1^-} \frac{f(t)}{2} $$
in this case.