case 3:
-(x+8) < x - y
-x -8 < x - y
-8 < 2x - y
8 > y - 2x
Hi,
Well, considering all 4 cases is always going to be time-consuming. When you know the ranges in which the value changes, it is better to consider only those as that would generally reduce your cases.
Coming to case-3:
LHS : |x+8| = -(x+8)
So, you are assuming x+8<0. So, x<-8
RHS: |x-y| = x-y
So, you are assuming x>y
We know that y>-8. So, x>y>-8
So, x<-8 and x>-8 contradict each other making this case invalid.
Last edited by Frankenstein on Mon Aug 15, 2011 10:31 am, edited 1 time in total.
Cheers!
Things are not what they appear to be... nor are they otherwise