If f(x) = |x| + |x - 1| + |x - 2|, then
f (x) has minima at x = 1
We have,
f(x) = |x| + |x - 1| + |x - 2|, = ⎧⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪⎩−3x+3,x<0−x+3,0≤xv1x+1,1≤x<23x−3,x≥2⇒f′(x)=⎧⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪
⎪⎩−3x<0does not existx=0−10<x<1does not existx=111<x<2does not existx=23x>2
Clearly, f(x) has minima at x = 1 and neither maxima r. Minima at x = 0, x = 1 and x = 2
Hence (a) is the correct answer.