$d(x, y) = 1$ for $x \neq y$, and $d(x, x) = 0$
Definition: discrete metric
Terms
| Term | This example | Why |
|---|---|---|
| metric | ✓ | The discrete metric is a metric. |
| discrete metric | ✓ | |
| norm | ✗ | The discrete metric does not come from a norm, because it does not scale: $d(2x, 0) = 1 = d(x, 0)$ for every $x \neq 0$. |