absolutevalue
The absolute value of a real number measures its distance from zero on the real number line. It is denoted |x| and is defined by |x| = x if x ≥ 0, and |x| = -x if x < 0. For example, |−5| = 5 and |3| = 3.
Key properties include non-negativity (|x| ≥ 0, with equality only if x = 0); multiplicativity (|xy| = |x| |y|);
The graph of the absolute value function is a V-shaped curve with its vertex at the origin.
Extensions and related concepts: For a complex number z = a + ib, the modulus |z| = sqrt(a^2 + b^2)