HOME

TheInfoList



OR:

In mathematics, Chebyshev distance (or Tchebychev distance), maximum metric, or L metric is a metric defined on a vector space where the
distance Distance is a numerical or occasionally qualitative measurement of how far apart objects or points are. In physics or everyday usage, distance may refer to a physical length or an estimation based on other criteria (e.g. "two counties over"). ...
between two vectors is the greatest of their differences along any coordinate dimension. It is named after
Pafnuty Chebyshev Pafnuty Lvovich Chebyshev ( rus, Пафну́тий Льво́вич Чебышёв, p=pɐfˈnutʲɪj ˈlʲvovʲɪtɕ tɕɪbɨˈʂof) ( – ) was a Russian mathematician and considered to be the founding father of Russian mathematics. Chebysh ...
. It is also known as chessboard distance, since in the game of chess the minimum number of moves needed by a king to go from one square on a
chessboard A chessboard is a used to play chess. It consists of 64 squares, 8 rows by 8 columns, on which the chess pieces are placed. It is square in shape and uses two colours of squares, one light and one dark, in a chequered pattern. During play, the b ...
to another equals the Chebyshev distance between the centers of the squares, if the squares have side length one, as represented in 2-D spatial coordinates with axes aligned to the edges of the board. For example, the Chebyshev distance between f6 and e2 equals 4.


Definition

The Chebyshev distance between two vectors or points ''x'' and ''y'', with standard coordinates x_i and y_i, respectively, is :D_(x,y) := \max_i(, x_i -y_i, ).\ This equals the limit of the L''p'' metrics: :\lim_ \bigg( \sum_^n \left, x_i - y_i \^p \bigg)^, hence it is also known as the L metric. Mathematically, the Chebyshev distance is a metric induced by the supremum norm or
uniform norm In mathematical analysis, the uniform norm (or ) assigns to real- or complex-valued bounded functions defined on a set the non-negative number :\, f\, _\infty = \, f\, _ = \sup\left\. This norm is also called the , the , the , or, when t ...
. It is an example of an injective metric. In two dimensions, i.e.
plane geometry Euclidean geometry is a mathematical system attributed to ancient Greek mathematician Euclid, which he described in his textbook on geometry: the ''Elements''. Euclid's approach consists in assuming a small set of intuitively appealing axioms ...
, if the points ''p'' and ''q'' have
Cartesian coordinates A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in ...
(x_1,y_1) and (x_2,y_2), their Chebyshev distance is :D_ = \max \left ( \left , x_2 - x_1 \right , , \left , y_2 - y_1 \right , \right ) . Under this metric, a
circle A circle is a shape consisting of all points in a plane that are at a given distance from a given point, the centre. Equivalently, it is the curve traced out by a point that moves in a plane so that its distance from a given point is con ...
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 chess board, 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

In one dimension, all L''p'' metrics are equal – they are just the absolute value of the difference. The two dimensional
Manhattan distance A taxicab geometry or a Manhattan geometry is a geometry whose usual distance function or metric of Euclidean geometry is replaced by a new metric in which the distance between two points is the sum of the absolute differences of their Cartesian co ...
has "circles" i.e.
level sets In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~, When the number of independent variables is two, a level set is cal ...
in the form of squares, with sides of length ''r'', oriented at an angle of π/4 (45°) to the coordinate axes, so the planar Chebyshev distance can be viewed as equivalent by rotation and scaling to (i.e. a linear transformation of) the planar Manhattan distance. However, this geometric equivalence between L1 and L metrics does not generalize to higher dimensions. A sphere formed using the Chebyshev distance as a metric is a cube with each face perpendicular to one of the coordinate axes, but a sphere formed using
Manhattan distance A taxicab geometry or a Manhattan geometry is a geometry whose usual distance function or metric of Euclidean geometry is replaced by a new metric in which the distance between two points is the sum of the absolute differences of their Cartesian co ...
is an octahedron: these are dual polyhedra, but among cubes, only the square (and 1-dimensional line segment) are
self-dual In mathematics, a duality translates concepts, theorems or mathematical structures into other concepts, theorems or structures, in a one-to-one fashion, often (but not always) by means of an involution operation: if the dual of is , then the ...
polytopes. Nevertheless, it is true that in all finite-dimensional spaces the L1 and L metrics are mathematically dual to each other. On a grid (such as a chessboard), the points at a Chebyshev distance of 1 of a point are the Moore neighborhood of that point. The Chebyshev distance is the limiting case of the order-p Minkowski distance, when p reaches infinity.


Applications

The Chebyshev distance is sometimes used in warehouse logistics, as it effectively measures the time an
overhead crane An overhead crane, commonly called a bridge crane, is a type of crane found in industrial environments. An overhead crane consists of two parallel rails seated on longitudinal I-beams attached to opposite steel columns by means of brackets. ...
takes to move an object (as the crane can move on the x and y axes at the same time but at the same speed along each axis). It is also widely used in electronic Computer-Aided Manufacturing (CAM) applications, in particular, in optimization algorithms for these. Many tools, such as plotting or drilling machines,
photoplotter A photoplotter is a specialized electro-opto-mechanical machine that exposes a latent image on a medium, usually high-contrast monochromatic (black-and-white) photographic film, using a light source under computer control. Once the film has been exp ...
, etc. operating in the plane, are usually controlled by two motors in x and y directions, similar to the overhead cranes.


See also

*
King's graph In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n \times m king's gra ...
*
Uniform norm In mathematical analysis, the uniform norm (or ) assigns to real- or complex-valued bounded functions defined on a set the non-negative number :\, f\, _\infty = \, f\, _ = \sup\left\. This norm is also called the , the , the , or, when t ...
* Taxicab geometry


References

{{DEFAULTSORT:Chebyshev Distance Metric geometry Mathematical chess problems Distance