Circles that are diamonds and squares
Worth reading first: Two squares, four triangles, and no algebra · Distance is a picture.
The theorem says that the square on the hypotenuse is the sum of the squares on the other two sides. Read as a statement about triangles that is a theorem, with a proof and a picture. Read as a statement about the plane it is a definition — this is how far apart two points are — and a definition can be altered.
Every one of those curves is a circle in the only sense that matters to the definition underneath it: the set of points at distance one from a centre. What changes from frame to frame is not the geometry of the plane but the arithmetic used to measure it, and the fact that the round one is a special case rather than the truth is the whole content of this rung.
What the exponent is doing
Write the distance from the origin to as
At that is the theorem. At it is , the total of the two coordinates, which is what a journey across a grid of streets costs. As grows without bound it tends to , the larger coordinate alone, and the intermediate values interpolate between the three.
The unit ball — the set of points at distance at most one — is what each choice looks like, and it is the more useful object, because the ball determines the norm completely: the distance to any point is however much the ball must be scaled to reach it.
The three balls are nested, and the nesting is not an accident of drawing: raising the exponent lowers each term whenever , so more of the plane fits inside, and the ball grows monotonically with . The diamond is inside the circle is inside the square, and every point of the plane is at its greatest distance under and its least under the maximum.
The place the exponents differ most is the diagonal, where both coordinates are equal. There the ball meets the line at in each coordinate: at that is one half, at it is about , and at large it approaches one. Along the axes every ball passes through the same four points, because a single non-zero coordinate is unaffected by how the two are combined.
Distance across a grid of streets
The exponent one has a use, and it produces a fact about routes that the round case has no analogue for.
Under the Euclidean norm, two points are joined by exactly one shortest path: the straight segment. Under the city-block norm every staircase that never backtracks has the same total length, so a journey five blocks east and three blocks north has shortest routes, all of length eight. That is a difference of kind, not of degree, and it is the reason the two norms behave differently under every argument that begins take the shortest path.
It has consequences beyond routing. A circle of radius in the city-block metric is a diamond of area rather than , so the constant that plays the role of — the ratio of a circle’s circumference to its diameter — is rather than , and the same computation under the maximum norm gives again. Between the two the ratio dips, and it is smallest exactly at , where it is . The roundest circle is the one that minimises its own circumference, which is one more statement of what makes a circle the shape it is.
Why the exponent may not go below one
The family looks as though it should extend downward, and it does not.
A distance is required to satisfy the triangle inequality — going by way of a third point is never shorter — and for a norm this is exactly the condition that the unit ball is convex. If the ball caves inward, two points on it have a midpoint outside it, which means the midpoint is further from the origin than either endpoint, and a straight route has been beaten by a detour.
The figure checks this rather than asserting it: it takes pairs of points on the curve, computes the norm of each midpoint, and reports the largest. Above the largest is one, attained where the two points coincide. Below it exceeds one, and the generator says so in as many words.
So is a genuine boundary, and it is the sharp one: the diamond is convex, with corners, and any further reduction of the exponent pushes the edges in. The quantity is still perfectly well defined for — it is used, under the name of a quasi-norm — but it is not a distance, and every argument that relies on the triangle inequality is unavailable for it.
What is special about the square
Among the whole family, one member has a property no other has, and it is the property the theorem is really about.
Only is unchanged by rotation. Turn the plane through any angle and the circle maps to itself; turn it through degrees and the diamond becomes a square scaled by , and the distances between points have changed. A norm that survives rotation is the one in which turning a rigid object does not alter it, and every argument in plane geometry that moves a shape around silently assumes it.
Only comes from an inner product. The Euclidean norm is for the dot product, which is what allows a projection, a perpendicular and an angle to exist at all. The test for whether a norm comes from an inner product is the parallelogram law — the sum of the squares of a parallelogram’s diagonals equals the sum of the squares of its four sides — and among the p-norms only the second satisfies it. So the whole apparatus of angles, orthogonality and least squares is not available anywhere else in the family, which is worth knowing before reaching for a different exponent to be interesting with.
And only makes the theorem true. The relation is a statement about the norm of the two legs of a right triangle. Take the norm to be the city-block one and the corresponding statement is , which is false for every non-degenerate triangle and true for the degenerate ones. The theorem is not a fact that survives changing the definition; it is the definition, stated for the case where it is a theorem about triangles.
Where the other exponents earn their place
The family is not a curiosity. Three of its members are in daily use, and the reason in each case is the shape of the ball.
Counting differences. Restrict attention to points with coordinates and and the city-block distance counts how many coordinates differ — which is the Hamming distance that error-correcting codes are built on.
Corners select. The diamond has corners on the axes, and an optimisation that pushes a solution toward a ball of fixed size will land on a corner far more often than on a smooth patch. That is a fact about geometry rather than about any application: a linear objective on a diamond is minimised at a vertex, where all but one coordinate is zero.
The maximum bounds the worst case. A guarantee of the form no coordinate is off by more than this is a statement in the norm, and it is what an approximation is judged by when the worst error is what matters rather than the average.
The three uses correspond to the three shapes — corners, roundness, flat sides — and choosing an exponent is choosing which of those a problem wants.
What it costs, and why it matters less than it looks
Anybody meeting this family for the first time might reasonably worry that changing the exponent changes everything. In finite dimensions it changes remarkably little, and the reason is visible in the nesting.
Every ball in the family sits between the diamond and the square, and the square is contained in the diamond scaled by two — in dimensions, scaled by . So any two of these norms differ by at most a bounded factor, which means a sequence that converges in one converges in all of them, a set that is bounded in one is bounded in all, and every notion built out of closeness alone is the same for all . The norms are, in the technical phrase, equivalent.
What is not the same is anything that depends on the shape rather than on the scale: which point of a set is nearest to another, whether a ball’s boundary has corners, whether a projection exists, and whether the shortest route is unique. Those are the properties the exponent is chosen for, and every one of them is visible in the drawn ball.
In infinite dimensions the equivalence fails completely — the factor has nowhere to go — and the exponents become genuinely different spaces with different theorems. That is where most of the analysis lives, and none of it can be drawn here.
The same three shapes, one dimension up
Nothing above depends on the plane, and the three-dimensional versions are objects with names.
The city-block ball is the octahedron, the Euclidean ball is the sphere, and the maximum-norm ball is the cube. The nesting is the same and so is the special position of the square exponent: the sphere is the only one of the three that a rotation leaves alone, and it is the only one whose surface has no flat piece and no corner.
That the octahedron and the cube are dual solids is not a coincidence either. The dual of a unit ball is the unit ball of the dual norm, and the exponents and are dual when — which pairs with , and pairs with itself. The Euclidean ball being self-dual is the same fact as the Euclidean norm coming from an inner product, seen from another side, and the octahedron sitting inside its own dual cube is a picture of the inequality between the two norms.
What the picture cannot show
Everything above is in two dimensions, where a ball is a curve and the whole family fits on one canvas. The corresponding pictures in three dimensions are an octahedron, a sphere and a cube, and the same nesting holds; beyond three there is nothing to look at, and it is precisely there that the family is used most.
The drawing also cannot show the triangle inequality, only its consequence. Convexity of the ball is equivalent to the inequality, but the figure can test the equivalence at a few thousand sampled pairs rather than establish it, and the argument that the two really are the same statement is four lines of algebra with no picture in it.
Nor is the drag a proof of the nesting. It moves through twenty-one exponents between one and six, and each frame is checked as it is drawn, but the claim is about a continuum. What the slider corroborates is that no exponent in that range does anything unexpected; what makes the nesting certain is that raising lowers for every , which is a statement about powers rather than about pictures.
The ladder from here
Below: the theorem itself, the shear proof and the converse. Sideways: the dot product, which is what the square case has and the others lack, and Hamming distance, which is the city-block norm wearing a different name. Above: the metrics that are not norms at all — the hyperbolic distance in which the parallel postulate fails is not of this family, and the spherical case where the theorem is simply false is the same departure taken in the other direction.
Which exponent a problem wants
Choosing one is a modelling decision, and the ball’s shape is what to choose it by.
If the coordinates are interchangeable and rotation is meaningful — positions in a plane, errors in two directions of the same kind — the ordinary distance is the one that respects the symmetry, and nothing else will.
If the coordinates are of different kinds, or if the total across them is what matters, the city-block sum is more honest: it adds costs rather than combining them geometrically, and it has no rotations to respect.
And if the requirement is that nothing be badly wrong anywhere, the maximum is the right measure, because it is the one that a single bad coordinate cannot hide in.
The three questions are about the problem rather than the mathematics, which is the point: the exponent is an assumption, and it should be visible as one.
A theorem that turned into a choice
The lasting point is what happened to the theorem on the way through this ladder. It began as a fact about right triangles that needed proving; it became a formula for distance; and once it was a formula, the exponent in it became a parameter, and the fact turned into the definition of the one case where it is a fact.
That trajectory is common and worth recognising. The determinant starts as a number attached to a matrix and becomes the definition of volume; the exponential starts as repeated multiplication and becomes the function that is its own slope. In each case what looks like a generalisation is really a promotion: the theorem is demoted to a special case and something that was implicit — here, the choice of how to combine coordinates — is promoted to a thing that can be varied and argued about.
What links here
Computed from the collection, not written here: the essays that point at this one.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- A walk that changes one thing at a time — both name counting argument, hamming distance
- Sixteen spheres that fill a cube — both name counting argument, hamming distance
- The plane, divided by whoever is nearest — both name convexity, tiling
Named objects
A dashed tag is an object no other essay names yet.
ConvexityCounting argumentHamming distanceInner productNormPythagorean theoremTilingUnit circle