Define $f\in C^{0}\left(\mathbb{R}\right)$ satisfying $f(f(x))=-x^3+\sin(x^2+\ln(1+\left|x\right| ))$. Prove that this equation has no continuous solution.
To figure out the proof, I thought like this:
If $f$ is monotonic we can conclude that $f(f(x))$ is monotonically increasing, which is contradictory to that $-x^3+\sin(x^2+\ln(1+\left|x\right|))$ can be strictly decreasing for sufficiently large or sufficiently small $x$.
So $f$ isn't monotonic. But I can't get more in this way.
Then I tried another way to solve this problem, that is to find contradiction when $x\rightarrow \infty$.
Given $f\in C^{0}\left(\mathbb{R}\right)$. I thought if $f(x)\rightarrow\infty$, we must have $x\rightarrow \infty$.
From the equation $\displaystyle\lim_{x\to +\infty}f(f(x))=-\infty$ and $\displaystyle\lim_{x\to -\infty}f(f(x))=+\infty$, we get $\displaystyle\lim_{x\to \infty}f(x)=\infty$. Then I thought we can claim that $\displaystyle\lim_{x\to -\infty}f(x)$ exists, and by discussing whether it equals $+\infty$ or $-\infty$ we can find contradiction.
Is there something wrong in my analysis?
And any other ideas to solve this problem?
I would appreciate it if you share your thoughts on this problem!
Monotonic functions are a tiny subset of continuous functions, so I can't see how this will help.
Continuity is a property that happens at specific points, so this can't possibly hope to work. (Also, there's some very weird circular/backwards argument stuff going on).