Question:

Check for differentiability of the function \(f\) defined by \(f(x) = |x - 5|\), at the point \(x = 5\).

Show Hint

Find the left and right derivatives at 5. They are -1 and 1, so they differ.
Updated On: Nov 20, 2026
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Recall the test.
\(f\) is differentiable at \(x = 5\) if the left derivative equals the right derivative there.
Note \(f(5) = |5 - 5| = 0\).

Step 2: Left-hand derivative.
For \(x < 5\), \(|x - 5| = 5 - x\). So \(f(x) = 5 - x\).
\[ \text{LHD} = \lim_{h \to 0^{+}} \frac{f(5 - h) - f(5)}{-h} = \lim_{h \to 0^{+}} \frac{h - 0}{-h} = -1 \]

Step 3: Right-hand derivative.
For \(x > 5\), \(|x - 5| = x - 5\). So \(f(x) = x - 5\).
\[ \text{RHD} = \lim_{h \to 0^{+}} \frac{f(5 + h) - f(5)}{h} = \lim_{h \to 0^{+}} \frac{h - 0}{h} = 1 \]

Step 4: Compare.
\(\text{LHD} = -1\) and \(\text{RHD} = 1\). They are not equal.

Final Answer:
\[ \boxed{f \text{ is not differentiable at } x = 5} \]
Was this answer helpful?
0
0