View Full Version : Discrete Math -- Proof methods
cameron_c83
Oct14-10, 03:52 AM
1. The problem statement, all variables and given/known data
Prove |x-y| ≤ |x| + |y| for all real numbers x and y (where |x| represents the
absolute value of x, which equals x if x≥0 and equals -x if x<0). prove by cases
2. Relevant equations
3. The attempt at a solution
1. The problem statement, all variables and given/known data
2. Relevant equations
3. The attempt at a solution
HallsofIvy
Oct14-10, 08:14 AM
??? You state the problem but say absolutely nothing else! Have you not even tried?
The problem itself says "prove by cases". What are the cases here?
Well, how many cases are there? You have cases for x \geq 0 and x < 0, as well as the same for y. There seems to be 4 cases to work with...
cameron_c83
Oct14-10, 09:56 PM
okay u right I should have postd my notes, but I wasnt sure so here it is :
1) x positive and y positive
2) x negitive and y positive
3) x positive and y negitive
4) x negitive and y negitive
case 1) p1 → q ,,, x-y ≤ x+y is true ,, for example 6-(+3) ≤ 6 + 3
case 2) p2 → q ,,, -x-y ≤ -x+y is true,, for example -6 - +3 ≤ -6 + 3
case 3) p3 → q ,,, x - (-y) ≤ x + (-y) is false ,,, for example 6 -(-3) = 9 and 6 +(-3) = 3
case 4) p4 → q ,,, -x-(-y) ≤ -x+(-y) is false ,,, for example -6 - (-3) = -3 and -6 + -3 = -9
so here are 4 cases and all possibilities,
plz let me know what is wrong .
HallsofIvy
Oct15-10, 06:44 AM
okay u right I should have postd my notes, but I wasnt sure so here it is :
1) x positive and y positive
2) x negitive and y positive
3) x positive and y negitive
4) x negitive and y negitive
case 1) p1 → q ,,, x-y ≤ x+y is true ,, for example 6-(+3) ≤ 6 + 3
Just posting an example does not prove it is true for all positive x and y.
case 2) p2 → q ,,, -x-y ≤ -x+y is true,, for example -6 - +3 ≤ -6 + 3
case 3) p3 → q ,,, x - (-y) ≤ x + (-y) is false ,,, for example 6 -(-3) = 9 and 6 +(-3) = 3
If x= 6, y= -3, |x+ y|= |6-(-3)|= 9 |x|+ |y|= 6+ 3= 9, NOT 6+(-3). |x-y|\le |x|+ |y| is true in this example.
case 4) p4 → q ,,, -x-(-y) ≤ -x+(-y) is false ,,, for example -6 - (-3) = -3 and -6 + -3 = -9
If x= -6 and y= -3, then |x- y|= |-6-(-3)|= |-3|= 3 while |x|+ |y|= 6+ 3= 9. 3< 9. No, |x- y|\le |x|+ |y| is true in this example. You are consistently forgetting the absolute values on the right side.
But "prove by cases" does not mean give examples! Examples cannot prove anything.
For example, if x\ge 0 and y\ge 0, in order to look at |x- y| we still have to consider two more cases:
1) x> y. Then |x- y|= x- y which is smaller than x. But |x|+ |y| is greater than x: |x- y|\le |x|\le |x|+ |y|.
2) y> x. Then |x- y|= |y- x|= y- x which is smaller than y. But |x|+ |y| is greater than y: [itex]|x- y|\le y\le |x|+ |y|.
so here are 4 cases and all possibilities,
plz let me know what is wrong .
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.