Q.

The function f(x)=e|x| is :

1 Continuous everywhere but not differentiable at x=0  
2 Continuous and differentiable everywhere  
3 Not continuous at x=0  
4 None of the above  

Ans.

(1)

Ans.       Continuous everywhere but not differentiable at x=0

Explanation:

       f(x)=e|x|={ex,x≥0e-x,x<0

       f'(x)={ex,x≥0-e-x,x<0

       f(0)=e0=1

       RHL=limx→0+ex=e0=1

        LHL=limx→0-e-x=e-0=1

If x=0,

       f(0)=LHL=RHL

∴  f(x) is continuous at x=0

LHD=limx→0-f'(x)=limx→0-(-e-x)=-e-0=-1

RHD=limx→0+ex=e0=1

LHD≠RHD

∴   f(x) is not differentiable at x=0