Discrete metric

| Main Article
| Discussion
| Related Articles  [?]
| Bibliography  [?]
| External Links  [?]
| Citable Version  [?]

|
|
|
|
|
|
|
|

This editable Main Article is under development and subject to a disclaimer.

[edit intro]

The discrete metric on a set is an example of a metric.

## Definition[edit]

The discrete metric d on a set X is defined by

d(x,x)=0,
d(x,y)=1 if x≠y.

## Properties[edit]

* A discrete metric space is complete
* The topology induced by the discrete metric is the discrete topology, in which every set is open.