Skip to content
Surf Wiki
Save to docs
general/graph-invariants

From Surf Wiki (app.surf) — the open knowledge base

Girth (graph theory)

Length of a shortest cycle contained in the graph


Summary

Length of a shortest cycle contained in the graph

In graph theory, the girth of an undirected graph is the length of a shortest cycle contained in the graph. If the graph does not contain any cycles (that is, it is a forest), its girth is defined to be infinity. For example, a 4-cycle (square) has girth 4. A grid has girth 4 as well, and a triangular mesh has girth 3. A graph with girth four or more is triangle-free.

Cages

Main article: Cage (graph theory)

A cubic graph (all vertices have degree three) of girth g that is as small as possible is known as a g-cage (or as a (3,g)-cage). The Petersen graph is the unique 5-cage (it is the smallest cubic graph of girth 5), the Heawood graph is the unique 6-cage, the McGee graph is the unique 7-cage and the Tutte eight cage is the unique 8-cage. There may exist multiple cages for a given girth. For instance there are three nonisomorphic 10-cages, each with 70 vertices: the Balaban 10-cage, the Harries graph and the Harries–Wong graph.

Image:Petersen1 tiny.svg|The Petersen graph has a girth of 5 Image:Heawood_Graph.svg|The Heawood graph has a girth of 6 Image:McGee graph.svg|The McGee graph has a girth of 7 Image:Tutte eight cage.svg|The Tutte–Coxeter graph (Tutte eight cage) has a girth of 8

Girth and graph coloring

For any positive integers g and χ, there exists a graph with girth at least g and chromatic number at least χ; for instance, the Grötzsch graph is triangle-free and has chromatic number 4, and repeating the Mycielskian construction used to form the Grötzsch graph produces triangle-free graphs of arbitrarily large chromatic number. Paul Erdős was the first to prove the general result, using the probabilistic method. More precisely, he showed that a random graph on n vertices, formed by choosing independently whether to include each edge with probability n(1–g)/g, has, with probability tending to 1 as n goes to infinity, at most cycles of length g or less, but has no independent set of size . Therefore, removing one vertex from each short cycle leaves a smaller graph with girth greater than g, in which each color class of a coloring must be small and which therefore requires at least k colors in any coloring.

Explicit, though large, graphs with high girth and chromatic number can be constructed as certain Cayley graphs of linear groups over finite fields. These remarkable Ramanujan graphs also have large expansion coefficient.

Computation

The girth of an undirected graph can be computed by running a breadth-first search from each node, with complexity O(nm) where n is the number of vertices of the graph and m is the number of edges. A practical optimization is to limit the depth of the BFS to a depth that depends on the length of the smallest cycle discovered so far. Better algorithms are known in the case where the girth is even and when the graph is planar. In terms of lower bounds, computing the girth of a graph is at least as hard as solving the triangle finding problem on the graph.

References

References

  1. R. Diestel, ''Graph Theory'', p.8. 3rd Edition, Springer-Verlag, 2005
  2. "Girth".
  3. Brouwer, Andries E.. "Cages".
  4. Erdős, Paul. (1959). "Graph theory and probability". Canadian Journal of Mathematics.
  5. (2003). "Elementary number theory, group theory, and Ramanujan graphs". Cambridge University Press, Cambridge.
  6. "Question 3: Computing the girth of a graph".
  7. Völkel, Christoph Dürr, Louis Abraham and Finn. (2016-11-06). "Shortest cycle".
  8. "ds.algorithms - Optimal algorithm for finding the girth of a sparse graph?".
  9. (2013). "Computing the Girth of a Planar Graph in Linear Time". SIAM Journal on Computing.
Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about Girth (graph theory) — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report