I'm struggling to understand the basic proof for the following theorem:
$\lvert -a\rvert = \lvert a \rvert$
The provided solution goes on to describe the following:
$(i)$ For $a \ge 0 $, since $-a \le 0$
$\lvert -a \rvert = -(-a)=a, \lvert a \rvert = a$
My question: Why does $\lvert -a \rvert = -(-a)$ hold true?
Provided we are working the a subring $A$, of the reals (i.e. $\mathbb{Z, Q, R}$), then the absolute value function is defined for $a \in A$ as:
\begin{equation} |a|= \begin{cases} -a, & \text{if}\ a<0\\ 0, & \text{if}\ a=0 \\ a, & \text{if}\ a>0 \end{cases} \end{equation}
So to answer your question, in the case $a \geq 0$, $|-a|=-(-a)$ comes straight from the definition, as $-a \leq 0$ (obviously noting $0=-0$).