2

How to check differentiablity of the function $\min\{|x-2|,|x|,|x+2|\}?$ I only know that inside functions are not differentiable at $2,0,-2$ resp. Please help. Thanks a lot.

neelkanth
  • 6,048
  • 2
  • 30
  • 71

3 Answers3

3

Hint: Graph it! Here is the piecewise of this function

$$ f(x) = \begin{cases} -2 -x, \; \; \; x<-2 \\ |x|, \; \; \; -2 \geq x \leq 2 \\ x -2 \; \; \; x > 2 \end{cases} $$

It looks something like this:

    \ \/ /
ILoveMath
  • 10,694
3

Hint: What is the connection between the broken line ABCDEFG and your problem?

What do you think for example in point B of the left derivative versus the right derivative?

enter image description here

Jean Marie
  • 81,803
1

You can rewrite the function as follows:
1) On $]-\infty,-2], f(x)=f_1(x)=-x-2$
2) On $[-2,-1], f(x)=f_2(x)=x+2$
3) On $[-1,0], f(x)=f_3(x)=-x$
4) On $[0,1], f(x)=f_4(x)=x$
5) On $[1,2], f(x)=f_5(x)=-x+2$
6) On $[2,\infty[, f(x)=f_6(x)=x-2$
On each of the open domains, the function is linear and therefore differentiable.
At each of the "intermediate points" {-2,-1,0,1,2} the function is not differentiable (left and right limit of the derivative are different). For example, $f'_1(x)=-1$ and $f'_2(x)$=1, so that $\lim_{x \to -2^-} f'(x)=-1 \neq \lim_{x \to -2^+} f'(x)=1$