Glossary

Absolute value

Also written: absolute values · modulus

Definition

The absolute value of a number is its distance from zero on the number line. Distance ignores direction, so it is never negative: both 5 and -5 have absolute value 5.

Notation

Vertical bars mean absolute value:

5=55=50=0|5| = 5 \qquad |-5| = 5 \qquad |0| = 0

Read x|x| as “the absolute value of xx”, or “the distance from xx to zero”.

Why it is never negative

Distance measures how far apart two points are, and there is no such thing as a negative distance. This single fact explains two things that otherwise look arbitrary:

  • x=5|x| = 5 has two answers, because two points sit five units from zero.
  • x=3|x| = -3 has no answer, because no point sits a negative distance away.

A common misreading

x|-x| is not always xx. If xx is negative then x-x is positive, and the bars leave it alone. Substituting a number settles it faster than reasoning about symbols: with x=4x = -4, x=4=4|-x| = |4| = 4.

Distance between two numbers

ab|a - b| gives the distance between aa and bb, in either order. That is why tolerance problems are written this way — L500.4|L - 50| \le 0.4 says ”LL is within 0.40.4 of 5050”. See absolute value equations.

Lessons that use this term

  • How to Solve Absolute Value Equations

    Solve absolute value equations by splitting into two cases, why two answers appear, when there is no solution, and how absolute value inequalities differ.

Related terms