Currently reading the paper "From Intermediate Value to Chaos" (Huang, 1992) I stumbled over the following statement
A function can be iterated on $[a,b]$ but may not be iterated on any subinterval of $[a,b]$.
I was wondering whether someone could give an example for such a function?
If we have a function from the unit circle $B_2:=\{(x,y) \in \mathbb{R\times R}|x^2+y^2=1\}$ to $B_2$, that rotates a point by a constant irrational angle $\phi$, then this is a function that can be iterated on $B_2$ but not on a subset of $B_2.$
We want to transform this to $[0,1)$ and further to $[0,1].$ Let $\alpha$ be an irrational number. $$f:[0,1] \to [0,1]$$ $$f(x)=\begin{cases} x+\alpha \mod 1,&x\ne 1 \\ 0,&x=1 \end{cases} $$ Note that $x,f(x),f(f(x),f^3(x)\ldots$ is dense in $[0,1]$, if $x \in [0,1).$