<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Taxicab_geometry</id>
	<title>Taxicab geometry - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Taxicab_geometry"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Taxicab_geometry&amp;action=history"/>
	<updated>2026-06-02T21:05:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Taxicab_geometry&amp;diff=255154&amp;oldid=prev</id>
		<title>38.210.0.65 at 16:42, 23 September 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Taxicab_geometry&amp;diff=255154&amp;oldid=prev"/>
		<updated>2025-09-23T16:42:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Type of metric geometry}}&lt;br /&gt;
[[File:Manhattan distance.svg|thumb|upright=1.2|In taxicab geometry, the lengths of the red, blue, green, and yellow paths all equal {{math|12}}, the taxicab distance between the opposite corners, and all four paths are shortest paths. Instead, in Euclidean geometry, the red, blue, and yellow paths still have length {{math|12}} but the green path is the unique shortest path, with length equal to the Euclidean distance between the opposite corners, {{math|6√2 ≈ 8.49}}.]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Taxicab geometry&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Manhattan geometry&amp;#039;&amp;#039;&amp;#039; is [[geometry]] where the familiar [[Euclidean distance]] is ignored, and the [[distance]] between two [[point (geometry)|points]] is instead defined to be the sum of the [[absolute difference]]s of their respective [[Cartesian coordinate]]s, a distance function (or [[Metric (mathematics)|metric]]) called the &amp;#039;&amp;#039;taxicab distance&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Manhattan distance&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;city block distance&amp;#039;&amp;#039;. The name refers to the island of [[Manhattan]], or generically any planned city with a [[rectangular grid]] of streets, in which a taxicab can only travel along grid directions. In taxicab geometry, the distance between any two points equals the length of their shortest grid path. This different definition of distance also leads to a different definition of the length of a curve, for which a [[line segment]] between any two points has the same length as a grid path between those points rather than its Euclidean length.&lt;br /&gt;
&lt;br /&gt;
The taxicab distance is also sometimes known as &amp;#039;&amp;#039;rectilinear distance&amp;#039;&amp;#039; or {{math|&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}} distance (see [[Lp space|&amp;#039;&amp;#039;L&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt;&amp;#039;&amp;#039; space]]).&amp;lt;ref&amp;gt;{{cite web |last=Black |first=Paul E. |title=Manhattan distance |url=https://xlinux.nist.gov/dads/HTML/manhattanDistance.html |access-date=October 6, 2019 |work=Dictionary of Algorithms and Data Structures}}&amp;lt;/ref&amp;gt; This geometry has been used in [[regression analysis]] since the 18th century, and is often referred to as [[Lasso (statistics)|LASSO]]. Its geometric interpretation dates to [[non-Euclidean geometry]] of the 19th century and is due to [[Hermann Minkowski]].&lt;br /&gt;
&lt;br /&gt;
In the two-[[dimension]]al [[real coordinate space]] &amp;lt;math&amp;gt;\R^2&amp;lt;/math&amp;gt;, the taxicab distance between two points &amp;lt;math&amp;gt;(x_1, y_1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(x_2, y_2)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\left|x_1 - x_2\right| + \left|y_1 - y_2\right|&amp;lt;/math&amp;gt;. That is, it is the sum of the [[absolute value]]s of the differences in both coordinates.&lt;br /&gt;
&lt;br /&gt;
== Formal definition ==&lt;br /&gt;
The taxicab distance, &amp;lt;math&amp;gt;d_\text{T}&amp;lt;/math&amp;gt;, between two points &amp;lt;math&amp;gt;\mathbf{p} = (p_1, p_2, \dots, p_n) \text{ and } \mathbf{q} = (q_1, q_2, \dots, q_n)&amp;lt;/math&amp;gt; in an &amp;#039;&amp;#039;n&amp;#039;&amp;#039;-dimensional [[real coordinate space]] with fixed [[Cartesian coordinate system]], is the sum of the lengths of the projections of the [[line segment]] between the points onto the [[coordinate axes]].  More formally,&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;d_\text{T}(\mathbf{p}, \mathbf{q}) = \left\|\mathbf{p} - \mathbf{q}\right\|_\text{T} = \sum_{i=1}^n \left|p_i - q_i\right|&amp;lt;/math&amp;gt;For example, in &amp;lt;math&amp;gt;\mathbb{R}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;, the taxicab distance between &amp;lt;math&amp;gt;\mathbf{p} = (p_1,p_2)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{q} = (q_1,q_2)&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\left| p_1 - q_1 \right| + \left| p_2 - q_2 \right|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The &amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; metric was used in [[regression analysis]], as a measure of [[goodness of fit]], in 1757 by [[Roger Joseph Boscovich]].&amp;lt;ref name=&amp;quot;Stigler19862&amp;quot;&amp;gt;{{cite book |last=Stigler |first=Stephen M. |url=https://archive.org/details/historyofstatist00stig |title=The History of Statistics: The Measurement of Uncertainty before 1900 |publisher=Harvard University Press |year=1986 |isbn=9780674403406 |access-date=October 6, 2019 |url-access=registration}}&amp;lt;/ref&amp;gt; The interpretation of it as a distance between points in a geometric space dates to the late 19th century and the development of [[non-Euclidean geometries]]. Notably it appeared in 1910 in the works of both [[Frigyes Riesz]] and [[Hermann Minkowski]]. The formalization of [[Lp space|&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;p&amp;lt;/sup&amp;gt; spaces]], which include taxicab geometry as a special case, is credited to Riesz.&amp;lt;ref&amp;gt;{{cite journal |last=Riesz |first=Frigyes |author-link=Frigyes Riesz |year=1910 |title=Untersuchungen über Systeme integrierbarer Funktionen |url=https://zenodo.org/record/2456593 |journal=Mathematische Annalen |language=de |volume=69 |issue=4 |pages=449–497 |doi=10.1007/BF01457637 |hdl-access=free |hdl=10338.dmlcz/128558 |s2cid=120242933}}&amp;lt;/ref&amp;gt; In developing the [[geometry of numbers]], [[Hermann Minkowski]] established his [[Minkowski inequality]], stating that these spaces define [[normed vector space]]s.&amp;lt;ref&amp;gt;{{cite book |last=Minkowski |first=Hermann |url=https://archive.org/details/geometriederzahl00minkrich |title=Geometrie der Zahlen |publisher=R. G. Teubner |year=1910 |location=Leipzig and Berlin |language=de |jfm=41.0239.03 |mr=0249269 |author-link=Hermann Minkowski |access-date=October 6, 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The name &amp;#039;&amp;#039;taxicab geometry&amp;#039;&amp;#039; was introduced by [[Karl Menger]] in a 1952 booklet &amp;#039;&amp;#039;You Will Like Geometry&amp;#039;&amp;#039;, accompanying a geometry exhibit intended for the general public at the [[Museum of Science and Industry (Chicago)|Museum of Science and Industry]] in Chicago.&amp;lt;ref&amp;gt;{{citation |mode=cs1 |last=Menger |first=Karl |title= You Will Like Geometry. A Guide Book for the Illinois Institute of Technology Geometry Exhibition |year=1952 |publisher=Museum of Science and Industry |place=Chicago }} {{pb}} {{cite journal |last=Golland |first=Louise |year=1990 |title=Karl Menger and Taxicab Geometry |journal=Mathematics Magazine |volume=63 |number=5 |pages=326–327 |doi=10.1080/0025570x.1990.11977548}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
Thought of as an additional structure layered on [[Euclidean space]], taxicab distance depends on the [[Orientation (geometry)|orientation]] of the coordinate system and is changed by Euclidean [[rotation]] of the space, but is unaffected by [[translation (geometry)|translation]] or axis-aligned [[Reflection (mathematics)|reflection]]s. Taxicab geometry satisfies all of [[Hilbert&amp;#039;s axioms]] (a formalization of [[Euclidean geometry]]) except that the congruence of angles cannot be defined to precisely match the Euclidean concept, and under plausible definitions of congruent taxicab angles, the [[Congruence (geometry)#Determining congruence|side-angle-side axiom]] is not satisfied as in general triangles with two taxicab-congruent sides and a taxicab-congruent angle between them are  not [[Congruence (geometry)#Congruence of triangles|congruent triangles]].&lt;br /&gt;
&lt;br /&gt;
=== Spheres ===&lt;br /&gt;
[[File:Centered_octahedral_number_lattice.svg|thumb|left|3D balls of radii 1 (red) and 2 (blue) are [[regular octahedron]]s: the number of integer lattice points enclosed form the [[centered octahedral number]]s]]&lt;br /&gt;
[[File:TaxicabGeometryCircle.svg|thumb|upright=0.8|Grid points on a circle in taxicab geometry as the grid is made finer]]&lt;br /&gt;
&lt;br /&gt;
In any [[metric space]], a [[Sphere#Metric spaces|sphere]] is a set of points at a fixed distance, the &amp;#039;&amp;#039;[[radius]]&amp;#039;&amp;#039;, from a specific &amp;#039;&amp;#039;[[Centre (geometry)|center]]&amp;#039;&amp;#039; point. Whereas a Euclidean sphere is round and rotationally symmetric, under the taxicab distance, the shape of a sphere is a [[cross-polytope]], the &amp;#039;&amp;#039;n&amp;#039;&amp;#039;-dimensional generalization of a [[regular octahedron]], whose points &amp;lt;math&amp;gt;\mathbf{p}&amp;lt;/math&amp;gt; satisfy the equation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;d_\text{T}(\mathbf p, \mathbf c) = \sum_{i=1}^n |p_i - c_i| = r,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathbf{c}&amp;lt;/math&amp;gt; is the center and &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is the radius. Points &amp;lt;math&amp;gt;\mathbf{p}&amp;lt;/math&amp;gt; on the [[unit sphere]], a sphere of radius 1 centered at the [[origin (mathematics)|origin]], satisfy the equation &amp;lt;math display=inline&amp;gt;d_\text{T}(\mathbf p, \mathbf 0) = \sum_{i=1}^n |p_i| = 1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In two dimensional taxicab geometry, the sphere (called a &amp;#039;&amp;#039;[[circle]]&amp;#039;&amp;#039;) is a [[square]] oriented diagonally to the coordinate axes. The image to the right shows in red the set of all points on a square grid with a fixed distance from the blue center. As the grid is made finer, the red points become more numerous, and in the limit tend to a continuous tilted square. Each side has taxicab length 2&amp;#039;&amp;#039;r&amp;#039;&amp;#039;, so the [[circumference]] is 8&amp;#039;&amp;#039;r&amp;#039;&amp;#039;. Thus, in taxicab geometry, the value of the analog of the circle constant [[pi|π]], the ratio of circumference to [[diameter]], is equal to 4. &lt;br /&gt;
&lt;br /&gt;
A closed &amp;#039;&amp;#039;[[ball (mathematics)#In general metric spaces|ball]]&amp;#039;&amp;#039; (or closed &amp;#039;&amp;#039;[[disk (mathematics)|disk]]&amp;#039;&amp;#039; in the 2-dimensional case) is a filled-in sphere, the set of points at distance less than or equal to the radius from a specific center. For [[cellular automata]] on a square grid, a taxicab [[disk (mathematics)|disk]] is the [[von Neumann neighborhood]] of range &amp;#039;&amp;#039;r&amp;#039;&amp;#039; of its center.&lt;br /&gt;
&lt;br /&gt;
A circle of radius &amp;#039;&amp;#039;r&amp;#039;&amp;#039; for the [[Chebyshev distance]] ([[Lp space|L&amp;lt;sub&amp;gt;∞&amp;lt;/sub&amp;gt; metric]]) on a plane is also a square with side length 2&amp;#039;&amp;#039;r&amp;#039;&amp;#039; parallel to the coordinate axes, so planar Chebyshev distance can be viewed as equivalent by rotation and scaling to planar taxicab distance. However, this equivalence between L&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and L&amp;lt;sub&amp;gt;∞&amp;lt;/sub&amp;gt; metrics does not generalize to higher dimensions.&lt;br /&gt;
&lt;br /&gt;
Whenever each pair in a collection of these circles has a nonempty intersection, there exists an intersection point for the whole collection; therefore, the Manhattan distance forms an [[injective metric space]].&lt;br /&gt;
&lt;br /&gt;
=== Arc length ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;y = f(x)&amp;lt;/math&amp;gt; be a [[Differentiable function|continuously differentiable]] function. Let &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; be the taxicab [[arc length]] of the [[graph of a function|graph]] of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; on some interval &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt;. Take a [[partition of an interval|partition]] of the interval into equal infinitesimal subintervals, and let &amp;lt;math&amp;gt;\Delta s_i&amp;lt;/math&amp;gt; be the taxicab length of the &amp;lt;math&amp;gt;i^{\text{th}}&amp;lt;/math&amp;gt; subarc.  Then&amp;lt;ref&amp;gt;{{Cite book |last=Heinbockel |first=J.H. |title=Introduction to Calculus Volume II |publisher=Old Dominion University |year=2012 |pages=54–55}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\Delta s_i = \Delta x_i + \Delta y_i = \Delta x_i+ |f(x_i) - f(x_{i-1})|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By the [[mean value theorem]], there exists some point &amp;lt;math&amp;gt;x^*_i&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;x_i &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{i-1} &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f(x_i) - f(x_{i-1}) = f&amp;#039;(x^*_i)dx_i&amp;lt;/math&amp;gt;.&amp;lt;ref&amp;gt;{{Cite journal |last=Penot |first=J.P. |date=1988-01-01 |title=On the mean value theorem |url=https://doi.org/10.1080/02331938808843330 |journal=Optimization |volume=19 |issue=2 |pages=147–156 |doi=10.1080/02331938808843330 |issn=0233-1934}}&amp;lt;/ref&amp;gt;  Then the previous equation can be written&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\Delta s_i = \Delta x_i + |f&amp;#039;(x^*_i)|\Delta x_i = \Delta x_i(1+|f&amp;#039;(x^*_i)|).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then &amp;lt;math&amp;gt;s &amp;lt;/math&amp;gt; is given as the sum of every partition of &amp;lt;math&amp;gt;s &amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; as they get [[Arbitrarily large|arbitrarily small]].[[File:Three_monotone_increasing_or_decreasing_curves_with_same_endpoints.png|thumb|Curves defined by monotone increasing or decreasing functions have the same taxicab arc length as long as they share the same endpoints.]]&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{align}&lt;br /&gt;
s &amp;amp;= \lim_{n \to \infty} \sum_{i=1}^{n} \Delta x_i(1+|f&amp;#039;(x^*_i)|) \\&lt;br /&gt;
&amp;amp; = \int_a^b 1+|f&amp;#039;(x)| \,dx&lt;br /&gt;
\end{align} &amp;lt;/math&amp;gt;&lt;br /&gt;
To test this, take the taxicab circle of [[radius]] &amp;lt;math&amp;gt;r &amp;lt;/math&amp;gt; centered at the origin. Its curve in the first [[Quadrant (plane geometry)|quadrant]] is given by &amp;lt;math&amp;gt;f(x)=-x+r &amp;lt;/math&amp;gt; whose length is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;s = \int_0^r 1+|-1|dx = 2r &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Multiplying this value by &amp;lt;math&amp;gt;4 &amp;lt;/math&amp;gt; to account for the remaining quadrants gives &amp;lt;math&amp;gt;8r &amp;lt;/math&amp;gt;, which agrees with the [[circumference]] of a taxicab circle.&amp;lt;ref&amp;gt;{{Cite conference |last1=Petrović |first1=Maja |last2=Malešević |first2=Branko |last3=Banjac |first3=Bojan |last4=Obradović |first4=Ratko |year=2014 |title=Geometry of some taxicab curves |conference= 4th International Scientific Conference on Geometry and Graphics |publisher=Serbian Society for Geometry and Graphics, University of Niš, Srbija |arxiv=1405.7579}}&amp;lt;/ref&amp;gt; Now take the [[Euclidean geometry|Euclidean]] circle of radius &amp;lt;math&amp;gt;r &amp;lt;/math&amp;gt; centered at the origin, which is given by &amp;lt;math&amp;gt;f(x) = \sqrt{r^2-x^2} &amp;lt;/math&amp;gt;. Its arc length in the first quadrant is given by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{align}&lt;br /&gt;
s &amp;amp;= \int_0^r 1 + \left|\frac{-x}{\sqrt{r^2 - x^2}}\right|dx\\&lt;br /&gt;
&amp;amp;= \left.x + \sqrt{r^2-x^2} \right|_0^r \\&lt;br /&gt;
&amp;amp;= r-(-r)\\&lt;br /&gt;
&amp;amp;= 2r&lt;br /&gt;
\end{align} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Accounting for the remaining quadrants gives &amp;lt;math&amp;gt;4 \times 2r = 8r &amp;lt;/math&amp;gt; again. Therefore, the [[circumference]] of the taxicab circle and the [[Euclidean geometry|Euclidean]] circle in the taxicab [[Metric space|metric]] are equal.&amp;lt;ref&amp;gt;{{Cite thesis |last=Kemp |first=Aubrey |year=2018 |type=PhD thesis |title=Generalizing and Transferring Mathematical Definitions from Euclidean to Taxicab Geometry |publisher=Georgia State University |doi=10.57709/12521263 |doi-access=free }}&amp;lt;/ref&amp;gt; In fact, for any function &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; that is monotonic and [[Differentiable function|differentiable]] with a continuous [[derivative]] over an interval &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt;, the arc length of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; over &amp;lt;math&amp;gt;[a, b]&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;(b-a) + \mid f(b)-f(a) \mid&amp;lt;/math&amp;gt;.&amp;lt;ref&amp;gt;{{Cite journal |last=Thompson |first=Kevin P. |year=2011 |title=The Nature of Length, Area, and Volume in Taxicab Geometry |journal= International Electronic Journal of Geometry |volume=4 |number=2 |pages=193–207 |url=https://dergipark.org.tr/en/pub/iejg/issue/47488/599514 |arxiv=1101.2922}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Triangle congruence ===&lt;br /&gt;
[[File:Congruencetriangletaxicab.png|thumb|Two taxicab right isoceles triangles. Three angles and two legs are congruent, but the triangles are not congruent. Therefore, ASASA is not a congruence theorem in taxicab geometry.]]&lt;br /&gt;
&lt;br /&gt;
Two triangles are congruent if and only if three corresponding sides are equal in distance and three corresponding angles are equal in measure. There are several theorems that guarantee [[Congruence (geometry)|triangle congruence]] in Euclidean geometry, namely Angle-Angle-Side (AAS), Angle-Side-Angle (ASA), Side-Angle-Side (SAS), and Side-Side-Side (SSS). In taxicab geometry, however, only SASAS guarantees triangle congruence.&amp;lt;ref&amp;gt;{{Cite journal |last=Mironychev |first=Alexander |date=2018 |title=SAS and SSA Conditions for Congruent Triangles |journal=Journal of Mathematics and System Science |volume=8 |issue=2 |pages=59–66}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Take, for example, two right isosceles taxicab triangles whose angles measure 45-90-45. The two legs of both triangles have a taxicab length 2, but the [[hypotenuse]]s are not congruent. This counterexample eliminates AAS, ASA, and SAS. It also eliminates AASS, AAAS, and even ASASA. Having three congruent angles and two sides does not guarantee triangle congruence in taxicab geometry. Therefore, the only triangle congruence theorem in taxicab geometry is SASAS, where all three corresponding sides must be congruent and at least two corresponding angles must be congruent.&amp;lt;ref&amp;gt;{{Cite journal |last1=THOMPSON |first1=KEVIN |last2=DRAY |first2=TEVIAN |title=Taxicab Angles and Trigonometry |date=2000 |url=https://www.jstor.org/stable/24340535 |journal=Pi Mu Epsilon Journal |volume=11 |issue=2 |pages=87–96 |jstor=24340535 |issn=0031-952X}}&amp;lt;/ref&amp;gt; This result is mainly due to the fact that the length of a line segment depends on its orientation in taxicab geometry.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
=== Compressed sensing ===&lt;br /&gt;
In solving an [[underdetermined system]] of linear equations, the [[Regularization (mathematics)|regularization]] term for the parameter vector is expressed in terms of the &amp;lt;math&amp;gt;\ell_1&amp;lt;/math&amp;gt; norm (taxicab geometry) of the vector.&amp;lt;ref&amp;gt;{{cite journal |last=Donoho |first=David L. |date=March 23, 2006 |title=For most large underdetermined systems of linear equations the minimal &amp;lt;math&amp;gt;\ell_1&amp;lt;/math&amp;gt;-norm solution is also the sparsest solution |journal=Communications on Pure and Applied Mathematics |volume=59 |issue=6 |pages=797–829 |doi=10.1002/cpa.20132|s2cid=8510060 }}&amp;lt;/ref&amp;gt; This approach appears in the signal recovery framework called [[compressed sensing]].&lt;br /&gt;
&lt;br /&gt;
=== Differences of frequency distributions ===&lt;br /&gt;
Taxicab geometry can be used to assess the differences in discrete frequency distributions. For example, in [[RNA splicing]] positional distributions of [[hexamers]], which plot the probability of each hexamer appearing at each given [[nucleotide]] near a splice site, can be compared with L1-distance. Each position distribution can be represented as a vector where each entry represents the likelihood of the hexamer starting at a certain nucleotide. A large L1-distance between the two vectors indicates a significant difference in the nature of the distributions while a small distance denotes similarly shaped distributions. This is equivalent to measuring the area between the two distribution curves because the area of each segment is the absolute difference between the two curves&amp;#039; likelihoods at that point. When summed together for all segments, it provides the same measure as L1-distance.&amp;lt;ref name=&amp;quot;lim2&amp;quot;&amp;gt;{{cite journal |last1=Lim |first1=Kian Huat |last2=Ferraris |first2=Luciana |last3=Filloux |first3=Madeleine E. |last4=Raphael |first4=Benjamin J. |last5=Fairbrother |first5=William G. |date=July 5, 2011 |title=Using positional distribution to identify splicing elements and predict pre-mRNA processing defects in human genes |journal=Proceedings of the National Academy of Sciences of the United States of America |volume=108 |issue=27 |pages=11093–11098 |bibcode=2011PNAS..10811093H |doi=10.1073/pnas.1101135108 |pmc=3131313 |pmid=21685335 |doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
[[File:Minkowski_distance_examples.svg|thumb|Comparison of Chebyshev, Euclidean and taxicab distances for the hypotenuse of a 3-4-5 triangle on a chessboard]]&lt;br /&gt;
* [[Chebyshev distance]]&lt;br /&gt;
* [[Hamming distance]] – The number of differing bits between two strings of binary digits&lt;br /&gt;
* [[Lee distance]]&lt;br /&gt;
* {{annotated link|Orthogonal convex hull}}&lt;br /&gt;
* [[Staircase paradox]] – The paradox that the limit of the lengths of finer and finer &amp;quot;staircase curves&amp;quot; does not tend to the length of the diagonal line segment the curves tend towards&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
* {{cite book |last=Gardner |first=Martin |author-link=Martin Gardner |year=1997 |title=The Last Recreations |publisher=Copernicus |chapter=10. Taxicab Geometry |pages=159–176 |isbn=0-387-94929-1 |chapter-url=https://archive.org/details/springer_10.1007-978-0-387-30389-5/page/n164/ }}&lt;br /&gt;
* {{cite book |last=Krause |first=Eugene F. |title=Taxicab Geometry |publisher=Addison-Wesley |year=1975 |isbn=0201039346 }} Reprinted by Dover (1986), {{isbn|0-486-25202-7}}.&lt;br /&gt;
* {{cite news |last1=Strogatz |first1=Steven |author1-link=Steven Strogatz |title=Taxicab Geometry |url=https://www.nytimes.com/interactive/2025/06/09/science/math-strogatz-taxi-geometry.html |work=[[The New York Times]] |date=2025-06-09}}&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* {{mathworld |title=Taxicab Metric |urlname=TaxicabMetric}}&lt;br /&gt;
* {{cite web |last=Malkevitch |first=Joe |date=October 1, 2007 |title=Taxi! |url=http://www.ams.org/publicoutreach/feature-column/fcarc-taxi |access-date=October 6, 2019 |work=American Mathematical Society}}&lt;br /&gt;
* [https://math.stackexchange.com/q/4365387/29780 Taxicab metric with stoplights]&lt;br /&gt;
&lt;br /&gt;
{{Lp spaces}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Digital geometry]]&lt;br /&gt;
[[Category:Distance]]&lt;br /&gt;
[[Category:Mathematical chess problems]]&lt;br /&gt;
[[Category:Metric geometry]]&lt;br /&gt;
[[Category:Norms (mathematics)]]&lt;/div&gt;</summary>
		<author><name>38.210.0.65</name></author>
	</entry>
</feed>