Equation implies f(x+f(y))=x+f(y) for all x>0, or f(x)=x for all x>f(y). If f is unbounded below we get f(x)=x for all x. Otherwise, let c=inff, then f(x)=x for all x>c and so:
f(x)={xg(x)if x>cif x≤c
for a function g:(−∞,c]→[c,∞).
The last thing to ensure is that f(f(0))=f(0), it gives us the solution sets:
(if c>0 and f(0)>c):
f(x)=⎩⎨⎧xag(x)if x>cif x=0if 0=x≤c
which fits for any constants c>0 and a∈(c,∞), and function g:(−∞,c]∖{0}→[c,∞).
(if c>0 and f(0)≤c): clearly f(0)=c, so:
f(x)=⎩⎨⎧xcg(x)if x≥cif x=0if 0=x<c
which fits for any constant c>0 and function g:(−∞,c)∖{0}→[c,∞).
(if c≤0):
f(x)={xg(x)if x>cif x≤c
which fits for any constant c≤0 and function g:(−∞,c]→[c,∞).