Skip to main content

Manhattan Distance

  • Reference work entry
  • First Online:
Encyclopedia of Machine Learning and Data Mining

Synonyms

City block distance; L1-distance; 1-norm distance; Taxicab norm distance

Definition

The Manhattan distance between two points x = (x1, x2, … x n ) and y = (y1, y2, … y n ) in n-dimensional space is the sum of the distances in each dimension:

$$\displaystyle{d(\mathbf{x,y}) =\sum _{ i=1}^{n}\mid x_{ i} - y_{i}\mid }$$

It is called the Manhattan distance because it is the distance a car would drive in a city (e.g., Manhattan) where the buildings are laid out in square blocks and the straight streets intersect at right angles. This explains the other terms city block and taxicab distances. The terms L1 and 1-norm distances are the mathematical descriptions of this distance.

Cross-References

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 699.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 949.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Susan Craw .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer Science+Business Media New York

About this entry

Cite this entry

Craw, S. (2017). Manhattan Distance. In: Sammut, C., Webb, G.I. (eds) Encyclopedia of Machine Learning and Data Mining. Springer, Boston, MA. https://doi.org/10.1007/978-1-4899-7687-1_511

Download citation

Publish with us

Policies and ethics