Arithmetic and algebra·Elementary·Definition

Absolute Value

The absolute value of a real number is its nonnegative distance from zero on the number line.

Absolute value tells how far a number is from zero, without its direction.

Number SystemsReal numbers

What does absolute value mean?

For a real number x, absolute value keeps a nonnegative input unchanged and changes a negative input to its opposite. It therefore measures distance, not signed position. The distance between two real numbers x and y is |x−y|.

Notation

|x|

Absolute value is x when x is nonnegative and negative x when x is negative

∣x∣={x,x≥0−x,x<0|x|=\begin{cases}x,&x\ge0\\-x,&x<0\end{cases}

Absolute Value examples

Example 1

Evaluate |−7|.

Answer: 7

Negative seven is seven units from zero.

Example 2

Find the distance between −2 and 5.

Answer: |5−(−2)|=7

Distance is the absolute value of the difference.

Properties and types

  • |x| ≥ 0
  • |x| = 0 exactly when x = 0
  • |xy| = |x||y|

Where is absolute value used?

This concept appears in a range of mathematical and practical settings:

  • Distance on a number line
  • Absolute-error calculations
  • Solving inequalities

Common misunderstandings

  • Treating |−x| as negative.
  • Using absolute value as a sign rather than a distance.