Question: get rid of absolute value when solve system of equations

when solving a system of equations, I want to get rid of all the absolute functions.


for example, |y-2|=x,I don't want maple solve this equation directly...because maple may has difficulties when dealing with absolute values. Instead, I want to transform this equation by squaring the both sides at the same time which end up this equation: (y-2)^2=x^2.


The example I provide is kind of simple...what if there are multiple absolute term in the equations? Is there a general way to get what I need? Or Is it practical to use Maple to achive such thing?


thanks in advance.

Please Wait...