Skip to content

Girth (Graph Theory)

Assign an undirected graph the length of its shortest cycle, using infinity for an acyclic graph, to quantify how far local neighborhoods remain tree-like.

Version
v2 · 2026-09-06 · History
Domain-specific #
1935
Origin domain
mathematics
Subdomain
graph theory
Aliases
Graph girth

Core Idea

The girth of an undirected graph is the number of edges in its shortest cycle. If the graph has no cycle, its girth is conventionally infinity. Girth is a global minimum extracted from local closure: it records the earliest path length at which a walk can return to its start without merely retracing an edge. Large girth means neighborhoods remain tree-like to a larger radius even when the graph eventually contains cycles.

The value is an invariant of graph isomorphism and a constraint rather than a complete description. Graphs with the same girth can differ in size, degree, connectivity, expansion, and cycle distribution.

Scope of Application

Girth is literal wherever a graph model and cycle convention are fixed. It is a mathematical invariant with applications that interpret short loops as dependence, redundancy, or local non-tree structure.

  • Extremal graph theory. Bounding graph size from degree and forbidden short cycles.
  • Cage problems. Seeking smallest regular graphs of specified girth.
  • Coding theory. Designing sparse bipartite graphs without short iterative-dependence loops.
  • Network algorithms. Characterizing how long local tree approximations remain valid.
  • Geometric and group theory. Studying Cayley graphs and complexes through short relations.
  • Random graphs. Comparing local weak limits and short-cycle distributions.

Clarity

State graph type, whether length counts edges, and the acyclic convention. When using girth as a proxy for algorithmic independence or local tree-likeness, specify the radius and additional assumptions; a single shortest cycle does not describe how common cycles are elsewhere. Distinguish 'girth at least g' from 'girth exactly g.'

Manages Complexity

One integer summarizes the earliest topological obstruction to tree structure. It enables strong exclusion arguments and extremal bounds without listing all cycles. The minimum is also brittle: adding one short cycle can collapse girth even if the rest of a massive network remains tree-like, so applications often need cycle counts or local girth alongside the global value.

Abstract Reasoning

  1. Fix the graph model and admissible-cycle definition.
  2. Search for cycles in increasing length or compute shortest return paths around edges.
  3. Take the minimum cycle length when a cycle exists.
  4. Assign infinity if the graph is acyclic under the stated convention.
  5. Translate a girth bound into a radius of local tree-likeness.
  6. Combine girth with degree and order for extremal conclusions.
  7. Add local or distributional diagnostics when the global minimum is unrepresentative.

Knowledge Transfer

The general structure is a Cycle invariant refined by minimization: the first closed path sets the scale at which tree-like behavior fails. That transfers literally across graph-based domains. The word girth in geometry or ordinary language is unrelated unless the object is a graph with a declared cycle-length rule.

The graph model must be fixed before the number is meaningful. In a finite simple undirected graph, a cycle uses distinct vertices except for the repeated start, so its length is at least three.

Relationships to Other Abstractions

Local relationship map for Girth (Graph Theory)Parents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Girth (Graph Theory)DOMAINPrime abstraction: Cycle — is a kind ofCyclePRIME

Current abstraction Girth (Graph Theory) Domain-specific

Parents (1) — more general patterns this builds on

  • Girth (Graph Theory) is a kind of Cycle Prime

    Cycle is the strict parent because finite girth is defined by the shortest cycle and infinite girth by the absence of cycles.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Girth (Graph Theory) sits in a sparse region of the domain-specific corpus (82nd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Graph Density, Distance & Planarity (11 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08