Definition 1.
A set , whose elements are called points, is said to be a metric space if with any two points and of there is associated a real number , called the distance between and , such that
- if
The function is called a distance function, or a metric.
Observe:
- A metric space requires to exist.
- Every subset of a metric space is also a metric space.
- The Euclidean spaces are metric spaces, with the distance function defined by .
Definitions (à la Kulkarni)
Open/Closed ball
Definition 2.
If where is a metric space and , the open (or closed) ball with center at and radius is defined to be the set of all such that (or ). These are analogues of open (or closed) intervals in .
Neighborhood
Definition 3.
A neighborhood of in a metric space is any set which contains an open ball centered at with radius . Basically, elements of not in the neighborhood should not get arbitrarily close to .
Warning
Rudin’s neighborhood is Kulkarni’s open ball.
Diameter
Definition 4.
In a metric space , for , . The supremum is taken in the extended real number system, allowing the diameter to be .
Boundedness
Definition 5.
In a metric space , is bounded if there is a real number and a point such that for all .