Euclidian distance
The absolute value allows to define the distance between two real numbers.
Given two numbers
Let's see the different cases that we can find:
: in this case, both numbers are on the right of zero. Then, the length of the segment is calculated doing:
As we can see in the figure:
: in this case, both numbers are on the left of zero. Then, the length of the segment is calculated by doing Graphically:
: in this case we have one number on the right and another on the left of zero. In this case we have that the length of the segment is Or graphically:
In general, we can say that the distance between two numbers
Properties of the Euclidian distance
As consequences of the properties of the absolute value we see that, considering three real numbers
; and if and only if . .
Example
The absolute value and the distance defined previously are named as Euclidean norm and Euclidean distance, respectively. These represent the most intuitive distance concept on the real line.