I want
Abs[x] + Abs[y] <= 1
to be convert to
x + y <= 1 && x + y >= -1 && x - y <= 1 && x - y >= -1
How could I get it with Mathematica?
|
I want
to be convert to
How could I get it with Mathematica? |
||||
|
|||
|
|
|
In case you want to visualize the answer:
|
|||
|
|
Reduce[Abs[x] + Abs[y] <= 1, {x, y}, Reals]already does a pretty good job--and incidentally shows that all solutions lie in the interval $[-1,1]$. – whuber Jan 30 at 19:22