The function \( f(x) = \max\left\{(1 - x), (1 + x), 2\right\}, \, x \in (-\infty, \infty) \) is equivalent to
Show Hint
When working with maximum functions, analyze the behavior of each component function in different intervals to identify the maximum value for each range.