Let (X,dX) and (Y,dY) be metric spaces, and let X×Y be the Cartesian product of the sets X and Y. Let R be the set of real numbers with the order ≤ of its ordered field structure, which is in particular a total order.
The product metric on X×Y is the function
dX×Y:(X×Y)×(X×Y)→R
whose value at a pair of points (x1,y1),(x2,y2)∈X×Y is the maximum
dX×Y((x1,y1),(x2,y2))=max{dX(x1,x2),dY(y1,y2)}.