
Ore's theorem is a result in
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 ...
proved in 1960 by
Norwegian
Norwegian, Norwayan, or Norsk may refer to:
*Something of, from, or related to Norway, a country in northwestern Europe
* Norwegians, both a nation and an ethnic group native to Norway
* Demographics of Norway
*The Norwegian language, including ...
mathematician
Øystein Ore
Øystein Ore (7 October 1899 – 13 August 1968) was a Norwegian mathematician known for his work in ring theory, Galois connections, graph theory, and the history of mathematics.
Life
Ore graduated from the University of Oslo in 1922, with a ...
. It gives a sufficient condition for a graph to be
Hamiltonian, essentially stating that a graph with sufficiently many edges must contain a
Hamilton cycle
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 vert ...
. Specifically, the theorem considers the sum of the
degrees of pairs of
non-adjacent vertices: if every such pair has a sum that at least equals the total number of vertices in the graph, then the graph is Hamiltonian.
Formal statement
Let be a (finite and simple)
graph
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discre ...
with vertices. We denote by the degree of a vertex in , i.e. the number of
incident
Incident may refer to:
* A property of a graph in graph theory
* ''Incident'' (film), a 1948 film noir
* Incident (festival), a cultural festival of The National Institute of Technology in Surathkal, Karnataka, India
* Incident (Scientology), a ...
edges in to . Then, Ore's theorem states that if
then is
Hamiltonian.
Proof

It is equivalent to show that every non-Hamiltonian graph does not obey condition (∗). Accordingly, let be a graph on vertices that is not Hamiltonian, and let be formed from by adding edges one at a time that do not create a Hamiltonian cycle, until no more edges can be added. Let and be any two non-adjacent vertices in . Then adding edge to would create at least one new Hamiltonian cycle, and the edges other than in such a cycle must form a
Hamiltonian path
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 ...
in with and . For each index in the range , consider the two possible edges in from to and from to . At most one of these two edges can be present in , for otherwise the cycle would be a Hamiltonian cycle. Thus, the total number of edges incident to either or is at most equal to the number of choices of , which is . Therefore, does not obey property (∗), which requires that this total number of edges () be greater than or equal to . Since the vertex degrees in are at most equal to the degrees in , it follows that also does not obey property (∗).
Algorithm
describes the following simple algorithm for constructing a Hamiltonian cycle in a graph meeting Ore's condition.
#Arrange the vertices arbitrarily into a cycle, ignoring adjacencies in the graph.
#While the cycle contains two consecutive vertices ''v''
''i'' and ''v''
''i'' + 1 that are not adjacent in the graph, perform the following two steps:
#*Search for an index ''j'' such that the four vertices ''v''
''i'', ''v''
''i'' + 1, ''v''
''j'', and ''v''
''j'' + 1 are all distinct and such that the graph contains edges from ''v''
''i'' to ''v''
''j'' and from ''v''
''j'' + 1 to ''v''
''i'' + 1
#*Reverse the part of the cycle between ''v''
''i'' + 1 and ''v''
''j'' (inclusive).
Each step increases the number of consecutive pairs in the cycle that are adjacent in the graph, by one or two pairs (depending on whether ''v''
''j'' and ''v''
''j'' + 1 are already adjacent), so the outer loop can only happen at most ''n'' times before the algorithm terminates, where ''n'' is the number of vertices in the given graph. By an argument similar to the one in the proof of the theorem, the desired index ''j'' must exist, or else the nonadjacent vertices ''v''
''i'' and ''v''
''i'' + 1 would have too small a total degree. Finding ''i'' and ''j'', and reversing part of the cycle, can all be accomplished in time O(''n''). Therefore, the total time for the algorithm is O(''n''
2), matching the number of edges in the input graph.
Related results
Ore's theorem is a generalization of
Dirac's theorem that, when each vertex has degree at least , the graph is Hamiltonian. For, if a graph meets Dirac's condition, then clearly each pair of vertices has degrees adding to at least .
In turn Ore's theorem is generalized by the
Bondy–Chvátal theorem. One may define a closure operation on a graph in which, whenever two nonadjacent vertices have degrees adding to at least , one adds an edge connecting them; if a graph meets the conditions of Ore's theorem, its closure is a
complete graph
In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices ...
. The Bondy–Chvátal theorem states that a graph is Hamiltonian if and only if its closure is Hamiltonian; since the complete graph is Hamiltonian, Ore's theorem is an immediate consequence.
found a version of Ore's theorem that applies to
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 pai ...
s. Suppose a digraph ''G'' has the property that, for every two vertices ''u'' and ''v'', either there is an edge from ''u'' to ''v'' or the outdegree of ''u'' plus the indegree of ''v'' equals or exceeds the number of vertices in ''G''. Then, according to Woodall's theorem, ''G'' contains a directed Hamiltonian cycle. Ore's theorem may be obtained from Woodall by replacing every edge in a given undirected graph by a pair of directed edges. A closely related theorem by states that an ''n''-vertex
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 ...
digraph with the property that, for every two nonadjacent vertices ''u'' and ''v'', the total number of edges incident to ''u'' or ''v'' is at least 2''n'' − 1 must be Hamiltonian.
Ore's theorem may also be strengthened to give a stronger conclusion than Hamiltonicity as a consequence of the degree condition in the theorem. Specifically, every graph satisfying the conditions of Ore's theorem is either a
regular
The term regular can mean normal or in accordance with rules. It may refer to:
People
* Moses Regular (born 1971), America football player
Arts, entertainment, and media Music
* "Regular" (Badfinger song)
* Regular tunings of stringed instrum ...
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 ...
or is
pancyclic .
References
*.
*.
*.
*.
*{{citation
, last = Woodall , first = D. R.
, journal = Proceedings of the London Mathematical Society , series = Third Series
, mr = 0318000
, pages = 739–755
, title = Sufficient conditions for circuits in graphs
, volume = 24
, year = 1972
, doi = 10.1112/plms/s3-24.4.739 .
Extremal graph theory
Theorems in graph theory
Articles containing proofs
Hamiltonian paths and cycles