Let $f:A \rightarrow A$ where $A \subset \mathbb{R}$ such that $f(f(x))+2f(x)=3x, \forall x \in A$. Prove the following:
- $f$ is injective
- If $A$ finite then $f(x)=x$
- Does 2. remain true if $A$ infinite?
- is very easy to prove using injectivity definition. I cannot respond to 2. and 3.
Hint for 2: If $A$ is finite, it has a smallest element $y$. Then $y$ is the smallest element of the range of $f$, and $f(f(y))+2f(y)=3y$, hence $f(f(y))=y$ and $2f(y)=2y$. So $f(y)=y$. You can use this together with induction to the size of $A$ to prove it.