Q. The function f (x) = max{(1- x), (1+ x), 2} is equivalent to
Relations and Functions
Solution:
We draw the graphs of y = 1 - x, y = 1 + x and y = 2
From the graph we get
$f(x) = \begin{cases}
1 -x & \quad \text{if } \ x \le - 1\\
2 & \quad \text{if } \ -1 < x < 1 \\ \
1 +x & \quad \text{if} \ x \ge 1
\end{cases}
$
