Metric space
d(x, y)
The idea
Any set in which we have a sensible notion of distance.The board
- A metric d(x, y) must satisfy: d ≥ 0, and d = 0 only if x = y.
- Symmetry: d(x, y) = d(y, x).
- Triangle inequality: d(x, z) ≤ d(x, y) + d(y, z) — the detour isn't shorter.
- Examples: ordinary distance, the “taxicab” |Δx| + |Δy|, the difference between two words (number of letters to change).
The most common mistake
Thinking there's only one “true” distance. Choosing a metric is choosing what “close” means.The trick
Once you have distance, you have limits, continuity, convergence — all of analysis.Problems
Taxicab distance from (0; 0) to (3; 4)?
- 7
- 12
- 5
- 25
Show the answer
7 — |3| + |4|.
Which is NOT a metric axiom?
- d(x, x) = 0
- the triangle inequality
- d(x, y) ≤ 1
- d(x, y) = d(y, x)
Show the answer
d(x, y) ≤ 1 — There's no such requirement.