The Chebyshev distance between two vectors or points
a and
b, with standard coordinates a_i and b_i, respectively, is D(a,b) = \max_i(|a_i - b_i|). This equals the limit of the
Lp metrics: D(a,b)=\lim_{p \to \infty} \bigg( \sum_{i=1}^n \left| a_i - b_i \right|^p \bigg)^{1/p}, hence it is also known as the L∞ metric. Mathematically, the Chebyshev distance is a
metric induced by the
supremum norm or
uniform norm. It is an example of an
injective metric. In two dimensions, i.e.
plane geometry, if the points
a and
b have
Cartesian coordinates (x_1,y_1) and (x_2,y_2), their Chebyshev distance is D_{\rm Chebyshev} = \max \left ( \left | x_2 - x_1 \right | , \left | y_2 - y_1 \right | \right ) . Under this metric, a
circle of
radius r, which is the set of points with Chebyshev distance
r from a center point, is a square whose sides have the length 2
r and are parallel to the coordinate axes. On a chessboard, where one is using a
discrete Chebyshev distance, rather than a continuous one, the circle of radius
r is a square of side lengths 2
r, measuring from the centers of squares, and thus each side contains 2
r+1 squares; for example, the circle of radius 1 on a chess board is a 3×3 square. == Properties ==