## Absolute value of ( x-y)

**Moderators:** gmalivuk, Moderators General, Prelates

### Absolute value of ( x-y)

Hi everybody. I'm working on a proof and I want to get a relation between |x-y| and |x|-|y| but in many books I see the relation ||x|-|y||<=|x-y|<=|x|+|y| and although I understand why there is ||x|-|y|| I dont know what i should do to get a relation between |x-y| and |x|-|y|. Thanks for your help.

God does not care about our mathematical difficulties — He integrates empirically.

—Albert Einstein

—Albert Einstein

- jestingrabbit
- Factoids are just Datas that haven't grown up yet
**Posts:**5967**Joined:**Tue Nov 28, 2006 9:50 pm UTC**Location:**Sydney

### Re: Absolute value of ( x-y)

If |y|<|x| is it cool to drop the absolute value? If |y|>|x| what then?

edit: Totally misread sorry.

edit: Totally misread sorry.

Last edited by jestingrabbit on Mon Apr 05, 2010 2:24 pm UTC, edited 1 time in total.

ameretrifle wrote:Magic space feudalism is therefore a viable idea.

### Re: Absolute value of ( x-y)

One of the best ways to work with absolute values in proofs is to break your proof down into cases. For example, if there is an |x| involved in your problem, split your proof into two cases, the first in which |x|=x and the second in which |x|=-x. Then go through each proof and try to arrive at a similar result.

In your example you would need more than just two cases.

One pitfall for these problems is that students don't always consider every single case. For example, if your problem has both x and y in the, they break it down into case 1: |x|=x and |y|=y, case 2: |x|=-x and |y|=y, case 3: |x|=x and |y|=-y, case 4: |x|=-x and |y|=-y, but they fail to consider all values in the problem and will forget that in the case of |x-y| for certain cases the outcome is unknown and needs to be separated into even more cases of |x-y|=-(x-y) and |x-y|=(x-y).

Hope this helps.

In your example you would need more than just two cases.

One pitfall for these problems is that students don't always consider every single case. For example, if your problem has both x and y in the, they break it down into case 1: |x|=x and |y|=y, case 2: |x|=-x and |y|=y, case 3: |x|=x and |y|=-y, case 4: |x|=-x and |y|=-y, but they fail to consider all values in the problem and will forget that in the case of |x-y| for certain cases the outcome is unknown and needs to be separated into even more cases of |x-y|=-(x-y) and |x-y|=(x-y).

Hope this helps.

Creator of the Frosted Bacon webcomic.

- Yakk
- Poster with most posts but no title.
**Posts:**11120**Joined:**Sat Jan 27, 2007 7:27 pm UTC**Location:**E pur si muove

### Re: Absolute value of ( x-y)

What you are reading about is known as the triangle inequality.

| a + b | <= |a| + |b|

There are lots of equations that are similar to the above.

Using ~ as "unknown relation", we can play:

|x-y| ~ |x| - |y|

|x-y| + |y| ~ x

now, you'll note that (x-y)+y = x...

Define a = (x-y), and b = y. Then x = a+b.

Does anything pop out?

| a + b | <= |a| + |b|

There are lots of equations that are similar to the above.

Using ~ as "unknown relation", we can play:

|x-y| ~ |x| - |y|

|x-y| + |y| ~ x

now, you'll note that (x-y)+y = x...

Define a = (x-y), and b = y. Then x = a+b.

Does anything pop out?

One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision - BR

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.

Last edited by JHVH on Fri Oct 23, 4004 BCE 6:17 pm, edited 6 times in total.

### Who is online

Users browsing this forum: No registered users and 12 guests