Prove that $f'$ exists for all $x$ in $R$ if $f(x+y)=f(x)f(y)$ and $f'(0)$ exists

A function $f$ is defined in $R$, and $f'(0)$ exist.
Let $f(x+y)=f(x)f(y)$ then prove that $f'$ exists for all $x$ in $R$.

I think I have to use two fact:
$f'(0)$ exists
$f(x+y)=f(x)f(y)$
How to combine these two things to prove that statement?


We have $$f(0)=f(0+0)=f(0)f(0)=f^2(0)\Rightarrow f(0)=0\text{ or }f(0)=1$$ If $f(0)=1$ by definition $$f^{\prime}(0)=\lim_{h\to 0}\frac{f(h)-1}{h}$$ and so $$\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}=\lim_{h\to 0}\frac{f(x)f(h)-f(x)}{h}=f(x)\lim_{h\to 0}\frac{f(h)-1}{h}=f(x)f^{\prime}(0)$$ Thus $f$ is differentiable in $\mathbb{R}$

If $f(0)=0$, $f(x)=f(x+0)=0\ \forall x\in \mathbb{R}$ and again $f$ is differentiable.