Does projective transformation from $\mathbb{R}$ to $\mathbb{Q}$ exist or not? [closed]

Does projective transformation from $\mathbb{R}$ to $\mathbb{Q}$ exist or not? $f:\mathbb{R}\rightarrow \mathbb{Q},\forall x,y\in \mathbb{R},f(x)+f(y)=f(x+y),f(1)=1.$ Does $f$ exist?

closed as off-topic by M. Winter, Aqua, kingW3, Davide Giraudo, XamNov 14 '17 at 19:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – M. Winter, Aqua, kingW3, Davide Giraudo, Xam
If this question can be reworded to fit the rules in the help center, please edit the question.

• "Projective transformation from $\mathbb{R}$ to $\mathbb{Q}$ exists or not." This is a true statement. – 5xum Nov 14 '17 at 11:50
• The issue of the question is not the "exist or not" and the logician joke. One issue is that the wording "projective transformation" is confusing. Transformation is usually used for bijections, and "projective" refers to something else too. – YCor Nov 14 '17 at 17:57

There is a model for ZF due to Solovay where the only solutions of Euler's functional equation $f(x+y)=f(x)+f(y)$ from $\mathbb R$ to $\mathbb R$ are those of the form $f(x) = cx$. The function requested by the OP, then, cannot exist in that model.
Using the Axiom of Choice, the answer is "yes". All you need is to extend $\{1\}$ to a basis of the $\Bbb Q$-vector space $\Bbb R$ and declare that $f$ is zero on all other basis vectors.
This problem is somehow interesting. To solve the problem you need to look $\mathbb R$ as a infinite dimension linear space based on $\mathbb Q$. At once you do this, by Zorn's lemma you could choose a basis , let us call it $B_I=\{e_i|i\in I\}$. Now consider the value of $f(e_i)$, some of them are 0, and the others are not 0. Just take them by randomness but remember $f(1)=1$ and we are done!