Difference between revisions of "Metric space"
m |
m |
||
Line 3: | Line 3: | ||
A metric space is a set <math>X</math> coupled with a "distance function"<ref name="Topology">Introduction to Topology - Bert Mendelson</ref>: | A metric space is a set <math>X</math> coupled with a "distance function"<ref name="Topology">Introduction to Topology - Bert Mendelson</ref>: | ||
* <math>d:X\times X\rightarrow\mathbb{R}</math> or sometimes | * <math>d:X\times X\rightarrow\mathbb{R}</math> or sometimes | ||
− | * <math>d:X\times X\rightarrow\mathbb{R}_+</math><ref name="Analysis">Analysis - Part 1: Elements - Krzysztof Maurin</ref> | + | * <math>d:X\times X\rightarrow\mathbb{R}_+</math><ref name="Analysis">Analysis - Part 1: Elements - Krzysztof Maurin</ref>, Note that here I prefer the notation <math>d:X\times X\rightarrow\mathbb{R}_{\ge 0}</math> |
With the properties that for <math>x,y,z\in X</math>: | With the properties that for <math>x,y,z\in X</math>: | ||
− | # <math>d(x,y)\ge 0</math> | + | # <math>d(x,y)\ge 0</math> (This is implicit with the {{M|1=d:X\times X\rightarrow\mathbb{R}_{\ge 0} }} definition) |
# <math>d(x,y)=0\iff x=y</math> | # <math>d(x,y)=0\iff x=y</math> | ||
# <math>d(x,y)=d(y,x)</math> - Symmetry | # <math>d(x,y)=d(y,x)</math> - Symmetry | ||
# <math>d(x,z)\le d(x,y)+d(y,z)</math> - the [[Triangle inequality]] | # <math>d(x,z)\le d(x,y)+d(y,z)</math> - the [[Triangle inequality]] | ||
− | We will denote a metric space as <math>(X,d)</math> (as <math>(X,d:X\times X\rightarrow\mathbb{R})</math> is too long and [[Mathematicians are lazy]]) or simply <math>X</math> if it is obvious which metric we are talking about on <math>X</math> | + | We will denote a metric space as <math>(X,d)</math> (as <math>(X,d:X\times X\rightarrow\mathbb{R}_{\ge 0})</math> is too long and [[Mathematicians are lazy]]) or simply <math>X</math> if it is obvious which metric we are talking about on <math>X</math> |
==Examples of metrics== | ==Examples of metrics== | ||
Line 24: | Line 24: | ||
{{End Proof}}{{End Theorem}} | {{End Proof}}{{End Theorem}} | ||
− | === | + | ===[[Discrete metric and topology|Discrete Metric]]=== |
− | + | {{:Discrete metric and topology/Metric space definition}} | |
+ | ====Notes==== | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Property | ||
+ | ! Comment | ||
+ | |- | ||
+ | ! [[Topology induced by a metric|induced topology]] | ||
+ | | [[Discrete topology|discrete topology]] - which is the topology {{M|(X,\mathcal{P}(X))}} (where {{M|\mathcal{P} }} denotes [[Power set|power set]]) | ||
+ | |- | ||
+ | ! [[Open ball]] | ||
+ | | {{M|1=B_r(x):=\{p\in X\vert\ d(p,x)< r\}=\left\{\begin{array}{lr}\{x\} & \text{if }r>1 \\ X & \text{otherwise}\end{array}\right. }} | ||
+ | |- | ||
+ | ! [[Open set|Open sets]] | ||
+ | | Every subset of {{M|X}} is open.<br/>'''Proof outline:''' as for a subset {{M|A\subseteq X}} we can show {{M|1=\forall x\in A\exists r[B_r(x)\subseteq A] }} by choosing {{M|r=\tfrac{1}{2} }} say, that is {{M|A}} contains an ''[[Open ball|open ball]]'' centred at each point in {{M|A}}. | ||
+ | |- | ||
+ | ! [[Connected space|Connected]] | ||
+ | | The [[Topological space|topology]] generated by {{M|(X,d_\text{discrete})}} is '''not''' connected if {{M|X}} has more than one point.<br/>'''Proof outline:''' | ||
+ | :* Let {{M|A}} be any non empty subset of {{M|X}}, then define {{M|1=B:=A^c}} which is also a subset of {{M|X}}, thus {{M|B}} is open. Then {{M|1=A\cap B=\emptyset}} and {{M|1=A\cup B=X}} thus we have found a separation, a partition of non-empty disjoint open sets, that separate the space. Thus it is ''not connected'' | ||
+ | :* if {{M|X}} has only one point then we cannot have a partition of non empty disjoint sets. Thus it cannot be not connected, it is connected. | ||
+ | |} | ||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== | ||
+ | * [[Topology induced by a metric]] | ||
+ | * [[Connected space]] | ||
* [[Topological space]] | * [[Topological space]] | ||
− | + | ==Notes== | |
+ | <references group="Note"/> | ||
==References== | ==References== | ||
<references/> | <references/> | ||
{{Definition|Topology|Metric Space}} | {{Definition|Topology|Metric Space}} |
Revision as of 20:18, 23 July 2015
A normed space is a special case of a metric space, to see the relationships between metric spaces and others see: Subtypes of topological spaces
Contents
[hide]Definition of a metric space
A metric space is a set X
- d:X×X→Ror sometimes
- d:X×X→R+[2], Note that here I prefer the notation d:X×X→R≥0
With the properties that for x,y,z∈X
- d(x,y)≥0(This is implicit with the d:X×X→R≥0 definition)
- d(x,y)=0⟺x=y
- d(x,y)=d(y,x)- Symmetry
- d(x,z)≤d(x,y)+d(y,z)- the Triangle inequality
We will denote a metric space as (X,d)
Examples of metrics
Euclidian Metric
The Euclidian metric on Rn
dEuclidian(x,y)=√n∑i=1((xi−yi)2)
Proof that this is a metric
Discrete Metric
Let X be a set. The discrete[3] metric, or trivial metric[4] is the metric defined as follows:
- d:X×X→R≥0with d:(x,y)↦{0if x=y1otherwise
However any strictly positive value will do for the x≠y case. For example we could define d as:
- d:(x,y)↦{0if x=yvotherwise
- Where v is some arbitrary member of R>0[Note 1] - traditionally (as mentioned) v=1 is used.
- Where v is some arbitrary member of R>0[Note 1] - traditionally (as mentioned) v=1 is used.
Note: however in proofs we shall always use the case v=1 for simplicity
Notes
Property | Comment |
---|---|
induced topology | discrete topology - which is the topology (X,P(X)) (where P denotes power set) |
Open ball | Br(x):={p∈X| d(p,x)<r}={{x}if r>1Xotherwise |
Open sets | Every subset of X is open. Proof outline: as for a subset A⊆X we can show ∀x∈A∃r[Br(x)⊆A] by choosing say, that is A contains an open ball centred at each point in A. |
Connected | The topology generated by (X,ddiscrete) is not connected if X has more than one point. Proof outline:
|
See also
Notes
- Jump up ↑ Note the strictly greater than 0 requirement for v
References
- Jump up ↑ Introduction to Topology - Bert Mendelson
- Jump up ↑ Analysis - Part 1: Elements - Krzysztof Maurin
- Jump up ↑ Introduction to Topology - Theodore W. Gamelin & Robert Everist Greene
- Jump up ↑ Functional Analysis - George Bachman and Lawrence Narici