taxicab norm
   HOME

TheInfoList



OR:

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 coordinates. The taxicab metric is also known as rectilinear distance, ''L''1 distance, ''L''1 distance or \ell_1 norm (see ''Lp'' space), snake distance, city block distance, Manhattan distance or Manhattan length. The latter names refer to the rectilinear street layout on the island of Manhattan, where the shortest path a taxi travels between two points is the sum of the absolute values of distances that it travels on avenues and on streets. The geometry has been used in regression analysis since the 18th century, and is often referred to as LASSO. The geometric interpretation dates to non-Euclidean geometry of the 19th century and is due to
Hermann Minkowski Hermann Minkowski (; ; 22 June 1864 – 12 January 1909) was a German mathematician and professor at Königsberg, Zürich and Göttingen. He created and developed the geometry of numbers and used geometrical methods to solve problems in number t ...
. In \mathbb^2 , the taxicab distance between two points (x_1, y_1) and (x_2, y_2) is \left, x_1 - x_2\ + \left, y_1 - y_2\. That is, it is the sum of the absolute values of the differences in both coordinates.


Formal definition

The taxicab distance, d_\text, between two vectors \mathbf = (p_1, p_2, \dots, p_n) \text \mathbf = (q_1, q_2, \dots, q_n) in an ''n''-dimensional real vector space with fixed
Cartesian coordinate system 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 t ...
, is the sum of the lengths of the projections of the
line segment In geometry, a line segment is a part of a straight line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. The length of a line segment is given by the Euclidean distance between ...
between the points onto the
coordinate axes 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 t ...
. More formally,d_\text(\mathbf, \mathbf) = \left\, \mathbf - \mathbf\right\, _\text = \sum_^n \left, p_i - q_i\For example, in \mathbb^2 , the taxicab distance between \mathbf = (p_1,p_2) and \mathbf = (q_1,q_2) is \left, p_1 - q_1 \ + \left, p_2 - q_2 \.


History

The ''L''1 metric was used in regression analysis in 1757 by Roger Joseph Boscovich. The geometric interpretation dates to the late 19th century and the development of non-Euclidean geometries, notably by
Hermann Minkowski Hermann Minkowski (; ; 22 June 1864 – 12 January 1909) was a German mathematician and professor at Königsberg, Zürich and Göttingen. He created and developed the geometry of numbers and used geometrical methods to solve problems in number t ...
and his Minkowski inequality, of which this geometry is a special case, particularly used in the geometry of numbers, . The formalization of ''L''p spaces is credited to .


Properties

Taxicab distance depends on the
rotation Rotation, or spin, is the circular movement of an object around a '' central axis''. A two-dimensional rotating object has only one possible central axis and can rotate in either a clockwise or counterclockwise direction. A three-dimensional ...
of the coordinate system, but does not depend on its reflection about a coordinate axis or its translation. Taxicab geometry satisfies all of Hilbert's axioms (a formalization of Euclidean geometry) except for the side-angle-side axiom, as two triangles with equally "long" two sides and an identical angle between them are typically not congruent unless the mentioned sides are parallel.


Balls

A topological ball is a set of points with a fixed distance, called the '' radius'', from a point called the '' center''. In ''n''-dimensional Euclidean geometry, the balls are spheres. In taxicab geometry, distance is determined by a different metric than in Euclidean geometry, and the shape of the ball changes as well. In ''n'' dimensions, a taxicab ball is in the shape of an ''n''-dimensional orthoplex. In two dimensions, these are squares with sides oriented at a 45° angle to the coordinate axes. The image to the right shows why this is true, by showing in red the set of all points with a fixed distance from a center, shown in blue. As the size of the city blocks diminishes, the points become more numerous and become a rotated square in a continuous taxicab geometry. While each side would have length \sqrtr using a Euclidean metric, where ''r'' is the circle's radius, its length in taxicab geometry is 2''r''. Thus, a circle's circumference is 8''r''. Thus, the value of a geometric analog to \pi is 4 in this geometry. The formula for the unit circle in taxicab geometry is , x, + , y, = 1 in
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 t ...
andr = \fracin polar coordinates. A circle of radius 1 (using this distance) is the von Neumann neighborhood of its center. A circle of radius ''r'' for the Chebyshev distance ( L metric) on a plane is also a square with side length 2''r'' 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 L1 and L metrics does not generalize to higher dimensions. 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.


Arc Length

Let y = f(x) be a
continuously differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its ...
function in \mathbb^2. Let s be the taxicab arc length of the planar
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight. Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
defined by f on some interval ,b. Then the taxicab length of the i^ infinitesimal regular partition of the arc, \Delta s_i, is given by: \Delta s_i = \Delta x_i + \Delta y_i = \Delta x_i+ , f(x_i) - f(x_), By the
Mean Value Theorem In mathematics, the mean value theorem (or Lagrange theorem) states, roughly, that for a given planar arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant through its endpoints. It i ...
, there exists some point x^*_i between x_i and x_ such that f(x_i) - f(x_) = f'(x^*_i)dx_i. \Delta s_i = \Delta x_i + , f'(x^*_i), \Delta x_i = \Delta x_i(1+, f'(x^*_i), ) Then s is given as the sum of every partition of s on ,b/math> as they get
arbitrarily small In mathematics, the phrases arbitrarily large, arbitrarily small and arbitrarily long are used in statements to make clear of the fact that an object is large, small and long with little limitation or restraint, respectively. The use of "arbitrarily ...
.\begin s &= \lim_ \sum_^ \Delta x_i(1+, f'(x^*_i), ) \\ & = \int_^ 1+, f'(x), \,dx \end To test this, take the taxicab circle of radius r centered at the origin. Its curve in the first quadrant is given by f(x)=-x+r whose length is s = \int_^ 1+, -1, dx = 2r Multiplying this value by 4 to account for the remaining quadrants gives 8r , which agrees with the circumference of a taxicab circle. Now take the Euclidean circle of radius r centered at the origin, which is given by f(x) = \sqrt . Its arc length in the first quadrant is given by \begin s &= \int_^ 1+, x\sqrt, dx\\ &= x+\sqrt \bigg, ^_\\ &= r-(-r)\\ &= 2r \end Accounting for the remaining quadrants gives 4 \times 2r = 8r again. Therefore, the circumference of the taxicab circle and the Euclidean circle in the taxicab metric are equal. In fact, for any function f that is monotonic and differentiable with a continuous derivative over an interval ,b/math>, the arc length of f over
, b The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline o ...
/math> is (b-a) + \mid f(b)-f(a) \mid.


Triangle Congruence

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 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. Take, for example, two right isosceles taxicab triangles whose angles measure 45-90-45. The two legs of both triangles have taxilength 2, but the hypotenuses 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. This result is mainly due to the fact that the length of a line segment depends on its orientation in taxicab geometry.


Applications


Compressed sensing

In solving an underdetermined system of linear equations, the
regularization Regularization may refer to: * Regularization (linguistics) * Regularization (mathematics) * Regularization (physics) * Regularization (solid modeling) * Regularization Law, an Israeli law intended to retroactively legalize settlements See also ...
term for the parameter vector is expressed in terms of the \ell_1 norm (taxicab geometry) of the vector. This approach appears in the signal recovery framework called compressed sensing.


Differences of frequency distributions

Taxicab geometry can be used to assess the differences in discrete frequency distributions. For example, in
RNA splicing RNA splicing is a process in molecular biology where a newly-made precursor messenger RNA (pre-mRNA) transcript is transformed into a mature messenger RNA (mRNA). It works by removing all the introns (non-coding regions of RNA) and ''splicing'' b ...
positional distributions of
hexamers In chemistry and biochemistry, an oligomer () is a molecule that consists of a few repeating units which could be derived, actually or conceptually, from smaller molecules, monomers.Quote: ''Oligomer molecule: A molecule of intermediate relative ...
, 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' likelihoods at that point. When summed together for all segments, it provides the same measure as L1-distance.


See also

* * * * * * * * *


External links

* * * * *


References

{{Reflist Digital geometry Metric geometry Mathematical chess problems Norms (mathematics) Distance