Assume $f$ is continuous,$f(0)=1$ , and $f(m+n+1)=f(m)+f(n)$ for all real $m, n$. Show that $f(x) = 1 + x$ for all real numbers $x$.
This is referenced from Terence Tao’s solving mathematical problems and in the exercise he provided a hint;
first prove this for integer $x$, then for rational $x$, then finally for real $x.$
The questions are as follows: Why would there be a separate case to be considered for this question? Wouldn’t a direct method of solving suffice? Is there another way of approaching the question?
Any help would be much appreciated.