analysis topology

Definition

Metric Space

A set equipped with a mapping , called a metric, is a metric space if the following axioms hold for all :

  1. Non-negativity:
  2. Identity of Indiscernibles:
  3. Symmetry:
  4. Triangle Inequality:

Visual Intuition

The triangle inequality states that the direct distance between two points is never greater than the sum of the distances through an intermediate point.

Common Metrics in

The following are standard metrics for vectors :

  • Metric: for .
  • Sum Metric ():.
  • Euclidean Metric ():.
  • Max Metric ():.
  • Hamming Distance: , primarily used for discrete spaces.

Neighbourhoods

A neighbourhood (or open ball) in a metric space is the set of all points within a certain distance from a centre point:

Open Ball

Given and a radius , the open ball is defined as:

This concept is used to generalise epsilon neighbourhoods to arbitrary metric spaces.