Check that $|x|=\max\{-x,x\}=\max\{-x,x,0\}$

124 Views Asked by At

Let $x \in \mathbb{R}$, $|x|=\max\{-x,x\}$, is correct also $|x|=\max\{-x,0,x\}$?

2

There are 2 best solutions below

0
On BEST ANSWER

$|x|\geq 0$, because $x\geq 0$ or, when $x<0$, $-x>0$. Thus, $0\leq \max\{x,-x\}$, so the extra $0$ is ok.

1
On

Yes, and $|x|=\max\{-x,-42,x\}$.