From page 11 (4th edition Spivak's calculus).
First off, a definition for $|a|$ would be $$\left| a \right| = \begin{cases} a, \qquad a \geq 0 \\ -a, \qquad a \leq 0 \end{cases}$$
Theorem: For all numbers $a$ and $b$, we have $$|a+b| \leq |a| + |b|$$
and concentrating only on 1 of the 4 cases ie let $a \geq 0$ and $b \geq 0$ we have
$|a+b| = a + b = |a| + |b|$
It's the second and third expression, the assertion that $a + b = |a| + |b|$ that is unclear to me. Clearly $|a+b|$ must be $\geq 0$, and by definition allows the assertion $|a + b| = a + b$.
Perhaps another question might shed some light. Assume that $z \geq 0$. Can I simply thus assert that $ z = |z|$? If this sounds a little confusing, it's probably because I am missing something.
$z \ge 0 \implies |z|=z$ – poetasis Oct 09 '21 at 14:34
$$\left| a+b \right| = \begin{cases} a+b, \qquad a+b \geq 0 \ -(a+b), \qquad a+b \leq 0 \end{cases}$$ by which $$\left| a \right| = \begin{cases} a, \qquad a \geq 0 \ -a, \qquad a \leq 0 \end{cases},\quad \left| b \right| = \begin{cases} b, \qquad b \geq 0 \ -b, \qquad b \leq 0 \end{cases}$$ therefore for $a,b\ge 0: |a+b|= a+b = |a|+|b|$. – Axion004 Oct 11 '21 at 23:13