When taking cases for let's say $|x|$ we say :
It is $x$ for all $x \geq 0$ And
It is $-x$ for all $x<0$
I don't understand why we have "or equal to" in the first case
Why can't we have $\leq$ for the second case ?
Does this imply zero is positive?
This is something which I have blindly learnt without understanding why, hopefully I can change that.
Thanks in advance guys.
Because $0 = -0$, the following ways of writing $|x|$ are all equivalent: \begin{align} |x| &= \begin{cases} -x, &x<0\\ x, & x\ge 0 \end{cases} \tag{1}\\ |x| &= \begin{cases} -x, &x\le 0\\ x, &x \ge 0 \end{cases}\tag{2}\\ |x| &= \begin{cases} -x, &x \le 0\\ x, &x > 0 \end{cases}\tag{3} \end{align}
Some authors/instructors may prefer their domains of definition to be disjoint, and so prefer either $(1)$ or $(3)$, but that's just a matter of preference.