Exercise · ZW-METRIC-SPACE-006 · ★★☆ Intermediate

Why is \(d(x,y)=|x^2-y^2|\) not a metric on \(\mathbb{R}\)?

Choose one option.

Show answer
  • C. It equals \(0\) for \(x=1,\ y=-1\) although \(x\ne y\)

Explanation

For \(x=1\) and \(y=-1\) we get \(|1-1|=0\) but \(x\ne y\), so separation fails. It is symmetric and nonnegative.

Study General topology in ZWMath →

Review the concept: Metric space

A metric space is a set \(X\) together with a distance \(d\) between its points: a nonnegative number for each pair, symmetric, zero only between a point and itself, and satisfying the triangle inequality.

\[\begin{aligned}d(x,y)&=0\iff x=y,\qquad d(x,y)=d(y,x),\\ d(x,z)&\le d(x,y)+d(y,z)\end{aligned}\]

More practice problems: metric space

← ZW-METRIC-SPACE-005 ZW-METRIC-SPACE-007 →