If $ f $ is a continuous function and $ f ( a + b ) = f ( a ) + f ( b ) $, how do I prove that $ f ( x ) = m x $ for any $ x $ in real numbers, where $ m = f ( 1 ) $?
I know that I have to start by showing $ f ( x ) = m x $ for any rational $ x $ and then extend that to any real number with continuity. However, I do not know how to go about it.