Skip to content

Challenge 388: Absolute Algebra

Information for this problem:

The notation | x | means the modulus of x, which is just the “size” of x.

So if x = -5, then | x | = 5, and if x = 4.2, then | x | = 4.2.

The modulus of x is also known as the absolute value of x.

Here's the problem.

Find all pairs of real values of x and y that satisfy these two simultaneous equations.

Equation 1 : x + y + | x | = 5

Equation 2 : x - y + | x + y | = 30