Verify the rule that for two real numbers X and Y then

AI Thread Summary
The discussion focuses on verifying the inequality |X+Y|≤|X|+|Y| for real numbers X and Y. Participants analyze different cases: when both numbers are positive, both are negative, and when they have opposite signs. The initial attempts to prove the inequality were criticized for not adequately demonstrating the necessary conditions, particularly in cases involving negative numbers. A more structured approach is suggested, emphasizing the need to show that |X+Y| equals or is less than |X| + |Y| in all scenarios. The conversation highlights the importance of rigor in mathematical proofs.
graphs
Messages
8
Reaction score
0

Homework Statement



Verify the rule that for two real numbers X and Y then |X+Y|≤|X|+|Y|



Homework Equations


The Attempt at a Solution



1. When all the variables are positive:

|X+Y|=(X+Y) because (X+Y)>0

|X|=X because X>0

|Y|=Y because Y>0

So we got

(X+Y)=X+Y

2. When all the variables are negative:

|-X+(-Y)|= -(-[X+Y])= (X+Y) because -(X+Y)<0

|-X|= -(-X)=X because -X<0

|-Y|= -(-Y)=Y because -Y<0

Now we got

(X+Y)=X+Y

3. When the two variables have opposite signs:

|X+(-Y)|= (X-Y) because (X-Y)>0

|X|=X because X>0

|-Y|= -(-Y)=Y because Y<0

Finally we got:

(X-Y)< X+Y

==================================================

So that solution was shot down as a bit shaky. How about the one below then?

|X+Y|≤|X|+|Y|

|X+Y|-|X|-|Y|≤0

If we remove the variables from the modulus we get

X+Y-X-Y≤0

Thanks.
 
Physics news on Phys.org
Not sure if this works

|X+Y|≤|X|+|Y|

|X+Y|-|X|-|Y|≤0

0≤ X+Y-X-Y≤ 0

0≤ 0≤ 0
 
graphs said:

Homework Statement



Verify the rule that for two real numbers X and Y then |X+Y|≤|X|+|Y|



Homework Equations


The Attempt at a Solution



1. When all the variables are positive:

|X+Y|=(X+Y) because (X+Y)>0

|X|=X because X>0

|Y|=Y because Y>0

So we got

(X+Y)=X+Y
Here's a better way to say this.
If x >= 0, and y >= 0,

|x + y| = x + y = |x| + |y|
graphs said:
2. When all the variables are negative:

|-X+(-Y)|= -(-[X+Y])= (X+Y) because -(X+Y)<0

|-X|= -(-X)=X because -X<0

|-Y|= -(-Y)=Y because -Y<0

Now we got

(X+Y)=X+Y
You need to show, when x < 0 and y < 0, that |x + y| <= |x| + |y|. It looks like you showed (proved) that (x + y) = x + y. This is true, but not what you're supposed to show.

Start with |x + y| and show that this equals |x| + |y|.

graphs said:
3. When the two variables have opposite signs:
Similar comments as above in your case 2. It is in these two cases (3 and 4) that you'll end up with actual inequalities.
graphs said:
|X+(-Y)|= (X-Y) because (X-Y)>0
The thing is, you're not being asked about |x + (-y)| - you need to show that |x + y| < |x| + |y|.
graphs said:
|X|=X because X>0

|-Y|= -(-Y)=Y because Y<0

Finally we got:

(X-Y)< X+Y

==================================================

So that solution was shot down as a bit shaky. How about the one below then?

|X+Y|≤|X|+|Y|

|X+Y|-|X|-|Y|≤0

If we remove the variables from the modulus we get

X+Y-X-Y≤0
 
The working out suggests first equating ## \sqrt{i} = x + iy ## and suggests that squaring and equating real and imaginary parts of both sides results in ## \sqrt{i} = \pm (1+i)/ \sqrt{2} ## Squaring both sides results in: $$ i = (x + iy)^2 $$ $$ i = x^2 + 2ixy -y^2 $$ equating real parts gives $$ x^2 - y^2 = 0 $$ $$ (x+y)(x-y) = 0 $$ $$ x = \pm y $$ equating imaginary parts gives: $$ i = 2ixy $$ $$ 2xy = 1 $$ I'm not really sure how to proceed from here.
Back
Top