Two robot-position errors can exchange their order when the distance rule changes. That does not require noise, numerical instability, or a faulty nearest-neighbor implementation. A norm defines what size means for a vector. Summed component magnitude, straight-line magnitude, and the largest component encode different objectives. Before comparing error scores, the coordinate units, axis directions, and norm must all be declared.
Use an invented two-dimensional Cartesian error e = (x, y), with both components measured in the same length unit. The L1 norm is |x| + |y|. The L2 norm is sqrt(x^2 + y^2). The maximum, or L-infinity, norm is max(|x|, |y|). NumPy's official reference distinguishes these vector norms from matrix norms, while SciPy documents the unweighted city-block distance between vectors. The calculations here are independent examples; neither library was executed.
A ranking reversal with two candidates
Let candidate A have error (3, 0) and candidate B have error (2, 2). Their L1 magnitudes are 3 and 4, so A is smaller under a summed absolute-error objective. Their L2 magnitudes are 3 and sqrt(8), approximately 2.828427125, so B is smaller under Euclidean distance. Their maximum norms are 3 and 2, again favoring B.
These comparisons answer different questions. A concentrates its error on one axis, whereas B distributes error over both. Penalizing every component additively makes B's two contributions accumulate. Measuring straight-line displacement combines them quadratically. Limiting the largest coordinate only asks which candidate has the worse single component. No universal ranking follows without first choosing the intended objective.
An acceptance threshold changes shape
Apply a numerical threshold of one to each norm. The L1 acceptance region is the diamond |x| + |y| <= 1, with vertices on the coordinate axes. The L2 region is the disk x^2 + y^2 <= 1. The maximum-norm region is the axis-aligned square -1 <= x <= 1 and -1 <= y <= 1.
Their areas are 2, pi, and 4 square units respectively. Thus an identical scalar threshold does not define an identical physical region. The point (0.8, 0.8) passes the maximum-norm threshold because its largest component is 0.8. Its Euclidean magnitude is sqrt(1.28), approximately 1.131370850, and its L1 magnitude is 1.6, so it fails the other two thresholds.
The containment follows a general inequality: ||e||_infinity <= ||e||_2 <= ||e||_1. Consequently, the L1 unit ball lies inside the L2 unit ball, which lies inside the maximum-norm unit ball. The order of the regions is the reverse of the magnitudes because the acceptance condition puts an upper bound on the score.
Bounds convert guarantees, not exact scores
In two dimensions, ||e||_1 <= sqrt(2) ||e||_2 and ||e||_2 <= sqrt(2) ||e||_infinity. The first follows by expanding (|x| + |y|)^2 and using 2|xy| <= x^2 + y^2. The second follows because both squared components are at most the square of the maximum component.
These bounds let a specification translate a sufficient guarantee. For instance, a maximum-norm bound of one guarantees a Euclidean magnitude no greater than sqrt(2), but it does not guarantee a Euclidean magnitude no greater than one. Replacing one norm by another without the appropriate factor can silently enlarge or shrink the accepted set. Equality depends on direction; one conversion factor cannot reproduce every individual vector's score.
Rotating axes affects two of the norms
Rotate the vector (2, 0) by 45 degrees to obtain (sqrt(2), sqrt(2)). The Euclidean norm remains 2. The L1 norm increases from 2 to 2 sqrt(2), approximately 2.828427125. The maximum norm decreases from 2 to sqrt(2), approximately 1.414213562.
Euclidean distance is invariant under orthogonal coordinate changes. Ordinary L1 and maximum norms instead privilege the declared axes. This is appropriate when those axes represent separate limits or independently counted contributions, but it means a frame change can alter their scores. Sign reversals and coordinate permutations preserve all three norms; an arbitrary rotation need not do so.
The distinction also appears in idealized travel-time models. For displacement (3, 4), a path restricted to sequential axis motion at unit speed has total time 7. Unrestricted straight-line motion at unit Euclidean speed takes 5. Independent axes each limited to unit component speed can finish together in time 4. These are separate mathematical motion assumptions, not performance claims about one robot. Their different feasible velocity sets explain the three different numbers.
Normalize units before combining components
A vector mixing meters and degrees cannot receive a physically interpretable ordinary norm just by inserting both numerical values into a formula. One option is to declare positive component scales t_x and t_y and form dimensionless coordinates z = (x/t_x, y/t_y). The choice of scales becomes part of the objective, rather than an invisible conversion detail.
For these normalized coordinates, a maximum-norm bound of one means every component stays within its own declared limit. An L2 bound of one imposes a combined quadratic budget, and an L1 bound imposes a combined absolute budget. None of these regions by itself is a confidence region or a probability statement. This discussion uses ordinary deterministic vector norms, without a covariance model.
Finally, distinguish a vector from a matrix in software notation. The same requested order can have different definitions for a two-dimensional matrix, such as a maximum column sum. A distance calculation should document which axes represent vector components before interpreting an API result.
Sources checked October 24, 2026: NumPy's norm reference and SciPy's cityblock reference are linked below. The rankings, geometric regions, and coordinate calculations are original educational analysis. Concept illustration: generic robot-vision imagery supplies context and does not show measured error limits, an executed planner, or a validated acceptance test.
Reference links:
NumPy: numpy.linalg.norm: https://numpy.org/doc/stable/reference/generated/numpy.linalg.norm.html
SciPy: scipy.spatial.distance.cityblock: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cityblock.html