Define a function by \begin{equation*} g(x) = \begin{cases} x,&x<1\\ x-1, &x\geq 1. \end{cases} \end{equation*} Prove that there does not exist a function $f(x)$ that is differentiable on all of $\mathbb{R}$ such that $f(x) = g(x)$. And my instructor requires us to use Darboux’s Theorem to prove this question.
Could someone help me to figure it out? I'd appreciate it!