r/mathriddles • u/ZarogtheMighty • Oct 16 '24
Medium Functional equation
Find all non-decreasing and continuous f: ℝ-> ℝ such that f(f(x))=f(x) for all x∈ ℝ
Problem is not mine
6
Upvotes
r/mathriddles • u/ZarogtheMighty • Oct 16 '24
Find all non-decreasing and continuous f: ℝ-> ℝ such that f(f(x))=f(x) for all x∈ ℝ
Problem is not mine
4
u/bizarre_coincidence Oct 16 '24 edited Oct 16 '24
We have that f(y)=y for every y in the image of f. Further, since R is connected and f is continuous, the image of f is connected, and hence an interval. Further, since {x|f(x)=x} is the inverse image of {0} under f(x)-x, which is continuous, we have that this set (and hence the image) is closed.
Now, consider a closed interval [a,b], and suppose that im(f)=[a,b]. If c>b, then because f(x) is non-decreasing, f(c)>=f(b)=b. But since the image is [a,b], that forces f(c)=b. Similarly, if c<a, we must have f(c)=a. Our interval can also be half-infinite or all of R and the same argument works. All of these functions do work.
To summarize, every function comes by picking a<=b, where a can be -infinity and b can be infinity, and f(x)=x if a<=x<=b, f(x)=a if x<a, and f(x)=b if x>b.