I am looking for a proof that the solution of the functional equation:
$$f(x+y)=f_1(x)+f_2(y)$$
is:
$$f(z)=az+(b_1+b_2)$$ $$f_1(z)=az+b_1$$ $$f_2(z)=az+b_2$$
Assume that $x,y,z$ are real numbers, that the domain of $f$ is the real numbers, and that $f$ is continuous. Feel free to substitute some other domain/regularity assumption if they are necessary.
I am interested in this functional equation because it comes up in social choice theory. An accessible proof would be an advantage. Thanks!