Question:medium

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

Solution and Explanation

Step 1: Look at the graph idea.
The graph of $|x - 5|$ is a V with its corner at $(5, 0)$. A corner has no single tangent.
We confirm this with one-sided slopes.

Step 2: Slope on the left of 5.
Near 5 on the left, $f(x) = -(x - 5)$. Its slope is constant.
\[ f^{\prime}(x) = -1 \quad (x < 5) \]

Step 3: Slope on the right of 5.
Near 5 on the right, $f(x) = x - 5$, so the slope is $+1$.
\[ f^{\prime}(x) = 1 \quad (x > 5) \]

Step 4: Decide.
The two one-sided derivatives at 5 are $-1$ and $1$. A derivative needs one common value.

Final Answer:
The function is continuous at 5 but has a corner there, so it is not differentiable at $x = 5$. \[ \boxed{\text{Not differentiable at } x = 5} \]
Was this answer helpful?
0