Hey guys, I'm really confused on how to express an absolute value into a piece-wise function. Such as:

$\displaystyle |x-4|$

Printable View

- Sep 30th 2009, 12:23 AMSHiFTAbsolute Value into Piece-Wise Function
Hey guys, I'm really confused on how to express an absolute value into a piece-wise function. Such as:

$\displaystyle |x-4|$ - Sep 30th 2009, 01:20 AMred_dog
$\displaystyle |x-4|=\left\{\begin{array}{ll}x-4, & x-4\geq 0\\-x+4, & x-4<0\end{array}\right.=\left\{\begin{array}{ll}x-4, & x\geq 4\\-x+4, & x<4\end{array}\right.$

- Sep 30th 2009, 10:35 AMSHiFT
Ok awesome thanks a lot I always get confused by the negative row.