Let $f:\mathbb{R} \to \mathbb{R}$ be a function that's continuous at the origin. Show that if $$f(x+y)=f(x)+f(y)$$ for all $x, y \in\mathbb{R}$, then $f$ is continuous.
This was a problem on our homework and the TA's suggestion for the solution was the following:
Let's first show that $f(0) = 0$. Since $f(0) =f(0+0) = f(0)+f(0)$
we have that $f(0)=0$.
Now we get
$$\lim_{y\to x} f(y)=\lim_{h\to 0} f(x+h) = \lim_{h\to 0} (f(x) +f(h)) = \lim_{h\to 0} f(x) + \lim_{h\to 0} f(h) = f(x) +0=f(x).$$
I'm not very satisfied with this. There's no explanation for the result at all. Could someone open this up for me?
How can it be for sure that $f(0) =0$? They haven't given us any $f$. For all I know $f$ could be $f(x)= x^{73}+1$ and $f(0) = 1$?
Where does he come up with $\lim_{y\to x}f(y)$ and how come this is equal to $\lim_{h\to 0} f(x+h)$?
How does he get the result $\lim_{h\to 0} f(x) + \lim_{h\to 0} f(h) = f(x) +0$?