(a)
f(x) is continuous on
[−2,2]⟹f(0−)=f(0+)
⟹limx→0sinxx=a⋅20
⟹1=a
Since, f is continuous on [−2,2]
⟹f(1−)=f(1+)
⟹a⋅21=b+1
⟹2=b+1
⟹b=1
(b)
f(x)=|x|
f(x)=⎧⎨⎩xif x>0−xif x<00if x=0
To check differentiability,
limh→0+|0+h|−|0|h=limh→0+|h|h=1
limh→0−|0−h|−|0|−h=limh→0−|h|−h=−1
∴limh→0+≠limh→0−
Thus, f is not differentiable at x=0
g(x)=|x|2=x2
f′(x)=limh→0f(x+h)−f(x)h=limh→0(x+h)2−x2h
=limh→02xh+h2h
=limh→02x+h=2x
Thus, the limit exist.
Hence, g is differentiable at x=0 and f′(x)=0 at x=0
h(x)=|x|3
h(x)=⎧⎨⎩x3if x>0−x3if x<00if x=0
Now, consider
limt→0+h(0+t)−h(0)t
=limt→0+|0+t|3−|0|3t=limh→0t3t=0
and limt→0−|0+t|3−|0|t=limt→0−t3t=0
∴limt→0+=limt→0−
Thus, h(x) is differentiable at x=0
Hence only one function f(x)=|x| is not differentiable at x=0