# Suppose the function $f:\mathbb R \rightarrow \mathbb R$ has left and right derivatives at $0$.

I have been trying to solve the following problem:

Suppose the function $f:\mathbb R \rightarrow \mathbb R$ has left and right derivatives at $0$.Then at $x=0$, which of the following options is correct?

(a)$f$ must be continuous but may not be differentiable,
(b)$f$ need not be continuous but must be left continuous or right continuous,
(c)$f$ must be differentiable,
(d)if $f$ is continuous then $f$ must be differentiable.

Could someone point me in the right direction.Thanks in advance for your time.

-

The function $f(x)=|x|$ should guide you towards the right answer. Also, if $f(x)$ is left-differentiable, what can you say about the left limit?
Sir,since $f$ is left-differentiable,it should be left-continuous.here the left limit for the function is $0$. – user53386 Dec 17 '12 at 17:51
@MSEoris Nope. $\lim_{x \to x_o^+} f(x)-f(x_0)=\lim_{x \to x_o^+} \frac{f(x)-f(x_0)}{x-x_0}(x-x_0)=f'^{+}(x_0) \cdot 0=0$... In the computation it is irrelevant what the left/right derivatives are, since they are multiplied by $0$. – N. S. Dec 17 '12 at 18:07
I think the function is continuous as for the function being both left and right continuous and its value being equal to $0$. – user53386 Dec 17 '12 at 18:11