Absolute value

The graph of the absolute value function for real numbers.

In mathematics, the absolute value of a real number , written as or , is the value of when the sign is dropped (or without its sign). That is, for a positive , for a negative , and

For example, the absolute value of 3 is 3, and the absolute value of −3 is also 3 (). The absolute value of a real number may be thought of as its distance from zero. It can be defined as follows:

Because a distance is always positive, the absolute value of a number is always positive.

Similarly, the absolute value of a complex number may be thought of as its distance from the origin.

It is defined by the equation

Properties

Real numbers

For any real number , its absolute value is denoted by (a vertical bar on each side of the quantity), and is defined as


The absolute value of 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 continuous everywhere.

In linear algebra, the norm of a vector is defined similarly as the distance from the tip of the vector to the origin. This is similar to the way the absolute value of a complex number is defined.

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

which is another definition of absolute value.

The absolute value has the following four main properties:

Other important properties of the absolute value include:

Two other useful properties related to inequalities are:


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

Diagram showing , the absolute value of .

Complex numbers

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

References

Uses material from the Wikipedia article Absolute value, released under the CC BY-SA 4.0 license.