TITLE: Continuity of function where $f(x+y) = f(x)f(y) ~~\forall x, y \in \mathbb{R}$.
QUESTION [7 upvotes]: Let $f:\mathbb{R}\rightarrow \mathbb{R}$ be a function which satisfies $f(x+y) = f(x)f(y)  ~~\forall x, y \in \mathbb{R}$ is continuous at $x=0$, then it is continuous at every point of $\mathbb{R}$.
So we know $\forall \epsilon > 0 ~~\exists \delta > 0$ such that $|x-0|<\delta \implies |f(x)-f(0)|<\epsilon$ and we want to show that given any $\epsilon > 0 ~~\exists \delta > 0$ such that $|x-y|<\delta \implies |f(x)-f(y)|<\epsilon$.
Now I see that the 'trick' that we can use is replacing $f(x)$ with $f(x)f(0)$ but I still cannot seem to finish the proof. Any advice?

REPLY [2 votes]: Choose any $x$ and $\varepsilon>0$. You know that $f$ is continous at $t=0$, so there exists $\delta>0$, for which $|0-y|<\delta \Rightarrow |f(0)-f(y)|<\frac{\varepsilon}{|f(x)|} $. It's $\delta$ is good choice of delta in standard delta-epsilon proof, because for $y$, that $|x-y|<\delta$ you have($|t|<\delta$ $y=t+x$):
$$|f(x)-f(y)|=|f(x+0)+f(x+t)|=|f(x)f(0)-f(x)f(t)|<\\<|f(x)||f(0)-f(t)|<|f(x)|\cdot \frac{\varepsilon}{|f(x)|}=\varepsilon$$.
$\textbf{Edit:}$If $f(x)=0$ you can choose for example $\delta=1$, because in this case $|f(x)-f(y)|=|f(x)||f(0)-f(t)|=0$.