This is a problem from Rudin RCA 7.7:
Construct a continuous monotonic function $f$ on $\Bbb R^{1}\equiv\Bbb R$ so that $f$ is not constant on any segment although $f^{'}(x)=0$ $m$-a.e.
Some of my thoughts:
I consider the function $F(x)$=$m([0,x] \cap$ A) for measurable set A,then we have:
- $F^{'}(x)=1$ a.e. on $A$
- $F^{'}(x)=0$ a.e. on $A^{c}$.
However, if $m(A)=0$, then $F$ is constant on any segment; if $m(A)\neq 0$, then $F^{'}(x)$ can not be zero a.e. on $\Bbb R$. This makes me confused, thanks for your help!
There is a similar problem here, however how to variant it to the whole $R$? Constructing a strictly increasing function with zero derivatives