Real Analysis – Proving Limit Equivalence for Function f(x)

real-analysis

For context, the previous question was very similar:

Prove that that $\lim_{x→x_0} f(x) = L \iff \lim_{h→0} f(x_0 + h) = L$?

I found this to be an easy proof by letting $h=x-x_0$. But the following question makes me unsure about my understanding of h here:

Is it true that $\lim_{x→x_0}
f(x) = L \iff \lim_{h→0} f(x_0 + h^
2
) = L$
?

I think I can prove the forward direction by letting $h^2=x-x_0$, but my professor defined $h=x-x_0$ in class when moving between the equivalent expressions of limits in the first problem. So I guess I don't really understand what h is here. Can I make it anything I want?

Best Answer

This is not true. Consider the function $$f(x)=\begin{cases}1&\text{if }x\geq0\\0&\text{if }x<0\end{cases}.$$ Then $\lim_{x\to0}f(x)$ is undefined but $\lim_{h\to0}f(0+h^2)=\lim_{h\to0}f(h^2)=\lim_{h\to0}1=1$, since $h^2\geq0$. You only check for the right limit with the second definition, while the first definition considers both left and right limit.

Related Question