Q21 Does there exist a function which is continuous everywhere but not differentiable
at exactly two points? Justify your answer.
Consider f(x) = |x| + |x +1|
We know that modulus functions are continuous everywhere and sum of two continuous function is also a continuous function
Therefore, our function f(x) is continuous
Now,
If Lets differentiability of our function at x = 0 and x= -1
L.H.D. at x = 0
R.H.L. at x = 0
R.H.L. is not equal to L.H.L.
Hence.at x = 0 is the function is not differentiable
Now, Similarly
R.H.L. at x = -1
L.H.L. at x = -1
L.H.L. is not equal to R.H.L, so not differentiable at x=-1
Hence, exactly two points where it is not differentiable