Mathematical Analysis Proof: |x-y|<= |x|+|y|

Click For Summary
SUMMARY

The discussion focuses on proving the mathematical inequality |x-y| ≤ |x| + |y| for all real numbers x and y. Participants suggest leveraging the triangle inequality and consider various cases, such as assuming x < y or x = y, to simplify the proof. The Cauchy-Schwarz inequality is also recommended as a foundational step before tackling the triangle inequality. Additionally, a less conventional method involving quasi-linearization is introduced, emphasizing the importance of defining the absolute value function correctly.

PREREQUISITES
  • Understanding of real numbers and basic properties of absolute values
  • Familiarity with the triangle inequality in mathematical analysis
  • Knowledge of the Cauchy-Schwarz inequality
  • Basic concepts of quasi-linearization techniques
NEXT STEPS
  • Study the proof of the triangle inequality in detail
  • Learn about the Cauchy-Schwarz inequality and its applications
  • Explore quasi-linearization methods in mathematical proofs
  • Practice solving inequalities involving absolute values
USEFUL FOR

Students of mathematical analysis, educators teaching real analysis concepts, and anyone interested in understanding proofs involving inequalities and absolute values.

Bonnie
Messages
18
Reaction score
1

Homework Statement


1. Show that for all real numbers x and y:
a) |x-y| ≤ |x| + |y|

Homework Equations


Possibly -|x| ≤ x ≤ |x|,
and -|y| ≤ y ≤ |y|?

The Attempt at a Solution


I tried using a direct proof here, but I keep getting stuck, especially since this is my first time ever coming across mathematical analysis, so I don't have much intuition for it. What I did think was possibly trying to use the triangle inequality somehow?
So far I have added the two above equations together to get
-|x| - |y| ≤ x + y ≤ |x| + |y|
But If that is right then I have no idea how to manipulate it to get the original statement to be proven. Any help would be much appreciated as I seem to keep going in circles.

Thanks :)
 
Physics news on Phys.org
Since ##|x-y|=|y-x|## you may assume that ##x\geq y## which reduces the cases you have to consider. And this is the triangle inequality, because ##|x-y|=|x+(-y)|\leq |x|+|-y|=|x|+|y|## so you cannot use what you want to prove.
 
Bonnie said:

Homework Statement


1. Show that for all real numbers x and y:
a) |x-y| ≤ |x| + |y|

Homework Equations


Possibly -|x| ≤ x ≤ |x|,
and -|y| ≤ y ≤ |y|?

The Attempt at a Solution


I tried using a direct proof here, but I keep getting stuck, especially since this is my first time ever coming across mathematical analysis, so I don't have much intuition for it. What I did think was possibly trying to use the triangle inequality somehow?
So far I have added the two above equations together to get
-|x| - |y| ≤ x + y ≤ |x| + |y|


Thanks :)

As fresh_42 points out, you may as well assume that ##x < y##; the case ##x = y## is trivial. Furthermore, the cases ##x=0## or ##y = 0## are trivial as well. Given all that, one way to go is by a (tedious?) consideration of cases:
(a) ##0 < x < y##; (b) ##x < 0 < y##; and (c) ##x < y < 0##.
 
I think the 'right' way to do this is proving Cauchy Schwarz first, then proving triangle inequality.
- - - -
A less often used approach that I happen to like is quasi-linearisation. (Note, change of variables ##z:= -y##)

you want to prove

##f \big( x + z \big) = \big \vert x + z \big \vert \leq \big \vert x \big \vert + \big \vert z \big \vert = f \big( x \big) + f \big( z \big)##

now here I've defined ##f## as the absolute value function -- in common shorthand, I've said ##f(u) := \big \vert u\big \vert##

But suppose I instead define

##\begin{equation*}
\begin{aligned}
& f\big(u\big) := {\text{maximize }}\lambda \cdot u\\
& \text{subject to: }\lambda \in \{-1,+1\}\\
\end{aligned}
\end{equation*}##

From here, you'd need to confirm that the two definitions are equivalent, and the obvious fact that 2 choices are better than 1 (at least in 'single player' optimization problems).
 
The same old question year after year.
:-)
 
Thank you all for your replies :)
 
StoneTemplePython said:
I think the 'right' way to do this is proving Cauchy Schwarz first, then proving triangle inequality.
- - - -
A less often used approach that I happen to like is quasi-linearisation. (Note, change of variables ##z:= -y##)

you want to prove

##f \big( x + z \big) = \big \vert x + z \big \vert \leq \big \vert x \big \vert + \big \vert z \big \vert = f \big( x \big) + f \big( z \big)##

now here I've defined ##f## as the absolute value function -- in common shorthand, I've said ##f(u) := \big \vert u\big \vert##

But suppose I instead define

##\begin{equation*}
\begin{aligned}
& f\big(u\big) := {\text{maximize }}\lambda \cdot u\\
& \text{subject to: }\lambda \in \{-1,+1\}\\
\end{aligned}
\end{equation*}##

From here, you'd need to confirm that the two definitions are equivalent, and the obvious fact that 2 choices are better than 1 (at least in 'single player' optimization problems).

You could even say
$$f(u) = \max_{-1 \leq \lambda \leq 1} \lambda \cdot u$$
to make it "less combinatorical".
 
Ray Vickson said:
You could even say
$$f(u) = \max_{-1 \leq \lambda \leq 1} \lambda \cdot u$$
to make it "less combinatorical".

It definitely could be done as ##\lambda \in [-1,1]##.

- - - -
When using quasi-linearisation, it's common to have the 'norm' associated with the constraint fixed to 1 (e.g. when using the technique to pass from Hoelder ##\to## Minkowski).

I originally wrote the constraint as ##\big \vert \lambda \big \vert = 1##, but that struck me as perverse given that I was redefining the absolute value function here!
 

Similar threads

Replies
8
Views
2K
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K