Basic Rules About Distance
Simple distance
These rules apply in every context where distance makes sense.
It is assumed that we have a set S of points or objects for
which a distance d(x,y) is defined for every pair of points or objects
x, y of the set S.
We shall not want to think of d(x,y) as a type of distance
unless the following rules hold:
- For any x and y the distance d(x,y) is a non-negative real number.
- d(x, y) = 0 if and only if x = y.
- d(x, y) = d(y, x) for every pair x, y in S.
- d(x, z) <= d(x, y) + d(y, z) for every x, y, z in S.
Distance given by a norm
Sometimes, but not always, the distance function d(x,y) on a set
S is constructed in terms of a norm || x || that is defined
as a non-negative real number for all x in S.
In such cases the distance is given by:
d(x, y) = || x - y || .
If the distance function d is given this way, then it will satisfy
the rules above for distance if the norm function satisfies:
- || x || >= 0
- || x || = 0 if and only if x = 0 .
- || -x || = || x || .
- || x + y || <= || x || + || y || .
NEXT |
UP |
TOP