Question
Question: Let \[f(x)=\left\\{ \begin{aligned} & {{x}^{2}}\text{ for }x\le 0 \\\ & 1\text{ for } 0 < x\...
Let f(x)=\left\\{ \begin{aligned}
& {{x}^{2}}\text{ for }x\le 0 \\\
& 1\text{ for } 0 < x\le 1 \\\
& \dfrac{1}{x}\text{ for } x > 1 \\\
\end{aligned} \right.
The number of points at which f is not differentiable is
Solution
If the left-hand derivative off(x) is not equal to right-hand derivative of f(x) at x=a, then the function is said to be not differentiable at x=a.
Complete step-by-step answer:
The given function is f(x)=\left\\{ \begin{aligned}
& {{x}^{2}}\text{ for }x\le 0 \\\
& 1\text{ for } 0 < x\le 1 \\\
& \dfrac{1}{x}\text{ for } x > 1 \\\
\end{aligned} \right.
For a function to be differentiable at x=a , the right hand derivative of the function at x=ashould be equal to the left hand derivative at x=a.
Now ,we will check the differentiability of the function at critical points i.e. at the point x=0 and at the point x=1.
We know , the left-hand derivative of a function f(x) at x=a is given as f−′(a)=h→0lim−hf(a−h)−f(a)
and the right-hand derivative of a function f(x) at x=a is given as f+′(a)=h→0limhf(a+h)−f(a).
At x=0, the left-hand derivative of the function f(x) is given as
f−′(0)=h→0lim−hf(0−h)−f(0)
=h→0lim−hf(−h)−f(0)
=h→0lim−h(−h)2−0
=h→0lim(−h)=0
And , the right- hand derivative of the function f(x) is given as
f+′(0)=h→0limhf(0+h)−f(0)
=h→0limhf(h)−(0)
=h→0+lim(h1−0)
=h→0+lim(h1)
=∞
Now , we can clearly see that the left hand derivative of the function at x=0 is not equal to the right hand derivative of the function at x=0.
Hence , function is not differentiable at x=0.
Now, we will check differentiability of the function at x=1.
Atx=1, the left-hand derivative of the function f(x) is given as
f−′(1)=h→0lim−hf(1−h)−f(1)
=h→0lim−h1−1
=0
Now , the right-hand derivative of the function f(x) is given as
f+′(1)=h→0limhf(1+h)−f(1)
=h→0limhh1−1
=h→0limh21−h
=01−0=∞
Now , we can clearly see that the left-hand derivative of the function at x=1 is not equal to the right hand derivative of the function at x=1.
Hence , function is not differentiable at x=1.
Hence the number of points at which f(x) is not differentiable =2i.e. at x=0 and at x=1.
Note: A function is said to be differentiable at a point if the limit exists at the point and the function is continuous. Also , the left-hand derivative of the function at the point should be equal to the right-hand derivative of the function at the same point .