度量空间的一个例子:离散度量空间

Let $X$ be any nonempty set.For any $x,y\in X$,define

$d(x,y)=1$  if $x\neq y$

$d(x,y)=0$  if $x=y$.

Then $(X,d)$ is a metric space.The metric $d$ is called discret metric and the space $(X,d)$ is called discret metric space.

Proof:

(1)For any given $x\in X$,$d(x,x)=0$.
(2)For any $x,y\in X$,$d(x,y)=0$,or $d(x,y)=1$.So $d(x,y)\geq 0$.
(3)If $x=y$,then $y=x$.And if $x\neq y$,$y\neq x$.So $d(x,y)=d(y,x)$
(4)If $x=y$,then it is easy to verify that $d(x,y)\leq d(x,z)+d(z,y)$.If $x\neq y$,then $x=z$ and $y=z$ can not be hold at the same time.So $d(x,y)\leq d(x,z)+d(z,y)$.

 

 

注:这个例子无非就是:一个非空集合里的元素到自身的距离都是0,而不同元素之间的距离都是1.这个例子告诉我们,可以在任意非空集合上定义一个度量.

转载于:https://www.cnblogs.com/yeluqing/archive/2013/02/22/3827456.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值