Questions tagged [metric-spaces]

Metric spaces are sets on which a metric is defined. A metric is a generalization of the concept of "distance" in the Euclidean sense. Metric spaces arise as a special case of the more general notion of a topological space. For questions about Riemannian metrics use the tag (riemannian-geometry) instead.

A function $d: M\times M\to \mathbb R$ is called a metric if for all $x,y,z \in M$ we have

  1. $d(x,y)=0\iff x=y$
  2. $d(x,y)\geq 0$
  3. $d(x,y)=d(y,x)$
  4. $d(x,y)+d(y,z)\geq d(x,z)$.

It is a generalisation of "distance". A metric space is now defined as an ordered pair $(M,d)$, where $M$ is a set and $d:M\times M\to R$ is a metric.

An $\varepsilon$-neighbourhood of $x$ is defined as the set $$B_\epsilon(x):=\{y\in M\mid d(x,y)<\varepsilon\}.$$ $B_\varepsilon(x)$ is commonly also known as the open ball of radius $\varepsilon$ around $x$. All open balls form a base for a topology on $M$. Although all metric spaces are topological spaces, the converse is generally not true.

Some different types of metric space include

  1. Complete metric spaces (every Cauchy sequence converges)

  2. Bounded metric spaces (every metric is bounded by a finite value)

  3. Compact metric spaces (every sequence has a convergent subsequence)

  4. Locally compact metric spaces (every point has a compact neighbourhood)

  5. Separable metric spaces (it possesses a countable dense subset).

15788 questions
67
votes
2 answers

Continuous functions do not necessarily map closed sets to closed sets

I found this comment in my lecture notes, and it struck me because up until now I simply assumed that continuous functions map closed sets to closed sets. What are some insightful examples of continuous functions that map closed sets to non-closed…
Aaa
  • 812
  • 1
  • 7
  • 11
50
votes
4 answers

If $d(x,y)$ is a metric, then $\frac{d(x,y)}{1 + d(x,y)}$ is also a metric

Let $(X,d)$ be a metric space and for $x,y \in X$ define $$d_b(x,y) = \dfrac{d(x,y)}{1 + d(x,y)}$$ a) show that $d_b$ is a metric on $X$ Hint: consider the derivative of $f(t)$ = $\dfrac{t}{1+t}$ b) show that $ d$ and $ d_b $ are equivalent…
34
votes
5 answers

Show that in a discrete metric space, every subset is both open and closed.

I need to prove that in a discrete metric space, every subset is both open and closed. Now, I find it difficult to imagine what this space looks like. I think it consists of all sequences containing ones and zeros. Now in order to prove that every…
34
votes
4 answers

Why are quotient metric spaces defined this way?

From Wikipedia: If $M$ is a metric space with metric $d$, and $\sim$ is an equivalence relation on $M$, then we can endow the quotient set $M/{\sim}$ with the following (pseudo)metric. Given two equivalence classes $[x]$ and $[y]$, we define…
Tim
  • 47,382
34
votes
4 answers

An open ball is an open set

Prove that for any $x_0 \in X$ and any $r>0$, the open ball $B_r(x_o)$ is open. My attempt: Let $y\in B_r(x_0)$. By definition, $d(y,x_0)
Emir
  • 2,213
32
votes
2 answers

How to prove the continuity of the metric function?

Given a metric space $(X,d)$, how to prove that the function $d \colon X \times X \to \mathbf{R}$ is continuous? If we take any two arbitrary real numbers $a$ and $b$ such that $a < b$, then we need to show that the set $d^{-1} (a,b)$ given by $$…
29
votes
2 answers

Understanding the idea of a Limit Point (Topology)

I have attached an image of how I was visualizing a limit point, but I'm now not so sure that I have understood the concept correctly after attempting to really draw out what I was visualizing. I'll mention the definition of Neighbourhood and Limit…
Samuel Reid
  • 5,072
25
votes
1 answer

Interchanging limit with infimum/supremum

I'm sure I'm having a notational misunderstanding. Anyway, suppose $(f_n)$ is a sequence of continuous functions from a metric space $X$ to $\mathbb{R}$. So, if $(f_n)$ converges uniformly to a function $f$, then $$\lim_{n \to \infty} \inf_{x \in X}…
ragrigg
  • 1,675
22
votes
2 answers

What is a virtual point of a metric space?

Suppose $(X, d)$ is a metric space and $u \colon X → \mathbb{R}$. Then $u$ will be called a virtual point of $X$ if, and only if, $u$ satisfies the following three conditions: $u(x) - u(y) \leq d(x,y) \leq u(x) + u(y)$, $\inf_{x \in X} u(x) = 0$,…
Antimony
  • 3,442
18
votes
7 answers

Example of a metric space where diameter of a ball is not equal twice the radius

My question is regarding the notion of balls in metric spaces, and specifically about their diameters. If $(X,d)$ is a metric space and $A \subset X$, then the diameter of $A$ is defined by $$ d(A) = \sup \{ d(a_1,a_2) : a_1 \text{ and } a_2 \in A…
Jim Art
  • 333
17
votes
6 answers

Show that the closure of a subset is bounded if the subset is bounded

Let $A$ be a subset of $X$, and let $A$ be bounded. I.e.: $\exists x_0\in X : d(x,x_0)\le K, \forall x\in A.$ I want to show that $\overline{A}$, the closure of $A$ is bounded as well, but as simple it may seem, I have some trouble with proving…
17
votes
1 answer

How to show that the spherical metric satisfies the triangle inequality?

For $x,y\in \mathbb R^n$ define $$d(x,y)={\|x-y\| \over \sqrt{1+\|x\|^2} \sqrt{1+\|y\|^2}}$$ Here $\|x\|$ is the euclidean norm of a vector. How to prove that $d$ (the spherical metric) is indeed a metric? Progress so far: $d(x,y)\ge 0$ is…
15
votes
3 answers

Show that $d_b(x,y)=\frac{d(x,y)}{1+d(x,y)}$ is a metric.

where $(X,d)$ is a metric and $x,y \in X$. I know we need to show: non-negativity: $d(x,y)\geq$ 0 $d(x,y)=0$ if and only if $x=y$ symmetry: $d(x,y)=d(y,x)$ $d(x,z)\leq d(x,y) + d(y,z)$ I think we need to consider the derivative of…
Levi
  • 521
15
votes
3 answers

distance between a point and a set or closure of it

Let $X$ be a metric space with metric $d$. Let $x\in X$ and let $A$ be a subset of $X$ and define $$d(x,A)=\inf\{d(x,a)\mid a\in A\}.$$ Prove that $d(x,A)=d(x,\mathrm{cl}(A))$ where $\mathrm{cl}(A)$ is the closure of $A$. First of all, one…
Jack
  • 2,017
14
votes
2 answers

Is Minkowski space not a metric space?

I've just started reading a book on functional analysis, and first definition given there is for a metric and metric space: Let $\mathfrak{M}$ be an arbitrary set. A function $\rho\colon \mathfrak M\times\mathfrak M\to[0,\infty)$ is called metric…
Ruslan
  • 6,775
1
2 3
99 100