I am learning functional equation and encountered $f(f(x)-x)=x$.

functional-equations

I was self-learning functional equations because I will be learning them in Math Team soon, and so I made up the following problem:

Find all solutions to the functional equation $f:\mathbb{R}\rightarrow\mathbb{R}$ $$f(f(x)-x)=x$$

I tried to substitute $g(x)=f(x)-x$ and got $g\big(g(x)\big)+g(x)=x$. I can prove that $g$ is injective, and the proof is as follows:

If $g(a)=g(b)$, then $$a=g\big(g(a)\big)+g(a)=g\big(g(b)\big)+g(b)=b.$$

But I cannot proceed further.

As @PaulSinclair pointed out, there is an uncountably infinite collection of extremely ill-behaved solutions (I don't know why so please explain), so assume $f$ is continuous first.

Can someone help me? Any help is appreciated!

Best Answer

First, I claim that $g(0)=0$. To prove this, note that since $g$ is injective and continuous, it is either increasing or decreasing. If it is increasing then $g(0)$ and $g(g(0))$ have the same sign so the only way they can add to $0$ is if $g(0)=0$. If $g$ is decreasing, then $g(0)$ and $g(g(0))$ have opposite sign and then by the intermediate value theorem there must be $x$ between $0$ and $g(0)$ such that $g(x)=x$. But then the functional equation says $2x=x$ so $x=0$ and thus $g(0)=0$.

Now consider the function $h(x)=g(x)/x$ on $\mathbb{R}\setminus\{0\}$. Since $g(g(x))+g(x)=x$, we have $$h(g(x))h(x)+h(x)=\frac{g(g(x))}{g(x)}\cdot\frac{g(x)}{x}+\frac{g(x)}{x}=1$$ and thus $$h(g(x))=T(h(x))$$ where $$T(x)=\frac{1-x}{x}.$$ Note moreover that since $g$ is monotone with $g(0)=0$, $h$ must always have the same sign.

Now suppose $g$ is increasing, so $h(x)>0$ everywhere. We then must have $T(h(x))>0$ as well and so $h(x)<1$. But then we must have $T(h(x))<1$ and so $h(x)>1/2$. Similarly we find that $h(x)<T^{-n}(1)$ for each even $n$ and $h(x)>T^{-n}(1)$ for each odd $n$. But the sequence $(T^{-n}(1))$ for even $n$ is decreasing and hence converges to a fixed point of $T^2$ and for odd $n$ it is increasing and so again converges to a fixed point of $T^2$. The unique positive fixed point of $T^2$ is $\alpha=\frac{\sqrt{5}-1}{2}$ and so we must have $h(x)=\alpha$ for all $x\neq 0$ and so $g(x)=\alpha x$ for all $x$.

(In more intuitive terms, what's going on here is that $\alpha$ is a repelling fixed point of $T$, and so if $x$ is not exactly equal to $\alpha$ then $T^n(x)$ will eventually get far away from $\alpha$. In particular, it turns out that $T^n(x)$ will always get far enough away to become negative, contradicting that $h$ needs to be positive.)

The case that $g$ is decreasing is a little more complicated since the negative fixed point $\beta=\frac{-\sqrt{5}-1}{2}$ of $T$ is attracting instead of repelling. The trick is that $\beta$ is a repelling fixed point of $T^{-1}$ and so we can use a similar argument with $T^{-1}$ as long as we first show that $g$ is surjective. To see that $g$ is surjective, note that since $h(x)$ is always negative, $h(g(x))<-1$ for all $x$, and so $|g(g(x))|>|g(x)|$ for all $x\neq 0$. Now the image of $g$ is some possibly unbounded interval $I$. Since $|g^3(x)|>|g^2(x)|>|g(x)|$ for all $x\neq 0$ and $g^3(x)$ has the same sign as $g(x)$, the image of $g^3$ must also be $I$ (since as $g(x)$ approaches the upper and lower bounds of $I$, so does $g^3(x)$). Since $g$ is injective, this means that $g^2$ is surjective (otherwise $g^3=g\circ g^2$ would have smaller image than $g$) and so $g$ is surjective.

Now we have $$h(x)=T(h(g^{-1}(x)))$$ for all nonzero $x$. Since $h(g^{-1}(x))$ is always negative, this implies $h(x)<-1$. But then $h(g^{-1}(x))<-1$ and so $h(x)>-2$. Similarly we find $h(x)<T^n(-1)$ for all even $n$ and $h(x)>T^n(-1)$ for all odd $n$. As in the previous case, these bounds converge to $\beta$, the unique negative fixed point of $T^2$, and so $h(x)=\beta$ for all $x\neq 0$ and $g(x)=\beta x$ for all $x$.

Related Question