I am reading "Understanding Analysis" - it is a great book. However, I lack a solutions manual and some of these answers are difficult to find. It has been a while since I've written proofs and I'm wondering if these proofs are sufficient for the problem, or I can do better:
The problem states:
Use the triangle inequality to establish the inequalities:
(a) $|a - b| \le |a| + |b|$
(b) $||a| - |b|| \le |a - b|$
Starting with (a):
Note that $|a - b| = |a + (-b)|$
so $|a + (-b)| \le |a| + |-b|$ by the definition of the Triangle Inequality.
So $|a + (-b)| \le a + b$ by applying the rules of the absolute value.
By definition $|a + b| \le a + b$
which surely means $|a + b| \le |a| + |b|$ by the rules of the absolute value.
and since we have shown $|a + (-b)| \le a + b$, $|a + b| \le a + b$ and, $|a + b| \le |a| + |b|$
Then it must the be case where $|a - b| \le |a| + |b|$
For (b) it seems we can proceed directly:
$||a| - |b|| = |a - b|$ by the definition of the absolute value.
Then it must be the case that $|a - b| \le |a - b|$
and so $||a| - |b|| \le |a - b|$
I hope I did these correctly. It would be very helpful if I could be provided the correct answer if I am wrong - and methods to write cleaner proofs. Thank you!
(a) Prove $|a - b| \le |a| + |b|$
We know that $|x|+|y| \ge |x+y|$
$$\text{Let $x=a$ and let $y=-b$. Substituting we get}$$
\begin{align} |x|+|y| &\ge |x+y| \\ |a| + |-b| &\ge |a + (-b)| \\ |a| + |b| &\ge |a-b| \\ |a-b| &\le |a| + |b| \end{align}
(b) Prove $||a| - |b|| \le |a - b|$
$$\text{Let $x=a$ and $y=b-a$.}$$ \begin{align} |x|+|y| &\ge |x+y| \\ |a| + |b-a| &\ge |b| \\ |a| + |a-b| &\ge |b| \\ |b| &\le |a| + |a-b| \\ -|a-b| &\le |a| - |b| \tag{1.} \end{align}
$$\text{Next, let $x=b$ and $y=a-b$.}$$ \begin{align} |x|+|y| &\ge |x+y| \\ |b| + |a-b| &\ge |a| \\ |a| &\le |b| + |a-b| \\ |a| - |b| &\le |a-b| \tag{2.} \end{align}
$$\text{From $(1.)$ and $(2.)$, we get}$$ \begin{align} -|a-b| \le |a| - |b| \le |a-b| \\ ||a| - |b|| \le |a - b| \end{align}