Given the function $$f(x) = |x| + |x - 1|,$$ For all the real values of x, which one of the following statements is CORRECT ?
The given function is $f(x) = |x| + |x - 1|.$ We need to determine its continuity and differentiability for all real values of x.
The function $f(x)$ is a sum of two absolute value functions, $|x|$ and $|x - 1|$. Both $|x|$ and $|x - 1|$ are continuous functions for all real x. Since the sum of two continuous functions is always continuous, $f(x)$ is continuous for all real values of x.
Absolute value functions typically have points where they are not differentiable (sharp corners). The points where the argument of the absolute value becomes zero are potential points of non-differentiability. For $f(x)$, these points are $x=0$ (from $|x|$) and $x=1$ (from $|x - 1|$).
Let's define $f(x)$ as a piecewise function:
Now, we check differentiability at the critical points:
Since $f'(0^-) \neq f'(0^+)$, the function is not differentiable at $x = 0$.
Since $f'(1^-) \neq f'(1^+)$, the function is not differentiable at $x = 1$.
The function $f(x) = |x| + |x - 1|$ is continuous everywhere but fails to be differentiable at exactly two points, $x = 0$ and $x = 1$. Therefore, the correct statement is that the function is continuous but not differentiable at two points.