Let $f$ be a differentiable function such that for every $x$ and $h$ it holds that $f(x+h)-f(x)=hf'(x)$. Prove that $f(x)=kx+n$ where $k$ and $n$ are constants.
I get it why this is true, and I tried to prove it somehow, but I can't seem to prove it rigorously with analysis. Any ideas?