# Taxicab geometry

## Type of metric geometry / From Wikipedia, the free encyclopedia

#### Dear Wikiwand AI, let's keep it short by simply answering these key questions:

Can you list the top facts and stats about Taxicab distance?

Summarize this article for a 10 years old

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 *L ^{p}* space), snake distance, city block distance, Manhattan distance or Manhattan length.[1] 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.

In $\mathbb {R} ^{2}$, the taxicab distance between two points $(x_{1},y_{1})$ and $(x_{2},y_{2})$ is $\left|x_{1}-x_{2}\right|+\left|y_{1}-y_{2}\right|$. That is, it is the sum of the absolute values of the differences in both coordinates.