I am in search of a an analytic function $f:\mathbb{R} \to \mathbb{R}$ which is not monotone on any nonempty open interval. Does one exist, or is there a proof that no such function exists?
If there does not exist such a function, is there an example of an infinitely differentiable function which is not monotone on any interval?
f
is just to be continuous? – mercury0114 Aug 12 '19 at 13:06