The points of non differentiability of \(f(x)=|x-2|+|x-3|\)
A. 1
B. 2
C. 3
D. 4
E. 5
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → B and C only
Opening the modulus signs on each interval:
\(x \lt 2\): \(f(x) = (2 - x) + (3 - x) = 5 - 2x\)
\(2 \le x \le 3\): \(f(x) = (x - 2) + (3 - x) = 1\)
\(x \gt 3\): \(f(x) = (x - 2) + (x - 3) = 2x - 5\)
Each piece is a straight line, so f is differentiable everywhere except possibly where the pieces join. There the left and right derivatives are:
At x = 2: left derivative −2, right derivative 0
At x = 3: left derivative 0, right derivative 2
So f is not differentiable only at x = 2 and x = 3.
Checking the statements
(A) 1 — Incorrect. Near x = 1, f(x) = 5 − 2x, so f is differentiable there.
(B) 2 — Correct. Slopes −2 and 0 meet at x = 2.
(C) 3 — Correct. Slopes 0 and 2 meet at x = 3.
(D) 4 — Incorrect. Near x = 4, f(x) = 2x − 5, so f is differentiable there.
(E) 5 — Incorrect. Near x = 5, f(x) = 2x − 5, so f is differentiable there.