Definition A Metric on a set X is a function d:X×X→[0,∞⟩ such that d(x,y)=d(y,x),∀x,y∈X d(x,y)=0⟺x=y d(x,z)≤d(x,y)+d(y,z) (think of this as a triangle and Pythagoras’ Theorem) Think of d(x,y) as the distance between x and y.