The correct options are
A f(x)=⎧⎨⎩tanxx,x≠01,x=0
C f(x)=|3x−1|
For Lagrange's mean value theorem to be applicable the function must be continuous and differentiable for all values of x for which the function is defined.
For option A :
f(x)=⎧⎪⎨⎪⎩x,x<1212(12+x)2,x≥12
We need to check continuity at x=12
LHL=limx→12−f(x)=12
RHL=limx→12+f(x)=12
f(12)=12
⇒ f(x) is continuous at x=12
We need to check differentiability at x=12
LHD=1 and RHD=1
Hence, f(x) is differentiable at x=12
For option A, conditions of Lagrange's mean value theorem are valid.
For option B,
f(x) is discontinuous at x=π2
For option C,
f(x) is continuous at x=1
LHL=RHL=f(1)=0
For option C, conditions of Lagrange's theorem are valid.
For option D,
f(x)=3x−1;x≥13
=1−3x;x<13
∴LHD=3 and RHD=−3 at x=13
Hence Lagrange 's theorem is not valid .