The absolute value of a number is the distance between the number and on the number line. For example, the absolute value of expressed as is
The absolute value applies to negative numbers as well. The absolute value of is the distance from to on the number line.
The absolute value of and are equal, Therefore, the absolute value is the positive value of a number. Hence, the definition of the absolute value of is divided into two cases: the first where is positive or , and the second when is negative.