- $f(x)= [x], x\in[0,2]$, where $[x]$ is the greatest integer function.
My attempt:
If possible, let such a $\phi$ exist. Then,
$\phi'(x)=0, x\in[0,1)$
$=1, x\in[1,2)$
$=2, x=2$
So, $\phi'(0)=[0]=0 \neq \phi'(2)=[2]=2$ and $\phi$ is differentiable on $[0,2]$
So, by Darboux Theorem, $\phi'$ must assume every real value between $0$ and $2$, which is a contradiction. Hence, such a $\phi$ does not exist.
Is this proof correct? If so, the second part creates a problem for me.
- $f(x)=x-[x], x\in[0,2]$
Here both $\phi'(0)=0$ and $\phi'(2)=0$, so how can I apply Darboux Theorem?
In both cases, observe that the given $f$ has a simple discontinuity at $1$, so it does not satisfy the intermediate value property and therefore cannot be a derivative by Darboux's theorem.