[Math] Prove that there exists $f,g : \mathbb{R}$ to $\mathbb{R}$ such that $f(g(x))$ is strictly increasing and $g(f(x))$ is strictly decreasing.

real-analysis

Prove that there exists $f,g : \mathbb{R}$ to $\mathbb{R}$ such that $f(g(x))$ is strictly increasing and $g(f(x))$ is strictly decreasing.

I tried cases by taking $f(x)$ as an increasing function and $g(x)$ as a decreasing function then I am getting both $f(g(x))$ and $g(f(x))$ as decreasing functions.
Further I took both of them as increasing functions, but none of them are yielding results.
Help

Best Answer

Here is a construction that uses the axiom of choice. I'm not sure if it can be avoided.

Let $p$ be an increasing bijection ${\mathbb R} \to \mathbb R$ such that $p(0)=0$ and $0$ is the only fixed point of any iterate of $p$ (for example, $p(x)=2017x$ will do).

Let also $q$ be a decreasing bijection ${\mathbb R} \to \mathbb R$ such that $q(0)=0$ and $0$ is the only fixed point of any iterate of $q$ (for example, $q(x)=-2017x$ will do).

The iterates of $p$ form a group under composition which we call $P$. Then $P$ acts on ${\mathbb R}^*$. By the axiom of choice, there is a transversal $T_p\subseteq {\mathbb R}^*$ containing exactly one element from each orbit, then the map ${\mathbb Z} \times T_p \to {\mathbb R}^*, (k,x)\mapsto p^k(x)$ is bijective.

Similarly, there is a $T_q\subseteq {\mathbb R}$ such that ${\mathbb Z} \times T_q \to {\mathbb R}^*, (k,x)\mapsto q^k(x)$ is bijective.

By a well-known result in cardinality theory, since $T_q$ and $\mathbb Z$ are both infinite and $|T_q|>|{\mathbb Z}|$, we have $|{\mathbb Z} \times T_q|=|T_q|$. It follows that there is a bijective map $b:T_q \to T_p$.

Now, define $f$ by $f(0)=0$ and for nonzero $r$, say $r=q^{k}(t)$ with $t\in T_q$, put $f(r)=p^{k}(b(t))$. Similary, define $g$ by $g(0)=0$ and for nonzero $r$, say $r=p^{k}(b(t))$ with $t\in T_q$, put $g(r)=q^{k+1}(t)$.

By construction, one then has $f\circ g=p$ and $g\circ f=q$.