metric space
A metric space is a mathematical structure that consists of a set of points along with a function called a metric. This metric measures the distance between any two points in the set. The function must satisfy specific properties: it must be non-negative, equal to zero only when the points are the same, symmetric (the distance from point A to B is the same as from B to A), and must satisfy the triangle inequality (the distance from A to C is less than or equal to the distance from A to B plus the distance from B to C).
Metric spaces are fundamental in various areas of mathematics, including topology and analysis. They provide a framework for discussing concepts like convergence, continuity, and compactness. Common examples of metric spaces include the set of real numbers with the standard distance metric and Euclidean spaces, which are used in geometry. Understanding metric spaces helps in studying more complex structures and their properties in mathematics.