How to prove that:
$|x+y| = |x| + |y|$ if and only if $xy \ge0$
and
$|x-y| = |x | - |y|$ if and only if $xy \le0 $ and $|x| \ge |y|$?
I understand that these have similar approach and that each needs two proofs (that A implies B and that B implies A), but for know I've got as far as just writing $xy \ge 0$ and making different operations with it.