Why is $\sqrt{|x-2|}$ continuous but not differentiable at x=2?
I thought that if there exists a limit on both sides then it would be differentiable?
calculusderivativeslimits
Why is $\sqrt{|x-2|}$ continuous but not differentiable at x=2?
I thought that if there exists a limit on both sides then it would be differentiable?
Best Answer
Here's the graph of $f:=\sqrt{\vert x-2 \vert}$ where $-5 \leq x \leq 5$:
Here $f$ is a continuous curve but there is a "corner" at $x=2$, so $f$ is not differentiable there.
For the formal argument, the limit $$\lim_{h \rightarrow 0} \frac{f(2+h)-f(2)}{h}=\lim_{h \rightarrow 0} \frac{\sqrt{\vert 2+h-2 \vert} \;-\sqrt{\vert 2-2 \vert} }{h}=\lim_{h \rightarrow 0} \frac{\sqrt{\vert h \vert}}{h} $$ does't exist!