The Nowhere-Monotone Continuous Function
A function is called nowhere monotone if it is not monotone on any open interval .
We know that a monotone function can have at most countably many discontinuities.
Question: Does there exist a continuous function that is nowhere monotone?
If yes, sketch why. If no, prove it.
(The answer may surprise you — think carefully before you decide.)
Answer: The Nowhere-Monotone Continuous Function
Key Idea / Intuition
The answer is yes — such functions exist, and in fact the "generic" continuous function (in the Baire category sense) is nowhere monotone. The key insight is that continuity does not force any local monotone behavior: you can construct a function that oscillates infinitely on every interval, never settling into any increasing or decreasing trend. The Weierstrass nowhere-differentiable function is the canonical example, and we explain why nowhere differentiability (with unbounded variation) forces nowhere monotonicity.
Formal Proof / Solution
Step 1: The Weierstrass Function Is Continuous
Define the classical Weierstrass function: where , is a positive odd integer, and .
This converges uniformly (by Weierstrass -test, since ), so is continuous.
Step 2: Nowhere Differentiability Implies Nowhere Monotone
Claim: If is monotone on some interval , then is differentiable almost everywhere on .
Proof of claim: This is Lebesgue's monotone differentiation theorem — any monotone function on an interval is differentiable almost everywhere.
Therefore: if were monotone on any open interval , it would have to be differentiable at almost every point of .
But the Weierstrass function is differentiable nowhere. This is a contradiction.
Hence is nowhere monotone.
Step 3: Why Is Nowhere Monotone Surprising?
One might think: "Surely on some tiny interval, the function must go up or down overall." But continuity alone does not prevent infinite oscillation. The Weierstrass function oscillates on every scale — zooming into any interval reveals the same chaotic structure. There is no interval where the function "trends" in any direction.
Step 4: Baire Category Perspective (Bonus)
Define the set:
Each is closed and nowhere dense in with the sup-norm. By the Baire Category Theorem, is a dense — meaning most continuous functions (in the topological sense) are nowhere monotone.
Summary
The logical chain is: