1

I have a question to share.

Find the points at which the following function is not differentiable: $$f(x)=\max \lbrace 1-x,1+x,2\rbrace \quad\forall x\in \mathbb{R}$$

I have joined this site recently and do not have enough reputation. So I am answering it here itself:

Observing the graphs of $y=1-x,y=1+x$ and $y=2$ we see that the above function is same as the following:

$$f(x)=\left\lbrace \begin{array}{cl} 1-x, & x<-1 \\ 2, & -1\leq x\leq 1\\ 1+x, & x>1 \end{array}\right.$$

and then it can be shown that $f$ is not differentiable at $x=-1$ and $x=1$.

Siminore
  • 35,136
Debashish
  • 1,714

1 Answers1

0

I can post the answer now:

Observing the graphs of $y=1-x,y=1+x$ and $y=2$ we see that the above function is same as the following:

$$f(x)=\left\lbrace \begin{array}{cl} 1-x, & x<-1 \\ 2, & -1\leq x\leq 1\\ 1+x, & x>1 \end{array}\right.$$

and then it can be shown that $f$ is not differentiable at $x=-1$ and $x=1$.

Debashish
  • 1,714