Euler Hall — free maths guides

Compute the absolute value of an integer

Read the absolute value of an integer as its distance from zero. The idea in plain words, a worked example, and a check with the answers shown — part of the free Arithmetic guides.

Distance, with no sign

The absolute value of a number is its distance from zero. Distance is a count of steps. A count is never negative. Two vertical bars ask for it. So∣−4∣|{-4}| means "how far is −4 from zero?". The answer is 4.

Why distance cannot be negative

A distance answers "how far", and there is no such thing as a negative distance. Walking four steps and walking four steps the other way cover the same ground. So the bars hand back a count, and a count is never below zero.

Worked example

Find∣−9∣|{-9}| and∣9∣|9|.

Step 1: start at zero. Step 2: count nine steps to reach −9. That is 9 steps. Step 3: count nine steps to reach 9. That is also 9 steps. Step 4: both answers are nine.

By the end you can
  • Read the absolute value of an integer as its distance from zero
  • Evaluate an expression such as or
  • Say why an absolute value is never negative
Check yourself
  1. 1. What is∣−12∣|{-12}|?
  2. 2. What is∣0∣|0|?
  3. 3. What is−∣3∣-|3|?
Answers
  1. 1. 12.
  2. 2. 0: zero is no steps from zero.
  3. 3. −3: the distance is 3, and the minus sign in front of the bars makes it negative.
Work out where to start — free, no accountAnswer six real questions — free, no account