What each projection optimises

The nearest map to an impossible request

Rung seven found that not every distortion can be asked for. It never asked what happens when one is asked for anyway — and the answer has a shape: the achievable fields are the solutions of an elliptic equation, a request is a point off that set, and the nearest point leaves a residual whose floor is the curvature rather than the size of the ask.

The previous rung put a question this ladder had spent six essays approaching from the other side. Every earlier rung writes a projection as a condition and asks how much freedom the condition leaves. Rung seven reversed it: a cartographer knows what distortion they want, so can they ask for it?

For a conformal map the answer is a single equation — Liouville’s, which is the Theorema Egregium in disguise — and most fields anybody would want do not satisfy it.

What it did not ask is what happens when one is asked for anyway. That question has a shape, and the shape is the same one every least-squares problem has: the achievable fields are a set, the request is a point off it, and the interesting objects are the nearest point of the set and what is left over.

The part of a request no conformal map can supply — scale falling with distance from the centre. The difference between the requested scale field and the nearest achievable one, over the patch, with the sign shown by colour. The RMS is 1.81e-1 in the logarithm of the scale and the worst single point is 4.91e-1. This is not an error: it is the part of the request that no conformal map of any kind can grant, and its SHAPE is the answer — it says where the request was impossible, which a single number cannot.
Fig. 1 The difference between a requested scale field — scale falling with distance from the centre — and the nearest achievable conformal one, over the patch, with sign by colour. This is not an error: it is the part of the request no conformal map of any kind can supply.

What the set of achievable fields is

Rung seven’s own machinery says what the set looks like, and it is smaller than it appears.

Liouville’s equation is elliptic, so a solution on a patch is fixed by its values on the boundary alone. That is the size of the freedom: one function of one variable, where the request is a function of two. Rung seven measured it — 1,521 interior values decided by 160 boundary ones — and left it as a statement about dimension.

Here it becomes the search space. Finding the nearest achievable field means searching over boundary values, not over interior ones, and the interior comes out of the solver. Four coefficients of a low-order boundary form turn out to be enough: higher orders buy under two per cent of the residual, which is the check that what is left is the request’s impossibility rather than the parameterisation’s poverty.

The three impossible requests, and why each is

Which scale fields a map could have, and which are only wishes. Liouville's equation — the Laplacian of log k equals 1/k² on the page — is the whole condition for a conformal map of a unit sphere to have a stated scale factor. The first two rows are the scale fields of real projections and they satisfy it to the differencing step. The rest are requests a designer might write, and every one of them fails — except one, which turns out to be a projection somebody already found. Asking for no distortion anywhere fails by exactly one, which is the curvature of the sphere.
Fig. 2 Liouville’s residual for a set of candidate scale fields, from rung seven: a real projection’s field satisfies the equation and a written-down one does not. The three requests here are on the failing side, by relative residuals of 1.00, 2.56 and 599.

The three requests are not arbitrary; each is something a cartographer would actually write down.

A constant scale, not equal to one. A magnified isometry — the same scale everywhere, just not unity. It fails by a relative residual of exactly 1.00, because Liouville’s equation for a constant field reduces to the curvature itself, and the residual is the sphere’s curvature in the units the equation is written in. That is the same 1 that rung seven found for the isometry, and it is the cleanest number in this essay.

True north–south, stretched east–west. The specification of a cylindrical projection restricted to a patch. It fails by 599, which is the largest residual of the three and produces the smallest ungranted part — 3.7 × 10⁻² — because failing an equation badly at a point is not the same as being far from the achievable set. The two quantities measure different things and are not even ordered together.

Scale falling with distance from the centre. What a cartographer draws when asked to sketch a good regional map: true in the middle, gently worse outward. It fails by 2.56 and leaves the largest residual, 1.8 × 10⁻¹, because it asks for a shape the equation cannot make rather than a value it cannot reach.

That the ranking by Liouville residual and the ranking by ungranted part disagree completely is worth stating on its own. A condition’s residual at a point says whether a field is achievable; only the fit says how far from achievable it is, and the essay that measured the first could not have predicted the second.

What “nearest” has to mean

A least-squares problem needs a metric, and the choice made here is not the obvious one.

The misfit is measured in the logarithm of the scale factor rather than in the scale factor itself. That is deliberate and it matters: a scale of 2 and a scale of ½ are equally wrong in opposite directions, and only the logarithm treats them so. Measuring in the raw factor would weight a doubling more heavily than a halving and would make the fitted map systematically too small — which is the same reasoning behind the Kavrayskiy criterion the choosing ladder uses, where the squared logarithms of the two principal scales are what is summed.

The second choice is the region the misfit is summed over: the whole patch, unweighted. That is an opinion in exactly the sense distortion over a region established — a different weighting gives a different nearest map — and it is stated rather than defended. What does not depend on it is the floor below: no weighting makes a constant scale achievable.

Four requests, and one that is granted

How much of each request a conformal map can grant. Four scale fields asked for, and the RMS of the part the nearest achievable conformal map cannot supply. The stereographic's own field is granted to 5.1e-4, which is the solver's floor and is the check that the search can succeed. The other three are impossible by Liouville's equation and leave between 3.7e-2 and 1.8e-1 ungranted — seventy to three hundred times the floor.
Fig. 3 Four scale fields asked for, and the RMS of the part the nearest achievable conformal map cannot supply. One of them is granted.
request RMS ungranted
the stereographic’s own field 5.1 × 10⁻⁴
true north–south, stretched east–west 3.7 × 10⁻²
a constant scale, not equal to one 5.3 × 10⁻²
scale falling with distance from the centre 1.8 × 10⁻¹

The first row is the refusal and it has to be there. A field a conformal map can already produce is produced, to 5.1 × 10⁻⁴ — which is the solver’s own discretisation on a 31-square grid and not a disagreement. So the search is capable of returning zero, and the other three numbers are measurements rather than artefacts of a fit that never converges.

The other three fail Liouville’s equation in the first place, by relative residuals of 1.00, 2.56 and 599, and leave between seventy and three hundred and fifty times the floor ungranted.

The residual is a picture, not a number

An RMS says how much and not where, and where is the part that could not have been guessed.

The hero figure is the residual of the radial request, and its structure is the finding: the request is over-supplied in a ring and under-supplied at the centre and the corners. That is not what a smoothing would do, and it is not what a uniform shortfall would look like. It is the shape of the difference between a function somebody wanted and the nearest solution of an elliptic equation, and it says that the impossibility of that request is concentrated, not spread.

What was asked for, and what a conformal map can actually do. A line across the middle of the patch, with the requested scale factor and the nearest achievable one. The achievable curve is not a smoothed version of the request — it is the solution of an elliptic equation whose boundary values were chosen to fit, so it has a shape of its own, and where the two part is where the request asked for something the curvature forbids rather than something merely awkward.
Fig. 4 A line across the middle of the patch, with what was asked for and what a conformal map can do. The achievable curve is not a smoothed version of the request — it is the solution of an equation with a shape of its own.

Along one line the two curves cross rather than one lying under the other. A projection that granted the request in the middle and fell short at the edges would be a compromise; this is not a compromise, it is a different function that happens to be as close as the equation allows.

The equation is doing the work, not the fit

It is worth separating two things that a residual can be blamed on.

The parameterisation. Four boundary coefficients is a small family, and a residual could be measuring that smallness rather than any impossibility. Raising the order to six and then to ten moves the residual by under two per cent, which says the boundary form is not the constraint — and the achievable case coming back at the solver’s own floor says the same thing from the other direction, because a poor parameterisation would fail there too.

The equation. What remains is the elliptic constraint itself: the interior is determined by the boundary, so once the boundary is chosen there is nothing left to adjust. That is what makes the set small enough for a request to be off it. A condition that constrained less — one leaving a function of two variables free — would have an achievable set large enough to contain almost anything, and the whole question would not arise.

Which is the freedom measurement rung seven made turned into a consequence: the reason a distortion cannot be asked for is exactly that the condition determines the interior from the boundary, and the reason the nearest map is findable at all is that the same fact makes the search space one-dimensional.

Asking for less does not help

Asking for less does not make it possible. The ungranted part of the request against how much of it is asked for, over a factor of twenty. It rises — from 1.06e-1 to 2.08e-1 — and it does not fall towards zero at the gentle end, because the gentle limit of "scale falling with radius" is a constant scale, a constant scale is an isometry, and an isometry is the most impossible request there is. The floor is the sphere's own curvature and no amount of asking for less reaches it.
Fig. 5 The ungranted part against how much is asked for, over a factor of twenty. It rises by a factor of two and does not fall towards zero at the gentle end.

The obvious next move is to ask for less: if a request is impossible, a gentler version should be nearly possible. That expectation is wrong here and the reason is the whole collection’s subject.

how much is asked RMS ungranted
0.02 0.106
0.05 0.114
0.1 0.128
0.2 0.154
0.4 0.208

A factor of twenty in the request buys a factor of two in the residual, and the residual does not head for zero. The reason is that the gentle limit of scale falling with radius is a constant scale — and a constant scale is an isometry, which is the most impossible request there is.

So the floor of that curve is not a numerical artefact and it is not the parameterisation. It is the curvature of the sphere, appearing as the residual of a least-squares problem, and the measurement is that a request cannot be made achievable by moderating it because moderating it moves it towards the one thing that is certainly forbidden.

What the solver refuses, and why it is right to

One practical thing that had to be handled and turned out to be a finding.

The natural way to start the search is from the request’s own boundary values. For the achievable case that is exact at the first step. For the others it sometimes fails outright: the solver diverges to NaN rather than returning a wrong answer.

That is the equation refusing. A boundary near a constant of one is a boundary near the isometry, and the isometry has no solution at all — so the Newton iteration has nothing to converge to and says so. The fix is to blend the start towards a boundary the equation certainly can carry and proceed from there, and the diagnostic value is worth keeping: the solver’s divergence is a detector for the flat case, sharper than any residual, because a residual is a number and a divergence is a category.

What a cartographer should take from it

Three readings, and the third is the one that changes practice.

A request is a specification, and most specifications are unsatisfiable. Rung seven established that; this one prices it. The relevant number is not whether a field is achievable — almost none is — but how much of it can be had, and that is computable.

The residual is where the specification has to be renegotiated. A specification is usually written as a whole and refused as a whole, and this makes it possible to refuse it in parts. A single RMS invites the wrong response, which is to accept the nearest map and move on. The residual’s shape says which part of the request the equation objected to, and a cartographer who sees that the objection is concentrated in the corners can drop the corners from the specification and get the rest.

And a conformal map is the wrong family for most requests. Every number here is for the conformal set, because Liouville’s is the conformal condition. Solving for the map instead of choosing it fits a general map by least squares over a much larger family and gets closer to any given target — and a map with no formula is what that produces. The right reading of a large residual here is often stop asking for conformality, which is a decision the residual can prompt and cannot make. That is the honest limit of the whole method: it prices a request against one family and says nothing about whether the family was the right one to ask.

Where this leaves the ladder

The scale field solved from its own boundary. Liouville's equation is elliptic, so a scale field is fixed by its values on the BOUNDARY and nothing else. The square is the equation solved with boundary values taken from a real projection — the outer ring is the data, the interior is the answer — and the interior comes back to 1.5e-4 of that projection's own scale factor. The 961 numbers inside are decided by the 128 numbers around the edge, which is how much freedom there really is: one function of one variable, where the request was a function of two.
Fig. 6 The solved field rung five produced: a map that is fourteen numbers rather than a formula. The search here is the same machinery pointed at a different question — not what map best fits a region, but what field best fits a request.

Eight rungs in, the anchor’s arc is now complete in one direction and has a clear next step in the other.

The ladder began by writing a projection as a condition rather than a formula and asking what a condition determines. It found that three conditions are one too many, that some conditions leave no inverse, that a condition can be solved rather than chosen, that the solution may have no formula at all, that one condition leaves a whole function free, and that not every distortion can be asked for.

This rung closes the loop: given a request the condition cannot satisfy, there is a nearest map, it is computable, and what it leaves behind is a picture rather than a number.

What is left open is the other family. Every measurement here is inside the conformal set, because Liouville’s equation is the conformal condition — and the equal-area set is a different set, defined by a different equation, with its own achievable fields and its own nearest maps. Recorded as a shortfall: the same search over equal-area fields, where the freedom is a whole function of one variable rather than a boundary and the nearest map to an impossible request may be much nearer.

What a designer does with a residual that has a shape

The residual being a picture rather than a number is the finding with the most immediate use, and it is worth saying what the use is.

A scalar residual answers how far, which is not an actionable question. Told that a specification is 12 per cent ungranted, a designer can accept it, abandon it, or moderate it — and the essay’s own measurement shows that moderating it barely helps, since the floor is the sphere’s curvature and not the ambition of the ask.

A shaped residual answers where, and that is actionable. The unmet part of the request is concentrated rather than spread, so a designer can see which region of the specification the geometry objected to. That converts an impossible requirement into a negotiation about a particular place: this corner of the map cannot have what was asked, and the rest can.

Which is the form a real specification arrives in. Nobody asks for a scale field as an analytic function; they ask for low distortion over the populated middle, tolerable distortion over the periphery, and do not much mind about the corners. A residual concentrated in the corners is a granted request; the same residual concentrated in the middle is a refused one; and the scalar figure is identical in both cases.

It is also the half that survives a change to the criterion. A distance depends on which norm was chosen to measure it, so two studies using different norms report different numbers for the same request; the region where the residual concentrates is much less sensitive to that choice, because it is decided by where the curvature objects rather than by how the objection is totalled.

So the right output of such a solve is two things, and only one of them is currently reported. The distance to the achievable set says whether the request was possible. The residual field says which part of it was not, and it is the half a designer can act on.

What this rung establishes

The achievable fields are a set fixed by a boundary, so the nearest one to a request is found by searching over one function of one variable rather than two — which is rung seven’s freedom measurement used as a search space rather than quoted as a dimension.

A request the equation can grant is granted to 5.1 × 10⁻⁴, the solver’s own floor, and three that it cannot leave 3.7 × 10⁻² to 1.8 × 10⁻¹ — seventy to three hundred and fifty times that floor.

The residual has a shape, concentrated rather than spread, and the shape is what says which part of a specification the curvature objected to.

A condition’s residual and the distance to the achievable set are different quantities, and they rank the three requests in opposite orders: the one that fails Liouville’s equation by 599 leaves the least ungranted, and the one that fails by 2.56 leaves the most.

And the residual has a floor that moderating the request does not reach. A factor of twenty in the ask moves it by a factor of two, because the gentle limit of any scale request is a constant scale, a constant scale is an isometry, and the floor of the whole problem is the sphere’s own curvature. That is the ladder’s own founding statement arriving as the output of an optimisation rather than as its premise, which is the form this collection prefers: the curvature was not put into the search, and it is what the search returns when asked for something it cannot have.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

Boundary-valueConditionConformalityConstraintCurvatureDegrees of freedomDifferential equationLeast-squaresObjective functionOptimisationResidualTheorema Egregium