first time poster here, so please excuse my noobiness
I'm going through some basic first year college math exercises, because i found out i still can't do some of the proofs, and I've encountered this
the absolute value of x is defined as
$$|x|=\begin{cases}x& \text{ if } x\geq 0\\ -x& \text{ if } x< 0 \end{cases}$$
prove that $|x|=\max\{x,-x\}$
i honestly have no idea on what is required from me/how should i start
can someone please help me out with a hint, or just something what would get me on the right track? thx