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

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