In mathematics, the absolute value (or modulus) of a real number is its numerical value without regard to its sign. So, for example, 3 is the absolute value of both 3 and −3.
The absolute value of a number is denoted by
Generalizations of the absolute value for real numbers occur in a wide variety of mathematical settings. For example an absolute value is also defined for the complex numbers, the quaternions, ordered rings, fields and vector spaces. The absolute value is closely related to the notions of magnitude, distance, and norm in various mathematical and physical contexts.
Jean-Robert Argand introduced the term "module" 'unit of measure' in French in 1806 specifically for the complex absolute value and it was borrowed into English in 1866 as the Latin equivalent "modulus".
The term "absolute value" has been used in this sense since at least 1806 in French and 1857 in English.
The notation | a | was introduced by Karl Weierstrass in 1841.
An older name was the "numerical value", that is, ignoring the sign.
As can be seen from the above definition, the absolute value of a is always either positive or zero, but never negative. The same notation is used with sets to denote cardinality; the meaning depends on context.
From a geometric point of view, the absolute value of a real number is the distance along the real number line of that number from zero, and more generally the absolute value of the difference of two real numbers is the distance between them. Indeed the notion of an abstract distance function in mathematics can be seen to be a generalization of the absolute value of the difference (see "Distance" below).
The following proposition, gives an identity which is sometimes used as an alternative (and equivalent) definition of the absolute value:
Proposition 1:
The absolute value has the following four fundamental properties:
Proposition 2:
| Non-negativity | ||
| >a| = 0 iff a = 0 | Positive-definiteness | |
| >ab| = |a | , | Multiplicativeness |
| >a+b| le |a| + |b| | Subadditivity |
Other important properties of the absolute value include:
Proposition 3:
| Symmetry | |||
| >a - b| = 0 iff a = b | Identity of indiscernibles (equivalent to positive-definiteness) | ||
| >a - b| le |a - c| +|c - b| | Triangle inequality (equivalent to subadditivity) | ||
| >a/b| = |a| / |b| mbox{ (if } b ne 0) , | Preservation of division (equivalent to multiplicativeness) | ||
| >a-b| ge | - |b | (equivalent to subadditivity) |
If b > 0, two other useful inequalities are:
If b = 0, then the first becomes a = 0. If b = 0, then the second allows a to be any real number.
If b < 0, then a has no solution in the first. If b < 0, then the second a is any real number.
The above are often used in solving inequalities; for example:
| >x-3| le 9 | |
Inequality Products; members in a pair of inequalities can be respectively multiplied given the following condition:
Since the complex numbers are not ordered, the definition given above for the real absolute value cannot be directly generalized for a complex number. However the identity given in Proposition 1:
For any complex number
where x and y are real numbers, the absolute value or modulus of z is denoted |z| and is defined as
It follows that the absolute value of a real number x is equal to its absolute value considered as a complex number since:
Similar to the geometric interpretation of the absolute value for real numbers, it follows from the Pythagorean theorem that the absolute value of a complex number is the distance in the complex plane of that complex number from the origin, and more generally, that the absolute value of the difference of two complex numbers is equal to the distance between those two complex numbers.
The complex absolute value shares all the properties of the real absolute value given in Propositions 2 and 3 above. In addition, If
and
is the complex conjugate of z, then it is easily seen that
and
with the last formula being the complex analogue of Proposition 1 mentioned above in the real case.
The absolute square of z is defined as
Since the positive reals form a subgroup of the complex numbers under multiplication, we may think of absolute value as an endomorphism of the multiplicative group of the complex numbers.
The complex absolute value function is continuous everywhere but (complex) differentiable nowhere; it violates the Cauchy-Riemann equations.
Both the real and complex functions are idempotent.
It is a nonlinear function.
where −a is the additive inverse of a, and 0 is the additive identity element.
The standard Euclidean distance between two points
and
in Euclidean n-space is defined as:
This can be seen to be a generalization of | a − b |, since if a and b are real, then by Proposition 1,
while if
and
are complex numbers, then
| >a - b| , | = >(a_1 + i a_2) - (b_1 + i b_2)|, |
| = >(a_1 - b_1) + i(a_2 - b_2)|, | |
The above shows that the "absolute value" distance for the real numbers or the complex numbers, agrees with the standard Euclidean distance they inherit as a result of considering them as the one and two-dimensional Euclidean spaces respectively.
The properties of the absolute value of the difference of two real or complex numbers: non-negativity, identity of indiscernibles, symmetry and the triangle inequality given in Propositions 2 and 3 above, can be seen to motivate the more general notion of a distance function as follows:
A real valued function d on a set X × X is called a distance function (or a metric) on X, if it satisfies the following four axioms:
| Non-negativity | |
| Identity of indiscernibles | |
| Symmetry | |
| Triangle inequality |
A real-valued function v on a field F is called an absolute value (also a modulus, magnitude, value, or valuation) if it satisfies the following four axioms:
| Non-negativity | |
| Positive-definiteness | |
| Multiplicativeness | |
| Subadditivity or the triangle inequality |
Where 0 denotes the additive identity element of F. It follows from positive-definiteness and multiplicativeness that v(1) = 1, where 1 denotes the multiplicative identity element of F. The real and complex absolute values defined above are examples of absolute values for an arbitrary field.
If v is an absolute value on F, then the function d on F × F, defined by d(a, b) = v(a − b), is a metric and the following are equivalent:
An absolute value which satisfies any (hence all) of the above conditions is said to be non-Archimedean, otherwise it is said to be Archimedean.
A real valued function
| >mathbf{v}| ge 0 | Non-negativity |
| >mathbf{v}| = 0 iff mathbf{v} = 0 | Positive-definiteness |
| >a mathbf{v}| = |a| |mathbf{v}| | Positive homogeneity or positive scalability |
| >mathbf{v} + mathbf{u}| le |mathbf{v}| + |mathbf{u}| | Subadditivity or triangle inequality |