The function \(f : \mathrm{R} \rightarrow \mathrm{R}\) given by \(f(x) = -|x-1|\) is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → continuous but not differentiable at \(x=1\)
Removing the modulus:
\( \displaystyle f(x) = \begin{cases} x-1, & x \lt 1 \\ -(x-1), & x \ge 1 \end{cases} \)
Continuity at x = 1: both one-sided limits equal the value of the function.
\( \displaystyle \lim_{x\to 1^-}(x-1) = 0,\quad \lim_{x\to 1^+}\left(-(x-1)\right) = 0,\quad f(1) = 0 \)
So f is continuous at x = 1.
Differentiability at x = 1: compare the left-hand and right-hand derivatives.
\( \displaystyle Lf'(1) = \lim_{h\to 0^-}\frac{f(1+h)-f(1)}{h} = \lim_{h\to 0^-}\frac{h}{h} = 1 \)
\( \displaystyle Rf'(1) = \lim_{h\to 0^+}\frac{f(1+h)-f(1)}{h} = \lim_{h\to 0^+}\frac{-h}{h} = -1 \)
The two are different, so f is not differentiable at x = 1. The graph is an inverted V with a sharp corner at (1, 0).