PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: Very high
[parent] continuous nowhere monotonic function (Result)

Let $ f$ be a real-valued continuous function defined on the unit interval $ [0,1]$. It seems intuitively clear that $ f$ should be monotonic on some subinterval $ I$ of $ [0,1]$. Most of the concrete examples seem to support this. A counterexample is termed nowhere monotonic, meaning that the function is not monotonic in any subinterval of $ [0,1]$. Surprisingly, nowhere monotonic functions do exist:

Proposition 1   There exists a real-valued continuous function defined on $ [0,1]$ that is nowhere monotonic.

A sketch of the proof goes as follows:

  1. Let $ X$ be the set of all continuous real-valued functions on [0,1]. Then $ X$ is a complete metric space given the sup norm. Clearly $ X$ is non-empty.
  2. Given any subinterval $ I$ of $ [0,1]$, the subset $ P(I)\subseteq X$ consisting of all non-decreasing functions, the subset $ Q(I)\subseteq X$ consisting of all non-increasing functions, and hence their union $ M(I)$, are closed.
  3. Furthermore, $ M(I)$ is nowhere dense.
  4. Let $ S$ be the set of all rational intervals in $ [0,1]$ (a rational interval is an interval whose endpoints are rational numbers). Then $ S$ is countably infinite. Take the union $ M$ of all $ M(I)$, where $ I$ ranges over $ S$.
  5. If $ f$ is monotone on some interval $ J$ in $ [0,1]$, then $ f$ is monotone on some rational interval $ I\subseteq J$. If the theorem is false, then every continuous function is monotone on some rational interval, which means $ M=X$.
  6. However, $ M$ is a countable union of nowhere dense sets and $ X$ is a non-empty complete metric space. By Baire Category Theorem, this can not happen. Therefore, $ M\subset X$ strictly and there exists a continuous nowhere monotone real-valued function defined on $ [0,1]$.

Example : van der Waerden function

The above shows the existence of such a function. Here is an actual example of a nowhere monotonic continuous function, called the van der Waerden function. This function, which we designate by $ f$, is given by a series
$\displaystyle f(x) = \sum_{k=0}^{\infty} f_k(x) $
where the functions $ f_k$ are defined by
\begin{displaymath} f_0(x) = \begin{cases} x, & \text{if}\;\; 0 \leq x \leq \fra... ...uad\quad \text{and} \quad\quad f_k(x) = \frac{1}{2^k}f_0(2^kx) \end{displaymath}

where each $ f_k(x)$ is defined on $ [0,2^{-k}]$. Since $ f_k$ agrees on the endpoints, we can extend the its domain to the entire unit interval by periodic extension (so that the graph of $ f_k(x)$ has the shape of a sawtooth).

Figure: The graphics of $ f_0$ (left), $ f_1$ (middle) and $ f_2$ (right).
\includegraphics[scale=0.6]{graf1} \includegraphics[scale=0.6]{graf2} \includegraphics[scale=0.6]{graf4}

$ \quad\;$

Figure: The graphic of the van der Waerden function (the dashed lines are the graphics of each $ f_k$).
\includegraphics[scale=0.7]{graf3}

- It is easy to check that each $ f_k$ is continuous. Using the Weierstrass M-test we can also see that the series converges uniformly, and therefore conclude that $ f$ itself is a continuous function (it is the uniform limit of continuous functions).

- We now prove that $ f$ is nowhere monotonic:

The set $ \{\frac{L}{2^k} : k \in \mathbb{N}, \;0< L < 2^k\}$ is dense in $ [0,1]$. Given any interval $ I\subset [0,1]$ we can then find a point of the form $ \frac{L}{2^k}$ in its interior.

It is easily seen that $ f_j(\frac{L}{2^k})=0$ for $ j \geq k$.

For any integer $ j>k$, consider the points $ a_j :=\frac{2^{j-k}L-1}{2^j}$ and $ b_j := \frac{2^{j-k}L+1}{2^j}$. The points $ a_j$ (resp. $ b_j$) are just the points on the left (resp. on the right) of $ \frac{L}{2^k}$ when we divide the unit interval in segments of size $ \frac{1}{2^j}$.

A direct calculation would show that

\begin{displaymath} \begin{cases} f_s(a_j)=0, & s\geq j \ f_s(a_j)=\frac{1}{2^... ...ac{L}{2^k}) \pm \frac{1}{2^j},\;\;\; & k > s \geq 0 \end{cases}\end{displaymath}
and similarly for $ b_j$.

Evaluating $ f$ in the points $ a_j$ and $ b_j$ we obtain

$\displaystyle f(a_j)$ $\displaystyle =$ $\displaystyle \sum_{s =0}^{\infty}f_s(a_j)$  
  $\displaystyle =$ $\displaystyle \sum_{s =0}^{j-1}f_s(a_j)$  
  $\displaystyle =$ $\displaystyle \sum_{s =0}^{k-1}f_s(a_j) + \sum_{s =k}^{j-1}f_s(a_j)$  
  $\displaystyle =$ $\displaystyle \sum_{s =0}^{k-1}f_s(\frac{L}{2^k}) + \sum_{s =0}^{k-1}(\pm \frac{1}{2^j}) + \frac{j-k}{2^j}$  
  $\displaystyle =$ $\displaystyle f(\frac{L}{2^k}) + \sum_{s =0}^{k-1}(\pm \frac{1}{2^j}) + \frac{j-k}{2^j}$  

and similarly for $ f(b_j)$.

The least value we can obtain is $ \displaystyle f(a_j) = f(\frac{L}{2^k}) - \frac{k}{2^j} + \frac{j-k}{2^j}= f(\frac{L}{2^k})+ \frac{j-2k}{2^j}$, and even in this extreme case we can still choose $ j$ large enough so that $ a_j \in I$ and $ j > 2k$.

For this appropriate $ j$ we see that $ f(a_j)> f(\frac{L}{2^k})$, and similarly $ f(b_j) > f(\frac{L}{2^k})$.

Recall that $ a_j < \frac{L}{2^k} < b_j$. We conclude that $ f$ is not monotonic in $ I$, and hence it is nowhere monotonic.

Remark. The van der Waerden function turns out to be nowhere differentiable as well.



Anyone with an account can edit this entry. Please help improve it!

"continuous nowhere monotonic function" is owned by asteroid. [ full author list (3) | owner history (2) ]
(view preamble)

View style:

Also defines:  van der Waerden function

This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: nowhere differentiable, even, size, segments, divide, right, integer, interior, point, dense in, limit, converges uniformly, Weierstrass M-test, graph, periodic extension, entire, domain, series, strictly, Baire category theorem, countable, monotone, ranges, countably infinite, rational numbers, endpoints, rational, nowhere dense, closed, union, subset, sup norm, metric space, complete, monotonic functions, function, counterexample, support, subinterval, monotonic, clear, interval, unit, continuous function
There is 1 reference to this entry.

This is version 16 of continuous nowhere monotonic function, born on 2005-01-31, modified 2007-09-22.
Object id is 6690, canonical name is ThereAreContinuousFunctionsInTheInterval01WhichAreNotMonotonicAtAnySubinterval.
Accessed 1626 times total.

Classification:
AMS MSC54E52 (General topology :: Spaces with richer structures :: Baire category, Baire spaces)

Pending Errata and Addenda
None.
[ View all 2 ]
Discussion
Style: Expand: Order:
forum policy
continuous nowhere monotonic by pahio on 2007-09-23 15:21:47
This van der Waerden's function is a very clear and beautiful example!
[ reply | up ]

Interact
post | correct | update request | add example | add (any)