Difference between revisions of "Metric space"

From Maths
Jump to: navigation, search
m
m (Silly error)
Line 17: Line 17:
 
For <math>x=(x_1,...,x_n)\in\mathbb{R}^n</math> and <math>y=(y_1,...,y_n)\in\mathbb{R}^n</math> we define the Euclidian metric by:
 
For <math>x=(x_1,...,x_n)\in\mathbb{R}^n</math> and <math>y=(y_1,...,y_n)\in\mathbb{R}^n</math> we define the Euclidian metric by:
  
<math>d_{\text{Euclidian}}(x,y)=\sqrt{\prod^n_{i=1}(x_i^2+y_i^2)}</math>
+
<math>d_{\text{Euclidian}}(x,y)=\sqrt{\prod^n_{i=1}((x_i-y_i)^2)}</math>
  
 
====Proof it is a metric====
 
====Proof it is a metric====

Revision as of 22:35, 12 February 2015

Definition of a metric space

A metric space is a set X coupled with a "distance function" d:X×XR with the properties (for x,y,zX)

  1. d(x,y)0
  2. d(x,y)=0x=y
  3. d(x,y)=d(y,x)
  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)

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