The Triangle Inequality: How to Prove It?

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Proofs Work
Click For Summary

Homework Help Overview

The discussion revolves around proving the triangle inequality, specifically the statements involving absolute values: |x| - |y| ≤ |x - y| and |(|x| - |y|)| ≤ |x - y|. Participants are exploring the implications and relationships between these inequalities.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to manipulate the expressions involving absolute values and squares to establish the inequalities. Questions arise about the conditions under which certain equalities hold, particularly regarding the relationship between |x| and |y|.

Discussion Status

The discussion is ongoing, with various participants offering insights and questioning assumptions. Some guidance has been provided regarding the manipulation of absolute values and the conditions necessary for certain conclusions to hold. There is no explicit consensus yet on the proof or the best approach.

Contextual Notes

Participants are considering the implications of the inequalities under different conditions, such as when |x| is greater than or less than |y|. There is also mention of the Cauchy-Schwarz inequality, indicating a potential connection to broader mathematical principles.

Saladsamurai
Messages
3,009
Reaction score
7

Homework Statement



Prove the following:

(i) ##|x|-|y| \le |x-y|##

and

(ii) ##|(|x|-|y|)| \le |x-y|\qquad## (Why does this immediately follow from (i) ?)

Homework Equations



##|z| = \sqrt{z^2}##

The Attempt at a Solution



(i) ##(|x|-|y|)^2 = |x|^2 - 2|x||y| + |y|^2 = x^2 - 2|x||y| + y^2 \le x^2 - 2xy + y^2= (x-y)^2 \implies \boxed{|x|-|y| \le |x-y|.}##(ii) For this part, I looked at the question "Why does this immediately follow from (i)" for inspiration and saw that if I could show that ##|(|x|-|y|)| \le |x-y|## then the proof is complete by transitivity.

Is it as simple as:

##|(|x|-|y|)| = \sqrt{(|(|x|-|y|)|)^2} = \sqrt{(|x|-|y|)^2} = |x|-|y|?##

I think that it is, but it is getting late :redface:
 
Physics news on Phys.org
If |x|> |y|, (ii) is identical to (i). If |y|< |x|, swap the two.
 
Saladsamurai said:
Is it as simple as:

##|(|x|-|y|)| = \sqrt{(|(|x|-|y|)|)^2} = \sqrt{(|x|-|y|)^2} = |x|-|y|?##

No, it isn't. ##\sqrt{(|x|-|y|)^2} = |x|-|y|## only when ##|x|\ge |y|##.
 
Saladsamurai said:
(i) ##(|x|-|y|)^2 = |x|^2 - 2|x||y| + |y|^2 = x^2 - 2|x||y| + y^2 \le x^2 - 2xy + y^2= (x-y)^2 \implies \boxed{|x|-|y| \le |x-y|.}##

Remember that ##\sqrt{a^2}=|a|## and if ##0\le a\le b## then ##\sqrt a\le \sqrt b##. So how can you change the above conclusion?
 
Isn't this what is called the kaushy swartz?
 

Similar threads

Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K