Suppose that f(0)=a. Let x=y=0, we have
f(2a)=f(a)−a
Let x=2a,y=0, we have
f(2f(a)−2a)=2a
Let x=a,y=0, we have
f(2f(a)+a)=2a
Since f is increasing, so for every 2f(a)−a≤t≤2f(a)+a we have f(t)=2a.
Hence f(2f(a)+a)=2a. From the other hand by letting x=y=2a, we have
f(2f(a)+2a)=2a−f(a)+f(f(a)−a)
Hence we have
2a=2a−f(a)+f(f(a)−a)⇒f(a)=f(f(a)−a)
Letting x=0,y=2a in the main equation results in
f(a)=−a+f(f(a)−a)⇒−a=0⇒a=0⇒f(0)=0
Now letting x=0 in the main equation results in
f(y)=f(f(y))
Then let x=y, and we have
f(23x+21f(x))=2x−f(x)+f(f(x))=2x
So f is surjective. Hence in the equation f(y)=f(f(y)), f(y) can be all values in domain, so f is the identity function.