- d(x,y)>0 for all inequal x,y
- d(x,y)=0 if and only if x=y
- d(x,y)=d(y,x)
- d(x,z)< or =d(x,y)+d(y,z)
In words, the conditions state that the distance function is positively defined(it is never negative)and symmetric (d(x,y)=d(y,x)). Also, d satisfies the triangle inequality. One elementary example of a metric space is the set of real numbers R endowed with the absolute value function d(x,y)=absolute value of (x-y). In all high school and lower math classes, and some college classes it is subconsciously assumed that when dealing with real numbers, the absolute value function is the metric that is given for R.However, this function is not the only possible metric on R, take for example the function:
d(x,y)=0 when x=y,
d(x,y)=1 when x is inequal to y
This function satisfies properties 1-4, because it is never negative, only 0 when x=y, symmetric, and not in violation of the triangle inequality. This function is called the discrete metric, and is a metric for any set of elements(the absolute value function, on the other hand, is not, because there is no definition for the absolute value of the difference of two functions). In addition the absolute value metric and the discrete metric, there are an infinite number of metrics on R, as well as any set of elements.
Why study metric spaces? Metric spaces are essential to the further study of calculus. One big part of calculus deals with entire functions as points in a space, instead of singular numbers as points, and the functions on these so called "function spaces". Taking limits, derivatives, and integrals rigorously all require the use of metric spaces. The most general definitions of limits, continuity, open and closed sets, and compactness, completeness, and convergence are all formulated in the language of metric spaces. The terms listed are all central to calculus, and in fact, calculus can be thought of as based on four of the terms: continuity, compactness, completeness, and convergence. Without metric spaces, calculus would be nowhere as sophisticated as it is today.
Why study metric spaces? Metric spaces are essential to the further study of calculus. One big part of calculus deals with entire functions as points in a space, instead of singular numbers as points, and the functions on these so called "function spaces". Taking limits, derivatives, and integrals rigorously all require the use of metric spaces. The most general definitions of limits, continuity, open and closed sets, and compactness, completeness, and convergence are all formulated in the language of metric spaces. The terms listed are all central to calculus, and in fact, calculus can be thought of as based on four of the terms: continuity, compactness, completeness, and convergence. Without metric spaces, calculus would be nowhere as sophisticated as it is today.