The Manhattan distance between the points and is defined as:

The Manhattan distance between and is .