advanced30 min studyLesson 457 in Mathematics

Gauss–Bonnet on surfaces

Combine interior curvature, oriented boundary turning, and corner angles to recover the Euler characteristic of a compact surface.

On this page

What you’ll understand

  • State Gauss–Bonnet with orientation, boundary, and corner terms.
  • Compute closed-sphere and hemisphere curvature totals.
  • Track the opposite boundary orientations of a planar annulus.

Local curvature can vary when a surface is deformed, while topology records a different kind of information. Gauss–Bonnet links them through an integral, provided all contributions are counted. On a closed surface the total Gaussian curvature determines the Euler characteristic. With boundary, curvature of the edge and signed corner turns must also appear; dropping those terms can turn a correct theorem into a false numerical claim.

Interior, boundary, and corners contribute together

Let M be a compact connected oriented smooth Riemannian surface whose boundary is piecewise smooth and regular, with finitely many ordinary corners. Orient each boundary component positively, keeping the surface locally to the left. Along a smooth boundary arc, use unit tangent T and its positive quarter-turn N inside the tangent plane; signed geodesic curvature is kg=g(∇TT,N)k_g=g(\nabla_TT,N). At a corner include the signed exterior turning angle from the incoming to outgoing tangent.

Gauss–Bonnet then gives the displayed sum. For a positively traversed convex corner of interior angle alpha, the exterior angle is π−alpha. Reentrant corners or reversed boundary motion change signs, so absolute curvature is not a substitute for the signed term. The metric area element is used in the interior integral. These conventions make a counterclockwise Euclidean circle bounding a disk have positive geodesic curvature, agreeing with the familiar full turn of a plane curve.

∫MK dA+∫∂Mkg ds+∑jθj=2πχ(M)\int_M K\,dA+\int_{\partial M}k_g\,ds+\sum_j\theta_j=2\pi\chi(M)
The compact oriented surface has positively oriented piecewise smooth boundary; θⱼ are signed exterior angles. Smooth boundary has no corner sum, and empty boundary has no boundary integral.↔ Scroll wide equations horizontally.

Closed surfaces isolate the curvature integral

For a closed surface, meaning compact and without boundary here, only the interior integral remains. A sphere of radius ρ has K=1/ρ² and area 4πρ², giving total curvature 4π independently of radius. A closed oriented surface of genus h has Euler characteristic 2−2h, so its total curvature is 4π(1−h). The equality is global: it does not require curvature to have a fixed sign or to be constant.

A flat torus has zero curvature everywhere, consistent with Euler characteristic zero. A curved embedded torus can have both positive and negative regions whose integrals cancel, giving the same total. Conversely, a closed oriented surface with negative Euler characteristic cannot carry a metric with nonnegative Gaussian curvature everywhere, since its curvature integral must be negative. This obstruction follows directly from the sign of an integral; it does not classify all possible metrics or embeddings.

∂M=∅⟹∫MK dA=2πχ(M)=4π(1−h)\partial M=\varnothing\quad\Longrightarrow\quad\int_MK\,dA=2\pi\chi(M)=4\pi(1-h)
The genus formula assumes a compact connected oriented surface without boundary. Noncompact surfaces and surfaces with boundary need additional terms or hypotheses.↔ Scroll wide equations horizontally.

Boundary terms can carry the whole topology

A flat Euclidean disk has K=0, yet Euler characteristic one. Its smooth circular boundary contributes 2π, supplying the entire right side. A planar polygon has straight boundary arcs with zero geodesic curvature, so its signed exterior angles supply that same total. A geodesic polygon on a curved surface instead places some contribution in the interior: for a topological disk with geodesic sides, the difference between angle sum and the Euclidean value measures its integrated Gaussian curvature.

The theorem can be motivated by subdividing a surface into small oriented pieces and expressing connection rotation as curvature. When pieces are combined, oppositely oriented interior edges cancel and the remaining combinatorial count becomes the Euler characteristic. This is a proof outline, not a full triangulation and connection-form argument. For computations, explicitly list which terms vanish and why; a geodesic boundary has zero geodesic curvature intrinsically even if it bends as a curve in the surrounding space.

A hemisphere is a disk with geodesic boundary

Apply Gauss–Bonnet to the closed northern hemisphere of the unit sphere, including its equator as boundary. Compute its Euler characteristic, interior curvature integral, and boundary term.

  1. The hemisphere is topologically a disk, so its Euler characteristic is one. Its standard Gaussian curvature is one and its area is 2π, giving interior integral 2π.

  2. The boundary equator is a great circle and therefore a geodesic of the sphere. Its signed geodesic curvature is zero, despite having nonzero curvature as a curve in ambient three-dimensional space.

  3. The boundary is smooth and has no corners. Thus the full left side is 2π+0+0=2π, matching 2π times one. Using the closed-surface formula would have ignored the theorem's boundary hypotheses, even though this particular boundary term happens to vanish.

The result

The hemisphere has χ=1 and curvature total 2π; its equatorial boundary contributes zero geodesic curvature.

Explore the model

Interactive lab

Interactive lab · modular

A flat polygon stores curvature in its turns

Pause and Reset, then set modulus m = 4 and additive step a = 3. Step four times and view the counterclockwise straight-sided residue cycle 0→3→2→1→0 as a planar square. Predict four positive exterior turns of π/2 sum to 2π, with zero interior Gaussian curvature and straight-edge geodesic curvature. Reset and set both m = 3 and a = 2; the counterclockwise triangular cycle has three turns of 2π/3 and the same total. The instrument draws a modular polygon, not a curved-surface curvature solver.

A flat polygon stores curvature in its turnsAddition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Current readings: Residue r0: 0; Orbit period · m/gcd(m,a): 12; Distinct residues visited: 1 of 12. All parameters are adjustable with the labeled controls below.Repeated addition modulo 12: the current residue is 0, and the orbit period is 12.01234567891011+ 5mod 12An additive orbitn = 0rₙ = 0Period = 12Cycle starts at 0:0 → 5 → 10 → 3 →8 → 1 → 6 → 11 →4 → 9 → 2 → 7 → 0Exact residues · two additions per second
Additive orbitCurrent residue / next edge
Residue r0
0
Orbit period · m/gcd(m,a)
12
Distinct residues visited
1 of 12
t = 0 s

Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA flat polygonal disk needs the corner terms in Gauss–Bonnet; its interior curvature alone cannot recover Euler characteristic one.

Check your understanding

Which practice can invalidate a Gauss–Bonnet calculation on a compact oriented surface with piecewise smooth boundary?

Try it yourself

Consider the flat planar annulus 1≤r≤2 with the standard orientation. Compute both signed boundary geodesic-curvature integrals and verify Gauss–Bonnet. Explain the orientation of the inner circle.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Keep the surface to your left. The outer circle is counterclockwise, while the inner circle is clockwise; their signed curvatures have opposite signs.

Compare with the solution

The outer boundary has signed curvature +1/2 and length 4π, so its integral is +2π. The inner boundary is clockwise and has signed curvature −1 with length 2π, giving −2π. There are no corners and the flat interior has K=0. The total is zero, matching the annulus's Euler characteristic zero. Traversing both circles counterclockwise would give the wrong sign on the inner contribution because it would place the annulus to the right along that component.

Take it with you

  • Boundary orientation and signed exterior angles are part of the theorem, not optional conventions.
  • Closed-surface total Gaussian curvature is fixed by Euler characteristic.
  • Intrinsic geodesic curvature differs from ambient bending of an embedded boundary.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.