# city-block metric

The city-block metric, defined on $\mathbb{R}^{n}$, is

 $d(a,b)=\sum_{i=1}^{n}|b_{i}-a_{i}|$

where $a$ and $b$ are vectors in $\mathbb{R}^{n}$ with $a=(a_{1},\ldots,a_{n})$ and $b=(b_{1},\ldots,b_{n})$.

In two dimensions and with discrete-valued vectors, when we can picture the set of points in $\mathbb{Z}\times\mathbb{Z}$ as a grid, this is simply the number of edges between points that must be traversed to get from $a$ to $b$ within the grid. This is the same problem as getting from corner $a$ to $b$ in a rectilinear downtown area, hence the name “city-block metric.”

Title city-block metric CityblockMetric 2013-03-22 12:12:57 2013-03-22 12:12:57 akrowne (2) akrowne (2) 9 akrowne (2) Definition msc 54E35 city-block distance taxicab metric