The function \(f(x)=|x-3|,\ x \in R\) is:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → differentiable for all \(x \in R\), except x = 3
Removing the modulus:
\(f(x) = \begin{cases}x-3, & x \ge 3\\ 3-x, & x \lt 3\end{cases}\)
For x > 3, f’(x) = 1, and for x < 3, f’(x) = −1. So f is differentiable at every x ≠ 3.
At x = 3 compare the left-hand and right-hand derivatives:
\(\displaystyle Rf'(3) = \lim_{h \to 0^+}\frac{|h|-0}{h} = 1\)
\(\displaystyle Lf'(3) = \lim_{h \to 0^-}\frac{|h|-0}{h} = -1\)
They are not equal, so f is not differentiable at x = 3 (the graph has a corner there). f is still continuous everywhere, so Option (3) is also false.