To determine where the function \( f(x) = |x| + |x-1| + |x+1| \) is differentiable, we need to analyze the points of nondifferentiability of each absolute value component.
The given function has three components:
The overall function \( f(x) \) will be nondifferentiable at the points \(x = -1, 0, \text{ and } 1\) because the nondifferentiability of any component at a point makes the entire function nondifferentiable there.
Outside these points, the function is differentiable. This can be verified by checking that the derivative exists and is continuous in the intervals formed by these points:
In each of these intervals, \( f(x) \) is a linear function, and hence differentiable.
Therefore, the correct answer is: differentiable for all \( x \in \mathbb{R} \) other than \( x = -1, 0, 1 \).
The value of \[ \int \sin(\log x) \, dx + \int \cos(\log x) \, dx \] is equal to