So I was given the task of proving the following variant of the triangle inequality using only the properties of the absolute value:
$\vert\lvert x\rvert -\lvert y \rvert \rvert \leq \lvert x+y\rvert$
Now my initial instinct was to divide it to four cases based on the possible values of x and y, and show that in each case I get a truth expression, but it seems a bit "brute force" to me and I'm not sure this is what my instructor meant. Since I'm not allowed to use the actual triangle inequality and must adhere to absolute value properties, is there any other solution?
(Of course he'll accept this answer if it's correct, but I want to learn what it is I'm missing).
The proof of triangle inequality
As you know $xy\le |xy|=|x||y|$ $$(x+y)^2 = |x+y|^2=x^2+2xy+y^2\le |x|^2+2|x||y|+|y|^2$$ taking square root of both sides gives $|x+y|\le |x|+|y|$
The proof of the given inequality $$|x|=|x+y-y|\le |x+y|+|y|\implies |x|-|y|\le|x+y|$$ changing the role of $x$ and $y$ gives $$|y|-|x|\le |x+y|$$ if multiply both sides by $-1$ we get $-|x+y|\le |x|-|y|$ Now $$-|x+y|\le |x|-|y|\le |x+y|$$ which holds iff $$||x|-|y||\le |x+y|$$