Appendix 3

TAXICAB GEOMETRY

 

If, in New York, you arrive late for an appointment, say, “I took a taxi.”

—Andre Maurois

 

 

 

Imagine a city laid out on a standard rectangular (Cartesian) grid, with blocks defined by equally spaced N-S and E-W roads (of course any directions will do as long as they are perpendicular). Thus to move from location P to location Q we must travel along these roads; we cannot generally move in a direct line from P to Q unless we happen to be a pigeon! Let’s compare some of the properties of this somewhat “constraining” geometry with the standard Euclidean one available for the pigeons. Find some graph paper and let’s get started!

Suppose for example that P is the point (1, 3), my office, and Q is the point (−2, −1), where Starbucks is located. We are of course assuming that the size of each business is small compared with a block distance, so that we can represent them by points. The Euclidean distance between them, dE (PQ) is readily computed from the distance formula:

image

(From now on we will drop the unit of distance “blocks”: it will be understood.) But of course, to arrive at Starbucks from my office I must travel either from P to A(−2, 3) and then to Q, or from P to B(1, −1) and then to Q. In each case the “taxicab” distance is given by

image

Clearly, dT(PQ) > dE(PQ) in this case. But inequalities between distances in one geometry are not necessarily preserved in the other. Consider, for example,

the Euclidean distances between (i) the points R(1,1) and S(3,3), and (ii) R(1,1) and T(−2, 1), which are, respectively,

image

However,

image

This non-Euclidean geometry, informally known as taxicab geometry (see [44]) is a form of geometry in which the usual measure of distance in Euclidean geometry is replaced by a new one in which the distance between two points is the sum of the (absolute) differences of their coordinates. This new measure of distance (or “metric”) is also sometimes known as the Manhattan distance; in the plane, the Manhattan distance between the point P1 with coordinates (x1, y1) and the point P2 at (x2, y2) is |x1x2| + |y1y2|. Taxicab geometry satisfies all Euclid’s axioms except for the side-angle-side axiom, because one can generate two triangles with two sides of the same length in this metric, and with the angle between them the same and yet they are not congruent. For more information on the sometimes surprising properties of this “urban geometry’, consult the delightful little book on this topic by Krause (1986).

Question: Is Pi equal to four?

Well, as they say, it all depends. . . . If we sketch the set of all points that are a unit Euclidean distance from a fixed point (the coordinate origin, without loss of generality), then we have the unit circle. If we do the same thing but in the taxicab “metric” as it is called, what shape do we get? A little thought, coupled with a sketch or two, reveals that we get a “diamond” shape, that is, a square with two vertices lying on the “y” axis and the other two on the “x” axis. This is a taxicab circle of unit radius! Now we are familiar with the definition of π as the circumference of a circle divided by its diameter. With the taxicab metric, the “length” of one side of our taxicab circle is two units, hence the circumference is eight units, and the diameter is two units, so, yes, the taxicab value of “taxicab π” is indeed four!

Of course, there are potentially an infinite number of distance metrics and corresponding “circles.” The metric (or formula) for the distance of a point (x, y) from the origin in Euclidean geometry is of course well known: image This is readily generalized for other positive integers n such that image The case for taxicab geometry corresponds to n = 1, for which image As n increases in value, the “circles” become more and more bulbous, as seen in Figure A3.1 for several values of n, and in the limit as n → ∞, the metric is defined to be d = max{|x|,|y|}. As can be seen from the figure, the unit circle for the d metric is a square with sides parallel to the coordinate axes.

image

Figure A3.1. Taxicab “circles” d1, d2, d4, and d.

Exercise 1: Mark the points A = (−2, −1) and B = (2, 2) on a piece of graph paper. Then sketch the locus of all points P such that dT(P, A) + dT(P, B) = 9. By analogy with the corresponding figure in Euclidean geometry provide a name for this figure.

Exercise 2: Mark the points A = (−3, −1) and B = (2, 2) on a piece of graph paper. Then sketch the locus of all points P such that |dT(P, A) − dT(P, B)| = 3. Again, by analogy with the corresponding figure in Euclidean geometry provide a name for this figure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.1.195