Knaph

Adding and subtracting signed numbers20 of 792 min read

Distance Between Two Numbers

A seagull flies 8 meters above the sea. A diver swims 12 meters below it, at −12 meters. How far apart are they? The answer, 20 meters, is a subtraction and an absolute value.

Count the steps

On a number line, the distance from −4 to 3 is 4 steps to reach 0 and 3 more to reach 3: 7 steps.

The subtraction gives it too: 3 − (−4) = 3 + 4 = 7. Subtract the other way, −4 − 3 = −7, and you get the opposite. The sign only tells the direction.

A distance is never negative, so take the absolute value: the distance between pp and qq is ∣p−q∣|p - q|. Here ∣3−(−4)∣=∣−4−3∣=7|3 - (-4)| = |-4 - 3| = 7.

A number line from −6 to 6 with red points at −4 and 3. A bracket over them is labeled 7. Below: |3 − (−4)| = 7 and |−4 − 3| = 7.

Above and below

For the seagull and the diver: ∣8−(−12)∣=∣8+12∣=20|8 - (-12)| = |8 + 12| = 20 meters.

The same works for temperatures. From −9 degrees at midnight to 6 degrees at noon is ∣6−(−9)∣=15|6 - (-9)| = 15 degrees.

A height scale beside the sea. A gull flies at +8 meters and a diver swims at −12 meters. A red bracket between them is labeled 20 m.

Fractions and decimals

It works for any two numbers. The distance between −2.5 and 1.25 is ∣1.25−(−2.5)∣=∣1.25+2.5∣=3.75|1.25 - (-2.5)| = |1.25 + 2.5| = 3.75.

Two numbers on the same side of 0 are closer than they look at first: the distance between −7 and −2 is ∣−2−(−7)∣=∣−2+7∣=5|-2 - (-7)| = |-2 + 7| = 5, not 9.

Careful

The distance between −7 and −2 is not 9. Subtract: −2 − (−7) = −2 + 7 = 5.

Try it at home

  1. Find the highest and lowest points of a country, like Mount Whitney (4,421 m) and Death Valley (−86 m) in the United States.
  2. Write the distance between them as an absolute value of a difference.
  3. Work it out and say it in a sentence.

Words in this lesson

  • distance between two numbers - how far apart they are on the number line: |p − q|.
  • absolute value - the size of a number without its sign: |−7| = 7.

Big idea

The distance between two numbers p and q is |p − q|, the same whichever one you subtract from the other.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.