1

What are (as easy as possible) examples of functions $f$ with the following properties?

  • singular, i.e. continuous, non-constant, and differentiable almost everywhere with derivative zero,
  • non locally constant, i.e. $\exists x$ with $f'(x)=0$ but $\forall U $neighborhood of $x$, $ \exists y∈U$ with $f(x)≠f(y)$.

Note that the above definition of non locally constant is unusual, but I don't know how to call this specific case.
Anyway, this is this case I ask for.

  • 1
    How about countably many weighted translates of the Cantor function, as in $f(x)=\sum_n 2^{-n}C(x-q_n)$, where $C$ is the Cantor function and $q_n$ an enumeration of the rationals? – kimchi lover Jul 03 '20 at 18:28

1 Answers1

2

Take any singular function $g:[0,1]\to\mathbb{R}$ (e.g., the Cantor function) and extend $g$ to all of $\mathbb{R}$ by making it constant on $(-\infty,0]$ and $[1,\infty)$. Now pick an increasing sequence $(a_n)$ converging to some value $a\in\mathbb{R}$ and a sequence $(c_n)$ such that $\sum c_n$ converges, and consider the function $$f(x)=\sum_{n=0}^\infty c_ng\left(\frac{x-a_n}{a_{n+1}-a_n}\right).$$ This function looks like a bunch of scaled and shifted copies of $g$ on the intervals $[a_n,a_{n+1}]$, accumulating at the point $a$. If $c_n$ shrinks fast enough, then $f$ will be differentiable at $a$ with $f'(a)=0$, but $f$ is not constant on any neighborhood of $a$.

Eric Wofsey
  • 330,363
  • 1
    @Sebastien Palcoux: You may also want to look over the references I posted here. – Dave L. Renfro Jul 03 '20 at 19:56
  • 1
    @SebastienPalcoux: $f$ is a uniformly convergent sum of continuous functions, so it is continuous. Notice that $f$ does not jump from $c_ng(1)$ to $c_{n+1}g(0)$; it is always a sum including all the terms. – Eric Wofsey Jul 03 '20 at 23:58