Skip to content
Gioi Toan
Start learning
Two vectors joined head to tail on a grid, and their sum

What is Distance?

Short answer

Distance is the length of the line segment joining two points, and it is always a non-negative number.

Type
Definition
First learned
Grade 6
Symbol
d(A, B)
In English
distance

Formulas

d(A,B)=ABd(A, B) = AB

d(A,B)=∣xB−xA∣d(A, B) = |x_B - x_A|

Explanation

Distance between two points is the length of the line segment joining those two points. On a number line, the distance between two points with coordinates a and b is ∣a−b∣|a - b|.

Distance is always non-negative. In geometry, the distance from a point to a line is the length of the perpendicular segment drawn from that point to the line.

Examples

Example 1

On a number line, what is the distance between the two points −2-2 and 33?

See the solution to example 1

The distance is ∣3−(−2)∣=∣5∣=5|3 - (-2)| = |5| = 5.

Common mix-ups

  • Distance is never negative, so when you work it out you need to take the absolute value.
  • The distance between two points on a number line is different from the difference of their coordinates, which can be negative.

Learn it in these lessons