i have to find all functions $f: \mathbb{Q} \rightarrow \mathbb{R}$, such that $f(x+y)=f(x)+f(y)$.
So functions of the form $f(x) := ax, a \in \mathbb{R}$ satisfy the above condition: $$ f(x+y)=a(x+y)=ax+ay=f(x)+f(y) $$
But how do i proove that all functions that satisfy the above condition have the form $f(x) := ax, a \in \mathbb{R}$?
Thanks in advance!