← Home

Geodesics, Curvature, and Divergence on Finite 2-Manifolds

Shreshth Rajan · December 2025 · PDF
Abstract

On a graph 2-manifold, let the divergence $D_G(v,r)$ be the number of vertices at graph distance $r$ from a vertex $v$, minus $6r$, the count on the flat triangular lattice. At radius 1 the divergence equals $-6$ times Knill's degree curvature $1-\deg(v)/6$, and its sum over all vertices equals $-6$ times the Euler characteristic. We argue that the growth of graph spheres is a discrete analogue of geodesic deviation. On smooth and polyhedral surfaces, curvature controls the growth of small geodesic circles, and with it whether shortest paths cluster (as on a sphere) or spread (as near a point of negative curvature). On a polyhedral surface, curvature is the angle defect at a vertex, and it fixes the exact linear growth of geodesic circles around that vertex. On a graph 2-manifold in the sense of Knill's discrete differential geometry, only combinatorial data is available: curvature is encoded by vertex degree and satisfies a discrete Gauss-Bonnet identity. We compute the divergence on triangulations of the sphere, torus, and projective plane and at an isolated vertex of degree 7, and find that it tracks the local focusing or spreading of shortest paths, while its total is fixed by the global topology.

1. Introduction

In differential geometry, curvature governs how geodesics move. On a smooth surface, the Jacobi equation for geodesic deviation says that nearby geodesics converge where the Gaussian curvature is positive and spread apart where it is negative. The Gauss-Bonnet theorem turns this local behavior into a global statement by relating total curvature to the Euler characteristic.

General relativity uses the same principle in higher dimensions: curvature governs how families of geodesics focus or defocus. It is less clear how much of this survives in purely discrete settings.

This paper asks: on finite 2-manifolds, what discrete version of geodesic behavior reflects curvature?

We consider two related discrete models. The first is purely combinatorial: graph 2-manifolds, where geodesics are shortest paths in the graph metric and metric spheres are defined by graph distance. The second is geometric: polyhedral (piecewise flat) surfaces, where curvature appears as angle defect at vertices and geodesics are defined using the intrinsic metric.

The polyhedral model suggests the answer. Near a vertex $p$, a polyhedral surface is locally isometric to a Euclidean cone with total angle

$$\Theta(p)=2\pi-K(p).$$

A direct computation shows that a geodesic circle of radius $r$ has length

$$L(p,r)=\Theta(p)\,r, \qquad L(p,r)-2\pi r=-K(p)\,r.$$

At a cone point, positive curvature shortens circles and makes geodesics focus. Negative curvature lengthens circles and makes geodesics spread apart.

In a graph 2-manifold, the flat reference is the triangular lattice, where the sphere of radius $r$ contains exactly $6r$ vertices. For a general graph 2-manifold $G$ and vertex $v$, we therefore define a divergence functional by

$$D_G(v,r)=|S_r(v)|-6r,$$

where the graph sphere $S_r(v)$ is the set of vertices at graph distance $r$ from $v$. At radius 1, in terms of the degree curvature $K_G(v)=1-\deg(v)/6$ of Section 2,

$$D_G(v,1)=\deg(v)-6=-6K_G(v).$$

Summing over all vertices and applying the discrete Gauss-Bonnet theorem gives, with $\chi(G)$ the Euler characteristic,

$$\sum_v D_G(v,1)=-6\chi(G),$$

so the average divergence at radius 1 is fixed by the topology. In the graph setting, the growth of small graph spheres plays the role that the length of small geodesic circles plays in the smooth and polyhedral theories.

The rest of the paper develops this analogy. Section 2 reviews graph 2-manifolds, degree curvature, and the discrete Gauss-Bonnet theorem. Section 3 studies polyhedral surfaces, geodesics, and geodesic fans. Section 4 introduces circle growth and fan behavior in both settings. Section 5 defines the discrete divergence functional and proves its basic properties. Section 6 computes the functional on standard triangulated examples. Section 7 interprets divergence as a discrete analogue of geodesic deviation and discusses possible extensions.

2. Discrete 2-Manifolds and Curvature in the Graph Setting

This section recalls Knill's definition of a finite graph 2-manifold and justifies the degree curvature

$$K(v) = 1 - \frac{\deg(v)}{6},$$

in two ways: as a normalized angle defect, and through an exact combinatorial Gauss-Bonnet identity. Section 5 compares the discrete divergence functional against this curvature.

2.1 Graph 2-Manifolds

Let $G=(V,E)$ be a finite simple graph. For a vertex $v\in V$, the unit sphere (or link) of $v$ is the induced subgraph

$$S(v) := G[\{u \in V : \{u,v\}\in E\}].$$

Following Knill [1,2], we call $G$ a graph 2-manifold if each $S(v)$ is a cycle graph $C_n$ with $n\ge 3$, and $G$ admits a triangulation: there exists a collection $F$ of 3-element subsets of $V$ such that $(V,E,F)$ is a closed 2-dimensional simplicial complex where every face is a triangle and every edge is contained in exactly two faces. The Euler characteristic of $G$ is

$$\chi(G) = |V| - |E| + |F|.$$

The cycle condition for $S(v)$ encodes the local manifold requirement that a small neighborhood of $v$ has the topology of a 1-sphere. Every closed surface (sphere, torus, projective plane, and higher genus) has a triangulation of this kind: the barycentric subdivision of any triangulation is one. Not every triangulation qualifies. In the minimal 7-vertex torus and the minimal 6-vertex projective plane every two vertices are adjacent, so the unit spheres are the complete graphs $K_6$ and $K_5$, which are not cycles.

2.2 Angle Defect and Curvature

When a graph 2-manifold is a polyhedral surface in $\mathbb{R}^3$ with each face a Euclidean triangle, curvature is concentrated at vertices.

If $\sigma \in F$ is a face incident to $v$ and $\theta_\sigma(v)$ is the interior angle of $\sigma$ at $v$, the angle sum at $v$ is

$$\Theta(v) := \sum_{\sigma\ni v} \theta_\sigma(v),$$

and the angle-defect curvature (in class, we called this the excess angle [2]) is

$$K_{\mathrm{ang}}(v) := 2\pi - \Theta(v).$$

In the flat plane the angles around a point sum to $2\pi$, so $K_{\mathrm{ang}}(v)$ measures how far the vertex is from flat.

The polyhedral Gauss-Bonnet theorem (e.g., [3] or the polyhedral curvature discussion from class [2]) states that for a closed polyhedral surface,

$$\sum_{v\in V} K_{\mathrm{ang}}(v) = 2\pi \chi(G).$$

When all faces are equilateral triangles, each contributes an angle of $\pi/3$. A vertex of degree $d$ then satisfies

$$\Theta(v) = d \cdot \frac{\pi}{3}, \qquad K_{\mathrm{ang}}(v) = 2\pi - d\cdot \frac{\pi}{3} = 2\pi\left(1 - \frac{d}{6}\right).$$

This motivates the normalized degree curvature

$$K_{\mathrm{deg}}(v) := 1 - \frac{\deg(v)}{6},$$

which coincides with $K_{\mathrm{ang}}(v)/(2\pi)$ for equilateral triangulation.

Thus $K_{\mathrm{deg}}(v)$ is the curvature at $v$ in units of $2\pi$, and serves as a discrete Gaussian curvature. Related notions, in different analytic forms, include Forman's combinatorial Ricci curvature [4] and Ollivier's coarse Ricci curvature [5].

2.3 Combinatorial Gauss-Bonnet

Degree curvature satisfies an exact Gauss-Bonnet identity that uses only the graph, with no embedding or metric. The proof below, from class, also appears in [1,2].

Theorem 2.1 (Discrete Gauss-Bonnet)

Let $(V,E,F)$ be a closed triangulated graph 2-manifold. Then

$$\sum_{v\in V} \left(1 - \frac{\deg(v)}{6}\right) = |V| - |E| + |F| = \chi(G).$$
Proof. Each edge contributes to the degrees of exactly two vertices. Therefore,
$$\sum_{v\in V} \deg(v) = 2|E|.$$
Thus
$$\sum_{v\in V} \left(1 - \frac{\deg(v)}{6}\right) = |V| - \frac{1}{6}\sum_{v\in V}\deg(v) = |V| - \frac{1}{3}|E|.$$
Each face has three edges. Each edge is contained in precisely two faces (i.e., the surface has no boundary), so $3|F| = 2|E|$ and hence $|E| = \tfrac{3}{2}|F|$. Substituting,
$$|V| - \frac{1}{3}|E| = |V| - \frac{1}{3}\cdot \frac{3}{2}|F| = |V| - \frac{1}{2}|F| = |V| - |E| + |F| = \chi(G).$$
$\square$

The proof uses only $\sum_v \deg(v)=2|E|$ and $3|F|=2|E|$, so the identity holds for every closed triangulated surface, including triangulations that are not graph 2-manifolds.

Theorem 2.1 is the discrete analogue of the smooth Gauss-Bonnet formula (see, e.g., [6,7,8]). For an equilateral triangulation it is equivalent to the polyhedral Gauss-Bonnet theorem, because $K_{\mathrm{ang}}(v) = 2\pi K_{\mathrm{deg}}(v)$.

2.4 Examples: Sphere, Torus, Projective Plane

Three standard triangulations serve as examples throughout.

Sphere (tetrahedron)

Here $|V|=4$, $|E|=6$, $|F|=4$, so $\chi=2$. Each vertex has degree $3$, hence $K(v)=1/2$ and $\sum_v K(v)=2=\chi$.

Torus (7×7 grid)

Take vertices $(i,j)\in(\mathbb{Z}/7)^2$ and join $(i,j)$ to $(i\pm1,j)$, $(i,j\pm1)$, $(i+1,j+1)$ and $(i-1,j-1)$; the faces are the triangles of the unit squares cut along one diagonal. Here $|V|=49$, $|E|=147$, $|F|=98$, so $\chi=0$. Every unit sphere is a 6-cycle, so this is a graph 2-manifold. Every vertex has degree $6$, so $K(v)=0$ for all $v$ and $\sum_v K(v)=0=\chi$. The minimal 7-vertex torus ($|V|=7$, $|E|=21$, $|F|=14$) also has every degree equal to $6$ and satisfies the identity, but it is the complete graph $K_7$ and is not a graph 2-manifold.

Projective plane (subdivided)

The minimal triangulation of $\mathbb{RP}^2$, the quotient of the icosahedron by the antipodal map, has $|V|=6$, $|E|=15$, $|F|=10$ and every vertex of degree $5$. It is the complete graph $K_6$, so it is not a graph 2-manifold, although $\sum_v K(v)=6\cdot\tfrac16=1=\chi$ still holds. Splitting each of its triangles into four, by adding a vertex at the midpoint of every edge, gives a graph 2-manifold with $|V|=21$, $|E|=60$, $|F|=40$, so $\chi=1$. The $6$ original vertices have degree $5$ and $K(v)=1/6$; the $15$ midpoint vertices have degree $6$ and $K(v)=0$. Hence $\sum_v K(v)=1=\chi$.

The curvature is positive at every vertex of the sphere, zero at every vertex of the torus, and positive at six vertices and zero at the rest of the projective plane. Section 6 computes the discrete divergence functional on these surfaces.

deg(v) = 5 K(v) = 1/6 > 0 deg(v) = 6 K(v) = 0 (flat) deg(v) = 7 K(v) = -1/6 < 0
Figure 1: Curvature regimes on graph 2-manifolds. Left: positive curvature (degree 5). Center: flat (degree 6, triangular lattice). Right: negative curvature (degree 7). The unit sphere $S_1(v)$ forms a cycle around the central vertex.

3. Polyhedral Surfaces, Geodesics, and Geodesic Fans

This section moves from graphs to polyhedral surfaces. There, geodesics and geodesic fans (families of geodesics leaving one vertex) have a metric definition, and curvature is the angle defect at vertices. The aim is to make precise Knill's remark [1,2] that geodesic fans focus and small circles are shorter than in the flat plane where curvature is positive, and that fans spread and circles are longer where curvature is negative. The divergence functional of Section 5 is designed to capture this behavior combinatorially.

3.1 Polyhedral Surfaces and the Intrinsic Metric

Let $(V,E,F)$ be a closed triangulated graph 2-manifold. A polyhedral realization (also called a geometric realization) of this triangulation is a map $\iota:V\to\mathbb{R}^3$ such that for each face $\sigma=\{v_1,v_2,v_3\}\in F$, the points $\iota(v_1),\iota(v_2),\iota(v_3)$ are non-collinear and span a Euclidean triangle, and distinct faces intersect only in common edges, common vertices, or not at all. The resulting set

$$M := \bigcup_{\sigma\in F} \triangle(\iota(\sigma)) \subset \mathbb{R}^3$$

is a piecewise-flat polyhedral surface [3].

The intrinsic distance $d_M(x,y)$ between points $x,y\in M$ is defined as the infimum of Euclidean lengths of rectifiable curves on $M$ joining $x$ to $y$. Equipped with this length metric, $(M,d_M)$ is a geodesic metric space: for sufficiently close points, there exist shortest paths realizing the distance (see, e.g., [3]).

A curve $\gamma:I\to M$ (with $I\subset\mathbb{R}$ an interval) is a geodesic if, locally, it is length minimizing: each point of $\gamma$ has a neighborhood on which $\gamma$ realizes the intrinsic distance between its endpoints.

3.2 Geodesics on Triangle Meshes

Away from vertices, geodesics on a polyhedral surface are simple. Inside a single face, the metric is the Euclidean metric of the triangle.

Lemma 3.1

Let $\gamma:[a,b]\to M$ be a geodesic whose image on $[a,b]$ lies in the interior of a single triangular face. Then $\gamma([a,b])$ is a straight line segment in that triangle.

Proof sketch. In the interior of a face, the induced metric is Euclidean. Any locally length-minimizing curve in a Euclidean domain is a straight segment: if $\gamma$ were not straight, we could replace the arc between $\gamma(a)$ and $\gamma(b)$ by the straight segment joining these endpoints inside the face, strictly shortening its length, contradicting local minimality. $\square$

When a geodesic crosses an edge between two adjacent faces, it remains straight after unfolding the faces into the plane.

Lemma 3.2

Let $\gamma$ be a geodesic that crosses an edge $e$ at a point $p$ which is not a vertex. Suppose $e$ is shared by two faces $\sigma_1$ and $\sigma_2$. If we develop $\sigma_1$ and $\sigma_2$ isometrically into the Euclidean plane by reflecting one triangle across $e$, then the image of $\gamma$ in this unfolded configuration is a straight line near $p$.

Proof sketch. Take a small neighborhood of $p$ in $\sigma_1\cup\sigma_2$. Unfold the two triangles along $e$ into a single quadrilateral. The unfolded metric is Euclidean, so a locally length-minimizing curve in this patch must be a straight segment. Folding back identifies the two copies of $e$ and shows that $\gamma$ crosses the edge with no corner when viewed in a fully developed plane; if there were a corner, it could be smoothed and the curve could be shortened, which contradicts minimality. This is the standard unfolding argument for polyhedral geodesics [3]. $\square$

At a vertex the metric is singular, because the curvature is concentrated there, and a geodesic can branch or continue in more than one way. The next subsection models a vertex neighborhood as a Euclidean cone to study geodesics from a vertex and small circles around it.

3.3 Vertex Cones and Small Geodesic Circles

Let $v\in V$ be a vertex of the triangulation. Denote by $\sigma_1,\dots,\sigma_k$ the faces incident to $v$, and let $\theta_i(v)\in(0,\pi)$ be the interior angle at $v$ in the face $\sigma_i$. The total angle around $v$ is

$$\Theta(v) := \sum_{i=1}^k \theta_i(v),$$

and the angle-defect curvature is $K_{\mathrm{ang}}(v) = 2\pi - \Theta(v)$, as in Section 2.

The local geometry of $M$ near $v$ is modeled by a Euclidean cone. For $\alpha>0$, the Euclidean cone $C_\alpha$ is obtained from the planar sector

$$S_\alpha = \{(r,\varphi) : r\ge 0,\ 0\le \varphi < \alpha\}$$

with metric $dr^2 + r^2 d\varphi^2$ by identifying the boundary rays $\varphi=0$ and $\varphi=\alpha$; see [3] for a standard reference.

Proposition 3.3

For sufficiently small $\varepsilon>0$, the intrinsic metric on the star

$$\mathrm{Star}_\varepsilon(v) := \{ x\in M : d_M(x,v) < \varepsilon \}$$

is isometric to a neighborhood of the tip in the Euclidean cone $C_{\Theta(v)}$. In particular, the total angle around $v$ in the intrinsic metric is $\Theta(v)$, and the curvature concentrated at $v$ is $K_{\mathrm{ang}}(v)=2\pi-\Theta(v)$.

Proof idea. Unfold the faces $\sigma_1,\dots,\sigma_k$ around $v$ into the plane by successively gluing along the edges that meet at $v$, preserving edge lengths. The union of the unfolded triangles is a planar sector of angle $\Theta(v)$. Identifying the two boundary rays produces a cone of angle $\Theta(v)$, and the induced metric coincides with the intrinsic metric on a sufficiently small neighborhood of $v$ in $M$ [3]. $\square$

In the cone $C_\alpha$, circles centered at the tip have circumference proportional to the cone angle.

Lemma 3.4

Let $C_\alpha$ be the Euclidean cone of angle $\alpha$. The geodesic circle of radius $r>0$ centered at the tip has intrinsic length $L_\alpha(r) = \alpha r$.

Proof. In the sector model $S_\alpha$, the circle of radius $r$ is parameterized by $\varphi\in[0,\alpha)$ with line element $ds = r\, d\varphi$. Integrating gives $L_\alpha(r) = \int_0^\alpha r\, d\varphi = \alpha r$, which descends to the cone after identifying the boundary rays. $\square$

Setting $\alpha=\Theta(v)$ gives:

Corollary 3.5

For sufficiently small $r>0$, the intrinsic geodesic circle

$$C_r(v) := \{ x\in M : d_M(x,v) = r \}$$

has length

$$L(v,r) = \Theta(v)\, r = (2\pi - K_{\mathrm{ang}}(v))\, r.$$

Equivalently,

$$L(v,r) - 2\pi r = -K_{\mathrm{ang}}(v)\, r.$$
r vertex p Cr(p) cone angle Θ(p)
Key relations: $\Theta(p) = 2\pi - K(p)$,   $L(p,r) = \Theta(p) \cdot r$,   $L(p,r) - 2\pi r = -K(p) \cdot r$
Figure 2: Geodesic circle on a polyhedral cone. A neighborhood of a vertex with angle defect $K(p)$ is isometric to a Euclidean cone of angle $\Theta(p)=2\pi-K(p)$. The geodesic circle at radius $r$ has length $L(p,r)=\Theta(p) r$, giving first-order deviation proportional to curvature.

3.4 Geodesic Fans and Curvature

Fix a vertex $v$ and consider geodesic rays leaving $v$ in different directions.

Definition 3.6

A geodesic ray from $v$ is a unit-speed geodesic $\gamma:[0,\infty)\to M$ with $\gamma(0)=v$. In the cone model $C_{\Theta(v)}$, such a ray corresponds to a straight ray from the tip with some initial direction angle $\varphi_0$.

Definition 3.7

A geodesic fan of width $\Delta\varphi>0$ from $v$ is a one-parameter family $\{\gamma_\varphi\}_{\varphi\in[\varphi_0,\varphi_0+\Delta\varphi]}$ of geodesic rays from $v$ whose initial directions in the cone $C_{\Theta(v)}$ fill the angular sector $[\varphi_0,\varphi_0+\Delta\varphi]$.

At radius $r>0$, the points $\gamma_\varphi(r)$ lie on the circle $C_r(v)$ and form an arc of length

$$\ell(r) = r\Delta\varphi,$$

since the line element along $C_r(v)$ in the cone model is $ds = r\, d\varphi$. For a fixed number $N$ of equally spaced rays filling out a full circle, the average spacing between neighboring rays at radius $r$ is proportional to

$$\frac{L(v,r)}{N} = \frac{\Theta(v) r}{N}.$$

Compared to the flat case, where $\Theta = 2\pi$, we see:

This dependence of circle length on curvature is the polyhedral analogue of geodesic deviation in the smooth setting [6,7,8]. The divergence functional of Section 5 measures the same behavior on graphs.

3.5 Smooth Puiseux Expansion and Discrete Analogue

On a smooth Riemannian surface, the length $L(r)$ of the geodesic circle of radius $r$ around a point $p$ with Gaussian curvature $K(p)$ admits the classical small radius expansion

$$L(r) = 2\pi r - \frac{K(p)}{3}\, r^3 + O(r^5),$$

see, for example, [6,7,8]. The leading term $2\pi r$ is the Euclidean circumference, and the sign of $K(p)$ determines whether $L(r)$ is shorter or longer than the flat value at order $r^3$. Positive curvature makes geodesics focus, and negative curvature makes them diverge.

4. Geodesic Fans and Local Divergence

Section 3 described geodesics on polyhedral surfaces through the intrinsic metric and the unfolding rule across edges [3]. This section shows how geodesic fans encode the local curvature of the surface, which is the geometric basis for the divergence functional of Section 5. Throughout, $M$ is a polyhedral surface with its intrinsic length metric, and $p\in M$ is a fixed vertex with angle defect $K(p)=2\pi-\Theta(p)$, per the cone model for polyhedral vertices [3].

4.1 Geodesic rays and angular structure

By Proposition 3.3, a sufficiently small intrinsic neighborhood of $p$ is isometric to a Euclidean cone $C_{\Theta(p)}$ of total angle $\Theta(p)$ [3]. In this model, each geodesic ray from $p$ corresponds to a straight ray with polar coordinates $(r,\varphi)$, where $\varphi\in[0,\Theta(p))$ is an angular parameter intrinsic to the cone. Thus the space of initial geodesic directions at $p$ has total angular measure $\Theta(p)$ rather than $2\pi$. Positive curvature ($K(p)>0$) reduces the local angular space; negative curvature increases it.

Let $\gamma_{\varphi}(r)=(r,\varphi)$ denote the geodesic ray of direction $\varphi$. Let $\Delta$ be the angular separation of two rays, measured the shorter way around the cone, and assume $\Delta\le\pi$. Then the intrinsic distance between $\gamma_{\varphi_1}(r)$ and $\gamma_{\varphi_2}(r)$ is, by the Euclidean law of cosines applied in the developed sector,

$$d\big(\gamma_{\varphi_1}(r),\gamma_{\varphi_2}(r)\big) = 2r\sin\!\left(\frac{\Delta}{2}\right).$$

For small $\Delta$ we obtain the linear approximation

$$d\big(\gamma_{\varphi_1}(r),\gamma_{\varphi_2}(r)\big) = r\Delta + O(r\Delta^{3}),$$

showing that geodesic rays separate linearly in $r$. The coefficient of this linear term is the angular separation $\Delta$, as in the plane. The cone angle $\Theta(p)$ enters through the total measure of available directions: $N$ equally spaced rays around $p$ have $\Delta=\Theta(p)/N$, so neighboring rays separate at rate $\Theta(p)/N$, which is smaller than the flat rate $2\pi/N$ when $K(p)>0$ and larger when $K(p)<0$.

4.2 Combinatorial analogy: spheres in graph 2-manifolds

Knill's graph 2-manifolds show the same behavior [1,2]. For a vertex $v$ of a 2-manifold graph $G$, let $S_r(v)$ denote the sphere of graph-distance $r$. In a flat (degree-$6$) region one has $|S_r(v)|=6r$. The graph curvature

$$K_G(v)=1-\frac{\deg(v)}{6}$$

captures deviations from flatness [1]. At radius $r=1$,

$$|S_1(v)|=\deg(v)=6-6K_G(v),$$

and for small $r$ the shells $S_r(v)$ expand more slowly when $\deg(v)<6$ and more quickly when $\deg(v)>6$. So the sign of $K_G(v)$ determines whether the first shells grow slower or faster than in the flat case, as in the polyhedral case.

4.3 Compatibility of the polyhedral and graph models

The two pictures agree at the level of first-order expansion. At a polyhedral vertex with angle defect $K(p)$, the metric circle satisfies

$$L(p,r) - 2\pi r = -K(p)\,r.$$

At a vertex of a graph 2-manifold the corresponding identity is exact at radius 1:

$$|S_1(v)| - 6 = -6 K_G(v).$$

For $r>1$, $|S_r(v)|$ also depends on the degrees of the other vertices in the ball of radius $r$. When that ball agrees with the cone built from $\deg(v)$ sectors of the triangular lattice glued around $v$, Section 6.3 shows that $|S_r(v)|=\deg(v)\,r$, so

$$|S_r(v)| - 6r = -6 K_G(v)\, r.$$

Here $L(p,r)$ denotes the continuous length of a geodesic circle on the polyhedral surface, while $|S_r(v)|$ denotes the discrete vertex count in the graph sphere; these are parallel but distinct quantities. Rescaling the flat reference $6r$ to $2\pi r$ turns $-6K_G(v)\,r$ into $-2\pi K_G(v)\,r$, which equals the polyhedral deviation $-K(p)\,r$ for an equilateral triangulation, since $K_{\mathrm{ang}}=2\pi K_{\mathrm{deg}}$ there. Because the two deviations agree, we treat geodesic fan behavior and graph sphere growth as two expressions of the same curvature. Section 5 builds the discrete divergence functional on this agreement.

5. A Discrete Geodesic Divergence Functional

For polyhedral surfaces, Sections 3–4 showed that the geodesic circle centered at a vertex $p$ satisfies the linear law [3]

$$L(p,r)=\Theta(p)\, r = (2\pi - K(p))\, r,$$

so that the deviation

$$D_M(p,r) := L(p,r)-2\pi r = -K(p)\, r$$

encodes the sign and magnitude of curvature at $p$ to first order. It is the polyhedral counterpart of the smooth expansion of geodesic circles [6,7,8].

This section defines a combinatorial analogue of this first-order circle deviation for graph 2-manifolds. It uses only the graph metric, it behaves like the polyhedral deviation when curvature is small or localized, and it is easy to compute because it depends only on the sizes of graph spheres.

5.1 Motivation from circles in the flat and conical metrics

In the polyhedral setting, the local model near a vertex is a Euclidean cone with cone angle $\Theta(p)$ [3]. The circumference of a radius-$r$ circle grows linearly with $r$, and the difference from the Euclidean law $2\pi r$ is exactly $-K(p)\, r$. So curvature controls the first-order divergence or convergence of geodesic fans.

For graph 2-manifolds, the natural flat reference is the triangular lattice $H$, where every vertex has degree 6 and the sphere of radius $r$ has

$$|S_r^H(v)| = 6r \quad\text{for all }r\ge1,$$

a standard fact in discrete differential geometry [1,2]. This is the combinatorial analogue of $2\pi r$. The functional below measures how far $|S_r(v)|$ is from $6r$.

5.2 Definition of the divergence functional

Let $G=(V,E)$ be a graph 2-manifold and let $v\in V$. We write

$$S_r(v) := \{\, u\in V : d_G(u,v)=r \,\}$$

for the graph sphere of radius $r\in\mathbb{N}$ (integer distance). The discrete divergence functional is defined by

$$D_G(v,r) := |S_r(v)| - 6r$$

for integer $r\ge 1$. A normalized version

$$\widehat{D}_G(v,r) := \frac{|S_r(v)|}{6r}-1$$

measures the relative deviation from the flat law. We work mainly with $D_G(v,r)$, because it is additive and matches the polyhedral formula $L(p,r)-2\pi r$ directly.

5.3 Basic properties and relation to curvature

Locality

Since $S_r(v)$ depends only on the ball $B_r(v)$ of vertices within distance $r$ of $v$, the functional $D_G(v,r)$ is local: changing the graph outside $B_r(v)$ does not change it. Likewise, in the metric setting, $L(p,r)$ depends only on the geometry in the geodesic ball $B_r(p)$ [3].

Flat calibration

If $G$ agrees with a patch of the triangular lattice out to radius $r$, then $|S_r(v)|=6r$ and hence $D_G(v,r)=0$. So $D_G$ vanishes in the combinatorially flat case of Knill's curvature framework [1].

First-order behavior at $r=1$

At radius $1$ we have $|S_1(v)|=\deg(v)$, so using Knill's degree curvature

$$K_G(v) = 1 - \frac{\deg(v)}{6},$$

[1] we obtain the exact identity

$$D_G(v,1) = \deg(v) - 6 = -6 K_G(v).$$

So $D_G(v,1)$ has the sign of $-K_G(v)$, as the metric relation $D_M(p,r) = -K(p)\, r$ does at $r=1$. In particular:

$$\deg(v)<6 \iff D_G(v,1)<0, \quad \deg(v)>6 \iff D_G(v,1)>0.$$

Behavior for $r>1$

For $r>1$, $D_G(v,r)$ depends on the combinatorics of neighbors of neighbors and has no closed formula. When curvature is concentrated near $v$, or the degrees in $B_r(v)$ are mostly above or mostly below $6$, the sign of $D_G(v,r)$ typically matches the sign of $-K_G(v)$. Section 6 checks this on explicit triangulations of the sphere, torus, and projective plane [2].

5.4 Comparison with the polyhedral divergence functional

In the metric setting, the deviation is

$$D_M(p,r) = L(p,r)-2\pi r = -K(p)\, r$$

for a cone point $p$ [3]. The graph formula

$$D_G(v,r) = |S_r(v)| - 6r$$

is its combinatorial analogue, with $6$ playing the role of $2\pi$. The identity $D_G(v,1)=-6K_G(v)$ is a discrete version of the metric relation $\frac{\partial}{\partial r}D_M(p,r)|_{r=0} = -K(p)$, showing that the first-order divergence of geodesic fans in the graph metric detects the same curvature that appears in the Gauss-Bonnet theorem for graphs [1].

6. Examples and Computations

This section computes the discrete divergence functional on triangulated surfaces and compares it with the degree curvature $K_G(v)=1-\deg(v)/6$ and the Gauss-Bonnet identity [1,2]. The examples cover four regimes: uniformly positive curvature (spherical polyhedra), an isolated vertex of negative curvature, zero curvature (torus), and positive curvature concentrated at a few vertices of a surface with positive Euler characteristic (projective plane). Sphere sizes below were computed by breadth-first search on each graph. Throughout, we write

$$D_G(v,r) = |S_r(v)| - 6r, \quad \widehat{D}_G(v,r) = \frac{|S_r(v)|}{6r} - 1,$$

and recall from Section 5 that

$$D_G(v,1) = \deg(v)-6 = -6K_G(v).$$

6.1 The tetrahedral sphere: uniformly positive curvature

The tetrahedron is the unique 3-regular triangulation of $S^2$, with $(V,E,F)=(4,6,4)$ and Euler characteristic $2$ [2]. Each vertex satisfies $\deg(v)=3$, hence

$$K_G(v)=1-\frac{3}{6}=\frac{1}{2}, \quad \sum_v K_G(v) = 4 \cdot \frac{1}{2} = 2 = \chi(S^2).$$

The tetrahedral graph is the complete graph $K_4$, where every vertex is adjacent to every other vertex. The graph metric spheres are:

$$S_1(v) = \text{three neighbors}, \quad |S_1(v)|=3,$$

and $S_2(v)=\varnothing$ (the empty set), since the graph diameter is $1$. Thus

$$D_G(v,1) = 3-6 = -3.$$
v u1 u2 u3 S1(v)
Figure 3: The tetrahedral graph $K_4$ (complete graph on 4 vertices). Each vertex has degree 3, giving positive curvature $K_G(v)=1/2$. Since diameter is 1, all vertices lie in $S_1(v)$ and $S_2(v)$ is empty. The divergence $D_G(v,1) = 3-6=-3$ (negative = focusing).

The negative sign reflects the focusing of geodesic fans that positive curvature predicts. For $r\ge 2$ the sphere $S_r(v)$ is empty, so $D_G(v,r)=0-6r=-6r$: every vertex lies within distance $1$ of $v$, the extreme case of focusing.

6.2 The octahedral sphere: milder positive curvature

The octahedron has $(V,E,F)=(6,12,8)$ with $\deg(v)=4$ at every vertex [2]:

$$K_G(v) = 1-\frac{4}{6} = \frac{1}{3}, \quad \sum_v K_G(v)=6\cdot \frac{1}{3}=2=\chi(S^2).$$

A vertex $v$ has four neighbors, hence

$$D_G(v,1)=4-6=-2.$$

At radius $2$ the sphere $S_2(v)$ is the single vertex antipodal to $v$, since every other vertex is $v$ or one of its neighbors. So $|S_2(v)|=1$ and

$$D_G(v,2)=1-12=-11.$$

At $r=1$ the divergence is smaller in magnitude than for the tetrahedron, matching $K_G=1/3<1/2$, and it stays strongly negative at $r=2$. Both examples agree with the first-order law $D_G(v,1)=-6K_G(v)$ from Knill's curvature framework [1].

6.3 A local hyperbolic patch: negative curvature

For negative curvature, consider a vertex $v$ in a triangulated surface for which $\deg(v)=7$. Then

$$K_G(v)= 1 - \frac{7}{6} = -\frac{1}{6}, \quad D_G(v,1)=7-6=1>0.$$

The positive value indicates that the first metric sphere grows faster than in the flat reference model. To isolate the curvature at $v$, build the surface by gluing seven $60^\circ$ sectors of the triangular lattice around $v$, so that every other vertex has degree $6$. A vertex in one sector is $p\,u+q\,u'$, where $u,u'$ are the unit edge vectors bounding the sector and $p\ge1$, $q\ge0$ are integers. Its graph distance to $v$ is $p+q$: a lattice path of that length reaches it, and $p+q$ changes by at most $1$ along every edge. Each sector therefore contributes $r$ vertices to $S_r(v)$, so $|S_r(v)|=7r$ for every $r\ge1$, and

$$D_G(v,2) = 14 - 12 = 2, \qquad D_G(v,r) = r = -6K_G(v)\,r.$$

The same count with $d$ sectors gives $|S_r(v)|=d\,r$ and $D_G(v,r)=-6K_G(v)\,r$ at a vertex of any degree $d$, on every surface whose ball of radius $r$ around $v$ agrees with this cone.

This mirrors the polyhedral situation, in which a vertex of negative angle defect produces $L(p,r) > 2\pi r$, reflecting the divergence of nearby geodesics [3].

6.4 Triangulated tori: curvature cancellation and near-zero divergence

Every triangulated torus $T^2$ satisfies $\chi(T^2)=0$ and thus

$$\sum_{v\in V(T^2)} K_G(v) = 0$$

[1]. On the $7\times7$ grid torus of Section 2.4 every vertex has degree $6$, so the surface is combinatorially flat, and the spheres match the triangular lattice until they wrap around the torus:

$$K_G(v)=0, \quad |S_r(v)| = 6r \quad\text{for } r=1,2,3,$$

in agreement with Knill's examples of flat discrete manifolds [2]. Hence

$$D_G(v,r)=0 \qquad (r\le 3).$$

At $r=4$ the sphere wraps and $|S_4(v)|=12$, so $D_G(v,4)=-12$; this deficit comes from the finite size of the torus, not from curvature. The minimal 7-vertex torus is degenerate here: it is the complete graph $K_7$, so $|S_1(v)|=6$ and $S_r(v)$ is empty for $r\ge2$.

A torus may also mix positive and negative curvature vertices (for example, degrees $5$ and $7$), but the curvatures must sum to zero. By $D_G(v,1)=-6K_G(v)$, the sign of $D_G(v,1)$ is opposite to the sign of $K_G(v)$ at every vertex, and $\sum_v D_G(v,1)=0$. We do not compute $D_G(v,r)$ for $r\ge2$ on such tori.

6.5 Triangulated projective planes: net positive curvature

For $\mathbb{RP}^2$ we have $\chi(\mathbb{RP}^2)=1$, so any triangulation must satisfy

$$\sum_v K_G(v) = 1$$

[1,2]. This forces a global excess of positive curvature. A triangulation may contain vertices of degree $7$, with $K_G(v)=-1/6$ and $D_G(v,1)=1$, but their negative curvature must be outweighed by vertices of degree less than $6$.

We compute on the subdivided projective plane of Section 2.4, which has $6$ vertices of degree $5$ and $15$ of degree $6$. The minimal 6-vertex model is degenerate here: it is the complete graph $K_6$, so $|S_1(v)|=5$ and $S_r(v)$ is empty for $r\ge2$. In the subdivided model, a degree-5 vertex $v$ has $|S_1(v)|=5$, $|S_2(v)|=10$, $|S_3(v)|=5$, so

$$D_G(v,1) = -1, \quad D_G(v,2) = -2, \quad D_G(v,3) = -13,$$

which indicates convergence of geodesics. A degree-6 vertex $u$ is flat, with $D_G(u,1)=0$, but it lies at distance $1$ from two degree-5 vertices, and $|S_2(u)|=10$, $|S_3(u)|=4$, so

$$D_G(u,2) = -2, \quad D_G(u,3) = -14.$$

So positive curvature at nearby vertices slows the growth of metric spheres around a vertex of zero curvature, and the total $\sum_v D_G(v,1)=6\cdot(-1)=-6=-6\chi$ is fixed by the topology. Part of the deficit at $r=3$ comes from the small diameter of the surface, which is $3$.

6.6 Summary

In these examples, the divergence functional detects curvature as the degree curvature $K_G(v)$ and the polyhedral cone formula predict [1,3]. Positive curvature (degrees $<6$) produces $D_G(v,r)<0$. The isolated degree-7 vertex has $D_G(v,r)=r>0$. On the flat grid torus, $D_G(v,r)=0$ until the spheres wrap around the surface. So $D_G(v,r)$ behaves as a combinatorial analogue of the polyhedral first-order deviation $L(p,r)-2\pi r = -K(p)\,r$ [3].

7. Discussion and Interpretation

The polyhedral and graph settings give parallel accounts of curvature and geodesic divergence on finite 2-manifolds. This section summarizes what the two share and places the divergence functional among other discrete curvature notions.

7.1 Curvature as the determinant of geodesic fan behavior

In smooth differential geometry, the geodesic deviation (Jacobi) equation [9] links the relative acceleration of nearby geodesics to Gaussian curvature. The classical expansion

$$L(r) = 2\pi r - \frac{K(p)}{3} r^3 + O(r^5),$$

states that small geodesic circles shrink or expand relative to the Euclidean model in proportion to the curvature at $p$.

On a polyhedral surface, curvature is concentrated at the vertices and the circle-length law is linear [3]:

$$L(p,r) = (2\pi - K(p))\,r, \quad D_M(p,r) = L(p,r) - 2\pi r = -K(p)\,r.$$

So the sign of curvature determines whether geodesic fans converge or diverge.

The graph divergence functional captures the same behavior. Since

$$D_G(v,1) = |S_1(v)| - 6 = \deg(v)-6 = -6K_G(v),$$

curvature dictates first-order deviation from the flat model [1,2]. Negative divergence is geodesic convergence ($\deg(v)<6$). Positive divergence is geodesic spreading ($\deg(v)>6$). $D_M$ and $D_G$ agree at first order because both settings model the neighborhood of a vertex as a cone [3,1].

7.2 Local divergence and global topology

Because Gauss-Bonnet asserts [1,2]

$$\sum_{v} K_G(v) = \chi(G), \quad \sum_{p} K(p) = 2\pi\chi(M),$$

summing the first-order identity $D_G(v,1) = -6K_G(v)$ over all vertices yields

$$\sum_{v} D_G(v,1) = -6\chi(G).$$

So the sign of the average divergence at radius 1 is opposite to the sign of the Euler characteristic: on a sphere or projective plane ($\chi>0$) the average is negative; on a torus ($\chi=0$) it vanishes; on higher-genus surfaces ($\chi<0$) it is positive.

This parallels the metric fact that positive curvature shortens circles and negative curvature lengthens them [3]. The discrete identity shows that the combinatorics alone carries this global constraint.

7.3 Relation to other discrete curvature frameworks

The divergence functional adds no new definition of curvature. It is a geometric observable computed from the growth of metric spheres. It differs from Ollivier-Ricci curvature [10], which measures how optimal-transport couplings contract, and from Forman curvature, which comes from a Bochner-type combinatorial Laplacian. $D_G(v,r)$ is built on the flat growth law $|S_r|=6r$ and is directly related to the degree curvature $K_G(v)$ and Gauss-Bonnet [1].

$D_G(v,r)$ measures the quantity that geodesic deviation controls in the smooth theory: the rate at which nearby geodesics separate as they move outward from a point.

7.4 Discrete "worlds" and geodesic stability

Each finite 2-manifold above can be read as a discrete space in which free motion follows graph or polyhedral geodesics. Curvature then determines whether nearby trajectories stay close (positive curvature), separate at the flat rate (zero curvature), or separate quickly (negative curvature).

Curvature plays the same role in smooth geometry and in general relativity, where the Riemann tensor determines the focusing or defocusing of geodesics [9].

In this reading, discrete curvature measures the local stability of geodesic flow on a finite surface: it says how quickly trajectories from nearby starting states move apart.

7.5 Possible extensions

Three extensions are open. The first is the behavior of $D_G(v,r)$ as $r\to\infty$ on large triangulations, which would relate asymptotic sphere growth to the global distribution of curvature [1].

The second is refinement limits: as a sequence of triangulations approximates a smooth surface, the discrete growth laws for $|S_r(v)|$ should converge to the smooth circle-length expansion [3,9].

The third uses the fact that ball growth shapes heat-kernel and random-walk behavior: it would connect the divergence functional to probabilistic curvature notions such as Ollivier-Ricci curvature [10].

References

[1] O. Knill, "A graph theoretical Gauss-Bonnet-Chern theorem," arXiv:1111.5395, 2011.

[2] O. Knill, "Math 136 Lecture Notes: Discrete Differential Geometry," Harvard University, 2024.

[3] A. I. Bobenko and Y. B. Suris, Discrete Differential Geometry: Integrable Structure, Graduate Studies in Mathematics, vol. 98, AMS, 2008.

[4] R. Forman, "Bochner's method for cell complexes and combinatorial Ricci curvature," Discrete Comput. Geom., vol. 29, no. 3, pp. 323–374, 2003.

[5] Y. Ollivier, "Ricci curvature of metric spaces," C. R. Math. Acad. Sci. Paris, vol. 345, no. 11, pp. 643–646, 2007.

[6] M. P. do Carmo, Differential Geometry of Curves and Surfaces, Prentice-Hall, 1976.

[7] B. O'Neill, Elementary Differential Geometry, 2nd ed., Academic Press, 2006.

[8] M. Spivak, A Comprehensive Introduction to Differential Geometry, vol. 2, 3rd ed., Publish or Perish, 1999.

[9] M. P. do Carmo, Riemannian Geometry, Birkhäuser, 1992.

[10] Y. Ollivier, "Ricci curvature of Markov chains on metric spaces," J. Funct. Anal., vol. 256, no. 3, pp. 810–864, 2009.