Measuring distortion

Bending and stretching are one failure

The ladder was written expecting flexion and skewness to be two independent ways for a map to be wrong. On a conformal projection they are not independent at all: the two extremes are the same size to four figures and sit exactly ninety degrees apart, because both are components of a single vector.

A projection can bend a route and it can change its scale along the route, and the first rung of this ladder computed both. The obvious next question is whether they are two failures or one, and the obvious answer is that they are two: bending is a turn and stretching is a scale, they have different units in every ordinary sense, and a map ought to be free to do either without the other.

That answer is wrong for a quarter of the library, and the reason it is wrong is a two-line proof that the measurement found first.

Six projections, at 40° north. Flexion (solid) and skewness (light) against direction of travel, drawn about a zero circle at one point of each projection. The three conformal ones have curves of exactly equal size, offset by exactly 90°, because on a conformal map both quantities are components of one vector — the gradient of the log of the scale. The others have neither property: ratios run from 0.72 to 2.72.
Fig. 1 Flexion (solid) and skewness (light) against the direction of travel, at the same point of six projections. The first three are conformal and their two curves are the same size, offset by exactly a quarter turn. The last three are not, and their curves are neither the same size nor at right angles — the Mollweide’s differ by a factor of 2.31 and sit 51° apart.

The measurement that arrived first

The rose is a polar plot of a signed quantity against the bearing of the geodesic being followed. Reading the top three: the solid curve’s maximum falls exactly where the light curve crosses zero, and the two curves reach the same value.

Written as numbers, across the library at 20° east, 40° north:

projection ω largest flexion largest skewness ratio angle between
Mercator 0 0.8391 0.8391 1.000 90.0°
Stereographic 0 0.4036 0.4036 1.000 90.0°
Lambert conformal conic 0 0.0183 0.0183 1.000 90.0°
Mollweide 8.01° 0.8791 0.3808 2.308 51.0°
Winkel tripel 5.12° 0.8402 0.0885 9.499 61.0°
Sinusoidal 12.80° 0.8669 0.3999 2.168 35.0°
Albers equal-area conic 6.96° 0.1590 0.0913 1.741 30.0°

Four decimal places of agreement, on projections whose forward formulae have nothing in common — one exponential, one a rational function of a half-angle, one a power of a colatitude — is not a coincidence and is not the differencing being kind. It is a theorem, and it was not looked for.

The Lambert conformal conic’s pair is small because the test point sits near one of its standard parallels, where the scale is momentarily stationary and its gradient is nearly zero. Small and equal is still equal: the coupling is a statement about the ratio, and the ratio is one wherever the projection is conformal, including where there is almost nothing to couple.

The proof, which is two lines once the pattern has been seen

On a conformal projection the local scale factor σ\sigma is a function of position alone. That is exactly what conformal means: there is no direction in it, because a projection that scaled differently in different directions would change the angle between two curves crossing at the point.

So the only second-order object available at that point is the gradient lnσ\nabla\ln\sigma — one vector, with a length and a direction. Now walk a geodesic in direction t^\hat t:

  • the scale changes at the rate lnσt^\nabla\ln\sigma\cdot\hat t, and that is the skewness;
  • the image turns at the rate lnσn^\nabla\ln\sigma\cdot\hat n, up to a sign, and that is the flexion.

Two components of one vector. Their extremes are equal, because both equal the vector’s length; they occur ninety degrees apart, because a component along and a component across are extreme at right angles; and where one is largest the other is zero.

The sharper way to say it is the one worth carrying: conformality removes the second-order freedom as well as the first-order one. A general projection has two independent second-order numbers at each point. A conformal projection has one.

Flexion and skewness against direction on Stereographic. At 20°E 40°N on Stereographic, the rate at which the image of a geodesic turns (solid) and the rate at which the scale changes along it (light), both per radian of arc, drawn against the direction of travel about a zero circle. The largest flexion is 0.404 and the largest skewness 0.404, 90° apart. Neither is visible to Tissot's indicatrix, which describes only the first derivative.
Fig. 2 One conformal projection in detail. The two curves are the same shape rotated by a quarter turn, and their common amplitude is the length of the gradient of the log of the scale — 0.404 per radian of arc at this point. The site’s first-order verdict here is that the projection is faultless: ω is zero, the indicatrix is a circle, and both principal scale factors are 1.163.

The direction in which a ruled line is honest

The coupling has a consequence a reader can use, and it is not the one intuition offers.

On a conformal map there is exactly one direction at each point along which a geodesic is drawn without bending at all, and it is the direction in which the scale is changing fastest. Where the map is stretching hardest along the route, it is not bending the route.

On Mercator that direction is north–south, everywhere. The gradient of lncosφ-\ln\cos\varphi points north, so the zero of the flexion curve is at bearing zero, and the prediction is that a meridian — which is a great circle — is drawn perfectly straight.

A great circle and the ruled line, on Mercator. The shorter of the two routes is the curved one. The great circle between the two marked points is drawn against the straight line a ruler would give between them on Mercator; over 60° of arc the curve departs from the ruled line by 0.0 per cent of the chord. The flexion at the midpoint, which is the rate the image turns per radian of arc, is 0.000; the angular deformation there is 0.00°.
Fig. 3 The same construction as the first rung’s opening figure, on the same projection and at the same point, with the bearing changed from 70° to 0°. The great circle and the ruled chord are now the same line to the resolution of the arithmetic. Mercator draws exactly two families of geodesics straight — the meridians and the equator — and the flexion says so without being told.

That is a familiar fact arriving from an unfamiliar direction. Anybody who has used a Mercator chart knows the meridians are straight; what the second-order machinery adds is that this is the only honest direction, that it is a zero of a curve which is nowhere else zero, and that the same rule identifies the honest direction on any conformal projection, including ones nobody has a picture of.

The same rule applied to the other two conformal members of the library returns two facts that are already known, which is the strongest kind of check a new instrument can pass.

On a stereographic projection the scale depends only on the distance from the centre, so the gradient of its logarithm points radially, and the flexion’s zero is along the radius. The prediction is that great circles through the projection’s centre are drawn straight — which is exactly what a stereographic projection does and is one of its defining properties.

On a conformal conic the scale depends only on latitude, so the gradient points north and the honest direction is the meridian. Conic meridians are straight rays from the apex, which is again a first-order fact about the family.

Three conformal projections, three predictions, three properties anybody could have looked up. That is the point of running the test on them: a second-order instrument that rediscovered a fact its user already had is an instrument that can be trusted on a projection where nobody has the fact — which is what the solved conformal maps of the condition ladder are, and what a numerically constructed map of an irregular body is.

Half the coupling is cheap, and the half that is cheap is the one that looks impressive

The right angle is the striking part of the table, and it is the part that proves least.

Flexion and skewness against direction on Lambert azimuthal equal-area. At 20°E 40°N on Lambert azimuthal equal-area, the rate at which the image of a geodesic turns (solid) and the rate at which the scale changes along it (light), both per radian of arc, drawn against the direction of travel about a zero circle. The largest flexion is 0.549 and the largest skewness 0.202, 90° apart. Neither is visible to Tissot's indicatrix, which describes only the first derivative.
Fig. 4 The Lambert azimuthal equal-area projection at the same point: the two extremes are ninety degrees apart, exactly, and their sizes differ by a factor of 2.72. This projection is not conformal — ω is 8.64° here — and it has the right-angle half of the coupling anyway.

The reason is symmetry rather than conformality. An azimuthal projection is rotationally symmetric about its centre, so at any point the radial and tangential directions are principal directions of everything the map does, and any extreme of any directional quantity has to occur along one of them. Two perpendicular directions, and hence a right angle, for free.

So the test the assertion actually applies has two clauses and requires both: the ratio must be one and the angle must be ninety degrees. Applied to the library, the conformal members pass both and every other member fails at least one:

projection ratio angle verdict
Stereographic 1.000 90.0° coupled — and conformal
Lambert azimuthal 2.720 90.0° right angle from symmetry alone
Orthographic 0.720 90.0° right angle, and the flexion is the smaller one
Azimuthal equidistant 15.634 37.0° neither
Equirectangular 1.605 9.0° neither

The orthographic row is worth a second look. Its ratio is below one, so it bends less than it stretches, which no conformal projection can do — for a conformal projection the ratio is one by the theorem, so a ratio away from one in either direction is a refutation of conformality. This is the sort of statement the site is built to make: a property that has been checked by four partial derivatives can also be checked, independently, by two second derivatives, and the two checks agree.

The azimuthal equidistant is the other instructive row. Its skewness is fifteen times smaller than its flexion because both of its principal scales are constant along their own directions — the radial scale is one everywhere by construction, and the tangential scale varies radially rather than tangentially. It is the least-skewed projection in the library over a cap, at 0.044, and it pays in bending. That is the projection the route with no shortest path and a scale bar is right in one place both lean on for its exact radial scale, and the exactness that makes its scale bar honest along one family of lines is precisely what drives its skewness to nothing.

What the same numbers say about a whole map, which is a different question

Measured across a whole map instead of at one point, flexion and skewness look strongly related on almost every projection:

projection correlation across the sphere mean flexion mean skewness
Mercator 1.000 1.034 1.034
Robinson 0.997 6.977 4.349
Winkel tripel 0.967 1.197 0.606
Mollweide 0.954 1.384 1.080
Sinusoidal 0.938 1.810 1.216
Eckert IV 0.886 1.377 1.099

Correlations from 0.89 to 1.00 look like a decisive answer to the essay’s opening question, and they are an answer to a different question. Both quantities grow away from wherever a projection is well behaved, so a scatter of points across a map mostly measures distance from the good part — and any two badness measures on the same map will correlate for that reason alone.

The relation this essay is about is at a point, over directions, and it is the one that has a proof. The distinction between a relation at a point and a relation across a region is the same one distortion over a region draws for the first-order quantities, and it is worth keeping sharp: a map’s worst point, its average and its structure at a point are three different objects, and only the last of them can carry a theorem. The correlation across a map is a description of where each projection’s errors live, which the field pictures already show:

Skewness over Mollweide. The root-mean-square skewness over all directions, sampled at 375 points and drawn as a disc whose size is the value. It reaches 9.55 per radian of arc near 78°S 173°W. No first-order quantity — h, k, a, b, the areal factor or ω — carries any of this information.
Fig. 5 Root-mean-square skewness over the Mollweide projection. Compared with the flexion field of the same projection, the pattern is similar in outline — both worst in the outer thirds — and different in detail, which is what a correlation of 0.95 rather than 1.00 looks like drawn out.

Mercator’s exact 1.000 in that table is the coupling again, showing up as a correlation: on a conformal map the two fields are the same field, so measuring both over the sphere produces two copies of one number. That is a consistency check on the correlation code rather than a finding, and it is the reason the row is there.

Why the essay this replaced was wrong

This ladder was laid out with a different second rung in mind: bending and lopsidedness are different failures, with the correlation across a map as the measurement that would show it. Both halves of that plan turned out to be errors, in opposite directions.

The correlation across a map is high, not low, so the planned measurement would have argued the opposite of the planned claim. And the relation at a point is not independence but an exact coupling, which is a stronger and more useful result than either. The site’s rule for this situation is to publish what was measured and to say what was expected, because a plan that survives contact with the arithmetic unchanged is usually a plan that was not tested by it.

The finding that survives is more specific than the one that was sought: the two second-order failures are independent on a general projection and are one failure on a conformal one.

Flexion over Winkel tripel. The root-mean-square flexion over all directions, sampled at 375 points and drawn as a disc whose size is the value. It reaches 5.84 per radian of arc near 78°S 173°W. No first-order quantity — h, k, a, b, the areal factor or ω — carries any of this information.
Fig. 6 Flexion over the Winkel tripel, the projection with the largest ratio in the library at the test point — 9.5, meaning it bends nearly ten times as hard as it stretches along the route. It is also, by the ranking the next rung builds, the least bent of the eight standard world maps overall. Both statements are about the same projection and neither contradicts the other, because one is at a point and one is an average.

The departure from the coupling is not a measure of anything first order

There is a tempting further step — that a projection’s distance from the coupling grades how far from conformal it is — and the essay’s own tables refuse it.

Set the two columns side by side:

projection ω at the point ratio
Winkel tripel 5.12° 9.499
Albers equal-area conic 6.96° 1.741
Mollweide 8.01° 2.308
Sinusoidal 12.80° 2.168

The projection with the smallest angular deformation in the list has by far the largest departure from the coupling, and the projection with the largest ω has a ratio smaller than two of the maps that beat it on ω. There is no monotone relation, and the two extreme rows are inverted.

Nor could there be one, which is the reason this is a correction rather than a surprise. Angular deformation is a first-order quantity — a statement about the Jacobian — and the ratio of the two second-order extremes is a statement about the second derivatives. The whole thesis of this ladder is that the second derivative is not predicted by the first: the first rung exists because Tissot’s construction stops one derivative short, and a graded measure of conformality read off second-order data would have contradicted it.

So what the coupling supplies is a test rather than a measure, and it is one-sided.

Failing it refutes conformality, exactly. A ratio away from one, or an angle away from ninety degrees, proves the map is not conformal at that point, by the contrapositive of the two-line proof. That is a genuine and unusual instrument: a property normally checked with four partial derivatives, checked instead with two second derivatives and no angles at all — and the orthographic’s ratio of 0.720 is a refutation just as much as the azimuthal equidistant’s 15.634 is.

Passing it does not establish conformality. The proof runs one way. A non-conformal map could have its two second-order extremes equal and perpendicular at one particular point by coincidence, and nothing in the second-order data would say so; establishing conformality needs the first-order test, at the point, as it always did.

That asymmetry is the ordinary shape of a necessary condition, and it is worth stating because the table invites the opposite reading. Three conformal projections passing both clauses looks like a characterisation. It is three instances of a theorem, plus a list of refutations, and the refutations are the part that does work — a projection whose conformality is being claimed can be disproved by this test in two evaluations, and a projection whose conformality is being sought cannot be found by it at all.

What the first-order picture would have said

Every projection in the panel figure has been drawn on this site with indicatrices scattered across it, and none of those pictures contains any of this.

Tissot's indicatrix across Lambert azimuthal equal-area. A small circle on the sphere, drawn where the projection puts it. The dashed circle behind each is what an undistorted map would show. On Lambert azimuthal equal-area ω reaches 96°, and the areal factor reaches 1.0.
Fig. 7 The Lambert azimuthal equal-area projection with its indicatrices. Every ellipse has an area of exactly one, which is the projection’s defining property and a first-order statement; the ellipses become visibly elongated away from the centre, which is the ω the table above quotes. Nothing in the picture distinguishes this projection’s second-order behaviour from the stereographic’s, and the two are qualitatively different.

There is no reproach in that. An indicatrix map is a first-order picture and is honest about being one. What the ladder adds is that a second-order picture exists, is computable from the same forward map, and says things the first-order picture cannot — including a test for conformality that uses no angles at all.

What the gnomonic's straight great circles cost. The gnomonic projection has no flexion anywhere — great circles are straight lines on it, exactly — and its skewness along those same lines is 2 tan ρ, which is unbounded. Points are the measured values, obtained by differencing the forward map; the line is the closed form, which the differencing knows nothing about.
Fig. 8 The one projection with no flexion at all, and what its skewness does instead: 2 tan ρ, measured against the closed form. The coupling this essay is about does not apply to it — the gnomonic is not conformal, and its ratio is zero rather than one — which is the extreme case of the table’s second column.

Where the model stops

The coupling is proved for a conformal projection of a surface with a metric, at a point where the projection is twice differentiable. Two of those conditions do real work.

A metric is needed because both quantities are rates per radian of arc on the sphere, so the sphere’s own distances are in the definition. Substituting the ellipsoid changes both by of order the flattening, which is a third of a per cent and is below the differencing’s own residual — the same conclusion datum shifts dwarf projection errors reaches about first-order quantities, arriving here for the same reason.

Twice differentiable excludes the Robinson projection, whose defining table is interpolated linearly, and whose second derivative therefore does not exist at a table entry. Its correlation of 0.997 in the table above is computed at points that mostly miss the entries; its mean flexion of 6.98 against Mollweide’s 1.38 is not a statement that Robinson bends five times harder, it is the interpolation’s kinks being differenced. The indicatrix is a limit met the same object one derivative earlier and reached the same conclusion, which is that a table is not a function until somebody says how it is interpolated.

Conformal excludes the projections that are conformal along a line rather than at a point — a conic with two standard parallels is conformal nowhere, and its ratio at the test point is 1.741 rather than one. The coupling is pointwise or it is nothing.

Flexion and skewness against direction on Albers equal-area conic. At 20°E 40°N on Albers equal-area conic, the rate at which the image of a geodesic turns (solid) and the rate at which the scale changes along it (light), both per radian of arc, drawn against the direction of travel about a zero circle. The largest flexion is 0.159 and the largest skewness 0.091, 30° apart. Neither is visible to Tissot's indicatrix, which describes only the first derivative.
Fig. 9 The Albers equal-area conic at the same point: ratio 1.74, and its two extremes 30° apart rather than 90°. An exact first-order property in the other direction — area rather than angle — buys nothing at second order, and the two curves here are related by neither of the coupling’s two clauses.

Who found it, and when

The second-order pair is Goldberg and Gott’s, from 2007. The coupling on conformal maps follows immediately from the Cauchy–Riemann structure that has been the standard way of writing a conformal projection since Lambert and Lagrange in the 1770s — a conformal map of the sphere is a holomorphic function of the isometric coordinate, and holomorphy is exactly the statement that only one complex derivative exists where a general map has two real ones.

That is the same fact the average of two projections uses in a different guise: because conformal maps are holomorphic functions of one coordinate and holomorphic functions form a vector space, the average of two conformal projections is conformal. Here the same structure removes a degree of freedom one derivative up.

Neither of those is a new theorem. What is new here is that both are measured on this site’s own library rather than cited — the vector-space property to two parts in a million, the coupling to four figures — and that the measurement is what raised the question.

One consequence of the coupling is worth stating as an instruction rather than as a result. On a conformal projection the two second-order quantities carry no information about each other, so measuring both is measuring one thing twice — and a score that adds them is therefore weighting conformal maps differently from every other map for a reason nobody chose. Any ranking built on the pair has to say whether it treats the coupled case as one number or as two, and none of the published ones does.

It also decides what a fair comparison across projections has to hold fixed. Two maps compared on a pair of quantities are being compared on two numbers on one of them and on one number twice on the other, and the difference is not a matter of degree — it is the difference between a plane and a line in the space the scores live in. A ranking that does not say which it is measuring has averaged two different measurements and reported the result as one.

Where the ladder goes next

Two quantities are now available for any projection, over any region, computed from the projection’s own forward map. The obvious use of a pair of numbers is a ranking, and this site’s habit with a ranking is to distrust it: which projection is best refuses the question until an objective is named, and distortion over a region shows the answer changing when the region changes.

The third rung asks whether it also changes when the derivative changes, and it does. Ranking eight standard world maps by their second-order failure rather than their first-order one moves the Mercator projection up three places.

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.

AzimuthalConformalityCorrelationFlexionGeodesicGradientIsometric coordinateSecond-orderSkewnessSymmetryTissot's indicatrix