Difference between revisions of "Metric space"
From Maths
m (Silly error) |
m |
||
Line 7: | Line 7: | ||
# <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> | ||
− | # <math>d(x,z)\le d(x,y)+d(y,z)</math> - the [[Triangle | + | # <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> |
Revision as of 16:12, 7 March 2015
Contents
[hide]Definition of a metric space
A metric space is a set X coupled with a "distance function" d:X×X→R with the properties (for x,y,z∈X)
- d(x,y)≥0
- d(x,y)=0⟺x=y
- d(x,y)=d(y,x)
- 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×X→R) 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)=√n∏i=1((xi−yi)2)
Proof it is a metric
TODO: Proof 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)={1x=y0otherwise