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
2
votes
1 answer

Number of distinct points in $A$ is uncountable

How can one show: Let $X$ be a metric space and $A$ is subset of $X$ be a connected set with at least two distinct points then the number of distinct points in $A$ is uncountable.
2
votes
0 answers

Distance between sets in a partial metric space

How can we define distance between two sets say, $A$ and $B$ in a partial metric space $(X, p)$? Will it be non-symmetric as in the case of a metric $d$, i.e.; we have $d(A, B)$ not equal to $d(B, A)$ in general. Will that be the case for the…
MINI
  • 21
2
votes
2 answers

prove $G\cap \overline A=\emptyset $

I have metric $X$ and $A\subset X$ also there is $G$ an open subset of $X$ so that $G\cap A=\emptyset $ goal:prove that $G\cap \overline A=\emptyset $ Let us suppose there is a $x\in G\cap \overline A$. So because $x\in G$ for every $ε>0$ there…
2
votes
1 answer

What is the dimension of a figure eight Hausdorff space?

As a metric space, the figure eight is a subset of the plane. I think that means it's 2D. This person I'm arguing with says it is 1D. I think that must be wrong because a disc containing the intersection point is not an interval which is a…
2
votes
1 answer

Equivalence of two notions of separation in a metric space

I want to show that that the following two notions of separation in a metric space are equivalent $\textbf{1st Definition:}$ Let $(X,d)$ be a metric space then a subset $E$ of $X$ is said to be separated if there exists two non-empty and disjoint…
Ryan
  • 97
2
votes
1 answer

Every closed interval in $\mathbb{R}$ is totally bounded

Let ($\mathbb{R}$,|.|) be the real metric space. Let $a\lt b \in \mathbb{R}$. Show that $([a,b],|.|)$ is totally bounded ( knowing that (X,d) is totally bounded if $\forall \varepsilon \gt0 $ , $\exists x_{1},...,x_{n}\in X$ such that $ X\subseteq…
2
votes
2 answers

Two closed subsets $A$ and $B$ in $\mathbb{R}$ with $d(A,B)=0$

I am looking for two closed subsets A and B (with $A\cap B = \emptyset$) of $\mathbb{R}$ with $d(A,B)=0$. I found a solution in $\mathbb{R}^2$, namely $A=\{(x,\frac{1}{x})\mid x>0\}$ and $B=\{(x,0)\mid x>0\}$. I know that those subsets have to be…
2
votes
1 answer

Properties of a dense set in a metric space

Let $(M,d)$ be a metric space and $X \subset M$, with $X$ being a dense set in $M$. a) Show that $d(p,X)=0$, $\forall p \in M$ b) Show that if $M$ is a limited set, then $\operatorname{diam}(M)=\operatorname{diam}(X)$ c) Let $(x_n) \subset M$ be a…
Gea5th
  • 505
2
votes
1 answer

Given metric spaces $X$ and $Y$, does there exist a metric space containing isometric copies of both $X$ and $Y$?

Let $X$ and $Y$ be metric spaces. Does there exist a metric space $Z$ such that both $X$ and $Y$ can be isometrically embedded into $Z$? It is easy to see that the answer is positive if $X$ and $Y$ are bounded (consider the disjoint union of the two…
jenda358
  • 511
2
votes
1 answer

Equivalent metrics in Complex numbers

In complex numbers $\Bbb{C}=\{z=x+iy:x,y\in \Bbb{R}\}$ $$d(z_1,z_2)=|z_1-z_2|$$ $$p(z_1,z_2)=\frac{2.|z_1-z_2|}{{\sqrt{1+|z_1|^2}}.{\sqrt{1+|z_2|^2}}}$$ Show that $p$ and $d$ aren't equivalent using $$\exists M,m>0 \ \ \text{such that} \ \ m.d \le p…
Hacemat
  • 63
2
votes
2 answers

if $A=B \cup C$ and $A,B$ are open and $C$ is closed then $C \subset B$?

if $A=B \cup C$ and $A,B$ are open and $C$ is closed then $C \subset B$? I thought about this statement for another question that I had. Suppose $A,B,C$ are subsets of $\mathbb{R}^n $ such that $A=B\cup C$ and $A,B$ are open and aren't closed,…
2
votes
2 answers

Continuity of Taxicab Metric on Metric Space Product

W.A. Sutherland's "Introduction to Metric and Topological Spaces" (1st edition, 1975, Oxford Science Publications) has this puzzling question in Chapter $2$: Continuity Generalized: Metric Spaces, Exercises $2.6: 17$: "Given a metric space $M = \{A,…
Prime Mover
  • 5,005
2
votes
1 answer

Prove it by using that $f^{-1}$ of an open set is open

If $f$ is continuous from a metric space $X$ to a metric space $Y$ prove that for any $A\subseteq X$, $f(\overline{A})\subseteq\overline{f(A)}$. My attempt: I have already proved it in two different ways, one using convergent sequence and another…
BePure
  • 31
2
votes
1 answer

Prove that cosine distance does not satisfy the four properties of a metric over Euclidean space

How to prove that the cosine distance ($1-\text{cosine similarity}$) does not satisfy the four properties (Non-Negativity, Coincidence Axiom, Symmetry, Triangle Inequality) of a metric over Euclidean space? If some properties are satisfied then how…
2
votes
1 answer

Converges to a different limit

Does there exist a metric space $(\mathbb{R}, d)$ such that the sequence $\{\frac{1}{n}\}$ converges to $3?$ Here is an answer Sequence converging to different limits I have tried this: Let $A=\{\frac{1}{n}: n\in \mathbb{N}\}, B=3+A$. Also…
Learning
  • 719