let $f : \mathbb R \longrightarrow \mathbb R$ be a function such that $f (f(x)) = -x$ , $x \in \mathbb R$ then is $f$ continuous over $\mathbb R$?
I have observed that $f$ is a bijection and so $f(x) = f^{-1} (-x)$.So, $f$ and $f^{-1}$ have the same range.Is this fact helpful?I hard to find any such.Now how can I proceed?I have also failed to find out a function having the above property.So please help me.
Thank you in advance.
Notice that a continuous bijection is either strictly increasing or decreasing.
However $f\circ f$ is strictly increasing in both of these cases, which contradicts the fact that $-x$ is decreasing. Therefore $f$ cannot be continuous.