ChessboardDistance[u,v]
gives the chessboard, Chebyshev, or sup norm distance between vectors u and v.


ChessboardDistance
ChessboardDistance[u,v]
gives the chessboard, Chebyshev, or sup norm distance between vectors u and v.
Details

- Chessboard distance is effectively the maximum difference across all dimensions.
- ChessboardDistance[u,v] is equivalent to Max[Abs[u-v]]. »
Examples
open all close allBasic Examples (2)
Scope (2)
Properties & Relations (5)
Chessboard distance is the maximum of absolute differences:
Demonstrate the triangle inequality:
ChessboardDistance is equivalent to a Norm of a difference:
ChessboardDistance is less than or equal to ManhattanDistance:
ChessboardDistance is less than or equal to EuclideanDistance:
Tech Notes
Related Guides
History
Text
Wolfram Research (2007), ChessboardDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/ChessboardDistance.html.
CMS
Wolfram Language. 2007. "ChessboardDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ChessboardDistance.html.
APA
Wolfram Language. (2007). ChessboardDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChessboardDistance.html
BibTeX
@misc{reference.wolfram_2025_chessboarddistance, author="Wolfram Research", title="{ChessboardDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ChessboardDistance.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_chessboarddistance, organization={Wolfram Research}, title={ChessboardDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/ChessboardDistance.html}, note=[Accessed: 08-August-2025]}