Difference between revisions of "Metric space"

From Maths
Jump to: navigation, search
m (Euclidian Metric)
m
Line 1: Line 1:
  
 
==Definition of a metric space==
 
==Definition of a metric space==
 
+
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" <math>d:X\times X\rightarrow\mathbb{R}</math> with the properties (for <math>x,y,z\in X</math>)
+
* <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>
 +
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>
 
# <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>
+
# <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})</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 18: Line 18:
  
 
<math>d_{\text{Euclidian}}(x,y)=\sqrt{\sum^n_{i=1}((x_i-y_i)^2)}</math>
 
<math>d_{\text{Euclidian}}(x,y)=\sqrt{\sum^n_{i=1}((x_i-y_i)^2)}</math>
 
+
{{Begin Theorem}}
====Proof it is a metric====
+
Proof that this is a metric
{{Todo|Proof this is a metric}}
+
{{Begin Proof}}
 +
{{Todo}}
 +
{{End Proof}}{{End Theorem}}
  
 
===Discreet Metric===
 
===Discreet Metric===
Line 26: Line 28:
  
 
<math>d_{\text{discreet}}(x,y)=\left\{\begin{array}{lr}
 
<math>d_{\text{discreet}}(x,y)=\left\{\begin{array}{lr}
       1 & x=y\\
+
       0 & x=y\\
       0 & \text{otherwise}
+
       1 & \text{otherwise}
 
     \end{array}\right.</math>
 
     \end{array}\right.</math>
 +
{{Begin Theorem}}
 +
Proof that this is a metric
 +
{{Begin Proof}}
 +
{{Todo|Really easy though}}
 +
{{End Proof}}{{End Theorem}}
 +
 +
==See also==
 +
* [[Topological space]]
 +
 +
==References==
 +
<references/>
  
 
{{Definition|Topology|Metric Space}}
 
{{Definition|Topology|Metric Space}}

Revision as of 00:30, 22 June 2015

Definition of a metric space

A metric space is a set X

coupled with a "distance function"[1]:

  • d:X×XR
    or sometimes
  • d:X×XR+
    [2]

With the properties that for x,y,zX

:

  1. d(x,y)0
  2. d(x,y)=0x=y
  3. d(x,y)=d(y,x)
    - Symmetry
  4. d(x,z)d(x,y)+d(y,z)
    - the Triangle inequality

We will denote a metric space as (X,d)

(as (X,d:X×XR)
is too long and Mathematicians are lazy) or simply X
if it is obvious which metric we are talking about on X

Examples of metrics

Euclidian Metric

The Euclidian metric on Rn

is defined as follows: For x=(x1,...,xn)Rn
and y=(y1,...,yn)Rn
we define the Euclidian metric by:

dEuclidian(x,y)=ni=1((xiyi)2)

[Expand]

Proof that this is a metric


Discreet Metric

This is a useless metric, but is a metric and induces the Discreet Topology on X, where the topology is the powerset of X

, P(X)
.

ddiscreet(x,y)={0x=y1otherwise

[Expand]

Proof that this is a metric


See also

References

  1. Jump up Introduction to Topology - Bert Mendelson
  2. Jump up Analysis - Part 1: Elements - Krzysztof Maurin