HOME

TheInfoList



OR:

In the mathematical study of
graph theory In mathematics, graph theory is the study of ''graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, a pancyclic graph is a
directed graph In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs. Definition In formal terms, a directed graph is an ordered pa ...
or
undirected graph In discrete mathematics, and more specifically in graph theory, a graph is a structure amounting to a set of objects in which some pairs of the objects are in some sense "related". The objects correspond to mathematical abstractions called '' ve ...
that contains cycles of all possible lengths from three up to the number of vertices in the graph.. Pancyclic graphs are a generalization of
Hamiltonian graph In the mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path in an undirected or directed graph that visits each vertex exactly once. A Hamiltonian cycle (or Hamiltonian circuit) is a cycle that visits each vertex ...
s, graphs which have a cycle of the maximum possible length.


Definitions

An ''n''-vertex graph ''G'' is pancyclic if, for every k in the range 3 \leq k \leq n \; ,G contains a cycle of length k. It is node-pancyclic or vertex-pancyclic if, for every vertex ''v'' and every ''k'' in the same range, it contains a cycle of length ''k'' that contains ''v''.. Similarly, it is edge-pancyclic if, for every edge ''e'' and every ''k'' in the same range, it contains a cycle of length ''k'' that contains ''e''. A bipartite graph cannot be pancyclic, because it does not contain any odd-length cycles, but it is said to be bipancyclic if it contains cycles of all even lengths from 4 to ''n''.


Planar graphs

A maximal
outerplanar graph In graph theory, an outerplanar graph is a graph that has a planar drawing for which all vertices belong to the outer face of the drawing. Outerplanar graphs may be characterized (analogously to Wagner's theorem for planar graphs) by the two fo ...
is a graph formed by a
simple polygon In geometry, a simple polygon is a polygon that does not intersect itself and has no holes. That is, it is a flat shape consisting of straight, non-intersecting line segments or "sides" that are joined pairwise to form a single closed path. If ...
in the plane by triangulating its interior. Every maximal outerplanar graph is pancyclic, as can be shown by induction. The outer face of the graph is an ''n''-vertex cycle, and removing any triangle connected to the rest of the graph by only one edge (a leaf of the tree that forms the
dual graph In the mathematical discipline of graph theory, the dual graph of a plane graph is a graph that has a vertex for each face of . The dual graph has an edge for each pair of faces in that are separated from each other by an edge, and a self-lo ...
of the triangulation) forms a maximal outerplanar graph on one fewer vertex, that by induction has cycles of all the remaining lengths. With more care in choosing which triangle to remove, the same argument shows more strongly that every maximal outerplanar graph is node-pancyclic. The same holds for graphs that have a maximal outerplanar spanning subgraph, as do for instance the
wheel graph A wheel is a circular component that is intended to rotate on an axle bearing. The wheel is one of the key components of the wheel and axle which is one of the six simple machines. Wheels, in conjunction with axles, allow heavy objects to be ...
s. A maximal planar graph is a planar graph in which all faces, even the outer face, are triangles. A maximal planar graph is node-pancyclic if and only if it has a Hamiltonian cycle: if it is not Hamiltonian, it is certainly not pancyclic, and if it is Hamiltonian, then the interior of the Hamiltonian cycle forms a maximal outerplanar graph on the same nodes, to which the previous argument for maximal outerplanar graphs can be applied. For instance, the illustration shows the pancyclicity of the graph of an
octahedron In geometry, an octahedron (plural: octahedra, octahedrons) is a polyhedron with eight faces. The term is most commonly used to refer to the regular octahedron, a Platonic solid composed of eight equilateral triangles, four of which meet at ea ...
, a Hamiltonian maximal planar graph with six vertices. More strongly, by the same argument, if a maximal planar graph has a cycle of length ''k'', it has cycles of all smaller lengths.
Halin graph In graph theory, a Halin graph is a type of planar graph, constructed by connecting the leaves of a tree into a cycle. The tree must have at least four vertices, none of which has exactly two neighbors; it should be drawn in the plane so none o ...
s are the planar graphs formed from a planar drawing of a
tree In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, including only woody plants with secondary growth, plants that are ...
that has no degree-two vertices, by adding a cycle to the drawing that connects all the leaves of the tree. Halin graphs are not necessarily pancyclic, but they are almost pancyclic in the sense that there is at most one missing cycle length. The length of the missing cycle is necessarily even. If none of the interior vertices of a Halin graph has degree three, then it is necessarily pancyclic. observed that many classical conditions for the existence of a Hamiltonian cycle were also sufficient conditions for a graph to be pancyclic, and on this basis conjectured that every 4-connected planar graph is pancyclic. However, found a family of counterexamples.


Tournaments

A
tournament A tournament is a competition involving at least three competitors, all participating in a sport or game. More specifically, the term may be used in either of two overlapping senses: # One or more competitions held at a single venue and concentr ...
is a directed graph with one directed edge between each pair of vertices. Intuitively, a tournament can be used to model a round-robin sports competition, by drawing an edge from the winner to the loser of each game in the competition. A tournament is called
strongly connected In the mathematical theory of directed graphs, a graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of an arbitrary directed graph form a partition into subgraphs that ...
or strong if and only if it cannot be partitioned into two nonempty subsets ''L'' and ''W'' of losers and winners, such that every competitor in ''W'' beats every competitor in ''L''. Every strong tournament is pancyclic and node-pancyclic. If a tournament is regular (each competitor has the same number of wins and losses as each other competitor) then it is also edge-pancyclic; however, a strong tournament with four vertices cannot be edge-pancyclic.


Graphs with many edges

Mantel's theorem states that any ''n''-vertex undirected graph with at least ''n''2/4 edges, and no multiple edges or self-loops, either contains a triangle or it is the
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory i ...
''K''''n''/2,''n''/2. This theorem can be strengthened: any undirected Hamiltonian graph with at least ''n''2/4 edges is either pancyclic or ''K''''n''/2,''n''/2. There exist ''n''-vertex Hamiltonian directed graphs with ''n''(''n'' + 1)/2 − 3 edges that are not pancyclic, but every Hamiltonian directed graph with at least ''n''(''n'' + 1)/2 − 1 edges is pancyclic. Additionally, every ''n''-vertex strongly connected directed graph in which each vertex has degree at least ''n'' (counting incoming and outgoing edges together) is either pancyclic or it is a complete bipartite directed graph.


Graph powers

For any graph ''G'', its ''k''th power ''G''''k'' is defined as the graph on the same vertex set that has an edge between every two vertices whose distance in ''G'' is at most ''k''. If ''G'' is 2-vertex-connected, then by
Fleischner's theorem In graph theory, a branch of mathematics, Fleischner's theorem gives a sufficient condition for a graph to contain a Hamiltonian cycle. It states that, if is a 2-vertex-connected graph, then the square of is Hamiltonian. it is named after He ...
its square ''G''2 is Hamiltonian; this can be strengthened to show that it is necessarily vertex-pancyclic. More strongly, whenever ''G''2 is Hamiltonian, it is also pancyclic.


Computational complexity

It is
NP-complete In computational complexity theory, a problem is NP-complete when: # it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by trying ...
to test whether a graph is pancyclic, even for the special case of 3-connected
cubic graph In the mathematical field of graph theory, a cubic graph is a graph in which all vertices have degree three. In other words, a cubic graph is a 3-regular graph. Cubic graphs are also called trivalent graphs. A bicubic graph is a cubic bi ...
s, and it is also NP-complete to test whether a graph is node-pancyclic, even for the special case of
polyhedral graph In geometric graph theory, a branch of mathematics, a polyhedral graph is the undirected graph formed from the vertices and edges of a convex polyhedron. Alternatively, in purely graph-theoretic terms, the polyhedral graphs are the 3-vertex-con ...
s., Theorems 2.3 and 2.4. It is also NP-complete to test whether the square of a graph is Hamiltonian, and therefore whether it is pancyclic.


History

Pancyclicity was first investigated in the context of tournaments by , , and . The concept of pancyclicity was named and extended to undirected graphs by .


Notes


References

*. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *.


External links

*{{mathworld, title=Pancyclic Graph, urlname=PancyclicGraph Graph families Hamiltonian paths and cycles