in mathematics, the absolute value of a real number is the non-negative value of without regard to its sign, shown as “abs(x)”, or more commonly shown as

the absolute value function is piecewise-defined: