In mathematics, the absolute value (or modulus) |x| o a real nummer x is the non-negative value o x wioot regard tae its sign. Namely, |x| = x for a positive x, |x| = −x for a negative x, an |0| = 0. For example, the absolute value o 3 is 3, an the absolute value o −3 is an aa 3. The absolute value o a nummer mey be thoucht o as its distance frae zero.
Generalisations o the absolute value for real nummers occur in a wide variety o mathematical settings. For example an absolute value is an aa defined for the complex nummers, the quaternions, ordered rings, fields an vector spaces. The absolute value is closely related tae the notions o magnitude, distance, an norm in various mathematical an pheesical contexts.