How many real solutions (x,y) from |x-y| + |x+y| = 1 ?
I really wonder how to find it.
My attempt:
I think I need to separate this problem into some cases: First case: for |x-y| >0
we got:
x-y + |x+y| =1
|x+y|= 1-x+y
for |x+y|>0, we got:
x+y= 1-x+y
x= 1/2
Second case, for |x-y| <= 0
-(x-y) +|x+y|= 1
|x+y|= 1+x-y
For |x+y| >0, we got:
x+y= 1+x-y
2y= 1
y= 1/2
But, for every cases, I think I can only get one result for each variable, such that x or y.
How to find the solutions set for (x,y) by using any cases?
Thanks
If we square both sides of the equation
$$|x - y| + |x + y| = 1$$
we obtain
$$(x - y)^2 + 2|x^2 - y^2| + (x + y)^2 = 1$$
which simplifies to
$$2x^2 + 2y^2 + 2|x^2 - y^2| = 1$$
Case 1: If $|x| \geq |y|$, then we obtain
$$4x^2 = 1$$
so $x = \pm \dfrac{1}{2} \Rightarrow |y| \leq \dfrac{1}{2}$.
Case 2: If $|x| < |y|$, then we obtain
$$4y^2 = 1$$
so $y = \pm \dfrac{1}{2} \Rightarrow |x| < \dfrac{1}{2}$.
Note that the solutions $\left(\pm \dfrac{1}{2}, \pm \dfrac{1}{2}\right)$ were accounted for in Case 1.
Hence, the solution set is
$$S = \left\{(x, y) \in \mathbb{R}^2 \bigg|~x = \pm \frac{1}{2}, -\frac{1}{2} \leq y \leq \frac{1}{2}\right\} \bigcup \left\{(x, y) \in \mathbb{R}^2 \bigg|~y = \pm \frac{1}{2}, -\frac{1}{2} < x < \frac{1}{2}\right\}$$