Absolute value

nonnegative number with the same magnitude as a given real number
The graph of the absolute value function for real numbers.

In mathematics, the absolute value or modulus |x| of a real number x is the non-negative value of x without regard to its sign. Namely, |x| = x for a positive x, |x| = −x for a negative x (in which case x is positive), and |0| = 0. For example, the absolute value of 3 is 3, and the absolute value of −3 is also 3. The absolute value of a number may be thought of as its distance from zero.

The modulus of a complex number is given by


Real numbersEdit

For any real number x the absolute value of x is denoted by | x | (a vertical bar on each side of the quantity) and is defined as[1]


The absolute value of x is always either positive or zero, but never negative. From an analytic geometry point of view, the absolute value of a real number is that number's distance from zero along the real number line. The absolute value of the difference of two real numbers is the distance between them.

In calculus, the absolute value function is differentiable except at 0. It is everywhere continuous.

Compare the norm of a vector.

The square-root notation without sign represents the positive square root. So, it follows that


which is sometimes used as a definition of absolute value.[2]

The absolute value has the following four main properties:

  (2) Non-negativity
  (3) Positive-definiteness
  (4) Multiplicativeness
  (5) Subadditivity

Other important properties of the absolute value include:

  (6) Idempotence (the absolute value of the absolute value is the absolute value)
  (7) Symmetry
  (8) Identity of indiscernibles (equivalent to positive-definiteness)
  (9) Triangle inequality (equivalent to subadditivity)
  (10) Preservation of division (equivalent to multiplicativeness)
  (11) (equivalent to subadditivity)

Two other useful properties concerning inequalities are:


These relations may be used to solve inequalities involving absolute values. For example:

Diagram showing  , the modulus of z.

Complex numbersEdit

For a complex number  , where x is the real part of z and iy is the imaginary part of z,



  1. Mendelson, p. 2.
  2. Stewart, James B. (2001). Calculus: concepts and contexts. Australia: Brooks/Cole. ISBN 0-534-37718-1., p. A5