Surfaces that are not flat

The floors that unroll

A ridged floor curves visibly and can be laid flat without stretching anything — 7.4e-9 of strain across the patch. A dished floor curves less and cannot be laid flat by any means whatever. The difference is one number, Gaussian curvature, and it is the number Gauss proved no bending can change: 0 for the ridge, 0.0144 per square metre for the dish, and no cleverness in the flattening touches it.

Worth reading first: When the picture surface is not flat.

Which surfaces can be laid flat on a table without stretching, tearing or wrinkling anything? The question sounds like it should be answered by looking, and looking gets it wrong in both directions.

A ridged floor — curving strongly one way, flat the other — unrolls exactly. A dished floor, which curves much less and looks gentler, cannot be unrolled by any means at all. A sheet of paper rolls into a cylinder and into a cone and never into a sphere, which is why an orange peel will not lie flat and a paper cup will.

A ridged floor, and the same floor laid out flatThe section through the ridge is a parabola 2.6 m wide across the plan and 2.6105 m long along the surface. Unrolling it is exact: the marks below are the marks above, each moved to its own arc length, and the map between them stretches nothing — the worst strain across the patch is 7.4e-9. Reading the floor off its plan instead stretches it by 0.86%.the floor, in placeunrolled — 2.611 m of surfacea ridged floor, k = 0.062.6 m of plan is 2.611 m of floor
Fig. 1 A ridged floor and the same floor laid out flat. The section is a parabola 2.6 m wide across the plan and 2.6105 m long along the surface; each mark below is the mark above moved to its own arc length. The map between them stretches nothing — 7.4e-9 of strain across the patch, which is arithmetic.

The number that decides it was found by Gauss and he called the result remarkable, which for a mathematician writing in Latin was strong language. This essay measures it on four floors and then uses it, because the answer decides whether a whole class of question is well posed.

Curvature that survives bending

Take a surface and ask how curved it is at a point. There are two answers and they are different objects.

The extrinsic answer describes how the surface sits in space: which way it bends, and how sharply, in each direction through the point. Roll a sheet of paper and this changes everywhere.

The intrinsic answer describes what a creature living in the surface could measure — distances along it, angles between paths in it, the circumference of a circle of given radius drawn on it. Roll a sheet of paper and none of that changes at all, because nothing measured inside the surface has moved.

Gaussian curvature is intrinsic. That is the remarkable theorem: a quantity defined from how the surface bends in space turns out to depend only on measurements made inside it, so no bending changes it.

The consequence is immediate and it is the whole classification. A flat sheet has Gaussian curvature zero everywhere. Bending cannot change curvature. So any surface that can be got from a flat sheet by bending has curvature zero everywhere — and any surface with curvature anywhere cannot be got from a flat sheet, and cannot be laid onto one, by any method whatever.

That last clause is what makes this an obstruction rather than a difficulty. It is not that a clever enough flattening would do better; it is that there is no flattening, in the way that there is no largest prime.

Four floors, measured

For a surface given as a height y=h(x,z)y = h(x, z), the Gaussian curvature has a short form:

K  =  hxxhzzhxz2(1+hx2+hz2)2.K \;=\; \frac{h_{xx}h_{zz} - h_{xz}^2}{\left(1 + h_x^2 + h_z^2\right)^2}.

The numerator is the determinant of the second-derivative matrix, and everything hangs on it. If the surface curves in one direction and is flat in the other, one of the second derivatives is zero and the determinant is zero — however sharply the first direction curves.

Gaussian curvature decides whether a floor can be unrolled at allA surface can be laid flat without stretching exactly when its Gaussian curvature is zero everywhere — Gauss's theorem, which says that quantity survives any bending. Three of these four floors have none, including the ridge, which curves visibly. The dish has 0.0144 per square metre, and no cleverness in the flattening removes it.floorGaussian curvature, worst over the patchcan it be unrolled?a flat floor0yes, exactlya ridged floor0yes, exactlya floor with a step0yes, exactlya dished floor0.0144by nothing whateverfour floors, k = 0.06three at zero, one at 0.0144 m⁻²
Fig. 2 The four floors this site casts shadows onto, measured. Three of them have no curvature at all, including the ridge, which is the one that looks most curved. The dish has 0.0144 per square metre and no bending removes it.

The four:

A flat floor: every derivative zero, K=0K = 0. Trivially developable, and its development is the identity.

A ridge, h=kx2h = kx^2: curves in xx, flat in zz, so hzz=0h_{zz} = 0 and K=0K = 0. Developable, and this is the case worth the surprise — the ridge is visibly, strongly curved.

A step, two horizontal planes with a jump: flat on both sides, K=0K = 0 away from the seam. Developable piecewise, which is a different and weaker statement, and the seam is where every claim about it stops.

A dish, h=k(x2+z2)h = k(x^2 + z^2): curves the same way in both directions, both second derivatives positive, K>0K > 0. Not developable, at 0.0144 per square metre.

The derivatives here are taken by central differences rather than written out, and the reason is the step. A jump has no second derivative at all, and a file that wrote analytic derivatives would have had to special-case it or quietly leave it out — and leaving it out is how a family of surfaces silently becomes a family of smooth surfaces without anybody deciding that.

The ridge, unrolled exactly

Saying a surface is developable is one thing; producing the development and measuring it is another, and the second is what makes the claim a number.

For the ridge the development is arc length along the parabolic section, with the flat direction left alone:

u(x)  =  0x1+4k2t2dt  =  12x1+4k2x2  +  14kasinh(2kx),v=z.u(x) \;=\; \int_0^x \sqrt{1 + 4k^2t^2}\,\mathrm{d}t \;=\; \tfrac{1}{2}x\sqrt{1+4k^2x^2} \;+\; \tfrac{1}{4k}\operatorname{asinh}(2kx), \qquad v = z.

Written in closed form rather than integrated numerically, because it is the thing being claimed exact and a quadrature’s error would be indistinguishable from the surface failing to develop.

Measuring the claim needs a definition of “stretches nothing”, and the local one is the right one. At each point, compare the differential of the flattening with the surface’s own metric; the two numbers that come out are how much the most- and least-stretched directions are scaled. An isometry has both exactly 1.

Across the patch the ridge’s worst departure from 1 is 7.4e-9. That is arithmetic. The map does not nearly preserve lengths; it preserves them.

A ridged floor, and the same floor laid out flatThe section through the ridge is a parabola 2.6 m wide across the plan and 2.6290 m long along the surface. Unrolling it is exact: the marks below are the marks above, each moved to its own arc length, and the map between them stretches nothing — the worst strain across the patch is 3.3e-11. Reading the floor off its plan instead stretches it by 2.34%.the floor, in placeunrolled — 2.629 m of surfacea ridged floor, k = 0.12.6 m of plan is 2.629 m of floor
Fig. 3 A steeper ridge, unrolled by the same closed form. 2.6 m of plan becomes rather more of floor, and the development is still exact — developability is not a matter of degree.

What the plan costs

The interesting comparison is not between the exact development and nothing. It is between the exact development and the flattening everybody actually uses, which is the plan: read the floor’s coordinates off a drawing looking straight down.

That is a flattening. It is just not an isometry.

What reading a floor off its plan costs, on four floorsEvery rectification that treats a floor as flat is using the plan as the flattening. On the flat floor and on the step that is exactly right — both are planes, so the plan is the surface. On the ridge it stretches by 0.86%, and the ridge has an exact unrolling that does not; on the dish it stretches by 1.03%, and no flattening of a dish avoids it, because its curvature is 0.0144 per square metre and no bending removes that.floorwhat reading it off the plan stretchesavoidable?a flat floor0 — the plan is the surfacenothing to avoida ridged floor0.86%yes, by unrollinga floor with a step0 — the plan is the surfacenothing to avoida dished floor1.03%no, by anythingfour floors, k = 0.06only the dish has curvature — 0.0144 m⁻²
Fig. 4 What reading a floor off its plan costs, on the four floors. Zero on the flat floor and on the step, because both are planes and the plan is the surface. 0.86% on the ridge, which has an exact unrolling that does not; 1.03% on the dish, which has none.

Two readings of that figure matter and they are different.

On the ridge, the 0.86% is avoidable. An exact development exists; using the plan instead is a choice, and a better choice is available for the cost of one integral.

On the dish, the 1.03% is not. No flattening does better than some amount, because the curvature is an obstruction. The plan is a bad flattening and every other flattening is also bad; what varies is where the badness is put.

That is the distinction the whole essay is for. Two numbers of the same size, one of which is a mistake and one of which is a fact.

Where it decides whether a question exists

The classification is not an aesthetic one. It decides whether a recovery is well posed.

Recovering a design painted on a curved floor means returning the marks to the design’s own flat coordinates — the ones a signwriter measured with a flexible rule. On a ridge those coordinates exist and are unique, so “the flat design that was painted on it” names something definite, and the recovery has a right answer.

On a dish they do not exist. There is no flat design; there are only flattenings, all of them distorting, none of them distinguished. A recovery computed through some chosen flattening of a dish is a perfectly good calculation that returns the choice rather than the design, and it will do so confidently and without residual.

So the first question to ask about a curved surface, before any rectification, is not how curved it is. It is whether its curvature is zero.

One photograph of one floor, undone three waysThe design is 1800 mm across. Knowing the surface returns it exactly — nothing is fitted, so there is no residual to report beyond arithmetic. Assuming the floor is flat is exact at the four marks the homography was given and 111 mm out elsewhere. And knowing the shape but getting its curvature 10% wrong costs 11.0 mm, which is the price of the parameter rather than of the shape.what the recovery was toldworst error in the recovered designthe surface, known1.1e-12 mmassumed flat, four marks110.97 mm6e-13 mm at the fourthe surface, curvature 10% out11.00 mma a ridged floor, k = 0.06, design 1800 mm wide1e-12 mm · 111 mm · 11.0 mm
Fig. 5 The recovery that depends on the answer. On a developable floor it is exact — no fitting, no residual — because there is a flat design to return to. Change the floor to one with curvature and the top row of this table stops meaning anything.
A rectangular grid, painted on a ridged floor and photographedEvery mark is where a flexible rule laid along the floor would put it, so the grid is exactly rectangular on the surface and exactly 1800 × 1200 mm when the floor is unrolled. Undone with the floor known, the design comes back to 1.1e-12 mm. Undone by a homography fitted to the four ringed marks — which is what a rectification tool does — it is exact at those four and 93 mm out at the worst of the others.93 mm outcorrect from 21 cm, at 160 mm wide1e-12 mm with the floor · 93 mm without
Fig. 6 And the picture it is done from. The grid is exactly rectangular measured along the floor and visibly not rectangular in the photograph, which is the whole gap the development closes.

The same theorem, in the other field

There is a version of this result the curved field has been living with since it was written, and connecting the two is worth a section because they look unrelated.

A map from the sphere of directions to a flat picture is a flattening of a sphere. The sphere has positive curvature. So no picture surface is an isometry of the sphere — no flat picture preserves all angular distances, and every one of them distorts.

That is Gauss’s theorem again, and it is the reason the comparisons in this field never have a winner. A flat plane keeps great circles straight and inflates area beyond all bounds; stereographic keeps every angle and inflates area; equal-area keeps area and bends every line. Each surface gives up something because something has to be given up, and the theorem says so before any of them is examined.

Straight, or conformal — the corner that is emptySix picture surfaces plotted by how much they bend a straight line (across) against how far they are from preserving shape (up). The plane sits on the left edge and the top; stereographic on the bottom and the right. Nothing sits in the bottom-left corner, and by Beltrami's theorem nothing can.straight AND conformal — empty10⁻⁷10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹10⁰10⁻⁷10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹10⁰10¹10²bend of a straight line, as a fraction of its own chorddeparture from conformal (degrees, or % of anisotropy)planecylinderstereographicequidistantequal-areaequirect.sampled over a 130° fanlower left would be a surface with no cost
Fig. 7 The trade stated as a measurement rather than as a theorem. No surface scores zero on straightness and zero on conformality, and the reason is that a sphere has curvature and a picture does not.
One room at 140° across, cast onto six picture surfacesEach panel holds the same angular width of the same scene. The flat plane keeps every straight line straight and pays for it at the edges; the five curved surfaces bend the ground lines by 3.5% to 6.0% of their own length.plane — bend 0.0%cylinder — bend 6.0%stereographic — bend 3.5%equidistant — bend 4.5%equal-area — bend 5.1%equirect. — bend 5.7%140° across in every panelsame scene, same angle, six surfaces
Fig. 8 Six surfaces given the same scene and the same angular width. Each is a different choice about where to put the distortion Gauss’s theorem says must be somewhere.

Measuring strain, rather than asserting it

It is worth saying how “stretches nothing” is turned into a number, because the obvious method does not work and the failure is instructive.

The obvious method is to compare distances. Take points on the surface, measure the distance between each pair along the surface, compare with the distance between their images in the flattening, and report the worst ratio. That is the definition of an isometry and it is the wrong thing to compute, because distances along a surface are geodesic distances, and computing those needs either a solver or a mesh. A mesh introduces its own error of the same order as the effect being measured, so a developable surface would report a small non-zero strain that was entirely about the mesh, and the comparison with a genuinely curved one would be between one real number and one artefact.

The measurement used instead is local and exact. At each point, the surface has a metric — three numbers giving the lengths of and the angle between its own coordinate directions — and the flattening has a differential. Comparing the two gives the two principal stretch factors directly, as the roots of a quadratic, with no geodesics and no mesh anywhere.

That is why the ridge’s strain comes back at 10910^{-9} rather than at 10310^{-3}: nothing has been discretised. And it is why the dish’s number is trustworthy too, since both are computed by the same code path from the same definition.

The cone, and the case that pays off later

One developable surface is worth naming separately, because it turns up in an unexpected place.

A cone has zero Gaussian curvature everywhere except at its apex, where it has all of it at once. Cut a cone along a line from the apex and it unrolls to a sector of a disc, exactly, which is why a paper cup can be made from a flat sheet and a paper ball cannot.

That makes a conical mirror an unusually clean object: the metal can be made from a flat sheet, and its surface has an exact flat map. Which does not mean that a picture reflected in a cone is a rolled-up flat picture — the reflection is a different map from the development, and it turns out not to be a projectivity at all. The two facts sit beside each other, and confusing them is easy.

Six flat pictures, and what happens where two of them meetEach face is a flat picture at 90°, so a straight line inside one is drawn exactly straight — 1e-15 of its chord. Across a seam the two straight pieces meet at 0.00°. The shading is the area scale, which runs from 1 at a face's centre to 5.196 at its corner, with an anisotropy of 1.7321 there.leftfrontrightbackupdownthis line stays inside one facecorner area ×5.196anisotropy √3 = 1.7321 there
Fig. 9 The developable case taken to its extreme. Six flat faces unrolled into a net — exact within each face, because each is a plane, and with all the trouble concentrated at the seams, where the curvature the sphere has is hiding.
The cube map has a scale below which everything is straightThe fraction of world lines a cube map draws exactly straight, against how long a piece of the line is drawn. It falls from 96.0% at a 5° arc to 4.0% at 50°. Every other surface here gives the same answer at every length.0%25%50%75%100%10°20°30°40°50°world lines drawn exactly straightlength of the piece drawn, in degrees of arcsampled over 20×20 directionsno other surface here has a scale
Fig. 10 And what the seams do. A world line is drawn exactly straight while it stays inside one face and stops being straight the moment it crosses to another, so the share of lines a cube map draws straight depends entirely on how long a piece of line is asked about — the curvature a smooth surface spreads evenly is here squeezed onto twelve edges.

Piecewise, and why it is weaker than it sounds

The step deserves its own paragraph, because “developable piecewise” reads like a small qualification and is a large one.

Two horizontal planes with a jump between them have zero curvature everywhere except on the seam, and each piece flattens exactly — indeed each piece’s plan is its development, since both pieces are already flat. By every test in this essay the step is the easiest of the four floors.

It is also the one that broke a four-point fit worst when a shadow was cast onto these same four surfaces: 74.95 mm, against 5.67 mm on the dish and 9.07 mm on the ridge. The smooth curved floor was an order of magnitude kinder than the one made of two planes.

The reason is that the questions are different. “Can this be laid flat?” is answered piece by piece and the step passes. “Is the map from this surface to a picture a projectivity?” is answered globally and the step fails hardest, because it is two projectivities glued along a line and there is nothing in a photograph to say where the join is.

So developability is necessary for a well-posed flat recovery and it is nowhere near sufficient. A surface can unroll perfectly and still defeat every method that assumes one map.

What the receiving surface costs a four-point fitThe same lamp and the same occluder, cast onto four surfaces. Four marks of the shadow are matched to four known points of the occluder, the map they determine exactly is built, and the other sixty-eight points are predicted by it. On the plane the prediction is right to 3e-13 mm; on the others it is not, and the fit is still exact at the four everywhere — 2e-13 mm — which is what makes the rest a prediction rather than a residual.a flat floor3e-13 mma homology — four points determine ita dished floor5.67 mmnot a homologya ridged floor9.07 mmnot a homologya floor with a step74.95 mmnot a homologyworst error of the predicted pointsexact at the four fitted, on every surface
Fig. 11 The measurement that makes the point. The step is developable — two planes — and it is the worst of the four for a map fitted to four marks, because “piecewise projective” is not projective.

What to take away

Look at the second derivatives, not at the shape. A surface that curves one way and is flat the other is developable however sharply it curves. A surface that curves both ways is not, however gently.

Developable means there is a right answer. A design on a developable surface has flat coordinates, and a recovery of it can be exact. On a curved surface there are no flat coordinates and a recovery returns whichever flattening it was given.

And the plan is a flattening. Reading a curved floor off its plan is not “ignoring the curvature”; it is choosing a particular map, one which happens to be exact when the floor is a plane and is otherwise a per cent or so out. On a developable floor a better one exists for the cost of an integral. On a curved one nothing better exists, and the honest thing is to say which flattening was used.

Gaussian curvature decides whether a floor can be unrolled at allA surface can be laid flat without stretching exactly when its Gaussian curvature is zero everywhere — Gauss's theorem, which says that quantity survives any bending. Three of these four floors have none, including the ridge, which curves visibly. The dish has 0.0576 per square metre, and no cleverness in the flattening removes it.floorGaussian curvature, worst over the patchcan it be unrolled?a flat floor0yes, exactlya ridged floor0yes, exactlya floor with a step0yes, exactlya dished floor0.0576by nothing whateverfour floors, k = 0.12three at zero, one at 0.0576 m⁻²
Fig. 12 The same four floors with the curvature doubled. Three of the four are still exactly zero — developability does not degrade — and the dish’s has gone up by a factor of four, since curvature goes as the square of the coefficient.
What reading a floor off its plan costs, on four floorsEvery rectification that treats a floor as flat is using the plan as the flattening. On the flat floor and on the step that is exactly right — both are planes, so the plan is the surface. On the ridge it stretches by 2.34%, and the ridge has an exact unrolling that does not; on the dish it stretches by 2.80%, and no flattening of a dish avoids it, because its curvature is 0.0400 per square metre and no bending removes that.floorwhat reading it off the plan stretchesavoidable?a flat floor0 — the plan is the surfacenothing to avoida ridged floor2.34%yes, by unrollinga floor with a step0 — the plan is the surfacenothing to avoida dished floor2.80%no, by anythingfour floors, k = 0.1only the dish has curvature — 0.0400 m⁻²
Fig. 13 The plan-reading cost at a steeper curvature. The ridge’s rises and remains avoidable; the dish’s rises and remains unavoidable, which is the distinction the whole essay is about.
Five great circles, imaged on the cylinderThe same conic fit reports 1.2e+0 — not a circle, and not a line either.fitted conic: 1.241 from being a circlecylinderthe samples, fitted
Fig. 14 And the surface that started the field, seen as a developable one. A cylinder can be unrolled onto a flat print exactly, which is why a panorama is printable — and it still bends every great circle that is not vertical, because bending the print is not the same as bending the sphere.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Arc lengthArea scaleConeConformalCylinderDevelopableGaussian curvatureIsometryPicture planeRectificationSphere