Recently, I heard this question: are there two functions $f:\mathbb{R}\to\mathbb{R}$ and $g:\mathbb{R}\to\mathbb{R}$ such that $f\circ g$ is strictly increasing on $\mathbb{R}$ and $g\circ f$ is strictly decreasing on $\mathbb{R}$? I have the feeling that it is not new. Does anybody know any references?



$$f(x)=(-1)^{\lceil x \rceil}\text{abs}(x+\text{sign}(x)),\ g(x)=(-1)^{\lceil x \rceil}\text{abs}(x)$$

graphs of f(x) and g(x)

graphs of f(g(x)) and g(f(x))

| cite | improve this answer | |
  • 2
    $\begingroup$ Very nice example. Notice that $g(x)-\mbox{sign}(x)$ is the socalled "windmill function" which is a solution of the functional equation f(f(x))=-x. (see "f(f(x)) = − x, Windmills, and Beyond", Martin Griffiths, Mathematics Magazine,Vol. 83, No. 1 (February 2010), pp. 15-23 ). $\endgroup$ – Robert Z Jun 25 '16 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.