f(x)=(x−1)2cos(1x−1)−|x|
Evaluating limit at x=1,
Clearly −1<cos(1(x−1))<1 for any value of x ,
limx→1f(x)=(x−1)2cos(1x−1)−|x|=−1=f(1)
⇒f(x) is continuous function at x=1
Now,
R.H.D.=f′(1+)=limh→0f(1+h)−f(1)h
=limh→0(h)2cos(1h)−|1+h|+1h=limh→0(hcos1h−hh)=−1
L.H.D.=f′(1−)=limh→0f(1−h)−f(1)−h
=limh→0(h)2cos(1h)−|1−h|+1−h=limh→0(−hcos1h−hh)=−1
Clearly, L.H.D.=R.H.D.
Hence, f(x) is differentiable at x=1.
We know that if g(x),h(x) are differntiable and non-differentiable at x=a respectively , then g(x)±h(x) will also be non-differentiable at x=a.
Here |x| is not differentiable at x=0
So, f(x) is non differentiable at x=0.
Hence, f(x) is non differentiable at exactly one point.