Sketch the region of |x-y|+|x|-|y| <= 2

  • MHB
  • Thread starter Dethrone
  • Start date
  • Tags
    Sketch
In summary, the region in the plane defined by the inequality $|x-y|+|x|-|y| \le 2$ can be broken down into quadrants, with the solution being point-symmetric. By applying the triangle inequality, we can derive the inequalities $|x - y| \leq 1$ and $|x| - |y| \leq 1$ in each quadrant, but these only give a subset of the solution. Therefore, to find the full solution, we must go through each quadrant individually.
  • #1
Dethrone
717
0
Sketch the region in the plane consisting of all points (x, y) such that $|x-y|+|x|-|y| \le 2$.

This looks like it involves the triangle inequality, but can anyone point me in the right direction? :D
 
Physics news on Phys.org
  • #2
you got to solve it quadrant by quadrant
 
  • #3
I think I got it!

Case 1: Quadrant 1

$x>0$, $y>0$

Subcase 1: $x>y$

$$x-y+x-y \le 2$$
$$x-2 \le y$$

Subcase 2: $y>x$
$$y-x+y+x \le 2$$
$$y \le 1$$

Continue with the other quadrants, and the answer follows :D

Edit: I just checked Wolfram Alpha...maybe I'm not (Crying)
 
Last edited:
  • #4
Will I have to square both sides and expand? Whoops, I made an arithmetic mistake.
 
  • #5
By triangle inequality,

$$|x - y| + |x| - |y| \leq 2|x-y| \leq 2$$

Thus I get $|x - y| \leq 1$.
 
  • #6
ineedhelpnow said:
im looking at how the problem was done somewhere else. i don't think you're on the right track. your correct in terms of identifying the quadrants.
x-y+x-y>2
2x-2y>2
2(x-y)>2
x-y>1

Is it not $x-y+x-y \le 2$?

I got $x-1 \le y$
 
  • #7
$x \ge y$

$\left| x-y \right| + \left| x \right| - \left| y \right| = 2(x-y) \le 2$

$x-y \le 1$ which is the same as $y \ge x-1$
 
  • #8
mathbalarka said:
By triangle inequality,

$$|x - y| + |x| - |y| \leq 2|x-y| \leq 2$$

Thus I get $|x - y| \leq 1$.

Can you elaborate on this? (Wondering)
 
  • #9
ineedhelpnow said:
$x \ge y$

$\left| x-y \right| + \left| x \right| - \left| y \right| = 2(x-y) \le 2$

$x-y \le 1$ which is the same as $y \ge x-1$

Doing the same when $y \ge x$

We have

$$-(x-y)+x+-y \le 2$$
$$ - x + y + x - y \le 2$$
$$ 0 \le 2$$

Am I done with this quadrant, or is there more work to be done?
 
  • #10
Rido12 said:
Can you elaborate on this? (Wondering)

Well, what to elaborate? The triangle inequality gives $|x - y| \geq |x| - |y|$, no?
 
  • #11
mathbalarka said:
By triangle inequality,

$$|x - y| + |x| - |y| \leq 2|x-y| \leq 2$$

Thus I get $|x - y| \leq 1$.

From the triangle inequality $\big||a|-|b|\big| \le \big|a-b\big|$ we can get:
$$|x - y| + |x| - |y| \leq 2|x-y|$$
and we have the original inequality:
$$|x - y| + |x| - |y| \leq 2$$

However, if we combine them like you did, we only get a subset of the solution.
 
  • #12
I am such an idiot. I meant

$$2 \geq |x - y| + |x| - |y| \geq 2(|x| - |y|)$$

Thus, $|x| - |y| \leq 1$.
 
  • #13
mathbalarka said:
I am such an idiot. I meant

$$2 \geq |x - y| + |x| - |y| \geq 2(|x| - |y|)$$

Thus, $|x| - |y| \leq 1$.

This is another application of the same triangle inequality.
Any point in the solution will satisfy that inequality.

However, that only means that it is a super-set of the solution.
Still not the solution itself.To properly find the solution, I believe we have to go through the quadrants one by one.
The triangle inequalities do not really help, because they do not give a conclusive solution.

We can skip 2 quadrants though, since the solution will be point-symmetric.
That is, $(x,y)$ is a point in the solution if and only if $(-x,-y)$ is in the solution.
 
  • #14
However, that only means that it is a super-set of the solution. Still not the solution itself.

I was aware of that. I am just stating what I intended to write in the first post.

I reckon there is no smart way to find the solutions :p
 
  • #15
Rido12 said:
Am I done with this quadrant, or is there more work to be done?

Yep.
You are done with the first quadrant. ;)
 
  • #16

Attachments

  • Capture.PNG
    Capture.PNG
    2 KB · Views: 70

FAQ: Sketch the region of |x-y|+|x|-|y| <= 2

What does the given inequality represent graphically?

The given inequality represents a region on a coordinate plane where the absolute value of the difference between x and y, plus the absolute value of x, minus the absolute value of y, is less than or equal to 2. In other words, it represents all the points that satisfy this inequality.

How can I graph this region?

To graph this region, you can start by rewriting the inequality in terms of the four quadrants on a coordinate plane. Then, you can plot the boundary lines, which will be in the shape of a square with sides of length 2. Finally, you can shade in the region that satisfies the inequality.

What is the significance of the absolute value signs in this inequality?

The absolute value signs indicate that the values inside them can be either positive or negative and still satisfy the inequality. This allows for more flexibility in the graphed region, as it can include points in all four quadrants.

Can this inequality be written in a simpler form?

Yes, this inequality can be simplified to |x| + |y| <= 2. This form shows that the region is symmetric about the x and y axes and can be useful for graphing or finding solutions algebraically.

How can I use this inequality in real-life scenarios?

This type of inequality can be used to represent constraints in optimization problems, such as determining the maximum or minimum value of a function within a given region. It can also be used in economics to represent budget constraints or production possibilities.

Similar threads

Replies
5
Views
2K
Replies
1
Views
964
Replies
6
Views
2K
Replies
32
Views
3K
Replies
2
Views
2K
Replies
12
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
Back
Top