I want to prove that for all $a, b \in \mathbb R, |a + b| \leq |a| + |b|$, using only the following axioms, definition, and theorems below:
Axioms: For all $a,b,c \in \mathbb R:$
- Either $a \leq b$ or $b \leq a$
- If $a \leq b$ and $b \leq a$, then $a = b$
- If $a \leq b$ and $b \leq c$, then $a \leq c$
- If $a \leq b$, then $a + c \leq b + c$
- If $a \leq b$ and $0 \leq c$, then $ac \leq bc$
Definition: Let $a \in \mathbb R$. Then $|a|:= \begin{cases} a, & \text{if $0 \leq a$} \\ -a, & \text{if $a \lt 0$} \end{cases}$
Theorems: For all $a,b \in \mathbb R:$
- $0 \leq a^2$
- $0 \leq |a|$
- $-|a| \leq a \leq |a|$ and $a=|a|$ if, and only if, $0 \leq a$
- $|ab| = |a||b|$
In a coursebook that I'm reading for Real Analysis, it specifically states that all theorems must be proved using only the axioms and the theorems that have previously been given to us. However, one proof in the coursebook for showing that the Triangle Inequality holds seems to contradict what it had mentioned. In particular, their proof is the following:
- "Let $a,b \in \mathbb R$. Then $|a+b|^2 = (a+b)^2 = a^2 + 2ab + b^2 \leq a^2 +2|a||b| + |b|^2 = (|a| + |b|)^2$. Thus, we get that $|a + b| \leq |a| + |b|$ by taking the square root of each side."
For instance, it does not actually prove anywhere that if $|a + b|^2 \leq (|a| + |b|)^2$, then $|a + b| \leq |a| + |b|$. I thought we had to state each axiom explicitly step-by-step. So in my case, I would have done something like this in a part of the proof:
- "Let $a,b \in \mathbb R$. We note first that for any $c \in \mathbb R$, $|c|^2 = c^2$. Indeed, if $0 \leq c$, then by the definition, $|c| = c$, and if $c \leq 0$, $|c| = -c$. Thus, $|c|^2 = c^2$ for any $c \in \mathbb R$. We then note that $|a + b|^2 = (a+b)^2 = a^2 + 2ab + b^2$. By Theorem 3 above, since $2ab \in \mathbb R$, we have that $2ab \leq |2ab|$, and by Theorem 4, we have that $2ab \leq |2a||b| = 2|a||b|$. By Axiom 4, $a^2 + 2ab + b^2 \leq a^2 + 2|a||b| + b^2 = |a|^2 + 2|a||b| + |b|^2 = (|a| + |b|)^2$. We now have the fact that $|a+b|^2 \leq (|a| + |b|)^2$."
My main question is, did the coursebook mean that I should be this rigorous when proving theorems like these? And also, how does one prove the statement that comes from squaring the two sides? Since we're dealing with inequality, don't we have to use the rules of inequality rather than just using "intuition"?
All answers are appreciated.
''... it does not actually prove anywhere that if $ |a+b|^2≤(|a|+|b|)^2$, then $|a+b|≤|a|+|b|$. I thought we had to state each axiom explicitly step-by-step.''
This follows from monotonicity of multiplying with nonnegative real: Axiom 5.
On the contrary, $|a+b|>|a|+|b|$ implies
$|a+b|^2> (|a|+|b|) \cdot |a+b|$ by multiplying with $|a+b|$ and
$(|a|+|b|)\cdot |a+b| > (|a|+|b|)^2$ by multiplying with $|a|+|b|$.
Thus by transitivity of $>$,
$|a+b|^2> (|a|+|b|)^2$.