The absolute value of a real number x is denoted by |x| and is defined as |x|={xif x≥0−xif x<0.
Therefore, the absolute value is always greater than or equal to zero, and describes how far away the corresponding number is from the origin.
The absolute value of a real number is sometimes referred to as its modulus.