0

Let $f$ be a continuous function from $\mathbb{R}$ to $\mathbb{R}$ such that $f(f(x))=x$. I have to prove or disprove whether $f$ is identity or not.

Given conditions imply that $f$ is both injective and bijective. We know that a injective continuous function is monotone.

Assume on the contrary that $f$ is not identity then there exist a point $y$ such that $f(x)=y$ and $x \neq y$

Since $x$ is not equal to $y$, by order properties of reals there are two choices left. Either $x>y$ or $x<y$.

WLOG: Let us say $x>y$.

Suppose $f$ is monotonically increasing then $f(x)>f(y)$ which implies $y>x$ a contradiction. Suppose $f$ is monotonically decreasing then $f(x)<f(y)$ which implies $y<x$.

As I am not able to arrive at the contradiction, This lead me to believe that there are function which are continuous and satisfy the above condition but are not identity.

Am I right? Please give some examples.

Edits:

What additional condition can be put to ensure that $f$ is identity?

Shweta Aggrawal
  • 5,501
  • 2
  • 15
  • 48

3 Answers3

9

For any continuous and invertible function $g(x)$,

$$f(x):=g^{-1}(-g(x))$$ fulfills the conditions.

E.g.

$$g(x):=x^3+1\to f(x)=-\sqrt[3]{x^3+2}.$$

7

You cannot get a contradiction because if $f(x)=-x$, then $f\bigl(f(x)\bigr)=x$.

2

$$f(x)=-x\implies f(f(x))=f(-x)=-(-x)=x.$$

YiFan Tey
  • 17,431
  • 4
  • 28
  • 66