Geometry

Taxicab Distance

Classmates move a miniature taxi through a model street grid.

Taxicab Distance definition

Taxicab distance is the sum of the absolute coordinate differences between two points.

In Spanish
distancia del taxista
Topic
Coordinate geometry

Taxicab Distance in a picture

Taxicab Distance diagramA trip four blocks east and three blocks north has taxicab distance seven.4 horizontal + 3 vertical = 7
A trip four blocks east and three blocks north has taxicab distance seven.

How it works

In a plane the formula is |x₂ − x₁| + |y₂ − y₁|. Think of an unobstructed street grid that permits horizontal and vertical travel. Every shortest path uses the same total horizontal and vertical movement, even if it turns at different corners.

Worked examples

Find the distance from (0, 0) to (4, 3).

|4| + |3| = 7.

Find it from (−2, 5) to (1, 1).

|1 − (−2)| + |1 − 5| = 3 + 4 = 7.

Find it from (2, 3) to (2, −2).

The horizontal difference is zero. The distance is 5.

Common mistake

Take the absolute value of each difference before adding. Opposite directions cannot cancel.

Quick check

What is another name for it?

Show answer

Manhattan distance.

What movement is allowed in the grid model?

Show answer

Horizontal and vertical movement.

From (0, 0) to (1, 1), what is it?

Show answer

2.

Sources

Flashcard

Taxicab Distance

Reveal the definition

Taxicab distance is the sum of the absolute coordinate differences between two points.

Effortless Math. “Taxicab Distance.” Math Dictionary.