Chebyshev distance

abcdefgh
8
a8 five
b8 four
c8 three
d8 two
e8 two
f8 two
g8 two
h8 two
a7 five
b7 four
c7 three
d7 two
e7 one
f7 one
g7 one
h7 two
a6 five
b6 four
c6 three
d6 two
e6 one
f6 white king
g6 one
h6 two
a5 five
b5 four
c5 three
d5 two
e5 one
f5 one
g5 one
h5 two
a4 five
b4 four
c4 three
d4 two
e4 two
f4 two
g4 two
h4 two
a3 five
b3 four
c3 three
d3 three
e3 three
f3 three
g3 three
h3 three
a2 five
b2 four
c2 four
d2 four
e2 four
f2 four
g2 four
h2 four
a1 five
b1 five
c1 five
d1 five
e1 five
f1 five
g1 five
h1 five
8
77
66
55
44
33
22
11
abcdefgh
The discrete Chebyshev distance between two spaces on a chessboard gives the minimum number of moves a king requires to move between them. This is because a king can move diagonally, so that the jumps to cover the smaller distance parallel to a row or column is effectively absorbed into the jumps covering the larger. Above are the Chebyshev distances of each square from the square f6.

In mathematics, Chebyshev distance (or Tchebychev distance), maximum metric, or L metric[1] is a metric defined on a real coordinate space where the distance between two points is the greatest of their differences along any coordinate dimension.[2] It is named after Pafnuty Chebyshev.

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 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.[3] 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 and , respectively, is

This equals the limit of the Lp metrics:

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 p and q have Cartesian coordinates and , their Chebyshev distance is

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 2r 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 2r, measuring from the centers of squares, and thus each side contains 2r+1 squares; for example, the circle of radius 1 on a chess board is a 3×3 square.

Properties

Comparison of Chebyshev, Euclidean and Manhattan distances for the hypotenuse of a 3-4-5 triangle on a chessboard

In one dimension, all Lp metrics are equal – they are just the absolute value of the difference.

The two dimensional Manhattan distance has "circles" i.e. level sets in the form of squares, with sides of length 2r, 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 is an octahedron: these are dual polyhedra, but among cubes, only the square (and 1-dimensional line segment) are self-dual 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- Minkowski distance, when reaches infinity.

Applications

The Chebyshev distance is sometimes used in warehouse logistics,[4] as it effectively measures the time an overhead crane 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, etc. operating in the plane, are usually controlled by two motors in x and y directions, similar to the overhead cranes.[5]

Generalizations

For the sequence space of infinite-length sequences of real or complex numbers, the Chebyshev distance generalizes to the -norm; this norm is sometimes called the Chebyshev norm. For the space of (real or complex-valued) functions, the Chebyshev distance generalizes to the uniform norm.

See also

References

  1. ^ Cyrus. D. Cantrell (2000). Modern Mathematical Methods for Physicists and Engineers. Cambridge University Press. ISBN 0-521-59827-3.
  2. ^ Abello, James M.; Pardalos, Panos M.; Resende, Mauricio G. C., eds. (2002). Handbook of Massive Data Sets. Springer. ISBN 1-4020-0489-3.
  3. ^ David M. J. Tax; Robert Duin; Dick De Ridder (2004). Classification, Parameter Estimation and State Estimation: An Engineering Approach Using MATLAB. John Wiley and Sons. ISBN 0-470-09013-8.
  4. ^ André Langevin; Diane Riopel (2005). Logistics Systems. Springer. ISBN 0-387-24971-0.
  5. ^ Seitz, Charles L. (1989). Advanced Research in VLSI: Proceedings of the Decennial Caltech Conference on VLSI, March 1989. ISBN 9780262192828.

Read other articles:

Notable Buddhist temple in Xi'an, China Daxingshan Temple大兴善寺The Shanmen at the temple.ReligionAffiliationBuddhismSectChinese Esoteric BuddhismLeadershipShi Kuanxu (释宽旭)LocationLocationYanta District, Xi'an, ShaanxiCountryChinaGeographic coordinates34°14′00″N 108°57′00″E / 34.233207°N 108.9499°E / 34.233207; 108.9499ArchitectureStyleChinese architectureFounderEmperor Wu of JinDate established266Completed15th century (reconstruction) Daxingshan...

 

Melmac is: Melmac (merk), een merknaam van serviesgoed gemaakt van melamine. Melmac (planeet), een fictieve planeet uit de televisieserie Alf uit de jaren 80. Een ska band uit Staten Island, New York van eind jaren 90. SKV Melmac, een studentenkorfbalvereniging uit Tilburg, Nederland, wederopgericht in 2005. Bekijk alle artikelen waarvan de titel begint met Melmac of met Melmac in de titel. Dit is een doorverwijspagina, bedoeld om de verschillen in betekenis of gebrui...

 

Pour les articles homonymes, voir Baztan. Le col de Belate est traversé par une ancienne voie romaine très caractéristique avec ses monolithes qui bordent le chemin. Passé le col, on trouvera l'ancien hôpital Santa Maria de Velate qui accueillait les pèlerins qui parcouraient la ruta del baztan. La voie du Baztan ou chemin du Baztan (en espagnol ruta del Baztan ou camino baztanés) est une voie du pèlerinage de Saint-Jacques-de-Compostelle. C'est la voie qui traverse les Pyrénées le ...

Ongoing controversy between Bokmål and Nynorsk and other varieties of the Norwegian language This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Norwegian language conflict – news · newspapers · books · scholar · JSTOR (March 2009) (Learn how and when to remove this template message) Map of the official languag...

 

Main article: 1964 United States presidential election 1964 United States presidential election in Illinois ← 1960 November 3, 1964[1] 1968 → Turnout84.97%   Nominee Lyndon B. Johnson Barry Goldwater Party Democratic Republican Home state Texas Arizona Running mate Hubert Humphrey William E. Miller Electoral vote 26 0 Popular vote 2,796,833 1,905,946 Percentage 59.47% 40.53% County Results Johnson   50-60%   60-70% ...

 

Katholische Pfarrkirche St. Viktor, von Süden Fächerfenster Die katholische Pfarrkirche St. Viktor in Oberbreisig, einem Stadtteil von Bad Breisig im Landkreis Ahrweiler in Rheinland-Pfalz, wurde in der Mitte des 13. Jahrhunderts im rheinischen Übergangsstil von der Spätromanik zur frühen Gotik errichtet. Sie ist dem heiligen Viktor von Xanten geweiht, einem Märtyrer der Thebäischen Legion. Die Kirche besitzt Wandmalereien aus dem 13. bis 16. Jahrhundert. Die Kirche gehört z...

チェルニーヒウのブレッドラインへの攻撃 チェルニーヒウ包囲戦(2022年ロシアのウクライナ侵攻)中 攻撃で死亡した市民場所  ウクライナ・チェルニーヒウ日付 2022年3月16日10時00分頃 (UTC+2)標的 市民死亡者 14人[1]犯人  ロシア軍テンプレートを表示 チェルニーヒウのブレッドラインへの攻撃(チェルニーヒウのブレッドラインへのこうげき)は、ロシアの...

 

SejongnoSejong-ro dilihat dari sebelah selatan, tepat di perempatan pejalan kakiNama KoreaHangul세종로 Hanja世宗路 Alih AksaraSejongnoMcCune–ReischauerSejongno Sejongno (Hangul: 세종로; Hanja: 世宗路), dikenal pula sebagai Sejong-ro, adalah sebuah jalan yang membentang melewati Jongno-gu di tengah kota Seoul. Jalan ini dinamai dari Raja Sejong yang Agung dari Joseon. Jalan ini memiliki panjang 600 meter, tetapi karena lokasinya di pusat, jalan ini merupakan...

 

كرستون   الإحداثيات 41°55′51″N 88°57′56″W / 41.9308°N 88.9656°W / 41.9308; -88.9656  تقسيم إداري  البلد الولايات المتحدة[1]  التقسيم الأعلى مقاطعة أوغل، إلينوي  خصائص جغرافية  المساحة 1.13 ميل مربع  ارتفاع 906 قدم  عدد السكان  عدد السكان 627 (1 أبريل 2020)[2]662 (1 أ

River in the United States of America View of Three Mile River in winter 1893 Map of Three Mile River The Three Mile River or Threemile River[1] is a river in Bristol County, Massachusetts. It is formed by the junction of the Rumford and Wading rivers in the town of Norton.[2] It flows in a southeasterly direction for 13.5 miles (21.7 km)[3] through the towns of Norton, Taunton and Dighton, where it joins the Taunton River.[4] On August 25, 2008, the Three...

 

County in northern Croatia County in CroatiaKrapina-Zagorje County Krapinsko-zagorska županijaCounty FlagCoat of armsKrapina-Zagorje County within CroatiaCountryCroatiaCounty seatKrapinaGovernment • ŽupanŽeljko Kolar (SDP) • Assembly 41 members • SDP, HNS, HSU, HL (24)• HDZ, HSP AS, HSS, ZDS (17) Area[1] • Total1,229 km2 (475 sq mi)Population (2011)[2] • Total132,892 • Density110/km2 (280/sq...

 

Coalition of political parties which contested the 1990 Nicaraguan general election For the earlier coalition of this name, see National Opposition Union (1966). Not to be confused with the National Opposing Union. This article has an unclear citation style. The references used may be made clearer with a different or consistent style of citation and footnoting. (March 2021) (Learn how and when to remove this template message) The UNO flag National Opposition Union (Spanish: Unión Nacional Op...

Ramos das Forças Públicas do Panamá. Forças Públicas do Panamá (em castelhano: Fuerza Pública de la República de Panamá) é a instituição responsável pela manutenção da paz e da segurança dentro do território nacional do Panamá. O Panamá é o segundo país (o outro sendo a Costa Rica) no continente americano que não detém uma força armada regular; as suas antigas forças armadas foram abolidas graças a uma emenda na constituição do país, aprovada pelo parlamento em 19...

 

Woezer SeeWoezer SeeLocationLudwigslust-Parchim, Mecklenburg-VorpommernCoordinates53°34′54″N 11°04′56″E / 53.58164°N 11.08213°E / 53.58164; 11.08213Primary inflowsSchildePrimary outflowsSchilde, DüsterbeckBasin countriesGermanyMax. length1.342 km (0.834 mi)Max. width0.686 km (0.426 mi)Surface area0.57 km2 (0.22 sq mi)Average depth1.1 m (3 ft 7 in)Max. depth1.6 m (5 ft 3 in)Water volume61...

 

1990 Danish filmSirupDirected byHelle RyslingeCinematographyDirk BrüelMusic byPeer RabenRelease date 1990 (1990) CountryDenmark Sirup is a 1990 Danish drama film written and directed by Helle Ryslinge.[1] It was entered into the main competition at the 47th Venice International Film Festival.[2] Plot Lasse Jager, a salesman at a Danish convenience store, decides to move to the fictional village of Raker, Minnesota, home to a large Danish diaspora. Lasse meets and marries...

American basketball player For other people with similar names, see Chuck Williams (disambiguation). Chuckie WilliamsWilliams from the 1976 Royal PurplePersonal informationBorn (1953-12-31) December 31, 1953 (age 69)Columbus, OhioNationalityAmericanListed height6 ft 3 in (1.91 m)Listed weight180 lb (82 kg)Career informationHigh schoolEast (Columbus, Ohio)CollegeKansas State (1972–1976)NBA draft1976: 1st round, 15th overall pickSelected by the Cleveland Cavalier...

 

You can help expand this article with text translated from the corresponding article in Dutch. (June 2012) Click [show] for important translation instructions. View a machine-translated version of the Dutch article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia. ...

 

For 11th-century Abbasid prince, see al-Ghalib. Moroccan Saadi Dynasty ruler from 1557 to 1574 Abdallah al-Ghalibعبد الله الغالبSultan of MoroccoReign1557 – 1574PredecessorMohammed al-ShaykhSuccessorAbu Abdallah MohammedBornc. 1517Marrakesh Morocco Saadi SultanateDied22 January 1574 (aged 56–57)Marrakesh Morocco Saadi SultanateBurialJanuary 1574Saadian TombsIssueAbu Abdallah Mohammed II SaadiNamesAbdallah al-Ghalib bin Mohammed al-ShaykhEra dates16th CenturyHouseSaadi D...

Secondary airport serving Istanbul, Turkey Istanbul Sabiha Gökçen International Airportİstanbul Sabiha Gökçen Uluslararası HavalimanıIATA: SAWICAO: LTFJSummaryAirport typePublicOwnerHEAŞ (Airport Management & Aeronautical Industries Inc)OperatorMalaysia AirportsServesIstanbul, TurkeyLocationPendik, IstanbulOpened8 January 2001; 22 years ago (2001-01-08)Hub for AnadoluJet Pegasus Airlines Time zoneTRT (UTC+3)Elevation AMSL312 ft / 95 mCoordinates40...

 

Latvian politician Pēteris Juraševskis8th Prime Minister of Latvia8th Prime Minister of the 1st RepublicIn office24 January 1928 – 30 November 1928PresidentGustavs ZemgalsPreceded byMarģers SkujenieksSucceeded byHugo Celmiņš Personal detailsBorn(1872-04-04)4 April 1872Sesava parish, Russian EmpireDied10 January 1945(1945-01-10) (aged 72)Jelgava, Latvian SSRPolitical partyDemocratic CentreAlma materSaint Petersburg Imperial UniversityProfessionLawyer Pēteris Juraševskis ...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!