Revision as of 16:31, 1 November 2008 by imported>Richard Pinch
The discrete metric on a set is an example of a metric.
Definition
The discrete metric d on a set X is defined by
![{\displaystyle d(x,x)=0,\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d6beac59eadb0aaa1e9d4709fc70bdf7daf51b5a)
![{\displaystyle d(x,y)=1{\hbox{ if }}x\neq y.\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f6f2281c9219d06a1a2729ea926e79dc5406b76d)
Properties
- A discrete metric space is complete
- The topology induced by the discrete metric is the discrete topology, in which every set is open.