Hexa Scholar

Can reshaping a surface change its total curvature?

A smooth navy clay slab with one round hole through its middle lies on a wooden workbench beside a rolling pin and a small pinching tool.
A clay ring with one hole, and the tools to reshape it.

The question

A flat box has 8 corners, each with angle defect π/2. Round it off, stretch it or pinch it: what happens to the total?

And what does the number of holes have to do with it?

  1. 1 SeeReshape surfaces with 0 to 3 handles.
  2. 2 TryCompare the inside and outside of a torus.
  3. 3 ProveAdd up the defects of every corner.
  4. 4 ApplyFive problems, from meshes to tori.
Before you start · 3 quick checks on Gaussian curvature, the Euler characteristic and the area of a sphere, about 3 min

Two ideas before you start

2 ideas

On a polyhedron, curvature sits at the corners

Figure: three squares laid flat around a corner, leaving a gap of a quarter turn. It needs JavaScript.

Squares at the corner

Angle defect: δ = 2π − 3 · π/2 = π/2

Lay the faces around a vertex flat. The angle left over, 2π minus the angles that meet there, is the angle defect δ: positive at a cube corner, 0 on a flat sheet, negative where the faces have to overlap.

Exact definition

Angle defect. A polyhedral surface is made of flat polygons glued along their edges. At a vertex \(v\), let \(\theta(v)\) be the sum of the angles, in radians, of the polygons that meet at \(v\). The angle defect at \(v\) is \(\delta(v) = 2\pi - \theta(v)\). A vertex inside a flat region has \(\theta(v) = 2\pi\) and \(\delta(v) = 0\).

Total curvature. For a closed polyhedral surface, the total curvature is the sum of the angle defects over all of its vertices. On a smooth surface the Gaussian curvature \(K = k_1 k_2\) of how a surface bends two ways at once can vary from point to point, and its total curvature is the integral \(\iint K\,dA\) over the surface.

Count the handles

Figure: the stage 1 slab seen from above, with no holes. It needs JavaScript.

Handles g

g = 0: χ = 2 − 2g = 2 stage 1 mesh: V − E + F = 122 − 360 + 240 = 2

A handle is a tunnel through the surface, like the hole of a ring. Each one lowers the Euler characteristic χ = V − E + F by 2.

Exact definition

Closed surface. A surface is closed when it is compact, in one piece, and has no boundary: every point has a neighborhood shaped like a disk. It is orientable when it has two sides. Every closed surface embedded in space, sitting there without crossing or touching itself, is orientable: it has an inside and an outside.

Genus and Euler characteristic. Every closed orientable surface is homeomorphic to a sphere with \(g\) handles attached: the two can be matched point for point, continuously both ways, without tearing or gluing. The number \(g\) is its genus. Cut it into polygons with \(V\) vertices, \(E\) edges and \(F\) faces; then \(\chi = V - E + F\) does not depend on the cutting, as what a surface’s mesh remembers shows, and \(\chi = 2 - 2g\). That lesson computes the sphere (2) and the torus (0); for more handles this lesson uses the formula, checks it on its own meshes, and does not prove it.

Fine print: the surfaces in stage 1

Each surface in stage 1 is the outside of a slab of unit cubes, one cube thick: a 3 by 3 block with no holes, or a block 3 wide and \(2g + 1\) long with \(g\) square holes through it. Every unit square of the outside is cut into four squares of side \(\tfrac{1}{2}\), and each of those into two triangles along a diagonal. The surface is closed: it includes the bottom face and the walls of the holes.

Reshaping moves the vertices and keeps every triangle, so the counts \(V\), \(E\) and \(F\) never change. Rounding off moves each vertex toward the average of its neighbors; stretching widens the slab; pinching squeezes its middle.

1 See

Move the curvature around

The surfaces, the sliders and the goals open after you answer.

How the page computes the defects

For every triangle and each of its corners, the page takes the two edge vectors \(u\) and \(w\) leaving that corner and finds the angle \(\theta\) between them, the one with \(\cos\theta = \tfrac{u \cdot w}{|u|\,|w|}\). The defect of a vertex is \(2\pi\) minus the angles at it. The positive part adds the positive defects, the negative part the negative ones, and the total adds all of them; the tiles show them rounded to 3 decimals.

Rounding off blends each vertex between its starting place and its place after 10 smoothing steps, where every step moves each vertex halfway toward the average of its neighbors along the sides of the small squares. Stretching multiplies the width by the chosen factor. Pinching multiplies the width and the thickness by \(1 - p\,e^{-(x/0.8)^2}\), where \(x\) is the distance along the slab from its middle and \(p\) the chosen amount. No triangle collapses at any slider setting.

2 Try

Inside and outside a torus

Now a smooth surface. Spin a circle of radius \(r\) around an axis at distance \(R\) from its center, with \(R \gt r \gt 0\). The circle sweeps out a torus. The outer half of the tube faces away from the axis, the inner half faces the hole, and the two equators are the circles farthest from and nearest to the axis. \(K\) is the Gaussian curvature \(k_1 k_2\).

The formulas, the explorer and its goals open after you answer both predictions.

3 Prove

Adding up the angle defects

Theorem (Descartes’ angle-defect formula)

Let a closed surface be made of finitely many flat triangles, each with three corners not on one line, glued edge to edge: two triangles share a whole edge, a single vertex, or nothing, and every edge lies in exactly two triangles. Let \(V\), \(E\) and \(F\) count the vertices, edges and triangles, and let \(\delta(v)\) be the angle defect at the vertex \(v\). Then

\[\begin{aligned} \sum_{v} \delta(v) &= 2\pi(V - E + F). \end{aligned}\]

Write \(S\) for the sum of the angle defects and \(A\) for the sum of all the angles of all \(F\) triangles. Then choose each step of the proof.

Consequences

Reshaping cannot change the total. Moving the vertices changes the angles but not \(V\), \(E\) or \(F\), as long as no triangle collapses. So the sum of the angle defects stays \(2\pi(V - E + F)\). The stage 1 meshes have \(V - E + F = 2\), 0, \(-2\) and \(-4\), so their totals are exactly \(4\pi\), 0, \(-4\pi\) and \(-8\pi\).

The smooth version: the Gauss–Bonnet theorem. For a smooth closed orientable surface with \(g\) handles,

\[\begin{aligned} \iint K\,dA &= 2\pi\chi \\ &= 2\pi(2 - 2g). \end{aligned}\]

It is the smooth counterpart of the formula above: the curvature spread over a smooth surface adds up to the same total as the angle defects of any closed triangle mesh with the same number of handles. One proof cuts the surface into small triangles whose sides are geodesics, the curves that on a sphere are the great-circle arcs, and it is not given here. Stage 2 checked it on the torus, where \(g = 1\) and \(\iint K\,dA = 0\).

Where 2 − 2g comes from

A closed orientable surface with \(g \ge 1\) handles can be cut along \(2g\) loops through one point so that it opens up into a single polygon with \(4g\) sides. Gluing the sides back in pairs gives a cell decomposition with one vertex, \(2g\) edges and one face, so \(V - E + F = 1 - 2g + 1 = 2 - 2g\). For \(g = 0\), a sphere, the cube gives 2. Since \(\chi\) is the same for every decomposition, every triangulation of the surface has \(V - E + F = 2 - 2g\). That every closed orientable surface is a sphere with \(g\) handles is the classification of surfaces, a theorem this lesson does not prove.

4 Apply

Problems

Each problem has hints and a worked solution. Answer with one decimal number; where a tolerance is stated, answers within it are accepted, and otherwise the exact value is required.

Key point Count first, then multiply by \(2\pi\): the angle defects of a closed triangle mesh add up to \(2\pi(V - E + F)\), and a smooth closed orientable surface with \(g\) handles has \(\iint K\,dA = 2\pi(2 - 2g)\). Mesh sizes, handle counts and average curvatures follow from these totals.
Level Intermediate Prerequisites How a surface bends two ways at once; what a surface’s mesh remembers; the area of a sphere (refreshed in Before you start) Time ~40 min

Related: Why do shortest routes on a sphere follow great circles? introduces the geodesics that the proof of the smooth theorem uses.

Further reading