# How do you write f(x)=|x-4| as a piecewise function?

Mar 28, 2017

$f \left(x\right) = \left\{\begin{matrix}x - 4 & \textcolor{w h i t e}{\text{XX}} & x > 4 \\ 0 & \null & x = 4 \\ 4 - x & \null & x < 4\end{matrix}\right.$

#### Explanation:

Basic definitions of absolute value and "piecewise function".

Mar 28, 2017