Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2007/iii/paper-47/4/b/ii/solution

For every binary vector , , and hence
Thus is not a metric, because it fails identity of indiscernibles. It is nonnegative and symmetric. In fact it also satisfies the triangle inequality trivially: every value lies in , so . That does not repair its nonzero self-distance.

New to topics? Read the docs here!