Let $ g :\Bbb R \to \Bbb R$ a continuous function such that $$(\forall x\in \Bbb R)\; g(g(x))=2g(x)-x$$
Prove that $ g $ is injective and strictly monotonic.
I took $ x,y\in \Bbb R $. $$g(x)=g(y)\implies g(g(x))=g(g(y))$$ $$\implies 2g(x)-x=2g(y)-y $$ $$\implies x=y$$
but to show that it is strictly monotonic, I didn't find a simple answer. Any help is appreciated.