We know that continuous nowhere monotonic functions exist (e.g., the Weierstrass function), and that there are differentiable functions with pathological properties. But this raised the following question in my mind:
Does there exist a real-valued function $f: \mathbb{R} \to \mathbb{R}$ that is:
Differentiable almost everywhere (i.e., differentiable at all points except a set of measure zero), and Nowhere monotonic on any nontrivial interval?
Such a function would be quite pathological: smooth "almost everywhere" yet resisting monotonic behavior completely on any interval.
What I tried:
- Explored classical constructions like the Weierstrass function, which is continuous everywhere but differentiable nowhere—not suitable here.
- Considered functions of bounded variation, but they tend to be monotonic on subintervals, which disqualifies them.
- Reviewed functions with absolutely continuous derivatives, but they are monotonic on subsets if their derivative is of one sign—even locally.