Can you help me to prove that $$|x-y|\leq |x|+|y|$$ I get a proff of this equality, but it's very short and I don't know if it's correct.
2026-03-31 05:40:08.1774935608
On
On
Prove: $|x-y|\leq |x|+|y|$
30k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
1
On
$$\sqrt{(x-y)^2}\leqslant \sqrt{x^2}+\sqrt{y^2}$$ $$\sqrt{x^2-2xy+y^2}\leqslant \sqrt{x^2}+\sqrt{y^2}$$ $$x^2-2xy+y^2\leqslant x^2+y^2+2\sqrt{y^2x^2}$$
0
On
Clearly $|x| = \max\{x,-x\}$
Thus $\pm x ≤ |x|$.
Then you can observe that :
\begin{align*} x + y &≤ |x| + y ≤ |x| + |y|,\quad\text{and}\\ -x - y &≤ |x| -y ≤ |x| + |y|. \end{align*}
So we have that $|x+y| \leq |x|+|y|$
Now put $x=X$ and $y=-Y$ ,
Thus $$|X-Y| \leq |X|+|-Y|$$
Since $|-Y|=|Y|$ , $$|X-Y| \leq |X|+|Y|$$
Take the square root of this: $$ (x-y)^2=x^2+y^2-2xy\leq x^2+y^2+2|x||y|=(|x|+|y|)^2 $$ and get $$ |x-y|\leq |x|+|y| $$