The metric  defined on a nonempty set 
 by
| 
(1)
 | |||
| 
(2)
 | 
if 
 for all 
.
It follows that the open ball of radius  and center at 
| 
(3)
 | 
is
| 
(4)
 | 
The metric topology induced is the discrete topology.
 
	    
	
    
The metric  defined on a nonempty set 
 by
| 
(1)
 | |||
| 
(2)
 | 
if 
 for all 
.
It follows that the open ball of radius  and center at 
| 
(3)
 | 
is
| 
(4)
 | 
The metric topology induced is the discrete topology.
This entry contributed by Margherita Barile
Barile, Margherita. "Discrete Metric." From MathWorld--A Wolfram Resource, created by Eric W. Weisstein. https://mathworld.wolfram.com/DiscreteMetric.html