For the following question I'm getting stuck on a proof. Below I've just written out all the things/steps I've tried (even if they might be wrong). Could someone steer me in the right direction?
Suppose $f$ is a real-valued function $f:\mathbb{R}\to\mathbb{R}$, which is continuous at $0$, with the property $\forall_{x,y\in\mathbb{R}}:f(x+y)=f(x)+f(y)$. Show that $\exists_{\lambda\in\mathbb{R}}\forall_{x\in\mathbb{R}}:f(x)=\lambda x$.
So far I've found that $f(0)=0$, as $f(x+0)=f(x)+f(0)=f(x)$. As $f$ is continuous at $0$: $$\forall_{\epsilon >0}\exists_{\delta >0}:|x-0|<\delta\implies|f(x)-f(0)|<\epsilon \ \ \iff \ \ \ |x|<\delta\implies|f(x)|<\epsilon$$
I suspect that $f|x|=|f(x)|$, which I have yet to prove or find. I'm also afraid the next step I tried is illegal: $|x|<\delta\implies f|x|<f|\delta|$, cause this way, you can compare it to $\epsilon$ by $|f(x)|=f|x|$. This didn't really take me anywhere but I thought I'd just write out everything I tried so far.
I also though that $f$ is continuous everywhere: $f(x-y)=f(x)-f(y)$ gives: $$|x|<\delta\implies|f(x)|<\epsilon \ \ \iff \ \ \ |a-b|<\delta\implies |f(a-b)|=|f(a)-f(b)|<\epsilon$$ as we substitute $x=a-b$ for arbitrary $a,b\in\mathbb{R}$.