Metric: Difference between revisions
No edit summary |
|||
| Line 22: | Line 22: | ||
&0\le d(x,y) | &0\le d(x,y) | ||
\end{align}</math>}} | \end{align}</math>}} | ||
{{Property|title=Reverse Triangle Inequality|property=Suppose that <math>(X,d)</math> is a metric space and <math>x,y,z\in X</math>. Then <math display="block">|d(x,y)-d(x,z)|\le d(y,z).</math>}} | |||
{{Proof|proof=By triangle inequality, | |||
<math display="block">d(x,y)\le d(x,z)+d(z,y).</math> | |||
By symmetry, re-arranging the inequality yields | |||
<math display="block">d(x,y)-d(x,z)\le d(y,z).</math> | |||
Utilizing the triangle inequality again, | |||
<math display="block">d(x,z)\le d(x,y)+d(y,z).</math> | |||
Revision as of 00:22, 13 June 2026
In mathematics, a metric or distance function is a function that defines a rigorous concept of distance between each pair of elements in a given set. By generalizing the physical concept of distance, metrics allow mathematicians to define topological concepts such as open and closed sets, continuity, convergence, and limits in highly abstract spaces. A set equipped with a metric is called a metric space.
Definitions
Let be a given non-empty set. A metric on
is a function
that satisfies the following four properties for all :
- Non-negativity:
- Identity of indiscernibles:
- Symmetry:
- Triangle inequality:
.
Properties
Non-negativity is implied by the other three properties.
Let . By triangle inequality,
Suppose that is a metric space and
. Then
{{Proof|proof=By triangle inequality,
By symmetry, re-arranging the inequality yields
Utilizing the triangle inequality again,