wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Discuss the continuity and differentiability of the function f(x) = |x|+|x-1| in the interval (-1,2).

Open in App
Solution

Method 1: Since the continuity and differentiability of modulus function is doubtful at the corner points. So well shall check continuity and differentiability at the critical points x=0, 1 ϵ (-1,2).

Therefore, f(x) = |x|+|x-1|= x(x1)=2x+1,if x<0x(x1)=1,if 0x<1x+x1=2x1,if x1

Continuity at x=0 : We have f(0)=1.

LHL (at x=0): limx0(2x+1)=2×0+1=1

RHL (at x=1): limx0+1=1

Since limx1 f(x) = f(1) so f(x) is continuous at x=0.

Continuity at x=1: We have f(1)= 2(1)-1=1.

LHL (at x=1) :limx1=1
RHL (at x=1) : limx1+2x1=2×11=1

Since limx1 f(x)= f(1) so f(x) is continuous at x=1.

Differentiability at x=0:
LHD (at x=1) : limx0|x|+|x1|1x0=limx02x+11x=limx02xx=2

RHD (at x=0): limx0+11x0=limx0+0x=limx0+0=0 LHD (at x=0)

f(x) is not differentable at x=0.

Differentibility at x=1:

LHD (at x=1) : limx111x1=limx10x1=limx10=0

RHD (at x=1): limx1+x+x11x1=limx1+2(x1)x1=2 LHD (at x=1)

f(x) is not differentiable at x=1.

Method 2: Since the continuity and differentiability of modulus function is doubtful at the corner points. So well shall check continuity and differentiability at the critical points x =0, 1 ϵ (-1,2).

Continuity at x=0 : We have f(0)= |0|+|0-1|=1.

LHL (at x=0): limx0|x|+|x1|=|0|+|01|=1

RHL (at x=0): limx0+|x|+|x1|=|0|+|01|=1

Since limx0 f(x) = f(0) so f(x)is continous at x=0.

Continuity at x=1: We have f(1)= |1|+|1-1|=1. LHL (at x=1) : limx1|x|+|x1|=|1|+|11|=1

RHL (at x =1): limx11|x|+|x-1|=|1|+|1-1|=1

Since limx1 f(x)= f(1) so f(x) is continuous at x=1.

Differentiability at x=0 :

LHD (at x=0): limx0|x|+|x1|1x0=limx0xx+11x=limx02xx=2

RHD (at x=0): limx0+|x|+|x1|1x0=limx0+xx+11x1=limx0+0x=0 LHD (at x=0)

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

Differentiability at x=1 :

LHD (at x=1):limx1|x|+|x1|1x1=limx1xx+11x1=limx10x1=0

RHD (at x=1): limx1+|x|+|x1|1x1=limx1+x+x11x1=limx1+2(x1)x1=2 LHD (at x=0)

f(x)is not differentiable at x=1.


flag
Suggest Corrections
thumbs-up
8
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Definition of Function
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon