The absolute value |x| is the distance from x to
zero on the number line. It is always non-negative.
Absolute value applies independently before other
operations.
Example
Evaluate absolute value as distance from zero.
highlighted = computed this step
Step 1 — Set up
Set up the expression.
∣−7∣
Step 2 — Distance from zero
Absolute value is distance from zero: |-7| = 7.
∣−7∣=7
Step 3 — Expression
Set up the expression.
∣3−8∣
Step 4 — Compute inside
Compute inside first: 3 - 8 = -5.
3−8=-5
Step 5 — Take absolute value
Now take the distance from zero: |-5| = 5.
∣−5∣=5
Step 6 — Result
Read the final result.
75
absolute-valueThe absolute value of x, written |x|: - |x| = x if x >= 0 - |x| = -x if x < 0 For an expression |a - b|: compute a - b first, then take the absolute value of the result.