Suppose $f$ is a real function defined on $R^1$ which satisfies $$\lim_{h\to 0}[f(x+h)-f(x-h)]=0$$ for every $x\in R^1$. Does this imply that $f$ is continuous?
below is my solution, my answer is yes but I looked up the solution manual which says it doesn't and I am confused which step of my reasoning is incorrect. Thank you.
Because $$\lim_{h\to 0}[f(x+h)-f(x-h)]=0$$
Let $$\lim_{h\to 0}f(x+h) = \lim_{h\to 0}f(x-h) = v = f(x)$$
Because $$\lim_{h\to 0}f(x+h) = v$$
thus $$\forall \epsilon>0, \exists h_1>0, \forall h < h_1, d(f(x+h),f(x)) < \epsilon$$
Similarly, for $f(x-h)$, I get $$\forall \epsilon>0, \exists h_2>0, \forall h < h_2, d(f(x-h),f(x)) < \epsilon$$
Let $$H = min(h_1, h_2)$$
Then
$$\forall \epsilon>0, \exists H > 0, \forall p\in R^1, \text{if } d(x,p)<H, \text{then } d(f(x), f(p))<\epsilon$$
Thus, $f$ is continuous.