If $f$ is continuous on $\mathbb{R}$, $f'(0)=1$ and $f(x+y)=f(x)f(y)$ for all $x \in\mathbb{R}$, show that $f'(x)=f(x)$ for all $x\in\mathbb{R}$.
Solution: It is clear that $f(0)=1$. For each $x$ we have: \begin{eqnarray} \lim_{h\to0}\frac{f(x+h)-f(x)}{h}=\cdots=f(x) \end{eqnarray}Hence, $f'(x)=f(x)$
My question: Where we use the continuity? Is it not enough that the function is defined on $\mathbb{R}$?
Sorry, maybe you were right. I was assertive. If the continuity of $f$ is omitted, then for each $x$, $f(x+h)- f(x) = f(x)(f(h)- f(0)) \to 0 \cdot f(x) = 0 [h \to 0]$ since $f'(0)$ exists then $f$ is continuous at $0$, thus $f$ is still continuous everywhere.
Conclusion: $f \in \mathcal C (\mathbb R)$ is redundant.