Phyopedia

Absolute value

The absolute value of a number is its distance from zero on the number-line, written |x|. Because distance is never negative, |x| ≥ 0. For example, |−4| = 4 and |4| = 4.

Absolute value is useful whenever only the size matters and not the direction, such as the mean-absolute-deviation.