Fractional compression gives an equivalent bounded metric

See it in Lean

Axioms
ZFC only

Statement

For any metric space \((X,d)\), the formula \[\delta(x,y)=\frac{d(x,y)}{1+d(x,y)}\] defines a metric with all distances less than \(1\) and the same topology as \(d\). The identity map is a homeomorphism between the two metric spaces.

Proof

Put \(f(t)=t/(1+t)\) for \(t\geq0\). This function vanishes exactly at \(0\), is strictly increasing, and satisfies \(0\leq f(t)<1\). For \(a,b\geq0\), \[f(a+b)=\frac{a}{1+a+b}+\frac{b}{1+a+b} \leq\frac{a}{1+a}+\frac{b}{1+b}=f(a)+f(b).\] Monotonicity and this inequality give the triangle inequality for \(\delta\); symmetry and positive definiteness follow from those of \(d\).

For every \(r>0\), the \(\delta\)-ball of radius \(f(r)\) about any point equals the \(d\)-ball of radius \(r\). Conversely, since \(f(t)\leq t\), the \(d\)-ball of radius \(\varepsilon\) lies in the \(\delta\)-ball of radius \(\varepsilon\) for every \(\varepsilon>0\). Thus the two metrics give the same neighbourhoods and topology. \(\blacksquare\)

Where it is used

Cited in proofs of other theorems

References

  • Steen and Seebach, Counterexamples in Topology, 2nd ed. (1978), Example 134, items 1–4, p. 151