Problem

Source: I International Festival of Young Mathematicians Sozopol 2010, Theme for 10-12 grade

Tags: algebra, functional equation



Does there exist a function $f: \mathbb{R}\rightarrow \mathbb{R}$ such that: $f(f(x))=-x$, for all $x\in \mathbb{R}$?